Skip to content

Instantly share code, notes, and snippets.

View dcode's full-sized avatar
💭
Hack the 🌎!

Derek Ditch dcode

💭
Hack the 🌎!
View GitHub Profile
@dcode
dcode / README.md
Last active June 24, 2025 20:19
A Python script to update A and/or AAAA records in CloudFlare DNS from Synology DDNS on DSM >= 7.2.

Readme

Installation

To use this, connect to your Synology unit using SSH. Download the installer script and execute with root privileges (e.g. with sudo).

NOTE:: /tmp/ is mounted with noexec, so you can't run the script from there, hence /var/tmp.

@dcode
dcode / get-deb-from-repo.bash
Created February 13, 2026 03:24
This is a shell script to download an arbitrary package from a debian repo without relying on Apt.
#!/usr/bin/env bash
# ==============================================================================
# Global Configuration
# ==============================================================================
readonly REPO_URL="https://us-central1-apt.pkg.dev/projects/antigravity-auto-updater-dev"
readonly GPG_KEY_URL="https://us-central1-apt.pkg.dev/doc/repo-signing-key.gpg"
readonly PKG_NAME="antigravity"
readonly REPO_DIST="antigravity-debian"
readonly REPO_COMP="main"