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 |
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 | |
# Update packages and upgrade the system | |
apt update | |
apt full-upgrade -y | |
# Check if microk8s is already installed and install it if not | |
if snap list microk8s &> /dev/null; then | |
echo "microk8s is already installed." | |
else |
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 | |
# Check if the input file is provided | |
if [ "$#" -ne 1 ]; then | |
echo "Usage: $0 <input.mkv>" | |
exit 1 | |
fi | |
input="$1" | |
# Ensure the input path is absolute to avoid errors in path handling |
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
apt update && apt full-upgrade -y && apt install -y nginx |
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
from https://www.matuzo.at/blog/html-boilerplate/ |
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
[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 |
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
[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 |
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
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 |
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 ####### |
NewerOlder