Determine Default App for File Type from Command Line
One quality of life improvement any developer can make for themselves is ensuring different file types open in the app they're most proficient in. If you know me, you know I prefer accomplishing as much as possible from the command line. The
duti utility allows users to determine default file type from command line.
duti utility allows developers to query which app is the default for different file types. You can install
brew install duti
Once you have
duti available, you can check on the default app for file type with the following command:
~ duti -x md
You can set the default app by using its package:
duti -s com.sublimetext.2 .js all
duti utility is really great for determining and automating default app management!
new Element Madness
The first way to create UI-driven...
You've probably heard the talk around the water cooler about how promises are the future. All of the cool kids are using them, but you don't see what makes them so special. Can't you just use a callback? What's the big deal? In this article, we'll...
Ever since I got my iPhone, I've been more agreeable in going places that my fiancee wants to go. It's not because I have any interest in checking out women's shoes, looking at flowers, or that type of stuff -- it's because my iPhone lets...
One of my main goals with the redesign was to make it easier for visitors to find the information that was most popular on my site. Not to my surprise, posts about MooTools, jQuery, and CSS were at the top of the list. What...