[Edit: This script is defunct since Local rebuilt the application and ditched the virtual machine. This script works only with the old “Local by Flywheel” and not with the “Local Lightning” app. For the latter, see my lbl script]
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
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.
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”
So, you’re developing with SVN and you want to use branches? Creating a branch is easy, but switching between them by manually typing those URLs can be annoying. Use this script :) Continue reading “Handy Shell Scripts – part IV – svnswitchto.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”
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”