# Send stdout to stderr
ll 1>&2
# Send stderr to stdout
ll 2>&1
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
| // Individual key code mappings - noy character codes! | |
| var Keys = { | |
| BACKSPACE: 8, | |
| TAB: 9, | |
| RETURN: 13, | |
| SHIFT: 16, | |
| CTRL: 17, | |
| ALT: 18, | |
| BREAK: 19, | |
| CAPS_LOCK: 20, |
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
| // Copyright 2011 Google Inc. | |
| // | |
| // Licensed under the Apache License, Version 2.0 (the "License"); | |
| // you may not use this file except in compliance with the License. | |
| // You may obtain a copy of the License at | |
| // | |
| // http://www.apache.org/licenses/LICENSE-2.0 | |
| // | |
| // Unless required by applicable law or agreed to in writing, software | |
| // distributed under the License is distributed on an "AS IS" BASIS, |
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> | |
| <title>AMD/CommonJS/Browser Module Wrapper Demo</title> | |
| </head> | |
| <body> | |
| <h1>AMD/CommonJS/Browser Module Wrapper Demo</h1> | |
| <p>Module core.plugins not loaded</p> |
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
| // ==UserScript== | |
| // @name Github - package.json/bower.json dependency linker | |
| // @version 0.0.2 | |
| // @namespace http://spiralx.org/github-npm-autolink | |
| // @author James Skinner <[email protected]> http://userscripts.org/users/55684 | |
| // @description When viewing a package.json file, automatically links dependencies to their NPM page | |
| // @include https://github.com/*/package.json | |
| // @include https://github.com/*/bower.json | |
| // @run-at document-end | |
| // @grant unsafeWindow GM_xmlhttpRequest |
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
| // ==UserScript== | |
| // @id [email protected] | |
| // @name Facebook So Hwæt | |
| // @version 0.0.1 | |
| // @namespace http://spiralx.org/facebook-what | |
| // @author James Skinner <[email protected]> http://github.com/spiralx | |
| // @match https://*.facebook.com/* | |
| // @match https://facebook.com/* | |
| // @exclude */ai.php* | |
| // @run-at document-end |
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
| /*! | |
| * @license jquery-mutation-summary | |
| * Copyright © 2012, 2013, 2014, Joel Purra <http://joelpurra.com/> | |
| * Released under MIT, BSD and GPL license. Comply with at least one. | |
| * | |
| * A jQuery wrapper/plugin for mutation-summary, the DOM mutation-observers wrapper. | |
| * http://joelpurra.github.com/jquery-mutation-summary | |
| * | |
| * "Mutation Summary is a JavaScript library that makes observing changes to the DOM fast, easy and safe." | |
| * http://code.google.com/p/mutation-summary/ |
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
| body { | |
| font: 12px/1.5 Consolas,monospace; | |
| } | |
| h3 a { | |
| font-size: 1.2em; | |
| color: #000; | |
| } | |
| a { | |
| display: inline-block; |
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(name, definition) { | |
| var moduleObj = definition(); | |
| // AMD Module | |
| if (typeof define === 'function') { | |
| define(moduleObj); | |
| } | |
| // CommonJS Module | |
| else if (typeof module !== 'undefined' && module.exports) { | |
| module.exports = moduleObj; |
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 gulp = require('gulp'); | |
| function doGitCheckout(callback) { | |
| console.log('doing checkout...'); | |
| setTimeout(function() { | |
| console.log('done checkout...'); | |
| callback(); | |
| }, 1000); | |
| } |