<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="FeedCreator 1.8" -->
<?xml-stylesheet href="https://old.andunix.net/lib/exe/css.php?s=feed" type="text/css"?>
<rdf:RDF
    xmlns="http://purl.org/rss/1.0/"
    xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
    xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
    xmlns:dc="http://purl.org/dc/elements/1.1/">
    <channel rdf:about="https://old.andunix.net/feed.php">
        <title>andunix.net</title>
        <description></description>
        <link>https://old.andunix.net/</link>
        <image rdf:resource="https://old.andunix.net/_media/favicon.ico" />
       <dc:date>2026-06-03T20:28:51+00:00</dc:date>
        <items>
            <rdf:Seq>
                <rdf:li rdf:resource="https://old.andunix.net/wiki/syntax"/>
                <rdf:li rdf:resource="https://old.andunix.net/blog/2010/how_create_moveable_vm_virtualbox"/>
                <rdf:li rdf:resource="https://old.andunix.net/info/linux/debian/init"/>
                <rdf:li rdf:resource="https://old.andunix.net/blog/2009/dice_roller"/>
                <rdf:li rdf:resource="https://old.andunix.net/tag/script"/>
                <rdf:li rdf:resource="https://old.andunix.net/info/script/dyndns_updates_without_client"/>
                <rdf:li rdf:resource="https://old.andunix.net/z/travian/analyzer_bookmarklet"/>
                <rdf:li rdf:resource="https://old.andunix.net/tag/javascript"/>
                <rdf:li rdf:resource="https://old.andunix.net/info/prog/firefox/extensions"/>
                <rdf:li rdf:resource="https://old.andunix.net/z/travian/travian_map_download_script"/>
                <rdf:li rdf:resource="https://old.andunix.net/info/javascript/reload_page"/>
                <rdf:li rdf:resource="https://old.andunix.net/blog/2010/set_php_variables_htaccess_files"/>
                <rdf:li rdf:resource="https://old.andunix.net/blog/2009/virtual_network_visualization"/>
                <rdf:li rdf:resource="https://old.andunix.net/p/andunix-tool/index"/>
                <rdf:li rdf:resource="https://old.andunix.net/info/mac/rmdir"/>
                <rdf:li rdf:resource="https://old.andunix.net/info/mac/airport"/>
                <rdf:li rdf:resource="https://old.andunix.net/info/oracle/rman"/>
                <rdf:li rdf:resource="https://old.andunix.net/info/solaris/dladm2dot"/>
                <rdf:li rdf:resource="https://old.andunix.net/z/relax/api/base/base-repo-get-service"/>
                <rdf:li rdf:resource="https://old.andunix.net/info/mac/mac_command_line_audio"/>
                <rdf:li rdf:resource="https://old.andunix.net/info/script/index"/>
                <rdf:li rdf:resource="https://old.andunix.net/blog/2009/travian_village_planner_-_tribe_and_village_name"/>
                <rdf:li rdf:resource="https://old.andunix.net/info/script/tools"/>
                <rdf:li rdf:resource="https://old.andunix.net/info/javascript/autosubmit"/>
                <rdf:li rdf:resource="https://old.andunix.net/blog/2009/travian_village_planner"/>
                <rdf:li rdf:resource="https://old.andunix.net/info/script/variables"/>
                <rdf:li rdf:resource="https://old.andunix.net/info/javascript/index"/>
            </rdf:Seq>
        </items>
    </channel>
    <image rdf:about="https://old.andunix.net/_media/favicon.ico">
        <title>andunix.net</title>
        <link>https://old.andunix.net/</link>
        <url>https://old.andunix.net/_media/favicon.ico</url>
    </image>
    <item rdf:about="https://old.andunix.net/wiki/syntax">
        <dc:format>text/html</dc:format>
        <dc:date>2020-09-15T19:10:57+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Formatting Syntax</title>
        <link>https://old.andunix.net/wiki/syntax</link>
        <description>Formatting Syntax

