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
| curl -s https://gist.githubusercontent.com/lackdaz/15f929aeb0fee44369af1d96635769b8/raw/a23a0c604f1236cb1ae709da9930dc0922b6cdb0/install-node-yarn-arm.sh | bash /dev/stdin param1 param2 |
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 config --global alias.tree "log --graph --all --pretty=format:'%C(magenta)%h%C(auto)%d %s %C(green)(%cr) %C(bold blue)%an%C(white)/%C(cyan)%cn'" | |
| git config --global alias.lg "log --color --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-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
| #!/bin/bash | |
| set -e | |
| ## Check for versions compiled with ARM at http://nodejs.org/dist/ | |
| ## Inspired by http://oskarhane.com/raspberry-pi-install-node-js-and-npm/ | |
| ## Fill in the Node Version here: | |
| ########################################################################## | |
| NODE_VERSION="v12.16.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
| alias alias-ls='cat ~/.aliases | grep -i "^alias" | grep -v "#{3}" | awk -F"[ =]" '\''{print $2 "\t" substr($0, index($0, "#") + 1)}'\''' # List Aliases | |
| alias alias-edit='vi ~/.aliases' # Edit aliases | |
| alias alias-reload='source ~/.aliases' # Reload aliases after editing |
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
| alias alias-ls='cat ~/.aliases | grep -i "^alias" | grep -v "#{3}" | awk -F"[ =]" '\''{print $2 "\t" substr($0, index($0, "#") + 1)}'\''' # List Aliases |
NewerOlder