git checkout mastergit pull --rebaseto make sure you have the latest version of mastergit checkout feature/my-branchgit rebase master... to rebase this branch from master- Optionally,
git push --forceto update the branch on github. This is useful for making sure it closes a pull request properly.
- Optionally,
git checkout mastergit merge --no-ff feature/my-branch... merge the branch into master, making sure there's a merge commit
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
| javascript:(function()%7Bconst adverbs %3D %5B'abruptly'%2C 'actively'%2C 'badly'%2C 'beautifully'%2C'briskly'%2C 'brutally'%2C 'carefully'%2C 'cheerfully'%2C'circularly'%2C 'clearly'%2C 'collectively'%2C 'comfortably'%2C'considerably'%2C 'continuously'%2C 'courageously'%2C 'crazily'%2C'creatively'%2C 'creditably'%2C 'dangerously'%2C 'delicately'%2C'delightfully'%2C 'destructively'%2C 'differently'%2C 'endlessly'%2C'enviously'%2C 'eternally'%2C 'expectedly'%2C 'expertly'%2C'financially'%2C 'firmly'%2C 'forcefully'%2C 'gloriously'%2C'growingly'%2C 'harmfully'%2C 'hatefully'%2C 'healthily'%2C'hopefully'%2C 'imitatively'%2C 'impressively'%2C 'inclusively'%2C'indicatively'%2C 'injuriously'%2C 'insultingly'%2C 'intentionally'%2C'irritatingly'%2C 'leadingly'%2C 'lightly'%2C 'livingly'%2C'madly'%2C 'massively'%2C 'monotonously'%2C 'movingly'%2C'powerfully'%2C 'quickly'%2C 'randomly'%2C 'sadly'%2C'securely'%2C 'sloppily'%2C 'sorrowfully'%2C 'speedily'%2C'truthfully'%2C 'uneasily'%2C 'wearily'%2C 'weirdly'%2C'wholehea |
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 ###-begin-npm-completion-### | |
| # | |
| # npm command completion script | |
| # | |
| # Installation: npm completion >> ~/.bashrc (or ~/.zshrc) | |
| # Or, maybe: npm completion > /usr/local/etc/bash_completion.d/npm | |
| # | |
| COMP_WORDBREAKS=${COMP_WORDBREAKS/=/} | |
| COMP_WORDBREAKS=${COMP_WORDBREAKS/@/} |
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
| var someObj = something(); | |
| return { | |
| bound: someObj.fn.bind(someObj), // 4M ops/sec | |
| wrapped: function (a) { // 16M ops/sec | |
| return someObj.fn(a); | |
| } | |
| }; |
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 clone git@github.com:eslint/eslint.git | |
| $ cd eslint | |
| $ npm install | |
| $ npm test | |
| 1) default-case switch (a) { | |
| case 1: break; | |
| //oh-oh | |
| // no default | |
| }: |
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
| [][(![]+[])[+[]]+([![]]+[][[]])[+!+[]+[+[]]]+(![]+[])[!+[]+!+[]]+(!![]+[])[+[]]+(!![]+[])[!+[]+!+[]+!+[]]+(!![]+[])[+!+[]]][([][(![]+[])[+[]]+([![]]+[][[]])[+!+[]+[+[]]]+(![]+[])[!+[]+!+[]]+(!![]+[])[+[]]+(!![]+[])[!+[]+!+[]+!+[]]+(!![]+[])[+!+[]]]+[])[!+[]+!+[]+!+[]]+(!![]+[][(![]+[])[+[]]+([![]]+[][[]])[+!+[]+[+[]]]+(![]+[])[!+[]+!+[]]+(!![]+[])[+[]]+(!![]+[])[!+[]+!+[]+!+[]]+(!![]+[])[+!+[]]])[+!+[]+[+[]]]+([][[]]+[])[+!+[]]+(![]+[])[!+[]+!+[]+!+[]]+(!![]+[])[+[]]+(!![]+[])[+!+[]]+([][[]]+[])[+[]]+([][(![]+[])[+[]]+([![]]+[][[]])[+!+[]+[+[]]]+(![]+[])[!+[]+!+[]]+(!![]+[])[+[]]+(!![]+[])[!+[]+!+[]+!+[]]+(!![]+[])[+!+[]]]+[])[!+[]+!+[]+!+[]]+(!![]+[])[+[]]+(!![]+[][(![]+[])[+[]]+([![]]+[][[]])[+!+[]+[+[]]]+(![]+[])[!+[]+!+[]]+(!![]+[])[+[]]+(!![]+[])[!+[]+!+[]+!+[]]+(!![]+[])[+!+[]]])[+!+[]+[+[]]]+(!![]+[])[+!+[]]](((+[])[([][(![]+[])[+[]]+([![]]+[][[]])[+!+[]+[+[]]]+(![]+[])[!+[]+!+[]]+(!![]+[])[+[]]+(!![]+[])[!+[]+!+[]+!+[]]+(!![]+[])[+!+[]]]+[])[!+[]+!+[]+!+[]]+(!![]+[][(![]+[])[+[]]+([![]]+[][[]])[+!+[]+ |
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 bad() { | |
| var promise = somethingAsync(); | |
| promise.finally(function () { | |
| logSomeThings(); | |
| }); | |
| promise = promise.then(function (result) { | |
| return transform(result); | |
| }); |
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
| /* | |
| Below is an incomplete snippet of code which is used to implement the Lazy Require Calls | |
| method described here http://spadgos.github.io/rupy13/#/29 | |
| Basically, it takes an AST like this: | |
| var Foo = require('foo'); | |
| function bar() { | |
| Foo.quux(); | |
| } |
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
| <div class="dashModContainer"> | |
| <div class="box dashModContent"> | |
| <div class="boxHead row subBelow"> | |
| <div class="span11 dashModDrag"> | |
| <h2 class="dashModTitle"> | |
| Lines Modified | |
| </h2> | |
| </div> | |
| <div class="span1 configureContainer"> | |
| <button type="button" class=" dashModConfigure configureModule bare icon-gear mini iconText" data-form-url="/dashboard/modules/AX5LGVBXVMK94GXREDACTEDFSCUCYRFCSQOZVA/edit/"> |
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
| _.bar() | |
| { | |
| "0": { | |
| "type": "CallExpression", | |
| "start": 0, | |
| "end": 7, | |
| "callee": { | |
| "type": "MemberExpression", | |
| "start": 0, | |
| "end": 5, |
NewerOlder