DokuWiki supports some simple markup language, which tries to make the datafiles to be as readable as possible. This page contains all possible syntax you may use when editing the pages. Simply have a look at the source of this page by pressing</description>
    </item>
    <item rdf:about="https://old.andunix.net/blog/2010/how_create_moveable_vm_virtualbox">
        <dc:format>text/html</dc:format>
        <dc:date>2010-05-17T07:55:00+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>How To Create a Moveable VM with VirtualBox</title>
        <link>https://old.andunix.net/blog/2010/how_create_moveable_vm_virtualbox</link>
        <description>How To Create a Moveable VM with VirtualBox

VirtualBox works good when you use the same VMs all the time. It organizes the disk images in one directory and the configuration files in another. It kees a record of all known disk images and virtual machines.</description>
    </item>
    <item rdf:about="https://old.andunix.net/info/linux/debian/init">
        <dc:format>text/html</dc:format>
        <dc:date>2013-07-03T13:03:11+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>init</title>
        <link>https://old.andunix.net/info/linux/debian/init</link>
        <description>init

Managing init Scripts

To activate an init script (“myscript”):
update-rc.d myscript enable
To deactivate an init script (“myscript”):
update-rc.d myscript remove
Further information can be found at Daemon - Debian Wiki

sysadmin linux debian cli</description>
    </item>
    <item rdf:about="https://old.andunix.net/blog/2009/dice_roller">
        <dc:format>text/html</dc:format>
        <dc:date>2009-02-18T19:25:00+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Dice Roller</title>
        <link>https://old.andunix.net/blog/2009/dice_roller</link>
        <description>Dice Roller

I programmend a small dice roller in javascript. You enter the number of dice, sides and the offset and press the button “roll”. The script shows the individual dice and the resulting sum. For convenience, there is a second form where you can just enter the number of dice and press the butten for the type of dice. At the bottom, there are some links of six- and eightsided dice, which are often needed in roleplaying games. You can also create bookmarks for dice, e.g.</description>
    </item>
    <item rdf:about="https://old.andunix.net/tag/script">
        <dc:format>text/html</dc:format>
        <dc:date>2014-01-27T14:49:51+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>script</title>
        <link>https://old.andunix.net/tag/script</link>
        <description>script

Pages

Bookmarks</description>
    </item>
    <item rdf:about="https://old.andunix.net/info/script/dyndns_updates_without_client">
        <dc:format>text/html</dc:format>
        <dc:date>2013-02-04T22:17:34+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>DynDNS Updates without a Client</title>
        <link>https://old.andunix.net/info/script/dyndns_updates_without_client</link>
        <description>DynDNS Updates without a Client

My new hosting provide Strato offers DynDNS.
I was searching for a DynDNS client for my OpenSolaris Home Server, but a small bash script does the job as good as any other client.


#! /bin/bash
 
. ${HOME}/.dyndns.cfg
DOMAINS=$(cat ${HOME}/.dyndns.domains)
 
echo &quot;$(date '+%Y-%m-%d %H:%M') $(basename $0)&quot;
for domain in ${DOMAINS}; do
        echo -n &quot;  ${domain} - &quot;
        curl --silent --show-error --insecure --user ${LOGIN} &quot;${UPDATE_URL}?hostname=${domain}&quot;
d…</description>
    </item>
    <item rdf:about="https://old.andunix.net/z/travian/analyzer_bookmarklet">
        <dc:format>text/html</dc:format>
        <dc:date>2013-02-04T22:18:02+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Travian Analyzer Bookmarklet</title>
        <link>https://old.andunix.net/z/travian/analyzer_bookmarklet</link>
        <description>Travian Analyzer Bookmarklet

Installation

First, save a bookmark with title “Analyze” and the location
javascript:top.location.href=((String(window.getSelection()).length&gt;0)?'http://travian.ws/analyser.pl?s=de7&amp;q='+window.getSelection():top.location.href.replace(/http:\/\/welt7\.travian\.de\/(spieler|allianz)\.php\?/,'http://travian.ws/analyser.pl?s=de7&amp;'))</description>
    </item>
    <item rdf:about="https://old.andunix.net/tag/javascript">
        <dc:format>text/html</dc:format>
        <dc:date>2014-01-27T14:49:51+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>javascript</title>
        <link>https://old.andunix.net/tag/javascript</link>
        <description>javascript

