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!
CSS vs. JS Animation: Which is Faster?
How is it possible that JavaScript-based animation has secretly always been as fast — or faster — than CSS transitions? And, how is it possible that Adobe and Google consistently release media-rich mobile sites that rival the performance of native apps? This article serves as a point-by-point…
Detect Vendor Prefix with JavaScript
Regardless of our position on vendor prefixes, we have to live with them and occasionally use them to make things work. These prefixes can be used in two formats: the CSS format (
-moz-
, as in-moz-element
) and the JS format (navigator.mozApps
). The awesome X-Tag project has…“Top” Watermark Using MooTools
Whenever you have a long page worth of content, you generally want to add a “top” anchor link at the bottom of the page so that your user doesn’t have to scroll forever to get to the top. The only problem with this method is…