Working with Gedcom

Perl   PHP  

Bash – Snip Leading Zeros

valueWithoutZeroes="$(echo $valueWithZeroes | sed 's/0*//')"

Linux – Partitions & Filesystems

Creating a new partition /sbin/fdisk /dev/hda In fdisk, to create a new partition, type n and follow the prompts, use the w command to write the changes to the partition table when complete. Restart the virtual machine & create a file system on the new partition: /sbin/mkfs -t ext3 /dev/hda3 mkdir [...]

JUnit – Running Standalone

nohup java -cp ./junit.jar:./mytest.jar org.junit.runner.JUnitCore testClassName 2>&1 >log.txt &
Go to Top