Pages

Bookmarks</description>
    </item>
    <item rdf:about="https://old.andunix.net/info/prog/firefox/extensions">
        <dc:format>text/html</dc:format>
        <dc:date>2013-09-02T20:37:01+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Firefox Extensions</title>
        <link>https://old.andunix.net/info/prog/firefox/extensions</link>
        <description>Firefox Extensions

Browsing Extensions
  Extension    Description  Adblock Plus  A must-have. Blocks all these blinking ads which are so anoying.  Greasemonkey  Customize webpages using JavaScript.  WOT, Web of Trust  Information about the reputation of a page.  Self-Destructing Cookies  Removes cookies after closing the tab or navigating to another site.</description>
    </item>
    <item rdf:about="https://old.andunix.net/z/travian/travian_map_download_script">
        <dc:format>text/html</dc:format>
        <dc:date>2013-02-04T22:18:02+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Travian Map Download Script</title>
        <link>https://old.andunix.net/z/travian/travian_map_download_script</link>
        <description>Travian Map Download Script

This is my script(s) which I use to downoad the map.sql from Travian and import it to the database.

config.inc


#
# database
DB_USER=&quot;travian&quot; # set this to your database user
DB_PASS=&quot;travian&quot; # set this to your database password
DB_INST=&quot;travian&quot; # set this to your database instance
#
# directories
MAP_DIR=${HOME}/opt/travian
DUMP_DIR=/srv/glassfish/domains/domain1/docroot/sql
#
# executables
MYSQL=&quot;/srv/mysql/bin/mysql --default-character-set=utf8 -u${DB_USER} -…</description>
    </item>
    <item rdf:about="https://old.andunix.net/info/javascript/reload_page">
        <dc:format>text/html</dc:format>
        <dc:date>2013-02-27T12:34:55+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Reload Page</title>
        <link>https://old.andunix.net/info/javascript/reload_page</link>
        <description>Reload Page


location.reload(true);


javascript</description>
    </item>
    <item rdf:about="https://old.andunix.net/blog/2010/set_php_variables_htaccess_files">
        <dc:format>text/html</dc:format>
        <dc:date>2010-04-29T14:07:00+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Set PHP Variables in .htaccess Files</title>
        <link>https://old.andunix.net/blog/2010/set_php_variables_htaccess_files</link>
        <description>Set PHP Variables in .htaccess Files

If your PHP scripts run longer than the maximum execution time set by your webhoster, then you will see a message like this:


Fatal error: Maximum execution time of 30 seconds exceeded in ...


To override the default for your webspace, you can use the php_value directive in a .htaccess file.</description>
    </item>
    <item rdf:about="https://old.andunix.net/blog/2009/virtual_network_visualization">
        <dc:format>text/html</dc:format>
        <dc:date>2009-07-21T17:52:00+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Virtual Network Visualization</title>
        <link>https://old.andunix.net/blog/2009/virtual_network_visualization</link>
        <description>Virtual Network Visualization

OpenSolaris supports virtual networks using virtual interfaces connected with virtual switches.
This feature was introduced with Project Crossbow in OpenSolaris 2009.06.
To visualize the internal network(s), I created a perl script which takes the output of dladm show-link and generates a dot-File, which then can be rendered using</description>
    </item>
    <item rdf:about="https://old.andunix.net/p/andunix-tool/index">
        <dc:format>text/html</dc:format>
        <dc:date>2013-02-03T11:12:56+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>andunix-tool</title>
        <link>https://old.andunix.net/p/andunix-tool/index</link>
        <description>andunix-tool

Usage:
java -jar andunix-tool.jar &lt;Global Options&gt; &lt;Command&gt; &lt;Command Options&gt;
Tip: I suggest to create a shell-script to ease the java starting:


