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
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
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)
# 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)
@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
@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)
#!python3
from adl3 import *
class ADLError(Exception):
pass
def load_driver():
if ADL_Main_Control_Create(ADL_Main_Memory_Alloc, 1) != ADL_OK:
@10se1ucgo
10se1ucgo / idiot.py
Last active March 27, 2016 18:13
Put in your scripts folder and add to your scripts list. (if you're an idiot)
"""
Please don't use this.
Creator: 10se1ucgo
"""
import sys
from StringIO import StringIO
from commands import alias, name, admin, add
@10se1ucgo
10se1ucgo / browser.py
Last active April 29, 2016 22:19
a bns server browser. Requirements: wxPython-Phoenix, ObjectListView, requests, pycountry.
#!python3
import os
import wx
import requests
from ObjectListView import ObjectListView, ColumnDefn
from pycountry import countries
import flags
@10se1ucgo
10se1ucgo / ree.py
Created November 15, 2016 21:39
hi this is an interpreter but it's written in python so it's basically cheating right
import enum
import operator
import shlex
from collections import namedtuple, deque
class TokenType(enum.Enum):
IDENT = 0
NUM = 1
OP = 2
@10se1ucgo
10se1ucgo / grapher.cpp
Created November 23, 2018 23:35
c++ grapher
#include "scene/grapher.h"
#include "game_client.h"
#include "draw/sprite.h"
#define exprtk_disable_comments
#define exprtk_disable_break_continue
#define exprtk_disable_sc_andor
#define exprtk_disable_return_statement
#define exprtk_disable_string_capabilities
#define exprtk_disable_enhanced_features