Skip to content

Instantly share code, notes, and snippets.

@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
Last active March 16, 2025 07:47
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.
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.
@cs224
cs224 / 2022-09-11-time-sampling-question.ipynb
Last active September 12, 2022 05:41
Pandas: easier way to sample interpolated time series data at given times (e.g. every full day)
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.
TAG_DATE=202112061151
py38ds-docker-base-image:
docker build -f dockerfile.base --build-arg HTTP_PROXY=${HTTP_PROXY} --build-arg HTTPS_PROXY=${HTTPS_PROXY} --build-arg http_proxy=${HTTP_PROXY} --build-arg https_proxy=${HTTPS_PROXY} --tag py38ds-docker-base-image:${TAG_DATE} --tag py38ds-docker-base-image:latest .
# docker save -o py38ds-docker-base-image.tar py38ds-docker-base-image:latest
py38ds-container:
docker run -it --rm -v $(shell readlink -f .):/root/local:ro --name py38ds py38ds-docker-base-image:latest