Handy script: lbf

Local (by Flywheel) is great, but for a terminal type of person as I am, I find it way more convenient to SSH into a VM and use the WP-CLI to perform WordPress tasks. With a platform like Vagrant, one has the

vagrant ssh
command to shell into the virtual environment.

With Local, you can do this with the push of a button in Local, but as said, I like the terminal better.

lbf ssh
is waaaaay faster than going to the Local app, find the site, click the SSH button.

But wait, there is much more ;) Continue reading “Handy script: lbf”

Handy Shell Scripts – part II – manage_launchpad.sh

The second script I’d like to share is one to list or delete items from the OSX Lion launchpad. It’s a very basic script with semi-cryptic output, but it’s useable for the two or three times you’ll ever use it.

Have you looked at your launchpad? It probably has twenty or more items you would like removed, but, …., OSX doesn’t allow you to remove items. Luckily it’s just an SQLITE database and with a few carefully built SQL queries, we can cleanup duplicates and unwanted items.

Continue reading “Handy Shell Scripts – part II – manage_launchpad.sh”

Handy Shell Scripts – part I – svntag.sh

Everyone has ’em. Well, maybe not EVERYONE, but a good many of us, programmers do; those handy little scripts and one-liners that make our jobs a little easier.

The first I’d like to share is one I use daily about a dozen times; svntag.sh
Continue reading “Handy Shell Scripts – part I – svntag.sh”