Add a Filetype to “Open With”

The problem: I like MacVim with syntax highlighting for all major programming tasks. MacVim is pretty good at adding itself as an application to most filetypes I would use it for – until I installed Arduino and MPIDE. Since MPIDE is based on Arduino pre-1.0 it used the .pde file extension. Arduino 1.0 uses the

Read more … »

Bulk Modifying of Static HTML

While relocating the PeeWeeLinux web site I found myself needing to make bulk changes to a some 1800 static HTML pages. I had to insert a new HTML tag before the “head” tag on each page.

The search and replace workhorse in this method is “sed”, the Unix stream editor.

Read more … »

Creating a Bootable FreeNAS USB Stick on a Mac

Obtain the FreeNAS image. For this example I am using FreeNAS-amd64-embedded-0.7.2.5543.img. Have a USB stick on hand that hopefully supports booting.

Read more … »

Create ISO image using hdiutil on OS X

How exactly can one create a good old ISO image using readily available Mac tools? After all, the Disk Utility seems to heavily favor the DMG format. Here is the magic, using the terminal run:

hdiutil makehybrid -iso -joliet -o <output file> <folder with files>/

Note that the files to populate the ISO with need

Read more … »

Create ISO image from CD/DVD with Mac OS X

Some quick instructions on how to create an ISO image from a CD or DVD using Mac OS X. But sadly this has failed in creating iso images of some disks, such as Microsoft installer disks.

Read more … »

Cisco Configuration Manager

This project provides tools to manage configurations for Cisco devices. At the heart of the project is a tftp daemon written entirely in PHP. Configurations are read and written to the tftp server using a file path that incorporates a password feature for security. The current version of each device configuration is stored in a

Read more … »

AWStats on Debian (Sarge)

AWStats is a log analyzer for apache logs. It is available at http://awstats.sourceforge.net/.

AWStats consists of a number of perl scripts and related files. There is no build in the sense of compiling required. Even though awstats has been designed as a cgi that creates statistics dynamically it also supports static html pages. I choose

Read more … »

Installing Stager on Debian GNU/Linux (Sarge)

This document describes the installation of a Debian GNU/Linux (Sarge) server for the purpose of collecting and presenting NetFlow data. The NetFlow packets are collected using flow-tools. The data is processed and presented using Stager.

Read more … »

Using Cisco IP Phones with Asterisk

My home telephone system is a Asterisk Open Source PBX. The actual handsets are Cisco IP phones. In this document I am describing the steps taken to setup the TFTP files needed to provision and manage Cisco phones.

Read more … »

My Debian GNU/Linux (Sarge Release) Mail Server

These instructions describe the installation of a Debian GNU/Linux based mail server. The server is a closed system, without user shell accounts. Mail accounts are administered using web based tools. This provides for excellent system security.

Note that these instructions are based on my installation notes, just prettied up a little. A fair bit of

Read more … »