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
#!/usr/bin/env python3 | |
# Copyright 2023 Dave Carlson @thecubic | |
# the best and most out-of-work programmer ever | |
import hashlib | |
import random | |
choices = ( | |
"zero", |
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
#!/usr/bin/env python3 | |
# written by github.com/thecubic | |
# hireable for bar and bat mitzvahs and software | |
import os | |
import requests | |
import json | |
import pprint |
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
### Keybase proof | |
I hereby claim: | |
* I am thecubic on github. | |
* I am thecubic (https://keybase.io/thecubic) on keybase. | |
* I have a public key ASDzjtqQurK3U0P3RmTyRNHW1RO8bAWlaV5YH4e-CTCXSQo | |
To claim this, I am signing this object: |
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
#!/bin/bash | |
# Problem: | |
# @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ | |
# @ WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED! @ | |
# @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ | |
# IT IS POSSIBLE THAT SOMEONE IS DOING SOMETHING NASTY! | |
# Someone could be eavesdropping on you right now (man-in-the-middle attack)! | |
# It is also possible that a host key has just been changed. |
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
## get pysqlite | |
$ git clone https://github.com/ghaering/pysqlite | |
## get static / self-contained version | |
$ wget sqlite-amalgamation-3080403.zip && unzip sqlite-amalgamation-3080403.zip | |
## copy sqlite3.c to pysqlite | |
$ cp sqlite-amalgamation-3080403/sqlite3.c pysqlite/sqlite3.c | |
## build_static (a secret cheat code) |