Shaun ONeil

Counting to ten

A recent query on how to do:

for i in `seq 1 10`
do
    echo $i
done

under OSX, as it doesn't have the 'seq' command. Easy answer. Don't!

In bash 3, you can do this built-in with:

for i in {1..10}
do
    echo $i
done

Stepping ...


Read more ..

Creating a grub-efi bootstick for OSX

Work in progress, but I'm getting somewhere

Started off by building a fresh x86_64 VM of Ubuntu 11.04 to work in. Building a fresh grub2 is easy enough:

$ sudo apt-get install build-essential bison m4 flex libdevmapper-dev
$ wget ftp://ftp.gnu.org/gnu/grub/grub ...

Read more ..

Tunnelbroker on Airport Extreme

Just a quicky; When creating a tunnel on he.net's tunnelbroker, you'll be given details as following:

picture

In this case, 2001:db8:1f09:f00::1/64 is your routed /64. Notice that the portions of the address that are in bold, are not the same for your prefix ...


Read more ..

Automating procmail

Some good fun this morning. Decided to make my procmail handling of mailing lists a little more automated. Using python, which I don't know at all.

So, this is what I came up with. my .procmailrc loads from various files, most notably:

INCLUDERC=$PM/lists.rc
INCLUDERC=$PM/automation ...

Read more ..

Who Broke the Internet?

I set out this morning looking for what seemed like a pretty straight-forward, if slightly dated, piece of information.

I'd forgotten the command to create a new directory in AmigaDOS.

At first, I found a bunch of forum posts discussing globbing under AmgiaDOS. Nothing useful. I found what directory ...


Read more ..