Python LSF (ls + find) Program

Fri May 27 2016 [Updated: Wed Jan 10 2018]

Have you ever needed to search through your directories looking for files that match certain criteria? As a system administrator, I found myself doing this often and would usually use the unix find command to generate the list of matching files and then pipe that into an ls -l command to get the info I needed for each file. I found the syntax of the find command to be very unorthodox and hard to remember. The python script is an attempt to create a super-charged version of the basic ls command that adds options to control which files are included in the output.

Read more . . .

Bash Shell Change Directory Script

Fri Nov 20 2015 [Updated: Wed Jan 10 2018]

If you are a *nix user and work from the command line primarily, you often use the ‘cd’ command to move from directory to directory during the course of your work. Some of the directory paths can get long when you are trying to keep things organized in a meaningful way. When you realize you have to go back to /usr/lib/product/setup/appearance/xml for the 10th time, you might wish you didn’t have to type out that long path each time. What you need is to keep a history of the directories you’ve been in and some shortcuts for getting back to them. Well, that’s the purpose of the sd.bash shell script. This script should work on any operating system as long as you are using the bash shell.

Read more . . .

Cheap Raspberry Pi Media Center Remote

Tue Jun 16 2015 [Updated: Wed Jan 10 2018]

I got this $5 remote control to run my Raspberry Pi running the OpenElec media center (which is based on Kodi) but found that not all the keys worked as expected. I actually wanted to be able to use my Logitech Harmony 650 remote, so here I describe some of the modifications I made to get it to work to my liking.

Read more . . .

Multi-guitar Stand

Tue May 26 2015 [Updated: Wed Feb 14 2018]

Upon purchasing yet another guitar and trying to figure out where to put it, I initially considered hanging my guitars from the wall. That takes up quite a bit of space, and I don't have that much free wall space in my music room. Then it occurred to me that some kind of rack or stand that could hold all my guitars would allow me to keep them in a reasonably small space, while still providing easy access. A quick Google search turned up many different designs, but I ended up with the one shown above that is based on one I found on I chose this one based on the simplicity of construction as well as how nice the finished product looked. There are some neat designs out there using PVC pipe for example, that are inexpensive and easy to make, but I wanted to build something that looks more like a nice piece of furniture.

Read more . . .