April 30, 2003

Linux NTFS

Linux NTFS drivers

Posted by jamespo at 12:55 PM | Comments (0)

webyog

webyog - windows frontend to mysql

Posted by jamespo at 10:48 AM | Comments (0)

April 29, 2003

NERDLINGER!

nerdlinger spaceships to scale

Posted by jamespo at 02:36 PM | Comments (0)

April 24, 2003

m3uhere

M3U Here is a tool for automating the process of creating M3U media playlists for use with applications like Windows Media Player and WinAmp. A playlist is simply a text file containing a collection of paths to various media files. Can work on the right click context menu.

Posted by jamespo at 10:42 PM | Comments (0)

find-matching-paren for emacs

find matching paren for emacs lisp code

;; function to Match Parens

(defun find-matching-paren ()

"Locate the matching parenthtical" (interactive)

(cond ((looking-at "[[({]") (forward-sexp 1) (backward-char 1))

((looking-at "[])}]") (forward-char 1) (backward-sexp 1))

(t (ding))

)

)

;; set C-b find matching bracket

(global-set-key "\C-o" (quote find-matching-paren))

Posted by jamespo at 03:21 PM | Comments (0)

April 22, 2003

Unreal Tournament on Linux Problems?

Having Unreal Tournament on Linux problems? Can't find "Entry"... the textures etc probably haven't decompressed off of the disk. Read the more text for a script to fix the problems

#!/bin/sh

# FILENAME: convert.sh

#

# Change this to YOUR install-dir of UT

#

INSTALLDIR=/home/david/usr/local/games/ut

cd $INSTALLDIR/System

for i in ../Maps/*.unr.uz

do

ucc decompress $i -nohomedir

done

mv *.unr ../Maps

cd ../Maps

for f in *.unr

do

rm $f.uz

done

echo "..:: Done! ::.."

Posted by jamespo at 02:21 PM | Comments (1)

k7s5a motherboard bios guide

k7s5a motherboard bios guide

Posted by jamespo at 01:06 PM | Comments (0)

April 16, 2003

clever perl

from twoshortplanks.com


@m=(_,"|")x345;{my@a;!$v{$_}&$_>0&$_<346?push@a,$_:0for($p-1)%23?$p-1:0,

$p%23?$p+1:0,$p+23,$p-23;$p=pop@v,redo if!@a;(($r=$a[@a*rand])-$p)**2>1?

$m[$r>$p?2*$p-2:2*$r-2]=$":($m[$r>$p?2*$p-1:$r*2-1]=_);push@v,$p;$v{$p}=

$p=$r;keys%v<345&&redo}print$l?"":"\ec"."_"x47,$l++%46?"":"$/|",$_ for@m

Maze Solver


$|=print"\ec",@m=map{s#\ec##;split//}<>;{$v{$p=$r||50}=1;my@a;!$v{$_}&$_

>0&$_<767?push@a,$_:1for$m[$p-2]eq _?$p-2:0,$m[$p]eq _?$p+2:0,$m[$p-1]ne

_?$p+48:0,$m[$p-49]ne _?$p-48:0;select$q,$q,$q,.1;printf"\e[%d;%dH",1+$p

/48,$p%48;$p>765?exit:1;$r=!@a?pop@v:$a[@a*rand];push@v,$p if@a;redo}

How to use

Copy the generator into a file called maze.pl and the solver into solve.pl (or something!), Then


perl maze.pl | perl solve.pl

Posted by jamespo at 03:44 PM | Comments (0)

April 15, 2003

too much free time

Too much free time

Posted by jamespo at 10:52 AM | Comments (0)

April 01, 2003

WWP

Worms World Party only £3 from Woolworths

Posted by jamespo at 04:55 PM | Comments (0)