Skip to content

Instantly share code, notes, and snippets.

@gannino
gannino / docker-swarm-gpu.md
Created March 24, 2024 22:10 — forked from tomlankhorst/docker-swarm-gpu.md
Instructions for Docker swarm with GPUs
@gannino
gannino / guest_wifi.sh
Created August 17, 2024 08:00 — forked from weblogix/guest_wifi.sh
[openwrt cheatsheet]
# Sources
# https://openwrt.org/docs/guide-user/network/wifi/guestwifi/guest-wlan
# https://openwrt.org/docs/guide-user/network/wifi/guestwifi/extras
WIFI_DEV="radio0"
WIFI_PASSWORD="guest"
# Configure network
uci -q delete network.guest
uci set network.guest="interface"
@gannino
gannino / install-acme-openwrt.sh
Created August 18, 2024 12:18 — forked from aenniw/install-acme-openwrt.sh
Setup letsencrypt for ocserv on OpenWRT
#!/bin/sh
SINGLE_DOMAIN=${SINGLE_DOMAIN:-my.domain.org}
opkg install ca-certificates ca-bundle curl
hash acme.sh || ( curl https://get.acme.sh | sh && \
ln -s /root/.acme/acme.sh /usr/bin/ )
acme.sh --issue -d ${SINGLE_DOMAIN} --dns --force