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
| { | |
| "name": "Seed to react + redux + webpack + babel", | |
| "version": "1.0.0", | |
| "description": "Seed to react + redux + webpack + babel", | |
| "main": "app.js", | |
| "scripts": { | |
| "start": "node app.js", | |
| "build": "webpack", | |
| "watch": "webpack --watch", | |
| "test": "mocha --require test/helpers/setup.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
| git config --global alias.lg-show-commits 'log origin/master..HEAD' | |
| git config --global alias.co checkout | |
| git config --global alias.ci commit | |
| git config --global alias.br branch | |
| git config --global alias.st status | |
| git config --global alias.unstage 'reset HEAD --' | |
| git config --global alias.last 'log -1 HEAD' |
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
| #Reload HEAD | |
| ###### Have to do every morning and evening | |
| ```bash | |
| $> (master): git fetch origin master | |
| $> (master): git status | |
| $> (master): git pull origin master | |
| $> (master): git checkout feature#id | |
| $> (feature#id): git merge --no-ff master | |
| ``` |
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
| $.getScript('https://cdnjs.cloudflare.com/ajax/libs/reqwest/2.0.5/reqwest.js'); | |
| $.getScript('https://cdnjs.cloudflare.com/ajax/libs/underscore.js/1.8.3/underscore-min.js); | |
| $.getScript('https://cdnjs.cloudflare.com/ajax/libs/backbone.js/1.3.3/backbone-min.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
| (function () { | |
| WebSocket.prototype._send = WebSocket.prototype.send; | |
| WebSocket.prototype.send = function (data) { | |
| this._send(data); | |
| this.addEventListener('message', function (msg) { | |
| console.log('>> ' + msg.data); | |
| }, false); | |
| this.send = function (data) { | |
| this._send(data); | |
| console.log("<< " + data); |
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
| <!DOCTYPE html> | |
| <html> | |
| <head> | |
| <meta charset=utf-8 /> | |
| <title>JS Bin</title> | |
| <script src="http://code.jquery.com/jquery-1.9.1.min.js"></script> | |
| <style id="jsbin-css"> | |
| #block { width: 200px; height: 200px; background-color: #f00; } | |
| #button-set { margin-bottom: 5px; } |
NewerOlder