Skip to content

Instantly share code, notes, and snippets.

View rfwatson's full-sized avatar
🔄
Context switching

Rob Watson rfwatson

🔄
Context switching
View GitHub Profile
@rfwatson
rfwatson / arch-linux-install.md
Last active June 25, 2020 10:56 — forked from kylemanna/arch-linux-install.md
Minimal instructions for installing arch linux on an UEFI NVMe system with full system encryption using dm-crypt and luks
@rfwatson
rfwatson / vpn
Last active September 24, 2017 11:35
Force a VPN connection for all WiFi networks, except those included in a list of trusted SSIDs. Save to /etc/NetworkManager/dispatcher.d/vpn and enable NetworkManager-dispatcher.service
#!/usr/bin/env ruby
wan_iface = '<wifi network interface>'
vpn_name = '<vpn connection name in NetworkManager>'
trusted_ssids = ['<trusted>', '<wifi SSIDs>']
ssid = `iwgetid -r`.chomp
interface, status = ARGV[0..1]
exit unless interface == wan_iface
### Keybase proof
I hereby claim:
* I am rfwatson on github.
* I am rfwatson (https://keybase.io/rfwatson) on keybase.
* I have a public key whose fingerprint is 87F0 6D39 E177 D8B0 0C41 2346 7DC7 8C85 0B9C 15C8
To claim this, I am signing this object:
@rfwatson
rfwatson / index.html
Created December 8, 2015 15:20
A very simple web page (part 3)
<!DOCTYPE>
<html>
<head>
<title>My web page</title>
<script src="//content.jwplatform.com/libraries/YOUR_PERSONAL_JWPLAYER_CODE_HERE.js"></script>
</head>
<body>
<h1>My Mixlr player!</h1>
<div id="player"></div>
@rfwatson
rfwatson / index.html
Created December 8, 2015 15:13
A very simple web page (part 2)
<!DOCTYPE>
<html>
<head>
<title>My web page</title>
<script src="//content.jwplatform.com/libraries/YOUR_PERSONAL_JWPLAYER_CODE_HERE.js"></script>
</head>
<body>
<h1>My Mixlr player!</h1>
</body>
</html>
@rfwatson
rfwatson / index.html
Created December 8, 2015 14:58
A very simple web page
<!DOCTYPE>
<html>
<head>
<title>My web page</title>
</head>
<body>
<h1>My Mixlr player!</h1>
</body>
</html>