#! /bin/sh

# Change this to the directory in which you put ''andunix-tool.jar''
# and the corresponding ''lib'' directory
ANDUNIX_TOOL_DIR=${HOME}/opt/andunix-tool

# Use this to define the path to your Java-Intallation
JAVA_HOME=/opt/jdk

exec ${JAVA_HOME}/bin/java -jar ${ANDUNIX_TOOL_DIR}/andunix-tool.jar $*</description>
    </item>
    <item rdf:about="https://old.andunix.net/info/mac/rmdir">
        <dc:format>text/html</dc:format>
        <dc:date>2015-11-25T09:43:44+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>rmdir for OSX</title>
        <link>https://old.andunix.net/info/mac/rmdir</link>
        <description>rmdir for OSX

The Finder on OSX creates .DS_Store files in the directories to store its settings.
This makes removing directories from the command line quite complicated:


$ rmdir test
rmdir: test: Directory not empty
$ rm test/.DS_Store 
$ /bin/rmdir test</description>
    </item>
    <item rdf:about="https://old.andunix.net/info/mac/airport">
        <dc:format>text/html</dc:format>
        <dc:date>2015-11-25T08:50:59+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>AirPort Command Line Interface</title>
        <link>https://old.andunix.net/info/mac/airport</link>
        <description>AirPort Command Line Interface

AirPort On/Off

Infos from OS X Daily

AirPort On
networksetup -setairportpower airport on
AirPort Off
networksetup -setairportpower airport off
Select AirPort Network
networksetup -setairportnetwork {Network} AirPort
mac osx device wlan cli shell script sysadmin</description>
    </item>
    <item rdf:about="https://old.andunix.net/info/oracle/rman">
        <dc:format>text/html</dc:format>
        <dc:date>2013-03-01T20:24:52+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Oracle: Recovery Manager</title>
        <link>https://old.andunix.net/info/oracle/rman</link>
        <description>Oracle: Recovery Manager

Start Recovery Manager


rman target /


Delete Archive Logs

Delete all archive logs but keep the last 45 days:


DELETE ARCHIVELOG ALL COMPLETED BEFORE 'SYSDATE -45';


To remove archive logs older than 3 days without prompting, e.g. via cron, after backup run:</description>
    </item>
    <item rdf:about="https://old.andunix.net/info/solaris/dladm2dot">
        <dc:format>text/html</dc:format>
        <dc:date>2013-02-04T22:17:36+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Virtual Network Visualization</title>
        <link>https://old.andunix.net/info/solaris/dladm2dot</link>
        <description>Virtual Network Visualization

OpenSolaris supports virtual networks using virtual interfaces connected with virtual switches.
This feature was introduced with Project Crossbow in OpenSolaris 2009.06.
To visualize the internal network(s), I created a perl script which takes the output of</description>
    </item>
    <item rdf:about="https://old.andunix.net/z/relax/api/base/base-repo-get-service">
        <dc:format>text/html</dc:format>
        <dc:date>2013-02-04T22:17:32+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>base-repo-get-service</title>
        <link>https://old.andunix.net/z/relax/api/base/base-repo-get-service</link>
        <description>base-repo-get-service

Loads a service configuration from the repository and outputs it to STDOUT.

Usage
base-repo-get-service SERVICE
	*  SERVICE: a key of a service definition in the repository.

Returns

Returns the service definition.
This is usually evaluated in a shell script by the</description>
    </item>
    <item rdf:about="https://old.andunix.net/info/mac/mac_command_line_audio">
        <dc:format>text/html</dc:format>
        <dc:date>2013-03-10T21:06:49+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Command Line Audio</title>
        <link>https://old.andunix.net/info/mac/mac_command_line_audio</link>
        <description>Command Line Audio

Change Mac Audio Volume from Command Line

To change the audio volume from remote of my Mac at home, I needed a command line tool which I can use via ssh. I've found it here: OS X Daily - Change the system volume from the command line. It's as easy as


