Many engineers like myself live in the command line, and perform actions from command line that most others would click an icon for. I’ve always found opening apps from command line on Macs painful. You need to references the Applications
directory, add .app
to the name, etc. I just want to open apps by name.
To open an app from any directory by its simple name, you can use the -a
argument to open
:
open -a Cyberduck # Works regardless of case as well open -a CyBeRdUcK
I love -a
for a command like open
. Being able to open any app by name is exactly what I want!
Create Namespaced Classes with MooTools
MooTools has always gotten a bit of grief for not inherently using and standardizing namespaced-based JavaScript classes like the Dojo Toolkit does. Many developers create their classes as globals which is generally frowned up. I mostly disagree with that stance, but each to their own. In any event…
Spyjax: Ajax For Evil Using Dojo
The idea of Spyjax is nothing new. In pasts posts I’ve covered how you can spy on your user’s history with both MooTools and jQuery. Today we’ll cover how to check user history using the Dojo Toolkit. The HTML For the sake of this…
Fancy FAQs with jQuery Sliders
Frequently asked questions can be super boring, right? They don’t have to be! I’ve already shown you how to create fancy FAQs with MooTools — here’s how to create the same effect using jQuery. The HTML Simply a series of H3s and DIVs wrapper…
Source: davidwalsh.name