2009
09.13

StartPatch v4.0

StartPatch v4.0.

2009
09.13

The Homebrew Channel.

2009
09.05

This will unrar all the rar files matching the pattern into the current directory, ignoring pathnames (-ep) and force overwrite (-o+) – handy for unrar’ing ISO’s.

for f in /source/dir/*.rar ; do unrar x -ep -o+ $f ; done

2009
08.22

Super Mario GalaxyAn absolutely brilliant platformer in 3D that has kept us entertained for a long time. Loads to do, loads to explore, good progressive difficulty, no two levels are the same or repetitive.

2 year old Jack: Excellent!
Daddy: A true work of art.

Gamespot review

2009
08.22

Wolfenstein

Wolfenstein


Bloody marvelous FSP in a Nazi/scifi stylee.

Action right from the start – no retarded training missions. Cut scenes you can skip parst (yay!). Excellent GFX – runs fiine on my 2 year old PC. Good level detail – lots of exploring to do. Upgradeable weapons.

All round, it’s a winner.
Wolfenstein site

2009
08.17

I use Firefox in Ubuntu and prefer the way the backspace key works in Windows – that is, the same as the ‘back’ button. To do this, go to “about:config” in the Firefox address bar, accept the warning and set “browser.backspace_action” to a value of 0.

2009
08.17

str_ireplace for PHP4

I needed a str_ireplace function for PHP4 (it’s a new in PHP5).  It does a case-insensitive string replace thing.


function str_ireplace4($needle, $replacement, $haystack) {
   $i = 0;
   while (($pos = strpos(strtolower($haystack),strtolower($needle), $i)) !== false) {
      $haystack = substr($haystack, 0, $pos) . $replacement.substr($haystack, $pos+strlen($needle));
      $i=$pos+strlen($replacement);
   }
   return $haystack;
}
 
2009
08.17

rtGui is a web based front end for rTorrent – the Linux command line BitTorrent client. It’s written in PHP and uses XML-RPC to communicate with the rTorrent client.
For more information on rTorrent, see the home page: http://libtorrent.rakshasa.no/

Features

  • List all torrent downloads or by started/stopped/complete/incomplete/seeding status.
  • Ajax-style refresh information without reloading page.
  • Sort view by any of the displayed columns.
  • View detailed torrent information.
  • Stop/start/hash-check torrent.
  • Set upload/download speed cap.
  • Add torrents by URL.
  • Upload torrent to rtorrent watch-directory.
  • Set priority per torrent or file.
  • Peer listing.
  • RSS Feed of completed torrents (rssfeed.php).
  • Does not require mySQL or any other database.
  • Bulk Stop/Start/Delete/Priority set.
  • Tracker URL display with configurable colouring.
  • Integrated RSS News Feed reader – download torrents directly to rTorrent (still work-in-progress).
  • Filter torrent list by tracker.
2009
08.17

I’ve replaced the Ubunutu/Gnome screensaver with the superior (IMHO) Xscreensaver, using this guide.

I like the VidWhacker module, and have it set to choose a random image from my ~/Pictures/ dir. I wanted to save some of the funky random images it produces, so I did this:

while true; do /usr/lib/xscreensaver/vidwhacker -stdout | convert - `date +%s`.jpg ; echo "Generated jpg"; done

2009
08.17

The GPS gets lost

SmilerOut driving the other day with 2 year old son in the back. We go through a tunnel and the GPS announces “GPS signal lost”.

Voice from the back of the car: “Oh no Daddy – the GPS is lost!”