This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env python | |
| #encoding: utf-8 | |
| import urllib2 | |
| from base64 import b64decode | |
| LIST_URL = 'https://autoproxy-gfwlist.googlecode.com/svn/trunk/gfwlist.txt' | |
| BLACK_FILE = 'gfw.url_regex.lst' | |
| WHITE_FILE = 'cn.url_regex.lst' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/sh | |
| ### BEGIN INIT INFO | |
| # Provides: btsync | |
| # Required-Start: $local_fs $remote_fs | |
| # Required-Stop: $local_fs $remote_fs | |
| # Should-Start: $network | |
| # Should-Stop: $network | |
| # Default-Start: 2 3 4 5 | |
| # Default-Stop: 0 1 6 | |
| # Short-Description: Multi-user daemonized version of btsync. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/sh | |
| # Author: RA <ravageralpha@gmail.com> | |
| USAGE(){ | |
| echo "Usage:$(basename $0) [eng] files..." | |
| } | |
| [ $# -eq 0 ] && USAGE && exit 0 | |
| ERROR(){ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/sh | |
| curl -s \ | |
| -F "token=APP_TOKEN" \ | |
| -F "user=USER_TOKEN" \ | |
| -F "title=Download Finished" \ | |
| -F "message=$TR_TORRENT_NAME: $TR_TIME_LOCALTIME" \ | |
| http://api.pushover.net/1/messages > /dev/null |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| base { | |
| // debug: connection progress & client list on SIGUSR1 | |
| log_debug = on; | |
| // info: start and end of client session | |
| log_info = on; | |
| /* possible `log' values are: | |
| * stderr | |
| * file:/path/to/file |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/sh | |
| # Hurricane Electric IPv6 Tunnel Broker script for Ubuntu | |
| # /etc/network/if-up.d/he-ipv6.sh | |
| # Written by Jesse B. Hannah (http://jbhannah.net) <jesse@jbhannah.net> | |
| # Based on instructions provided by Hurricane Electric (http://tunnelbroker.net) | |
| ### | |
| # Permission is hereby granted, free of charge, to any person obtaining a copy | |
| # of this software and associated documentation files (the "Software"), to deal |
NewerOlder