<?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-04T07:20:15+00:00</dc:date>
        <items>
            <rdf:Seq>
                <rdf:li rdf:resource="https://old.andunix.net/info/script/variables"/>
                <rdf:li rdf:resource="https://old.andunix.net/blog/2009/travian_village_planner"/>
                <rdf:li rdf:resource="https://old.andunix.net/wiki/syntax"/>
                <rdf:li rdf:resource="https://old.andunix.net/info/mysql/user/create"/>
                <rdf:li rdf:resource="https://old.andunix.net/p/dmx/protocol"/>
                <rdf:li rdf:resource="https://old.andunix.net/info/webdesign/urlencode"/>
                <rdf:li rdf:resource="https://old.andunix.net/z/travian/travian_map_download_script"/>
            </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/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/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/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/info/mysql/user/create">
        <dc:format>text/html</dc:format>
        <dc:date>2016-01-25T11:49:04+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>MySQL: Create User</title>
        <link>https://old.andunix.net/info/mysql/user/create</link>
        <description>MySQL: Create User

Create User


CREATE USER '{user}'@'%' IDENTIFIED BY '{passwd}';


Create User and Database

	*  Usually, {user} == {db}


CREATE USER '{user}'@'%' IDENTIFIED BY '{passwd}';

GRANT USAGE ON * . * 
TO '{user}'@'%' 
IDENTIFIED BY '{passwd}' 
WITH 
  MAX_QUERIES_PER_HOUR 0 
  MAX_CONNECTIONS_PER_HOUR 0 
  MAX_UPDATES_PER_HOUR 0 
  MAX_USER_CONNECTIONS 0 ;

CREATE DATABASE IF NOT EXISTS `{db}`;

GRANT ALL PRIVILEGES ON `{db}` . *  TO '{user}'@'%';</description>
    </item>
    <item rdf:about="https://old.andunix.net/p/dmx/protocol">
        <dc:format>text/html</dc:format>
        <dc:date>2014-02-02T11:19:35+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Serial Protocol</title>
        <link>https://old.andunix.net/p/dmx/protocol</link>
        <description>Serial Protocol

For the communication between the host (PC) and the controller (Arduino), there is a serial protocol over USB.
The protocol is line by line, with carriage return (“\n”) as end.
The first character denotes the type of command or information.
The following commands have been defined:</description>
    </item>
    <item rdf:about="https://old.andunix.net/info/webdesign/urlencode">
        <dc:format>text/html</dc:format>
        <dc:date>2014-03-07T13:51:10+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>URL Encoding</title>
        <link>https://old.andunix.net/info/webdesign/urlencode</link>
        <description>URL Encoding
  Character   URL-Code   &amp;            %26       ?            %3F     
web webdesign html http encoding reference</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>
</rdf:RDF>
