One high quality of life enchancment any developer could make for themselves is making certain totally different file varieties open within the app they’re most proficient in. If me, I want undertaking as a lot as potential 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’ll be able to set up duti
with brew
:
brew set up duti
After getting duti
obtainable, you possibly can test on the default app for file sort with the next command:
~ duti -x md Xcode.app /Purposes/Xcode.app com.apple.dt.Xcode
You’ll be able to set the default app through the use of its bundle:
duti -s com.sublimetext.2 .js all
The duti
utility is de facto nice for figuring out and automating default app administration!
Create Namespaced Lessons with MooTools
MooTools has all the time gotten a little bit of grief for not inherently utilizing and standardizing namespaced-based JavaScript lessons just like the Dojo Toolkit does. Many builders create their lessons as globals which is usually frowned up. I principally disagree with that stance, however every to their very own. In any occasion…
MooTools dwCheckboxes Plugin
Replace / Repair: The checkboxes will not toggle when the “mouseup” occasion would not happen on a checkbox. Each morning I get up to a bunch of emails in my Gmail inbox that I delete with out studying. I find yourself clicking so many rattling checkboxes…