Skip to content

Instantly share code, notes, and snippets.

View vphantom's full-sized avatar

Stéphane Lavergne vphantom

View GitHub Profile
@vphantom
vphantom / example.sh
Last active April 5, 2021 01:39
OpenVPN inside a kernel namespace
#!/bin/bash
#
# Example wrapper script to run an application jailed inside the VPN.
# "myvpn" is the name of my namespace.
#
sudo -E ip netns exec myvpn sudo -E -u lis -- ~/bin/firefox.bin/firefox &
@vphantom
vphantom / modified-cursor.pcf.gz
Last active July 1, 2018 16:35
Override Xorg's black hand1 mouse cursor pointer with the white hand2