scripting Archive

  • LOCKFILE=/var/lock/my-script.lock   # Check if we're already running (set -C; : > $LOCKFILE) 2> /dev/null if [ $? != "0" ]; then echo "Lockfile exists, exiting" exit 1 fi  ...

    Simple BASH script lockfiles

    LOCKFILE=/var/lock/my-script.lock   # Check if we're already running (set -C; : > $LOCKFILE) 2> /dev/null if [ $? != "0" ]; then echo "Lockfile exists, exiting" exit 1 fi  ...

    Continue Reading...

  • Well, this is a bit fun! One of the main points of my game environment is that I should be able to easily modify entity behaviour without having to hard...

    Adding Lua to my software

    Well, this is a bit fun! One of the main points of my game environment is that I should be able to easily modify entity behaviour without having to hard...

    Continue Reading...