Archive for the 'Linux' Category

Ridiculously useful Bash shell functions

Tuesday, July 1st, 2008

Put these in your ~/.bash_profile.

function mkcd ()
{
mkdir -p $1 && cd $1
}

function cdrm ()
{
THIS=`pwd`
cd ..
rmdir $THIS
}

mkcd makes a directory, then changes into it.
cdrm changes to the parent directory, then removes the one you were just in.

Bits

Tuesday, March 21st, 2006

I stayed up way too late tonight playing with stuff. I got WPA2/PSK2 working on my WRT54G running OpenWRT RC2. I have no problem sharing my net connection, but I want to lock it down until I have a better setup to keep people out of my LAN.
I also got mt-daapd running on my Debian [...]

gtkpod / faac clashes

Tuesday, December 27th, 2005

Well, I tried to get gtkpod 0.99.2 running today, but with minimal success. It compiles fine, but without MPEG 4 support, which is needed for AAC and video handling. The problem seems to be with faac’s libmp4v2. It seems to require config.h, which is a generic part of the autoconf setup, and has no place [...]

Nokia 770

Tuesday, December 13th, 2005

I bought a Nokia 770 today. It’s pretty cool, but I’m still getting used to the handwriting recogniton. It’s not easy for me, I have horrible handwriting. Read on for the skinny.
You probably already know what the 770 is already. If not, start here. I’ll try to keep this pretty short.

Converting video to play on your iPod with FFmpeg

Saturday, November 12th, 2005

So I’ve finally gotten to sit down and fiddle with my 5G iPod under Linux. I’ve gotten gtkpod working (though not the patches to support video syncing), and I think I’ve got FFmpeg generating good video content. Transcode and MEncoder seem to lack AAC support, and the iPod won’t play MP3 audio, so FFmpeg is [...]