Skip to content

Instantly share code, notes, and snippets.

@zekesonxx
zekesonxx / explain.js
Created February 3, 2014 23:46
Why I hate Angular and indenting
if (true) {
"This makes sense, because the } closes the if"
}
command.function(1, 4, function() {
"This also makes sense, because it is a async callback"
});
angular.hasStupidPatterns('CtrlThis', ['$scope', '$http', function($scope, $http) {
"This looks ugly"
@huobazi
huobazi / gist:997492
Created May 29, 2011 05:09 — forked from dstufft/gist:997475
Configuration Files for Nginx + Gunicorn + Supervisord
We couldn’t find that file to show.