Monthly Archives: June 2007
I noticed the e-mail alerts about my backups were a lot smaller than they should be, sure enough there was a problem. Logged into my server, and the prognosis was bad. chris@sandman:~$ ls /backup/ ls: reading directory /backup/: Input/output error … Continue reading
I don’t get people who moan about upgrading web software, I suspect these are all fairly dumb people who do not have or know how to use terminal access to their server. I just upgraded WordPress from 2.2 to 2.2.1 … Continue reading
This is a really ugly sed one liner that configures grub how I like it. $ sudo sed –in-place ‘s/#\(hiddenmenu\)/\1/;s/^\(timeout[ \t]*\)[0-9]*/\12/;s/^\(# lock.*=\)false$/\1true/’ /boot/grub/menu.lst $ _GPASSWD=$(read -s -p “Enter Grub Password (note type carefully): ” _GPASSWD; echo $_GPASSWD | mkpasswd –hash=md5 … Continue reading
Ohh arr what a frog.
Free! Finally all three of my exams are over, a little earlier than expected but no matter still happy! Shame I felt so ill last night, didn’t go out and get smashed Oh well there is always tonight!
I am beginning to understand the power of gstreamer, the following snippet converts FLAC files to MP3 with a 192 kbps bitrate. gst-launch-0.10 filesrc location=”$FILE.flac” ! decodebin ! lame bitrate=192 ! filesink location=”$FILE.mp3″
I keep meaning to document this, the installation procedure for my MCEUSB2 remote control with lirc under Ubuntu, so here we go. $ sudo aptitude install lirc lirc-modules-source module-assistant debconf-utils $ wget http://static.cs278.org/conf/debconf/ubuntu-704_lirc-modules-source -O- | sudo debconf-set-selections $ sudo dpkg-reconfigure … Continue reading
gconftool-2 –type string –set /apps/panel/applets/clock_screen0/prefs/format “12-hour” gconftool-2 –type bool –set /apps/panel/applets/clock_screen0/prefs/show_date true gconftool-2 –type bool –set /apps/panel/applets/clock_screen0/prefs/show_seconds true