Skip to content

Instantly share code, notes, and snippets.

@dejanvukelic
dejanvukelic / reboot_router.sh
Last active April 27, 2025 14:39
Function to check for status reboot Technicolor CGA2121 router if connection is dropped
#!/bin/bash
# Define the cookie jar and temp file for HTML content
COOKIE_JAR="cookie.txt"
HTML_FILE="response.html"
# URL details
LOGIN_URL="http://192.168.0.1/goform/logon"
RESTART_PAGE="http://192.168.0.1/ad_restart_gateway.html"
RESTART_ACTION="http://192.168.0.1/goform/ad_restart_gateway"
@dejanvukelic
dejanvukelic / docker-compose.yml Rockchip RK3588
Last active December 9, 2024 16:10
Self-hosted media server at home
version: "3.9"
name: media_stack
services:
transmission:
container_name: transmission
image: linuxserver/transmission:latest
networks:
- media-server-dejan
environment:
- PUID=1000