Geekin’ Out: for the love of computers.

  • SSH KeepAlive

    By default, your ssh daemon probably will kick you out after a period of no activity. I like to set the following in sshd_config: TCPKeepAlive yes ClientAliveInterval 60

  • UtahFM iPhone App

    Making good progress on the UtahFM iPhone App. Got a progress bar working so now it spins while music is playing. I’d like to get some more testers but you have to be willing to upgrade to iPhoneOS 3.0beta5. The About Page:

  • Netatalk on Intrepid once again

    This sequence of commands work well for me to get a SSL-enabled version of Netatalk compiled “the Debian way” or “the Ubuntu way”, where you get a nice .deb file: [code] mkdir -p ~/src/netatalk cd ~/src/netatalk sudo apt-get install devscripts cracklib2-dev dpkg-dev libssl-dev build-essential sudo apt-get build-dep netatalk apt-get source netatalk cd netatalk-2.0.3 DEB_BUILD_OPTIONS=ssl dpkg-buildpackage…

  • New link for iPhone firmware

    Updated link to find the iPhone firmwares: http://www.felixbruns.de/iPod/firmware/

  • iPhone Google Calendar Sync

    So,  I upgraded to iPhone OS 3.0 and want to get the Google Calendar Sync up and running on the new OS. Search for “iphone google calendar sync” at Google. Not a single link on the first page has the instructions on how to do it. Had to search forever just to find the server…

  • Recursive grep search with filenames and line numbers

    Slack and Bill at worked helped me out with a nice recursive grep search. It is now my favorite: egrep -irHn <searchterm> <path>

  • Keeping PDAnet free on your iPhone

    Recent versions of PDAnet are no longer free. PDAnet changed to a $30 pay version as of version 1.40. Here is how to roll back to the old free version: http://www.virtuadave.com/2008/11/19/keeping-pdanet-free-on-the-iphone/

  • How to modify iPhone Calendar colors on Jailbroken iPhone

    *EDIT* updated for iOS5 here http://chriscarey.com/wordpress/2012/01/07/changing-calendar-colors-on-a-jailbroken-iphone-running-ios-5/ After installing Google Sync for iPhone, I had a problem that the iPhone Calendar colors did not match the colors of the calendars in Google Calendar. I am republishing a post by michael.ansel. I found a post by him to be the best way to change calendar colors. One…

  • Mounting a lvm crypted device via the command line

    #cryptsetup luksOpen /dev/HARDDISK DEVICENAME #lvmdiskscan #vgchange -ay #ls -l /dev/mapper #mkdir /media/crypt #mount /dev/mapper/DEVICENAME /media/crypt

  • Streaming a webcam in Linux with VLC

    I wanted a simple way to make my Linux security camera server stream live video to my TV. The server ususally runs “motion”. I disable motion, and launch this command on the server: vlc v4l:/dev/video0:size=640×480:channel=1:norm=ntsc:fps=12 –sout ‘#transcode{vcodec=mp4v,vb=768,scale=1}:duplicate{dst=std{access=mmsh,mux=asfh,dst=:8080}}’ -v –noaudio and this on a Linux client to test: mmsh://10.4.4.25:8081/ Then, once that is all working, I…