I hereby claim:
- I am boppreh on github.
- I am boppreh (https://keybase.io/boppreh) on keybase.
- I have a public key ASBSbxSUYkYsfpiSezT6HRL-HaEFI6Zla-g5rH8sYtEFWAo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
golden_ratio = 0x9E3779B9 | |
max_int = 2**32 - 1 | |
def rotate_left_5(value): | |
return ((value << 5) | (value >> 27)) & max_int | |
def add_to_hash(hash_value, value): | |
return (golden_ratio * (rotate_left_5(hash_value) ^ value)) & max_int | |
def hash_simple(url): |
let me = Players.getMe(); | |
let mult = 1000; | |
(function(updateNameplate) { | |
me.__proto__.updateNameplate = function() { | |
let ret = updateNameplate.apply(this, arguments); | |
this.sprites.flag.scale.set(0.2, 0.2); | |
if (this == me) { | |
this.sprites.flag.position.set(me.pos.x, me.pos.y); | |
return ret; | |
} |
import sys | |
import keyboard | |
import pickle | |
import os | |
if len(sys.argv) == 1: | |
filename = input('Input filename to save/load events: ') | |
else: | |
filename = sys.argv[1] |
var oldOnKeyDown = window.onkeydown | |
var canvas = document.getElementById('canvas'); | |
var oldMouseMove = canvas.onmousemove | |
canvas.onmousemove = null; | |
var pressedKeys = {} | |
window.onkeydown = function (f) { | |
pressedKeys[f.keyCode] = 1; | |
oldOnKeyDown(f); | |
updateKey(); |
# -- coding: utf-8 -- | |
from win32api import * | |
from win32gui import * | |
import win32con | |
import sys, os | |
import struct | |
import time | |
class WindowsBalloonTip: |