Skip to content

Instantly share code, notes, and snippets.

View 10se1ucgo's full-sized avatar
👨‍🎓
grinding

Hammaad K. 10se1ucgo

👨‍🎓
grinding
  • United States
View GitHub Profile
@10se1ucgo
10se1ucgo / Phoenix.diff
Created February 24, 2016 01:48
Compiling wxPython Phoenix for Python 3.5
diff --git a/build.py b/build.py
index d084d52..ca0fbe6 100755
--- a/build.py
+++ b/build.py
@@ -239,7 +239,7 @@ def setPythonVersion(args):
#
TOOLS = os.environ.get('TOOLS')
if 'cygdrive' in TOOLS:
- TOOLS = runcmd('c:/cygwin/bin/cygpath -w '+TOOLS, True, False)
+ TOOLS = runcmd('cygpath -w '+TOOLS, True, False)
@10se1ucgo
10se1ucgo / ips+domains.txt
Last active February 23, 2016 01:44
IPs and domains blocked/re-routed by DisableWinTracking
# Blocked IPs (Firewall)
2.22.61.43
2.22.61.66
65.39.117.230
65.52.108.33
65.55.108.23
23.218.212.69
134.170.30.202
137.116.81.24
157.56.106.189
# Python version of https://gist.github.com/almirsarajcic/4664387
def convert_id(id):
if len(id) == 17:
converted = int(id[3:]) - 61197960265728
else:
converted = '765' + str(int(id) + 61197960265728)
return str(converted)
import requests
import json
r = requests.get('https://api.github.com/repos/10se1ucgo/DisableWinTracking/releases')
total_count = 0
if r.ok:
jsonobj = json.loads(r.text or r.content)
3750 v2.3
9062 v2.2.1
3389 v2.2
379 v2.1.1
4896 v2.1
2897 v2.0 (REWRITE)
86436 v1.5
7620 v1.4
1490 v1.3
274 v1.2