Raspberry Pi

When the Raspberry Pi came out last year, i bought one. I had no a idea what i was going to do with it but i like tiny computers and i like linux so surely i needed one. Well its been setting in the box just waiting for me to open it. So now i finally have some time to play with it. I’m planning on getting it setup this week and see what all the fun is about.

Status Messages in screen

In the February 2011 issue of Linux Journal Kyle Rankin wrote an article called Status Messages in Screen. I’ve been using screen for years but never thought much about what it could do beside keep my shell open on a remote server. Well this article opened my eyes. I quickly dug in and start working on my .screenrc on my macbook. I was able to write a couple of applescripts to pull inbox counts from entourage and mail.app. Cool stuff i look forward to seeing what other useful info I can get in there since i do like to work at the cli a lot. Thanks Kyle.

Debian Boot Thumb drive from OSX

Last week I had a need to create a debian boot disk. The computer I needed to use it on doesn’t have a CD and I didn’t feel like purchasing a USB CD reader just for the purpose of loading debian, and I didn’t feel like waiting until I could go to down or have it shipped.

So I had to make a boot disk. I’ve done it in Linux several times before but never from OSX. So the commands aren’t exactly the same, here are my notes taken from a couple places on the web, which should serve as a reminder for the next time I have do to it.

First I downloaded the debian image I wanted to use from there site.
Next I stuck the thumb drive in the box.
from the termial (I use iTerm)
#diskutil list
mine was listed as /dev/disk1
#diskutil unmountDisk /dev/disk1
#bzcat debian.img | dd of=/dev/disk1
#diskutil eject /dev/disk1

It was a simple as that. To test i stuck it in my handy netbook and reboot and I was at the lovely command prompt. Then of course other things happened that required my attention so I haven’t gotten back to that project of getting the box installed yet.

Custom Weather Notifications with Growl

Last night I download Prowl on my iPhone and setup my growl to work with it. It’s very cool stuff together, i’ve been using growl forever.

Anyway tonight I was reading in this thread in the prowl forum where one poster is using growl notifications for weather. Not just any weather but really local weather. Now if you live in or around a big town, most weather apps are pretty accurate for you area. But when you live out in the sticks like I do, they are only close most of the time.

Anyway tonight I set up this excellent pair of perl scripts as outlined here from IBM: Develop your own weahter maps and alerts. Which is a very cool script that will allow you pinpoint your location. I used Photoshop to create the base map from the layers. Once followed all the instructions, some things are not exactly clear at first, but if your familiar with perl reading the code sorts it all out. I setup the notify scripts to send the messages to growl via the growlnotify command.

Now once that was all setup I created a simply bash script that would delete the old Radar overlay, pull the current Radar overlay needed and run the perl weather scripts. I then stuck that script in my crontab. So if I’m at my computer I get notified and if i’m away from my computer i get a push notification to my phone. Very cool stuff. Of course I could just look outside to see if it is raining 🙂

Virtual Machines – Year End Summary

I’m doing a little cleaning of the laptop hard drive today. I’ve got a ton of virtual machines loaded that I have played with over the past several months. I thought I would list them.

Fedora Core 6

Network Security Toolkit 1.4.2

Backtrack v1.0

BSD 4.0

Debian Etch

Debian Sarge

Ubuntu 6.10

Its been fun using these and some of them have went on to live in the enterprise.