Instantly share code, notes, and snippets.

View ips+domains.txt
# 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
View 2015-08-30_14-06-15.txt
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
View dwtstats.py
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)
View steamid_conversion.py
# 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)
View Phoenix.diff
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)
View set_saturation.py
#!python3
from adl3 import *
class ADLError(Exception):
pass
def load_driver():
if ADL_Main_Control_Create(ADL_Main_Memory_Alloc, 1) != ADL_OK:
View idiot.py
"""
Please don't use this.
Creator: 10se1ucgo
"""
import sys
from StringIO import StringIO
from commands import alias, name, admin, add
View defusal.py
"""
Creator: 10se1ucgo
------------------
A lot of this code is pretty confusing
Why? Because I suck at this kind of programming! Woo!
Hey, at least it runs. Maybe I'll port it to Iceball.
I completely regret my decision in making this.
Note: There might be some broken stuff. Haven't been able to test this that much.
"""
from __future__ import division
View browser.py
#!python3
import os
import wx
import requests
from ObjectListView import ObjectListView, ColumnDefn
from pycountry import countries
import flags
View ree.py
import enum
import operator
import shlex
from collections import namedtuple, deque
class TokenType(enum.Enum):
IDENT = 0
NUM = 1
OP = 2