Skip to content

Instantly share code, notes, and snippets.

View thde's full-sized avatar

Demian thde

View GitHub Profile
@thde
thde / Dockerfile
Last active September 12, 2016 14:00
Alpine with transmission
FROM alpine:3.4
RUN apk upgrade --no-cache && \
apk add --no-cache transmission-daemon && \
mkdir -p /var/lib/transmission/downloads && \
mkdir -p /var/lib/transmission/watch
EXPOSE 9091
VOLUME /var/lib/transmission/downloads
VOLUME /var/lib/transmission/watch
[Unit]
Description=Tunnel TCP traffic to WireGuard
After=network.target
[email protected]
[Service]
Type=simple
ExecStart=/usr/bin/udptunnel -s 443 127.0.0.1/51820
Restart=on-failure
// @name Bandcamp Purchase Export
// @description Allows to export Bandcamp purchases as a CSV file.
const main = async () => {
const currentRates = rates("CHF");
await loadAllPurchases();
const allPurchases = purchases(await currentRates);
if (allPurchases.length == 0) {
alert(
@thde
thde / README.md
Last active April 25, 2025 14:12
Windows Bootstrap

Windows

winget upgrade --all
winget import --import-file "winget.json"

WSL