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
| 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
| 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
| "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\";" |
NewerOlder