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 | |
| # modify the architecture for different systems (linux: linux-amd64, Pi: linux-arm64, mac: darwin-arm64) | |
| GOLANG="$(curl -s https://go.dev/dl/ | grep -o 'go[0-9\.]*\.linux-amd64.tar.gz' | head -n 1)" | |
| wget https://go.dev/dl/$GOLANG | |
| sudo rm -rf /usr/local/go && sudo tar -C /usr/local -xzf $GOLANG | |
| rm $GOLANG | |
| unset GOLANG |
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 Vim keymap for CodeMirror | |
| // @version 0.1 | |
| // @author Josh Early | |
| // @description Enables Vim keymap for CodeMirror instances | |
| // @namespace https://gist.github.com/jdearly/5960f20e0e5f76682b39e374d3f700f5/raw/9aa0694f714ff31652183c3c8d3a5ca6569c167e/vim-keymap.js | |
| // @updateURL https://gist.github.com/jdearly/5960f20e0e5f76682b39e374d3f700f5/raw/9aa0694f714ff31652183c3c8d3a5ca6569c167e/vim-keymap.js | |
| // @downloadURL https://gist.github.com/jdearly/5960f20e0e5f76682b39e374d3f700f5/raw/9aa0694f714ff31652183c3c8d3a5ca6569c167e/vim-keymap.js | |
| // @supportURL https://gist.github.com/jdearly/5960f20e0e5f76682b39e374d3f700f5 | |
| // @include https://*.servicenowservices.com/* |
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
| comm -23 <(apt-mark showmanual | sort -u) <(gzip -dc /var/log/installer/initial-status.gz | sed -n 's/^Package: //p' | sort -u) |