BrunoJ

Entries from February 2007

Nethack Scores — February 19, 2007

February 19, 2007 · Leave a Comment

ben@calamity:~$ nethack -s -v

 No  Points     Name                                                   Hp [max]
  1       5088  ben-Sam-Hum-Fem-Law died in The Gnomish Mines on
                level 6.  Killed by a blue jelly.                       -  [64]
  2       1616  ben-Kni-Hum-Mal-Law died in The Dungeons of Doom on
                level 3.  Killed by a hill orc.                         -  [42]
  3       1119  ben-Arc-Gno-Fem-Neu died in The Gnomish Mines on
                level 4.  Killed by an iguana, while helpless.          -  [28]
  4        358  ben-Sam-Hum-Fem-Law died in The Dungeons of Doom on
                level 3.  Killed by a black pudding.                    -  [26]

Categories: nethack

Howto: Installing Windows XP on second (non SATA) disk

February 13, 2007 · Leave a Comment

  1. remove non SATA disk
  2. install windows on remaining disk as normal
  3. re-install SATA disk
  4. add to grub:

    title Windows XP
    map (hd0) (hd1)
    map (hd1) (hd0)
    rootnoverify (hd1,0)
    savedefault
    makeactive
    chainloader +1

Categories: computers · howto

Howto: SCP droplet for Mac OSX

February 11, 2007 · Leave a Comment

1. start apple script editor

1a. arrange ssh key pairs between source and target machines

2. paste following code (changing the first line as appropriate)


property scp_target : "user@host:path/to/images"
on open fileList
repeat with thisFile in fileList
set the item_path to the quoted form of the POSIX path of thisFile
do shell script ("scp " & item_path & " " & scp_target)
end repeat
end open

3. File -> Save As -> choose application and check “run only” only

4. drop files onto the droplet

Categories: computers · howto

Howto burn Dual Layer DVD in Linux

February 2, 2007 · 2 Comments

A simple terminal command to burn an iso, just cut and paste:


growisofs -use-the-force-luke=dao \
-use-the-force-luke=break:1913760 -dvd-compat -speed=2 \
-Z /dev/hda=IMAGE.000

replace IMAGE.OOO with whatever your backup file is called, and of course /dev/hda with the mount-point of your burner.

To figure out which of my optical drives is which, I run:
dmesg | grep -e 'hd.:'

Categories: computers · howto · linux