This file contains hidden or 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
#Blocking Instagram Domains | |
0.0.0.0 instagram.c10r.facebook.com | |
0.0.0.0 api.instagram.com | |
0.0.0.0 black.ish.instagram.com | |
0.0.0.0 i.instagram.com | |
0.0.0.0 instagram-shv-01-ams2.fbcdn.net | |
0.0.0.0 instagram-shv-01-ams3.fbcdn.net | |
0.0.0.0 instagram-shv-01-ash5.fbcdn.net | |
0.0.0.0 instagram-shv-01-atl1.fbcdn.net | |
0.0.0.0 instagram-shv-01-bru2.fbcdn.net |
This file contains hidden or 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 apt and download k8s & containerd | |
set -e | |
# Wait to apt frontend lock to be free | |
check_lock() { | |
while fuser /var/lib/dpkg/lock-frontend >/dev/null 2>&1 ; do | |
echo "Waiting for other apt-get instances to exit" | |
sleep 1 |
This file contains hidden or 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 apt and download k8s & containerd | |
set -e | |
# Wait to apt frontend lock to be free | |
check_lock() { | |
while fuser /var/lib/dpkg/lock-frontend >/dev/null 2>&1 ; do | |
echo "Waiting for other apt-get instances to exit" | |
sleep 1 |
This file contains hidden or 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
version: "3.1" | |
services: | |
sonarr: | |
image: lscr.io/linuxserver/sonarr:latest | |
container_name: sonarr | |
environment: | |
- PUID=13001 | |
- PGID=13000 | |
- UMASK=002 | |
- TZ=Africa/Casablanca |
This file contains hidden or 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 | |
set -e | |
export DEBIAN_FRONTEND=noninteractive | |
# This script will by default install ufw and enable ssh, http and https & Install Docker engine | |
# Check for root access | |
if [ "$EUID" -ne 0 ] | |
then echo "Please run as root" | |
exit | |
fi |