Using Yeoman default yo webapp
Running "mocha:all" (mocha) task
Testing index.html
Running PhantomJS...ERROR
Warning: PhantomJS not found. Use --force to continue.
$ npm cache clean
function chpwd() { | |
emulate -L zsh | |
clear | |
echo $PWD | |
ls -H | |
} |
# RBENV {{{ | |
if which rbenv > /dev/null; then eval "$(rbenv init - zsh)"; fi | |
# }}} |
Using Yeoman default yo webapp
Running "mocha:all" (mocha) task
Testing index.html
Running PhantomJS...ERROR
Warning: PhantomJS not found. Use --force to continue.
$ npm cache clean
<a href="#" data-track='{"category":"categoryName", "action":"click", "label":"labelName"}'> | |
TrackingManager.prototype._standardGaq = function(o) { | |
return _gaq.push(['_trackEvent', o.category, o.action, o.label]); | |
}; |
git push origin :remotebranchtodelete |
console.log("%c %s", "color:white;background:gray;font-size:12px",a); |
{ | |
"bitwise" : false, // Prohibit bitwise operators (&, |, ^, etc.). | |
"curly" : true, // Require {} for every new block or scope. | |
"eqeqeq" : false, // Require triple equals i.e. `===`. | |
"forin" : true, // Tolerate `for in` loops without `hasOwnPrototype`. | |
"immed" : true, // Require immediate invocations to be wrapped in parens e.g. `( function(){}() );` | |
"latedef" : true, // Prohibit variable use before definition. | |
"newcap" : true, // Require capitalization of all constructor functions e.g. `new F()`. | |
"noarg" : true, // Prohibit use of `arguments.caller` and `arguments.callee`. |
brew install ffmpeg
git_types () { | |
echo $(tput setaf 0)$(tput setab 6) | |
echo '<type>(<scope>): <subject>' | |
echo "$(tput sgr 0)" | |
echo "$(tput sgr 3)feat$(tput sgr 0) (feature)" | |
echo "$(tput sgr 3)fix$(tput sgr 0) (bug fix)" | |
echo "$(tput sgr 3)docs$(tput sgr 0) (documentation)" | |
echo "$(tput sgr 3)style$(tput sgr 0) (formatting, missing semi colons, ...)" | |
echo "$(tput sgr 3)refactor" |
link rel="apple-touch-icon" href="/touch-icon-iphone.png" | |
link rel="apple-touch-icon" sizes="76x76" href="/touch-icon-ipad.png" | |
link rel="apple-touch-icon" sizes="120x120" href="/touch-icon-iphone-retina.png" | |
link rel="apple-touch-icon" sizes="152x152" href="/touch-icon-ipad-retina.png" | |
link rel="apple-touch-startup-image" href="/startup-640x1096.png" media="(max-device-width : 548px) and (-webkit-min-device-pixel-ratio : 2)" | |
link rel="apple-touch-startup-image" sizes="768x1004" href="/startup-768x1004.png" media="screen and (min-device-width : 481px) and (max-device-width : 1024px) and (orientation : portrait)" |