Skip to content

Instantly share code, notes, and snippets.

import string
import sys
import requests
import whois
from nltk import tokenize
BOOKFILE = sys.argv[1]
OUTPUTFILE = BOOKFILE + '.possible-domains.txt'
@thisisparker
thisisparker / wednesday_music.txt
Created November 27, 2022 15:27
Music description phrases from the subtitles of Netflix's _Wednesday_
---------s1e1
jauntily macabre
elegant
jauntily macabre theme
birds thudding in time to
low, menacing
ominous
playfully gloomy
quirky
ominous
#!/usr/bin/env python3
import argparse
import sys
from pathlib import Path
def wordlist_to_dictionary(path):
with path.open() as f:
lines = [l.strip() for l in f.readlines()]

Keybase proof

I hereby claim:

  • I am thisisparker on github.
  • I am xor (https://keybase.io/xor) on keybase.
  • I have a public key ASD3IJ3ZVAhv4yIH44m9nUgkU7Ke4DCvOjYk4BQhaBxkEAo

To claim this, I am signing this object:

@thisisparker
thisisparker / parse.js
Created February 23, 2019 21:28 — forked from mgamini/parse.js
Newsday Saturday Stumper AcrossLite Grid Parser
// Instructions:
// Open the Newsday Saturday Stumper in Firefox: https://www.newsday.com/entertainment/extras/crossword-puzzle-1.6375288
// Click on your selected puzzle to navigate to the puzzle page.
// Right-click (option click) anywhere on the puzzle. Select "This Frame -> Show Only This Frame".
// This should bring up just the puzzle.
// Right-click (option click) and click "Inspect Element". Enter the Console tab.
// Paste the code below, and press Enter. Save the text file, and open into Across Lite.
// PLEASE NOTE: EXECUTING CODE IN YOUR CONSOLE YOU DON'T UNDERSTAND IS GENERALLY A VERY BAD IDEA. Don't make a habit of this.
ABENTERIC
ACESCENCE
AEROMETER
ALGOMETER
ANGOSTURA
ARTISTDOM
BALALAIKA
BALAUSTRE
BALLADIST
BALLASTER
[
{
"begin": "00:02:30",
"end": "00:02:32",
"text": [
"[metallic clang]"
]
},
{
"begin": "00:03:32",
[
{
"begin": "00:00:07",
"end": "00:00:09",
"text": "[metallic clang]"
},
{
"begin": "00:02:30",
"end": "00:02:32",
"text": "[metallic clang]"
@thisisparker
thisisparker / gist:68f92516dc84fc3b4c2aae866597bcee
Created November 3, 2017 04:52
test urls for DNA info chicago
https://www.dnainfo.com/chicago/20160408/lincoln-park/illegal-republican-party-sign-is-killing-my-business-owner-says
https://www.dnainfo.com/chicago/20160408/lincoln-park/millies-supper-club-brings-traditional-wisconsin-dishes-decor-chicago
https://www.dnainfo.com/chicago/20160407/old-town/franklin-fine-arts-students-show-off-piano-skills-at-annual-recital
https://www.dnainfo.com/chicago/20160407/lincoln-park/finkl-steel-site-shouldnt-become-homes-community-leader-says
https://www.dnainfo.com/chicago/20160406/lincoln-park/erehwon-mountain-outfitter-closing-north-avenue-location-after-11-years
https://www.dnainfo.com/chicago/20160404/lincoln-park/chicago-republican-partys-sign-violates-law-city-says
https://www.dnainfo.com/chicago/20160405/old-town/whoops-cps-tells-kids-they-got-into-coveted-school-takes-it-back
https://www.dnainfo.com/chicago/20160406/lincoln-park/what-does--240-degrees-feel-like-find-out-at-cold-therapy-spot-cryobar
https://www.dnainfo.com/chicago/20160405/lincoln-park/arclight-cinemas-date
@thisisparker
thisisparker / isis_name_by_year.csv
Last active November 22, 2015 00:22
Number of US people assigned female at birth with the name "Isis", and an estimation of present survivorship
birthyear isis_births living_percentage living
1901 5 0 0
1960 5 0.93974 5
1962 6 0.94763 6
1963 6 0.95123 6
1964 6 0.95457 6
1965 7 0.95766 7
1967 8 0.96312 8
1970 13 0.96972 13
1971 20 0.97155 19