defaults write NSGlobalDomain NSAutomaticWindowAnimationsEnabled -bool false
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Show hidden characters
{ | |
"globals": { | |
"module": false, | |
"define": false, | |
"requirejs": false, | |
"require": false | |
}, | |
"bitwise": true, | |
"browser": true, | |
"curly": true, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"html": { | |
"brace_style": "collapse", | |
"indent_char": " ", | |
"indent_scripts": "normal", | |
"indent_size": 2, | |
"max_preserve_newlines": 1, | |
"preserve_newlines": true, | |
"unformatted": ["sub", "sup", "p", "span", "h1", "h2", "h3", "h4", "h5", "h6", "label"], | |
"wrap_line_length": 0 |
by Gavin Lazar Suntop @gvn
I love clean code. There, I said it. I pride myself on passing strict linting standards and keeping my code easy to read. It's not just a personal proclivity, but a choice I hope benefits other developers.
My general experience with teams has been that code style is something people care about and have strong personal preferences. Typically, at some point people get tired of dealing with inconsistency and a standardization meeting is called. This is, of course, an important discussion to have. The problem that tends to occur is either lack of documentation or lack of enforcement of the agreed upon style. Additionally, new team members or contributors may not have access to a clear set of rules.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// @gvn - "sinewave duet" | |
var Context = window.AudioContext || window.webkitAudioContext; | |
var context = new Context(); | |
var basePitch = 120; | |
var phraseCount = 12; | |
var osc = context.createOscillator(); | |
osc.frequency.value = 0; | |
osc.connect(context.destination); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
rm -rf node_modules | |
rm -rf bower_components | |
npm cache clean | |
npm install | |
echo "freshmaker" | say -v cello |
- Batarang extension for Chrome
- AngularJS in 60-ish minutes (Pretty good overview video)
components:
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
window.echo = function (message, namespace) { | |
if (namespace && !echo.namespaces[namespace]) { | |
return; | |
} | |
console.log(message); | |
}; | |
// TODO : DRY | |
echo.warn = function (message, namespace) { |