Skip to content

Instantly share code, notes, and snippets.

@cs224
cs224 / Dockerfile
Last active March 13, 2025 15:35
PGP via Roman Zayde’s Trezor-agent
# Dockerfile
FROM python:3.12-slim
# Install system dependencies. You might need more packages (like gnupg2, libusb, etc.).
RUN apt-get update && apt-get install -y gnupg2 usbutils libusb-1.0-0-dev libudev-dev git curl && rm -rf /var/lib/apt/lists/*
# The working directory inside the container
WORKDIR /app
@cs224
cs224 / README.md
Created March 7, 2025 06:10
Incus/LXD as an Alternative to Vagrant for DevOps Testing
@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:[email protected]" />
<link rel="stylesheet" type="text/css" href="cid:[email protected]" />
<link rel="stylesheet" type="text/css" href="cid:[email protected]" />
<link rel="stylesheet" type="text/css" href="cid:[email protected]" />
<link rel="stylesheet" type="text/css" href="cid:[email protected]" />
@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
[email protected]
[email protected]
NODE_WS_PORT=9000
NODE_HTTP_PORT=8080
WSS_PORT=9001
@cs224
cs224 / README.md
Created January 14, 2025 07:56
Digital Civil Rights and Privacy: Networking, VPN, Tor, Onion over VPN - Dockerized NymVPN
@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.