View iso_to_unix.js
This file contains 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
Math.floor(new Date('Fri, 17 Jun 2022 12:28:34 -0700').getTime() / 1000) |
View hdpaths.txt
This file contains 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
Ledger (legacy): 44'/60'/0'/{account_index} (eg. 44'/60'/0'/0, 44'/60'/0'/1, 44'/60'/0'/2, etc) | |
ledger (live): m/44'/60'/{account_index}'/0/0 (eg. m/44'/60'/0'/0/0, m/44'/60'/1'/0/0, m/44'/60'/2'/0/0, etc) | |
trezor: m/44'/60'/0'/0/{account_index} (eg. m/44'/60'/0'/0/0, m/44'/60'/0'/0/1, m/44'/60'/0'/0/2, etc) | |
metamask: m/44'/60'/0'/0/{account_index} (eg. m/44'/60'/0'/0/0, m/44'/60'/0'/0/1, m/44'/60'/0'/0/2, etc) |
View goerli_dai.txt
This file contains 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
0xC61bA16e864eFbd06a9fe30Aab39D18B8F63710a |
View goerli_usdc.txt
This file contains 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
0x98339D8C260052B7ad81c28c16C0b98420f2B46a |
View remove_user_group.sh
This file contains 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
sudo gpasswd -d <user> <group> |
View express.js
This file contains 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
app.use(express.json({ limit: '500kb' })) | |
app.use(express.urlencoded({ extended: false, limit: '500kb', parameterLimit: 50 })) |
View instructions.sh
This file contains 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
uname -r # 5.13.0-1028 is buggy | |
sudo systemctl stop docker | |
sudo systemctl stop docker.socket | |
sudo systemctl disable docker | |
sudo systemctl disable docker.socket | |
sudo apt-get update | |
sudo apt dist-upgrade -y && sudo apt autoremove -y | |
sudo apt-get update -y && sudo apt-get upgrade -y | |
sudo apt-get autoclean | |
sudo reboot |
View rsync.sh
This file contains 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
rsync -avuz build/ --chmod=ugo=rwX -e ssh myhost:/var/www/public |
View config
This file contains 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
Host * | |
AddKeysToAgent yes |
View instructions.sh
This file contains 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
# start session | |
ssh-agent bash | |
# enter passphrase once | |
ssh-add ~/.ssh/id_rsa | |
# list keys | |
ssh-add -l |
NewerOlder