Skip to content

Instantly share code, notes, and snippets.

Avatar
💥

Shinnok shinnok

💥
View GitHub Profile
@shinnok
shinnok / com.tarsnap.gui.plist
Last active Nov 3, 2019
com.tarsnap.gui.plist
View 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 Sep 4, 2016
Block ads and trackers using the hosts(5) file on OS X
View osx_updateblocklists
#!/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