Currently browsing tag

Linux

GNU/Linux stuff, probably relating to Ubuntu or another Debian derivative.

merge sort, the eater of nodes

I’m so tickled to have completed an assignment for my Linux kernel class. The specification was as follows: Modify the algorithm that …

grad party, friend code, KDE 4

Oy, what a week!  I’ve worked at Lexmark every day since Monday, getting things finalized there and today was my last day.  …

chmodding and Ruby

Recently, I switched from a Powerbook to a Macbook, and to copy my files from one to the other, I used a pen drive. Since my pen drive has a FAT file system, it treats everything as being executable. This, however, is not the case on a UNIX-like file system like OS X. In order to save myself the hassle of manually chmodding thousands of files, I wrote this Ruby script.

IBM swag and a roach-squashin’

I was trying to edit an old post, ‘PHP and forms’, this morning but I kept getting “Service Temporarily Unavailable.” Every time …

.bash_profile

eval `/opt/local/bin/lesspipe.sh`

function dir_access_color {
local DIR=”${1-$PWD}” COLOR=0
[[ -r "$DIR" ]] && COLOR=1 # red
[[ -w "$DIR" ]] && COLOR=2 # green
tput -S <<<$’bold\nsetaf ‘”$COLOR”
}

Grub Error 17

Note: if this tutorial doesn’t help you, possibly because fdisk reports your known Linux partition correctly as Linux, you might also try …