Jan 052013
 

I’ve been attending a series of Arduino workshops at my local hackerspace, Arch Reactor. The last workshop focused on blinking LEDs but that was a little bit too simple for me so I took it a little further with some ideas spread across the internet.

My project for this week was to imitate a candle flicker with LEDs. I’ve added a photocell to initiate the flicker when the lights get dim.

Arduino - Candle Light Flicker with Photocell

Sketch

 Posted by at 7:59 pm
Jan 012013
 

When Lion was released I was excited about the idea of Launchpad. After upgrading however, I found that Launchpad had hundreds of apps listed. Everything in my Applications folder was be displayed with no way of removing them. This included all the uninstallers and other useless apps that I did not want cluttering up my Launchpad. After a little research I found that you could remove applications from terminal with a fairly simple command:

sqlite3 ~/Library/Application\ Support/Dock/*.db "DELETE from apps WHERE title='APPNAME';" && killall Dock

This was great but with hundreds of apps that I wanted to remove it seemed to be a daunting task. I eventually gave up and stopped using Launchpad.

When Mountain Lion was released I took the opportunity to clean house and did a clean install. This cleared up my Launchpad problem very nicely but I still had a few apps that I just did not want displayed. After using the terminal command above a few times I decided to automate the process (if you have to do something twice, it’s time to automate it).

Using Automator I created an app that prompts me for an app name and then removes it from Launchpad using the terminal command.

Automator-Remove_Launchpad_App

The tricky part here is using a variable in a shell script. After some research I found that $@ is used in the shell script to call the variable created.

Sources
How to Remove Apps from Launchpad
Built-in Bash Shell Variables

 Posted by at 4:20 pm
Jan 012013
 

A new year, a new me.

I’ve been working on a lot of difference projects lately and have wanted to record and share my progress in the hopes of helping or inspiring others with their own projects. I would have started this a long time ago but I’d always thought that if I was going to do it then I would build a blog on my own. I finally made the realization that I don’t need to reinvent the wheel and just give in and setup WordPress. 5 minutes later this blog was born.

I’ll be covering any projects that I’m working on, product reviews and anything else that comes to mind. These days my efforts are focused on the Arduino and Raspberry Pi but I’ve dabbled in a lot of other areas as well. In the past I’ve done videography, web development, photography, genealogy and I hope to learn iOS development in the near future.

I hope you find something useful here and feel free to contact me.

 Posted by at 4:13 pm