Skip to content

Instantly share code, notes, and snippets.

@cs224
cs224 / .env
Last active March 10, 2025 05:50
Home Server Blueprint: Rock-Solid Home Server with Unattended Reboots, Secure Disk Encryption, and Cost-Effective Offsite Backups
# .env file
# Secret (avoid storing real secrets in version control!)
KOPIA_REPOSITORY_SECRET=mysupersecret
LUKS_PASSPHRASE=abc123
# Toggle alerting
ALERT_ENABLED=false
# Pushover credentials
@cs224
cs224 / README.md
Created February 28, 2025 08:26
Nym Mixnet & dVPN: A Node Operator's Guide: Automatic Upgrades
@cs224
cs224 / Nym Harbour Master - E67dRcrMNsEpNvRAxvFTkvMyqigTYpRWUYYPm25rDuGQ - entry-gateway.html
Last active February 27, 2025 05:24
Nym Harbour Master - E67dRcrMNsEpNvRAxvFTkvMyqigTYpRWUYYPm25rDuGQ - entry and exit modes
<!DOCTYPE html>
<html lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link rel="stylesheet" type="text/css" href="cid:css-3ed9b04e-5197-4fe3-92a0-0b2b3d3c2b0d@mhtml.blink" />
<link rel="stylesheet" type="text/css" href="cid:css-8827060f-33c0-42a7-92e7-21c2edf78800@mhtml.blink" />
<link rel="stylesheet" type="text/css" href="cid:css-304d7563-0ff7-4c08-972f-d8a526275ea9@mhtml.blink" />
<link rel="stylesheet" type="text/css" href="cid:css-b4642104-7344-435d-82f5-548fb4b04a02@mhtml.blink" />
<link rel="stylesheet" type="text/css" href="cid:css-800affd0-ff9a-4d29-b5ab-f6885d55ab0d@mhtml.blink" />
@cs224
cs224 / .env
Created February 26, 2025 13:16
Nym Mixnet: Operating Your Own Nym-Node: Reverse Proxy & Web Secure Socket
HOST_IP=94.143.231.195
HOST_NAME=wznymnode.webhop.me
OPERATOR_EMAIL=operator@mail.here
CERTIFICATE_EMAIL=operator@mail.here
NODE_WS_PORT=9000
NODE_HTTP_PORT=8080
WSS_PORT=9001
@cs224
cs224 / README.md
Last active April 23, 2026 07:22
Digital Civil Rights and Privacy: Networking, VPN, Tor, Onion over VPN - Dockerized NymVPN

Warning

This gist is deprecated.

It reflects an older NymVPN CLI/daemon setup and is no longer the recommended version. The maintained Docker Compose version now lives in a proper Git repository:

https://github.com/cs224/docker-nymvpn-socks5

Use that repository for current NymVPN versions, including the tested

@cs224
cs224 / README.md
Last active December 17, 2024 02:26
Digital Civil Rights and Privacy: Networking, VPN, Tor, Onion over VPN
We can make this file beautiful and searchable if this error is corrected: It looks like row 8 should actually have 17 columns, instead of 7 in line 7.
Name,Vac,Pso,Paco,Pdco,Vdco,C0,C1,C2,C3,Pnt,Vdcmax,Idcmax,Mppt_low,Mppt_high,CEC_Date,CEC_hybrid
Units,V,W,W,W,V,1/W,1/V,1/V,1/V,W,V,A,V,V,,
[0],inv_snl_ac_voltage,inv_snl_pso,inv_snl_paco,inv_snl_pdco,inv_snl_vdco,inv_snl_c0,inv_snl_c1,inv_snl_c2,inv_snl_c3,inv_snl_pnt,inv_snl_vdcmax,inv_snl_idcmax,inv_snl_mppt_low,inv_snl_mppt_hi,inv_cec_date,inv_cec_hybrid
ABB: PVI-3.0-OUTD-S-US-A [208V],208,18.1674,3000,3142.3,310,-8.03947e-06,-1.10257e-05,0.000998581,-0.000287238,0.1,480,10.1365,100,480,10/15/2018,N
ABB: PVI-3.0-OUTD-S-US-A [240V],240,16.8813,3000,3121.67,340,-5.7019e-06,-2.119e-05,0.000583014,-0.000712316,0.1,480,9.18138,100,480,10/15/2018,N
ABB: PVI-3.0-OUTD-S-US-A [277V],277,22.0466,3000,3106.85,390,-5.46446e-06,-3.3181e-05,-3.20526e-05,-0.00118014,0.2,480,7.96628,100,480,10/15/2018,N
ABB: PVI-3.0-OUTD-S-US-Z-A [208V],208,18.1674,3000,3142.3,310,-8.03947e-06,-1.10257e-05,0.000998581,-0.000287238,0.1,480,10.1365,100,480,10/15/2018,N
ABB: PVI-3.0-OUTD-S-US-Z-A [240V],240,16.8813,3000,3121.67,340,-5.7019
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.