Goals: Add links that are reasonable and good explanations of how stuff works. No hype and no vendor content if possible. Practical first-hand accounts of models in prod eagerly sought.
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
echo "start init script" | |
sudo apt -y update && sudo apt -y full-upgrade && sudo snap refresh kakoune | |
apt install -y curl git llvm gcc rustc libclang-dev libssl-dev clang pkg-config | |
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh | |
echo "PATH=\$PATH:\$HOME/.cargo/env" >> ~/.bashrc | |
ssh-keygen | |
cat ~/.ssh/id_rsa.pub | |
echo "finished init script" |
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
// ____ __________ __ ________ | |
// / __ \/ ____/ __ )/ / / / ____/ | |
// / / / / __/ / __ / / / / / __ | |
// / /_/ / /___/ /_/ / /_/ / /_/ / | |
// /_____/_____/_____/\____/\____/ | |
// ##### REMOVE BEFORE COMMIT ####### |
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
ipfs daemon > ipfs.log & |
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
listen l1 | |
bind 0.0.0.0:443 | |
mode tcp | |
timeout connect 4000 | |
timeout client 180000 | |
timeout server 180000 | |
server srv1 host.example.com:9443 |
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
#!/bin/bash | |
# NB: First install nscd with sudo apt-get install nscd | |
# run this command to flush dns cache: | |
sudo /etc/init.d/dns-clean restart | |
# or use: | |
sudo /etc/init.d/networking force-reload | |
# Flush nscd dns cache: | |
sudo /etc/init.d/nscd restart |
Each of these commands will run an ad hoc http static server in your current (or specified) directory, available at http://localhost:8000. Use this power wisely.
$ python -m SimpleHTTPServer 8000