sudo osascript -e &quot;set Volume 10&quot;</description>
    </item>
    <item rdf:about="https://old.andunix.net/info/script/index">
        <dc:format>text/html</dc:format>
        <dc:date>2013-02-04T22:17:35+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Scripting</title>
        <link>https://old.andunix.net/info/script/index</link>
        <description>Scripting
script index


script scripting</description>
    </item>
    <item rdf:about="https://old.andunix.net/blog/2009/travian_village_planner_-_tribe_and_village_name">
        <dc:format>text/html</dc:format>
        <dc:date>2009-02-25T11:04:00+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Travian Village Planner - Tribe &amp; Village Name</title>
        <link>https://old.andunix.net/blog/2009/travian_village_planner_-_tribe_and_village_name</link>
        <description>Travian Village Planner - Tribe &amp; Village Name

Yesterday, I had some time and worked on the Village Planner. It now has an input field for the name of the village and you can select your tribe. Both informations are saved to the URL when clicking on “make bookmark”. The tribe is saved as parameter 't' and the name as 'n'.</description>
    </item>
    <item rdf:about="https://old.andunix.net/info/script/tools">
        <dc:format>text/html</dc:format>
        <dc:date>2013-02-04T22:17:35+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Command Line Tools Used in My Scripts</title>
        <link>https://old.andunix.net/info/script/tools</link>
        <description>Command Line Tools Used in My Scripts

This is a list of comman dline tools which I use in my scripts an which should be installed on every of my systems.
Basic tools (e.g. awk, find, grep, ps) which are always installed are not listed.

Audio/Video</description>
    </item>
    <item rdf:about="https://old.andunix.net/info/javascript/autosubmit">
        <dc:format>text/html</dc:format>
        <dc:date>2013-03-14T08:22:05+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Automatic Submission of a Form if an Element is changed</title>
        <link>https://old.andunix.net/info/javascript/autosubmit</link>
        <description>Automatic Submission of a Form if an Element is changed

To submit the form if an element changes, you can use


onChange=&quot;this.form.submit()&quot;


Example


&lt;form action=&quot;index.jsp&quot; method=&quot;post&quot;&gt;
  &lt;select onChange=&quot;this.form.submit()&quot;&gt;
    &lt;option&gt;please select a value&lt;/option&gt;
    &lt;option value=&quot;1&quot;&gt;one&lt;/option&gt;
    &lt;option value=&quot;2&quot;&gt;two&lt;/option&gt;
    &lt;option value=&quot;3&quot;&gt;three&lt;/option&gt;
  &lt;/select&gt;
&lt;/form&gt;</description>
    </item>
    <item rdf:about="https://old.andunix.net/blog/2009/travian_village_planner">
        <dc:format>text/html</dc:format>
        <dc:date>2013-03-15T09:42:18+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Travian Village Planner</title>
        <link>https://old.andunix.net/blog/2009/travian_village_planner</link>
        <description>Travian Village Planner

Currently I'm working on a village planner for Travian.
It was inspired by the village planner at &lt;http://www.ebav.co.uk/travian/&gt;,
but I was missing a possibility to save and reference my village.
So the main feature was saving the village to a bookmark.
This is done by the</description>
    </item>
    <item rdf:about="https://old.andunix.net/info/script/variables">
        <dc:format>text/html</dc:format>
        <dc:date>2015-10-23T12:39:10+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Shell Script Variables</title>
        <link>https://old.andunix.net/info/script/variables</link>
        <description>Shell Script Variables

Last Character

Get the last character of $a:


${a: -1}


Remove Slash from the End of a Variable

Remove a trailing slash from $a:


a=${a%/}


scripting bash sysadmin variable</description>
    </item>
    <item rdf:about="https://old.andunix.net/info/javascript/index">
        <dc:format>text/html</dc:format>
        <dc:date>2013-02-27T12:26:00+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>JavaScript</title>
        <link>https://old.andunix.net/info/javascript/index</link>
        <description>JavaScript
javascript index</description>
    </item>
</rdf:RDF>
