Skip to content

Instantly share code, notes, and snippets.

View slrslr's full-sized avatar

slrslr

View GitHub Profile
#!/bin/bash
#Original: http://www.hyenacloud.com/blog/?p=327
#Modified by Neoon
/sbin/iptables -D INPUT -m set --match-set blacklist src -j DROP
/sbin/ipset create blacklist hash:net hashsize 10000000 maxelem 200000
/sbin/iptables -I INPUT -m set --match-set blacklist src -j DROP
IP_TMP=/tmp/ip.tmp
IP_BLACKLIST=/root/ip-blacklist.conf
IP_BLACKLIST_TMP=/tmp/ip-blacklist.tmp
@clarklab
clarklab / gist:4036164
Created November 8, 2012 02:22
mklink (creating a symlink in Windows)
mklink /d "C:\Users\clark\AppData\Roaming\Sublime Text 2\Packages\User" "C:\Users\clark\Dropbox\Sublime\Packages\User"