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
| "config": { | |
| "globalDependencies": [ | |
| "node-pre-gyp", | |
| "node-inspector", | |
| "grunt-cli", | |
| "sequelize-cli" | |
| ], | |
| "node_inline": "node -e", | |
| "gd_install": "c=require('child_process');e=process.env;Object.keys(e).filter(function(v){return v.indexOf('globalDependencies_')+1}).forEach(function(i){c.spawn('npm',['install','-g',e[i]],{stdio:'inherit'})})", | |
| "root_check": "if [ 'root' != `whoami` ];then GD_SUDO=\"sudo -E\";fi; $GD_SUDO $npm_package_config_node_inline \"$npm_package_config_gd_install\";" |
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
| find . -type f -name \*eea7\* -execdir bash -c 'mv "{}" "$(echo {} | sed "s/eea7//")"' \; |
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
| perl -i.bak -p -e "s/url[^\\/]+(?:(?:\\/(?"'!'"Fonts)[^\\/)]*?)*?\\/([^\\/]+(jpg|jpeg|gif|png|svg)))[^)]*/url\('\\/images\\/\$1'/g" index.css | |
| ## Mods for bash! ^ ^ ^^ ^^ ^ ^ ^ ^ ^ ^ don't make shell variable | |
| ## | | | | | | | | + double-escaped | |
| ## | | | | | | | + double-escaped | |
| ## | | | | | | + double-escaped | |
| ## | | | | | + double-escaped | |
| ## | | | | + double-escaped | |
| ## | | + don't make "event" (end d-quote, start s-quote use, `!` [ becomes literal 'casue of s-quote ], end s-quote, restart d-quote) | |
| ## | + double-escaped |
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
| #### | |
| ### e = escaped (for BASH) | |
| ### E = escaped (for PERL) | |
| ### L = Litteral - The character is stripped of any special meaning | |
| ### q = Quoting (for BASH) - When escaping a characters special meaning is otherwise not possible | |
| #### | |
| ## eEL eEL qq qq eEL eEL eEL L EL e e E E E E E eEL eELe E E e | |
| perl -n -e "m/(url[^\\/]+(?:(?:\\/(?"'!'"Fonts)[^\\/)]*?)*?\\/([^\\/]+?(jpg|jpeg|gif|png|svg)))[^)]*\))/ig; print \"\$.\t\$1\t\turl\('\\/images\\/\$2')\n\n\";" index.css | |
| ## A B C D D C E F FEB 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
| // ==UserScript== | |
| // @name GitLab Markdown TOC Generator | |
| // @namespace GLMdToCg | |
| // @description For use on GitLab circa 14-01-2016. Injects a "Create ToC?" link under the project's name if Markdown style anchors are found on the page. Click the link and a Markdown compatable table of contents will appear in the browser's console! Copy-and-paste it into your Markdown (like README.md). | |
| // @include *gitlab.com* | |
| // @version 1 | |
| // @grant none | |
| // ==/UserScript== | |
| window.addEventListener( |
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
| for HEROKU_APP in $(heroku apps | tail -n+2); do export REPO_DIR="heroku-${HEROKU_APP}"; if [ ! -d "$REPO_DIR" ]; then mkdir "$REPO_DIR"; cd "$REPO_DIR"; heroku git:clone ./ -a "${HEROKU_APP}"; cd ..; fi done |
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"> | |
| <meta name="viewport" content="width=device-width"> | |
| <title>JS Bin</title> | |
| <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/rickshaw/1.5.1/rickshaw.min.css"> |
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
| // +---+ | |
| // | | | |
| // | | | |
| // |Neo| | |
| // | | | |
| // | | | |
| // +---+ | |
| // | | | |
| // | | | |
| // |Pix| |
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 is a modified version of the Visualize101.ino example sketch | |
| * https://github.com/arduino-libraries/MadgwickAHRS/blob/master/examples/Visualize101/Visualize101.ino | |
| * | |
| * Modified starting March 10th, 2018 by Jane Hacker (JAH) | |
| * | |
| * XYZ_M = Macro | |
| * xyz_g = Global | |
| * xyz_t = Type | |
| * |
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
| PROG=hello.sh;RMS=100;soundmeter --trigger +$RMS --action exec --exec $PROG |
OlderNewer