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:
| # -- coding: utf-8 -- | |
| from win32api import * | |
| from win32gui import * | |
| import win32con | |
| import sys, os | |
| import struct | |
| import time | |
| class WindowsBalloonTip: |
| 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(); |
| 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] |
| 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; | |
| } |
| 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): |
I hereby claim:
To claim this, I am signing this object:
| const 𝗫 = 1; | |
| const 𝖷 = 0; | |
| x = list => list.length | |
| Array.prototype.ꭓ = Array.prototype.reduce | |
| Array.prototype.ჯ = Array.prototype.slice | |
| Array.prototype.X = Array.prototype.push | |
| 𝚇 = (𝕏) => { | |
| 𝚾 = [] |
| def make(goal, book, pantry, costs): | |
| def guess(steps, required_ingredients): | |
| if all(pantry.count(ingredient) >= required_ingredients.count(ingredient) for ingredient in required_ingredients): | |
| yield tuple(sorted(required_ingredients)), steps | |
| for ingredient in set(required_ingredients) & set(book): | |
| new_required_ingredients = required_ingredients + book[ingredient] | |
| new_required_ingredients.remove(ingredient) | |
| yield from guess([ingredient] + steps, new_required_ingredients) | |
| yield from guess([goal], book[goal]) |
| import subprocess | |
| import collections | |
| Interface = collections.namedtuple('Interface', 'name description subnet_mask ipv4_addresses ipv4_gateway ipv6_addresses ipv6_gateway dhcp_server dns_servers') | |
| def parse_ipconfig(): | |
| """ | |
| Parses results from ipconfig. PowerShell has more structured functions, but | |
| they don't serialize properly | |
| (https://stackoverflow.com/questions/69997138/serialization-differences-between-powershells-format-list-and-convertto-json). |
| # Save to C:\Users\{USER}\AppData\Roaming\Mozilla\Firefox\Profiles\{PROFILE_NAME}\chrome\userContent.css | |
| # And enable "toolkit.legacyUserProfileCustomizations.stylesheets" on about:config | |
| @-moz-document domain(www.youtube.com) | |
| { | |
| a:visited { | |
| color: grey !important; | |
| } | |
| } |