Skip to content

Instantly share code, notes, and snippets.

View sheurich's full-sized avatar
🥾
Thru-hiking the Appalachian Trail

Shiloh Heurich sheurich

🥾
Thru-hiking the Appalachian Trail
View GitHub Profile
@sheurich
sheurich / proxy.pac
Created March 17, 2023 17:51 — forked from dusenberrymw/proxy.pac
Proxy PAC file template for selective SSH SOCKS proxies, plus a [re]installation script.
// Proxy PAC File
// - Used to redirect certain addresses to the server through the SOCKS ssh port (1280 for this file), i.e.
// tunnel traffic through server.
// - Useful for easily accessing webpages from services running on a server (Jupyter notebooks, TensorBoard, Spark UI, etc.)
// that is otherwise locked down by a firewall.
// - To install on OS X/MacOS, go to "Settings->Network->Advanced->Proxies->Automatic Proxy Configuration"
// and paste the local file url (`file:///absolute/path/to/proxy.pac`).
// - Alternatively, use `./reinstall_proxy.sh`.
// - SSH to the server with `ssh -D 1280 ....`.
function FindProxyForURL(url, host) {
#!/bin/sh
brew install docker docker-buildx docker-compose
mkdir -p ~/.docker/cli-plugins
ln -sfn \
$(brew --prefix)/opt/docker-compose/bin/docker-compose \
$(brew --prefix)/opt/docker-buildx/bin/docker-buildx \
~/.docker/cli-plugins/
curl -sO \
arch: default
containerd:
system: false
user: false
cpus: 4
disk: 64GiB
hostResolver:
hosts:
host.docker.internal: host.lima.internal
images:
@sheurich
sheurich / winonapplesi-req.md
Last active October 21, 2022 18:22
Prerequisites for virtualized Windows on Apple Silicon

To install UTM, use:

brew install --cask utm

To use UUPdump, install the following:

brew install \
  aria2 cabextract cdrtools wimlib \
  sidneys/homebrew/chntpw
@sheurich
sheurich / FSLY.bttpreset
Created May 17, 2019 20:32
FSLY stock ticker for BetterTouchTool
{
"BTTPresetName": "FSLY",
"BTTPresetUUID": "78CC9798-ACEB-4AAE-B34D-8BC3E8EC59DC",
"BTTPresetContent": [
{
"BTTAppBundleIdentifier": "BT.G",
"BTTAppName": "Global",
"BTTAppAutoInvertIcon": 1,
"BTTTriggers": [
{

Keybase proof

I hereby claim:

  • I am sheurich on github.
  • I am sheurich (https://keybase.io/sheurich) on keybase.
  • I have a public key whose fingerprint is 68C2 8C47 675C 66A9 F447 92F1 F727 2011 9716 4F03

To claim this, I am signing this object: