Skip to content

Instantly share code, notes, and snippets.

@elijahc
elijahc / _osx_vpn_split_tunneling.md
Last active May 8, 2025 22:01
Split tunneling my vpn connection

Install Openconnect for more flexible Cisco vpn client

Overview

I have a workstation behind a VPN at work that I like to remotely access for queuing jobs or data analysis over hosted jupyter notebooks.

Usually I just connect to using the Cisco Anyconnect client but it's caused some headaches.

I want to be able to route to these workstations using the VPN but since they throttle bandwidth use my local gateway for everything else (i.e. looking up docs, streaming spotify etc)

{
"embeddings": [
{
"tensorName": "Objective (xent+recon)",
"tensorShape": [
2500,
3136
],
"tensorPath": "https://gist.githubusercontent.com/elijahc/76c686a8a6d33a0808df871b03813ce7/raw/1272dd1bd3817c5b24f64ff45365130c0d672867/l1_rfs.tsv",
"metadataPath": "https://gist.githubusercontent.com/elijahc/76c686a8a6d33a0808df871b03813ce7/raw/36075d4702e9ccbb08236db524ec161d55f73ff1/l1_rfs_meta.tsv",
@elijahc
elijahc / update-dns.py
Last active January 12, 2020 00:43
Python script for updating google domains dyndns entries
import requests
import psutil
import socket
import click
import pprint
import numpy as np
INTERFACES = psutil.net_if_addrs()

Keybase proof

I hereby claim:

  • I am elijahc on github.
  • I am elijahc (https://keybase.io/elijahc) on keybase.
  • I have a public key ASDDqd-L1akkOUjZ3DOpJyeZ25SHlZRnhytTalZrdiTQRgo

To claim this, I am signing this object:

BEGIN MESSAGE.
jPMihyLFTuBptCZ HtGgTSbNkfRD0Vv SQt958636PRzZXE dSSVgOfna88QshE
c3xPb947pD7jwa6 MvSCRetgkxeTCKq 6Xr2MZHgg4cKWGV 4wkhLaDVzp9FLgC
x9wzpeXdqPTPYQS Pp0J6t33hrPQJl3 btDZ2QGJRCdd7lI H6BERHXSYb3WdYa
3TnzQPdarphNVEt m3ZxmncDBztDo1x OURxy2IP.
END MESSAGE.

Haiku Config

Setup Haiku

@elijahc
elijahc / readme.md
Last active December 23, 2020 02:23

Epilepsy in PRS and LSsc

Cirrhosis - ESLD

Cirrhosis - ESLD (Childs-Pugh ***, MELD ***, Transplant Status***)
? Childs-Pugh: (http://gihep.com/?page_id=43)
? MELD-Na: (http://gihep.com/?page_id=49)
? Cause: Alcoholic, Hepatitis C, NASH, Toxin, AIH, PBC, PSC
? Decompensated: Prior variceal bleed, SBP, medically refractory ascites

- Consult: Hepatology