One high quality of life enchancment any developer could make for themselves is making certain completely different file varieties open within the app they’re most proficient in. If you understand me, you understand I choose conducting as a lot as attainable from the command line. The duti
utility permits customers to find out default file sort from command line.
The duti
utility permits builders to question which app is the default for various file varieties. You possibly can set up duti
with brew
:
brew set up duti
After getting duti
accessible, you’ll be able to test on the default app for file sort with the next command:
~ duti -x md Xcode.app /Functions/Xcode.app com.apple.dt.Xcode
You possibly can set the default app by utilizing its package deal:
duti -s com.sublimetext.2 .js all
The duti
utility is absolutely nice for figuring out and automating default app administration!
Ship Textual content Messages with PHP
Children nowadays, I inform ya. All they care about is the know-how. The video video games. The bottled water. Oh, and the texting, all the time the texting. Again in my day, all we had was…OK, I had all of these items too. However I nonetheless do not get…
CSS vs. JS Animation: Which is Quicker?
How is it attainable that JavaScript-based animation has secretly all the time been as quick — or quicker — than CSS transitions? And, how is it attainable that Adobe and Google persistently launch media-rich cell websites that rival the efficiency of native apps? This text serves as a point-by-point…
Vertically Centering with Flexbox
Vertically centering sibling little one contents is a job we have lengthy wanted on the internet however has all the time appeared far more tough than it must be. We initially used tables to perform the duty, then moved on to CSS and JavaScript methods as a result of desk structure was horribly…
PHP / MooTools 1.2 Accordion Helper
The MooTools Accordion plugin appears to be the plugin that individuals appear to have probably the most issues with. It is an superior plugin, so I can see why so many individuals need to use it, however I feel that could be a part of the issue.