Skip to content

Instantly share code, notes, and snippets.

View shinnok's full-sized avatar
💥
When in doubt, use brute force

Shinnok shinnok

💥
When in doubt, use brute force
View GitHub Profile
@shinnok
shinnok / com.tarsnap.gui.plist
Last active November 3, 2019 10:42
com.tarsnap.gui.plist
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<!-- Tarsnap GUI launchd script for running Tarsnap scheduled Jobs every
day at 10AM. Copy to appropriate path and load with:
$launchctl load ~/Library/LaunchAgents/com.tarsnap.gui.plist
-->
<plist version="1.0">
<dict>
<key>Label</key>
<string>com.tarsnap.gui</string>
@shinnok
shinnok / osx_updateblocklists
Last active September 4, 2016 04:45
Block ads and trackers using the hosts(5) file on OS X
#!/bin/bash
# Block ads and trackers using the HOSTS(5) file on OSX
#
# The script also has some pfsense fu, for more details on this script visit
# http://shinnok.com/rants/2015/04/05/blocking-ads-and-trackers-using-hosts/
#
# Dependencies:
# * git
# * curl