Skip to content

Instantly share code, notes, and snippets.

View ThePrincelle's full-sized avatar
🏳️‍🌈
Proud

Maxime Princelle ThePrincelle

🏳️‍🌈
Proud
View GitHub Profile
@dangeredwolf
dangeredwolf / wordle.txt
Last active May 17, 2022 15:53
Every Wordle game that will ever exist (SPOILERS) https://twitter.com/dangeredwolf/status/1480661843064598530
2021-06-19 0 cigar
2021-06-20 1 rebut
2021-06-21 2 sissy
2021-06-22 3 humph
2021-06-23 4 awake
2021-06-24 5 blush
2021-06-25 6 focal
2021-06-26 7 evade
2021-06-27 8 naval
2021-06-28 9 serve
@ThePrincelle
ThePrincelle / iptables.sh
Last active November 24, 2021 16:54
iptables & docker
iptables -I DOCKER-USER -i <interface_ext> -j DROP
iptables -I DOCKER-USER -m state --state RELATED,ESTABLISHED -j ACCEPT
# Just in case there is a Traefik instance or to add a specific port
iptables -I DOCKER-USER -i <interface_ext> -p tcp --dport 80 -j ACCEPT
iptables -I DOCKER-USER -i <interface_ext> -p tcp --dport 443 -j ACCEPT
@Pablohn26
Pablohn26 / README.md
Created March 5, 2021 14:16
Migrate from Home Assistant container (docker-compose) to Home Assistant Supervised

We want to migrate from Home Assistant Container (docker-compose.yml) to Home Assistant Supervised.

The main idea is to copy the /config file from docker container to main Home Assistant Supervised config folder (/usr/share/hassio/homeassistant by default)

To do so, first we need the path to the source /config folder, in my case /root/compose/ha/config

Then we need to know the path to the destination /config folder, /usr/share/hassio/homeassistant using Home Assistant Supervised default installation

The steps are:

  1. Install Home Assistant Supervised