A comparison of nvm and Volta to manage Node.js projects (without Yarn).
nvm install| PASSWORD1 # Replace literal string 'PASSWORD1' with '***REMOVED***' (default) | |
| PASSWORD2==>examplePass # replace with 'examplePass' instead | |
| PASSWORD3==> # replace with the empty string | |
| regex:password=\w+==>password= # Replace, using a regex | |
| regex:\r(\n)==>$1 # Replace Windows newlines with Unix newlines |
| // ==UserScript== | |
| // @name Auto Steam Discovery Queue | |
| // @namespace http://steamcommunity.com/id/zetx/ | |
| // @description Go to next game queued as soon as page is done loading. | |
| // @include http://store.steampowered.com/app/* | |
| // @include http://store.steampowered.com/explore/* | |
| // @include http://store.steampowered.com/agecheck/app/* | |
| // @version 2.01 | |
| // @run-at document-end | |
| // @grant none |
| # NO LONGER MAINTAINED | |
| # SEE https://gist.github.com/sparanoid/abb6e26d968accef9aa2 FOR UPDATE | |
| DES_PATH=/usr/share | |
| PUB_PATH=/srv/www/domain.tld/public_html | |
| ST_DIR=speedtest | |
| wget http://c.speedtest.net/mini/mini.zip -O $DES_PATH/$ST_DIR.zip --limit-rate=200000k | |
| unzip -o $DES_PATH/$ST_DIR.zip -d $DES_PATH/$ST_DIR | |
| # Remove old public files |
| Assuming you have created a submodule 'mysub' in repo 'myrepo' | |
| Set the sparse checkout config property in the submodule | |
| myrepo/.git/modules/mysub/config: | |
| [core] | |
| repositoryformatversion = 0 | |
| filemode = true | |
| bare = false |