Skip to content

Instantly share code, notes, and snippets.

View tomcook's full-sized avatar
🌀

Tom Cook tomcook

🌀
View GitHub Profile
### Keybase proof
I hereby claim:
* I am tomcook on github.
* I am tcook (https://keybase.io/tcook) on keybase.
* I have a public key whose fingerprint is 7BD5 BCA7 9946 53C4 8429 85BB 516D 7EC1 1C33 8713
To claim this, I am signing this object:
@tomcook
tomcook / services.txt
Last active January 19, 2016 06:49
Services that don't work with new TLDs
Specifically, with .horse domain email addresses. Entering anything @ a .horse address generates errors like "invalid email":
Alaska Air (01/2016)
HBO NOW (01/2016)
Kaiser Permanente (some areas work, others don't) (01/2016)
HostelWorld (01/2016)
Lyft (01/2016 - https://twitter.com/AskLyft/status/686198188655521792)
Ryanair (01/2016)
GoPro (01/2016)

Keybase proof

I hereby claim:

  • I am tomcook on github.
  • I am tcook (https://keybase.io/tcook) on keybase.
  • I have a public key ASDmmURfnTE6A0mT2YXJoVte4cV679MVAKbPqV-0Gk8-awo

To claim this, I am signing this object:

@tomcook
tomcook / state-twitter.json
Last active January 24, 2023 13:13
Obama Nostalgia Twitter Bot: State DB
{
"P022110PS-0480": {
"tweet_id": 1318983377798746112,
"posted_on": "2020-10-23T07:09:23.978134"
},
"P021412PS-0390": {
"tweet_id": 1319655772364701697,
"posted_on": "2020-10-23T15:03:49.442109"
},
"P122210CK-0345": {
@tomcook
tomcook / state-twitter.json
Last active January 24, 2023 13:13
Biden Nostalgia Twitter Bot: State DB
{
"49436861593": {
"tweet_id": 1353815263028912128,
"posted_on": "2021-01-25T21:21:27.014052"
},
"49019402151": {
"tweet_id": 1353815486375464960,
"posted_on": "2021-01-25T21:22:20.198658"
},
"50377046131": {
@tomcook
tomcook / state-mastodon.json
Created January 30, 2023 23:28
Biden Nostalgia Mastodon Bot: State DB
{}
@tomcook
tomcook / state-mastodon.json
Created January 30, 2023 23:28
Obama Nostalgia Mastodon Bot: State DB
{}
@tomcook
tomcook / state-bluesky.json
Last active May 21, 2025 06:26
Obama Nostalgia Bluesky Bot: State DB
{
"P112310PS-0010": {
"posted_on": "2024-11-21T06:21:39.057124"
},
"P072313CK-0338": {
"posted_on": "2024-11-21T18:20:41.029144"
},
"P050109PS-0607": {
"posted_on": "2024-11-21T18:22:48.309400"
},
@tomcook
tomcook / state-bluesky.json
Last active May 20, 2025 18:53
Biden Nostalgia Bluesky Bot: State DB
{
"50937221891": {
"posted_on": "2024-11-21T06:18:17.635032"
},
"51131137370": {
"posted_on": "2024-11-21T06:52:09.540088"
},
"51130061674": {
"posted_on": "2024-11-22T18:51:28.521379"
},
@tomcook
tomcook / len_test.py
Created November 22, 2024 00:21
atproto / python rich text length checker
import random
import string
import regex
from atproto import Client, client_utils
client = Client()
client.login('username', 'pass')
characters = string.ascii_letters
random_string = ''.join(random.choices(characters, k=295))