I code, therefore I am... a software engineer.

Arbitrary Command-Line Arguments In Bash

Have you ever wanted to be able to process an arbitrary number of command-line arguments in your Bash scripts? Well, fear not! It is actually quite easy. All you need is one of the special built-in variables of the Bash shell. The “$@” variable gives you the parameters passed on without any expansion and seen …

Read more

Bash Script To Backup Your Website

I thought I’d share another one of my personal scripts. This one is a script that I use to backup this website including files and the MySQL database. It is very simple and straightforward so I won’t bother with long explanations. If you have any questions about it please feel free to comment. On tip …

Read more

Coding Properties… “The Right Way”

In object oriented programming there is the concept of classes and/or objects. These are nice encapsulated bits of code that allow one to store data and/or functionality. One of the ways to add data to an object is to give it some properties. The “right way” of doing this usually involves adding some private data …

Read more

How To Convert Tab Delimited Text To HTML Using AWK

Have you ever needed to quickly process a text file into some other format… say HTML? Well, I run across this problem more frequently than you might suspect and there is one tool that I use quite often to solve the problem. AWK is a general purpose programming language that is designed for processing text-based …

Read more

How To Make A Glowing Tomato

Check this cool video out. It’s a tutorial on how to make a tomato glow. Ooh. This would make a great science project for your kids. (Click through to the site if you cannot see the video) Make A GLOWING TOMATO ! – Click here for this week’s top video clips

Monitor Processes With Bash Scripts

Have you ever wanted to monitor some processes on your system using a Bash script? Well, I have had to many times. Usually I’m running a script or program that is processing large amounts of data and I want to keep an eye on it’s progress. Well, it’s actually quite easy. Peaking At Processes The …

Read more