Skip to content

Instantly share code, notes, and snippets.

Keybase proof

I hereby claim:

  • I am Thracky on github.
  • I am thracky (https://keybase.io/thracky) on keybase.
  • I have a public key whose fingerprint is 1948 102F 1AA8 60BA 2DD1 104B E7E0 C898 A41B 2781

To claim this, I am signing this object:

create table users (
user VARCHAR(255),
password VARCHAR(255),
firstname VARCHAR(255),
lastname VARCHAR(255),
address1 VARCHAR(255),
address2 VARCHAR(255),
postalzip VARCHAR(10),
city VARCHAR(255),
provstate VARCHAR(255),
@Thracky
Thracky / dirdiff.py
Created May 31, 2019 14:13
Simple Directory diff'er
import os, hashlib, argparse, sys
def hash_dir(directory):
dirhashes = {}
for subdir, dirs, files in os.walk(directory):
for afile in files:
filepath = os.path.join(subdir,afile)
filepath_noparent = filepath.split(directory,1)[1]
if os.path.islink(filepath):
continue
@Thracky
Thracky / format.ksy
Last active July 10, 2019 16:42
Problematic portion of a ksy definition.
record_pointer:
seq:
- id: rec_pointer
type: u1
repeat: expr
repeat-expr: 4
instances:
record_num:
value: rec_pointer[0]
page_num_byte1:
@Thracky
Thracky / controller_configuration.vdf
Last active March 5, 2020 20:26
PROPER Native Steam Controller config for Destiny 2 - Update to make gyro aiming smoother.
"controller_mappings"
{
"version" "3"
"revision" "65"
"title" "Thracky's D2 Config"
"description" "#SettingsController_AutosaveDescription"
"creator" "76561197994665967"
"controller_type" "controller_steamcontroller_gordon"
"major_revision" "0"
"minor_revision" "0"