Skip to content

Instantly share code, notes, and snippets.

View i5heu's full-sized avatar
🌈
Keep coding!

Mia Heidenstedt i5heu

🌈
Keep coding!
View GitHub Profile
apt update && apt full-upgrade -y && apt install -y nginx
@i5heu
i5heu / ipfs-linux-iso-collection.md
Last active October 9, 2021 06:52
ipfs linux .iso collection
file ipfs hash
debian-10.4.0-amd64-netinst.iso QmSQXa22nRKddx4cojKHpco8du1bBdk3dzDZ5QK2WHjtQY
ubuntu-20.04-live-server-amd64.iso QmXknmssT6gef1tyTxXAtTMuHyE1bid3Thhq5ooRGAt6if
archlinux-2020.05.01-x86_64.iso QmbCNtXFfA2cKvQ5Ncnh3s9ZscdvqA1eZCPUB1qiU4ZuSk
debian-10.4.0-amd64-xfce-CD-1.iso QmaQmb4j9XMVFXv574FpTwnz4R8fLRqPfucd8Mz8c93Qyt
latest-nixos-plasma5-x86_64-linux.iso QmXyRpSxdd67Yo2m4sRTnf8McFy7yPjUN5knonyJPjpq24
tails-amd64-4.6.img QmP5pf2vUEKG3dxAJdfhj4TaoecrZCRQnVQxsk4j7xaxrX
ubuntu-20.04-desktop-amd64.iso QmY7nvn8BLJ8pNCQv1fK31YgfqdXtcMUaf3jqd5ap5ZJMW
from https://www.matuzo.at/blog/html-boilerplate/
@i5heu
i5heu / ipfs-cluster-service
Last active May 13, 2020 06:33
ipfs-node.sh
[Unit]
Description=IPFS main cluster
After=network.target
[Service]
User=ipfs
Group=ipfs
ExecStart=/home/ipfs/ipfs-cluster-follow/ipfs-cluster-follow main-cluster run
Restart=on-failure
[Install]
WantedBy=multi-user.target
[Unit]
Description=IPFS daemon
After=network.target
[Service]
User=ipfs
Group=ipfs
ExecStart=/usr/local/bin/ipfs daemon
Restart=on-failure
[Install]
WantedBy=multi-user.target
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"
certbot certonly --standalone -d im.openlibre.org
service nginx stop
rm /etc/ejabberd/ejabberd.pem
#cat /etc/letsencrypt/live/im.openlibre.org/fullchain.pem /etc/letsencrypt/live/im.openlibre.org/privkey.pem >> /etc/ejabberd/ejabberd.pem
cat /etc/letsencrypt/live/im.openlibre.org/cert.pem /etc/letsencrypt/live/im.openlibre.org/chain.pem /etc/letsencrypt/live/im.openlibre.org/privkey.pem > /etc/ejabberd/ejabberd.pem
chown ejabberd /etc/ejabberd/ejabberd.pem
service nginx start
service ejabberd restart
// ____ __________ __ ________
// / __ \/ ____/ __ )/ / / / ____/
// / / / / __/ / __ / / / / / __
// / /_/ / /___/ /_/ / /_/ / /_/ /
// /_____/_____/_____/\____/\____/
// ##### REMOVE BEFORE COMMIT #######
// set the debug output to none if the debug mode is not set
if (document.cookie.indexOf("DebugMode042003") == -1) {
console.debug = () => {};
}
apt update -y && apt install fish -y && fish && apt install wget ping ping6 vim -y