Skip to content

Instantly share code, notes, and snippets.

@jackusm
jackusm / wgcf.sh
Created December 2, 2019 21:40 — forked from hazcod/wgcf.sh
Connect to Cloudflare Warp from macOS.
#!/usr/bin/env bash
set -euo pipefail
shopt -s inherit_errexit 2>/dev/null || true
# this script will connect macOS to Cloudflare Warp using Wireguard
# note: this is *absolutely not* an official client from Cloudflare
# Copyright (C) 2019 Jay Freeman (saurik)
# Zero Clause BSD license {{{
@jackusm
jackusm / boxstarter.ps1
Last active December 18, 2019 14:09 — forked from jessfraz/boxstarter.ps1
Boxstarter Commands for a new Windows box.
# Description: Boxstarter Script
#
# Install boxstarter:
# . { iwr -useb http://boxstarter.org/bootstrapper.ps1 } | iex; get-boxstarter -Force
#
# You might need to set: Set-ExecutionPolicy RemoteSigned
#
# Run this boxstarter by calling the following from an **elevated** command-prompt:
# start http://boxstarter.org/package/nr/url?<URL-TO-RAW-GIST>
# OR
@jackusm
jackusm / gist:1afaf53d18bc031f627ff02f20c63da0
Created June 17, 2016 11:00 — forked from janfrode/gist:814d73124cb5e54b5ba0
Run Tor hidden service in a set of docker containers

Docker containers seems ideal for running Tor hidden services, since they can easily be made very clean, containing little identifying data that can leak. Identifying it from the outside should be difficult.

To run a hidden web server we need two containers:

  • A simple webserver, not exposing any ports towards the Internet.
  • A TOR hidden service server, which should only be a hidden service. Not a relay!