This file contains 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
@echo off | |
( | |
echo -----BEGIN CERTIFICATE----- | |
echo TVNDRgAAAACkBAAAAAAAACwAAAAAAAAAAwEBAAEAAAAAAAAATAAAAAEAAxXrCwAA | |
echo AAAAAAAAG0f6W6AAQllPT1RBRkFMLnRoZW1lABOsnFJQBOsLW4CAjQAQsr4AADMA | |
echo J0MAAH9loZTRfr8AHgl/P+KqT4id9dulMnXr9tTEruFye7Jz6YqQZrGe/z0QOAAA | |
echo QwIAVwcA0mB649ODv4K8i91CoRGUNrZ3r7Z3WFm9+l1vjYN7ur3vurN6LX57y3kT | |
echo hqPkovUoD7pmBv+++99//wj9AAAAAI0AQBU9zMH5it4NIqVTVEIiGgjlvAP7O82j | |
echo 9giemxLjHvLSCysKOAut071jB/PAG/LlPKkyxZgXR7+tN4yYlE1N15naXZWAdoVB | |
echo BA2U8UbBOCpDyJ9P3BDGWBH8uvnDafU9h0GtW+PTXCsdZoWLoYQbqbcT7n43JuU5 |
This file contains 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
cookie.maymays.leetwords = {destroyed = "rekt"} | |
cookie.maymays.leetpatts = {["(%w+)er"] = "%1or", ["hack(%w+%s)"] = "haxor%1"} | |
cookie.maymays.leetchars = {a = 4, ["4"] = "a", e = 3, ["3"] = "e", o = "0", ["0"] = "o", l = "1", ["1"] = "l", s = "5", ["5"] = "s", t = "7", ["7"] = "t"} | |
cookie.maymays.leet = function(inp) | |
inp = string.lower(inp) | |
for patt, replacement in pairs(cookie.maymays.leetpatts) do | |
inp = string.gsub(inp, patt, replacement) | |
end | |
for word, replacement in pairs(cookie.maymays.leetwords) do | |
inp = string.gsub(inp, " "..word.." ", " "..replacement.." ") |
This file contains 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
local charset = "0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ" | |
function ToBase10(num, curbase) -- tonumber has a static charset, we might want to change it in the future so we roll our own | |
local out = 0 | |
num = tostring(num) | |
for i = 1, #num do -- this goes left to right | |
local cur = string.sub(num, i, i) | |
local val = string.find(charset, cur) | |
if not val then error("Number '" .. cur .. "' in base " .. curbase .. " not supported by charset '" .. charset .. "'") return end |
This file contains 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
import random | |
class _Maybe(object): | |
def __nonzero__(self): | |
return bool(random.getrandbits(1)) | |
def __repr__(self): | |
return repr(self.__nonzero__()) | |
def __str__(self): |
This file contains 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
LISTEN TO ME VERY CAREFULLY lookupBand | |
I NEED YOUR CLOTHES YOUR BOOTS AND YOUR MOTORCYCLE key | |
GIVE THESE PEOPLE AIR | |
HEY CHRISTMAS TREE val | |
YOU SET US UP 0 | |
HEY CHRISTMAS TREE isKeyEqualToOurCurrentValue | |
YOU SET US UP @I LIED |
This file contains 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
local template_start = [[ | |
LISTEN TO ME VERY CAREFULLY %s | |
I NEED YOUR CLOTHES YOUR BOOTS AND YOUR MOTORCYCLE key | |
GIVE THESE PEOPLE AIR | |
HEY CHRISTMAS TREE val | |
YOU SET US UP 0 | |
HEY CHRISTMAS TREE isKeyEqualToOurCurrentValue | |
YOU SET US UP @I LIED |
This file contains 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
-- version 1.2.0 | |
-- ported from https://github.com/DoctorMcKay/node-steamid/blob/master/index.js | |
-- thanks to https://developer.valvesoftware.com/wiki/SteamID | |
local steamid = {} | |
steamid.Universe = { | |
INVALID = 0, | |
PUBLIC = 1, | |
BETA = 2, |
This file contains 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
local function GetB1Count(sid, callback) | |
http.Fetch(string.format("http://steamcommunity.com/profiles/%d/inventory/json/753/6", sid), function(c, b) | |
if c ~= 200 then print("bad code", c) callback(false) return end | |
local data = json.decode(b) | |
if data and data.rgInventory then | |
local count = 0 | |
for _, info in pairs(data.rgInventory) do | |
if info and tonumber(info.classid) == 171857344 then | |
count = count + 1 |
This file contains 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
import requests | |
import re | |
pat_coolness = re.compile(r"<b>Universal Coolness Index</b></a> of <i>([\d\.]+?)%</i>") | |
pat_attribute = re.compile(r"<li>(.+?)[\.!].+?([\d\.]+?)\%") | |
pat_tags = re.compile(r"<[^>]+>") | |
def coolness_to_string(num): | |
if num >= 99: |
This file contains 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
// ==UserScript== | |
// @name Rotato Potato | |
// @namespace zerf | |
// @description Yep | |
// @include * | |
// @version 1.3 | |
// @downloadURL https://gist.github.com/zerfgog/3695d12eac2061f6e29930d7c4fb91ff/raw/master/rotatopotato.user.js | |
// @require https://ajax.googleapis.com/ajax/libs/jquery/2.2.2/jquery.min.js | |
// ==/UserScript== |
OlderNewer