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.

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" |
// ____ __________ __ ________ | |
// / __ \/ ____/ __ )/ / / / ____/ | |
// / / / / __/ / __ / / / / / __ | |
// / /_/ / /___/ /_/ / /_/ / /_/ / | |
// /_____/_____/_____/\____/\____/ | |
// ##### REMOVE BEFORE COMMIT ####### |
ipfs daemon > ipfs.log & |
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 |
#!/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