This file contains hidden or 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
npm install --save browserify watchify babelify babel-preset-es2015 babel-preset-react babel-plugin-transform-class-properties react react-dom uglify-js uglifyify |
This file contains hidden or 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
"preclean": "if [ ! -d build ]; then mkdir build build/css build/js; fi", | |
"clean": "rm -rf build/css build/js && mkdir build/css build/js", |
This file contains hidden or 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
heroku config:set variable="value" |
This file contains hidden or 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
git ls-files --deleted -z | xargs -0 git rm |
This file contains hidden or 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
node_modules/forever/bin/forever stopall |
This file contains hidden or 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
%vertical-align { | |
position: relative; | |
top: 50%; | |
transform: translateY(-50%); | |
} | |
%absolute-vertical-align { | |
position: absolute; | |
top: 50%; | |
left: 50%; |
This file contains hidden or 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
git fetch <remote> <rbranch>:<lbranch> |
This file contains hidden or 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
sudo kill `sudo lsof -t -i:9001` |
This file contains hidden or 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
npm i --save babel-plugin-transform-class-properties babel-polyfill babel-preset-es2015 babel-preset-react babel-register babelify browserify dotenv es6-promise forever koa koa-body koa-compress koa-helmet koa-nunjucks-render koa-router koa-static node-fetch node-sass parallelshell ramda react react-dom uglify-js uglifyify whatwg-fetch | |
npm i --save-dev browser-sync nodemon watchify |
This file contains hidden or 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
(function () { | |
var _log = console.log; | |
console.log = function () { | |
var args = Array.prototype.map.call(arguments, function (arg) { | |
return typeof arg.toJS === "function" ? arg.toJS() : arg; | |
}); | |
return _log.apply(console, args); | |
}; | |
})(); |