Skip to content

Instantly share code, notes, and snippets.

View willf's full-sized avatar
✒️
pondering

Will Fitzgerald willf

✒️
pondering
View GitHub Profile
@willf
willf / PY0101EN-1-1-Types.ipynb
Created June 20, 2019 14:53
Created on Cognitive Class Labs
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@willf
willf / PY0101EN-1-1-Types.ipynb
Created June 20, 2019 14:53
Created on Cognitive Class Labs
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@willf
willf / pitching.md
Last active January 7, 2020 20:42
How to pitch a little bit

Learning to pitch a little bit

More honestly: How I learned to pitch, a little bit, for the 1991 Denson book

I will use a minimum of muical jargon, because I just don’t know that much.

Here’s what you probably need to know first:

  1. The shapes,
  2. Major vs minor keys
refaccimentos
recaH
retardance
rosyn
reluisoient
reesarch
recognosces
rhizophagous
roledistance
regularisee
@willf
willf / words.tsv
Last active June 23, 2018 19:49
Document frequency of words in Beatles lyrics. `LOVE` is all forms of the word 'love'
word count percentage of 688 songs
stirring 2 0.29069767441860467
semoc 1 0.14534883720930233
rag 1 0.14534883720930233
digital 1 0.14534883720930233
doctor 7 1.0174418604651163
mammie 1 0.14534883720930233
lear 1 0.14534883720930233
patsy 1 0.14534883720930233
march 2 0.29069767441860467
@willf
willf / non_love_songs.txt
Last active June 23, 2018 19:53
Beatle songs that don't contain a variant on 'love'
(A) Face In The Crowd
(Wish I Could Fly Like) Superman
1822!
20th Century Man
A Gallon Of Gas
A Hard Day's Night
A Little Rhyme
A Long Way From Home
A Rock 'N' Roll Fantasy
A Taste Of Honey
from itertools import chain
from sympy.ntheory import factorint
def strp(n,p):
if p == 1:
return str(n)
return str(n) + "^" + str(p)
def strf(f):
return "*".join([strp(k, f[k]) for k in sorted(f.keys())])
@willf
willf / buses.py
Last active November 10, 2017 15:07
# I was sitting on a bus whose number's prime
# factorization was 37 x 113. The prime factorization of the
# number of the bus in front of me was 11 x 373.
# I wonder how many other four-digit bus numbers
# have a prime factorization with exactly those digits?
# pip install sympy
from itertools import chain
from sympy.ntheory import factorint
@willf
willf / Five_Sevens.md
Last active August 9, 2019 18:04
The introductory section of Hugh of St Victor's _On the Five Sevens_ as a table and a list

See: https://en.wikisource.org/wiki/On_the_Five_Sevens

Number Vice Request Gift Virtue Blessing
1 Pride Hallowed be your name Fear of the Lord Humility Kingdom of Heaven
2 Envy Your kingdom come Godliness Kindness Land of the Living
3 Anger Your will be done Knowledge Remorse Consolation
4 Sadness Give us daily bread Strength Hunger for Good Satisfaction
5 Greed Forgive us our debts Counsel Mercy Mercy
6 Gluttony Lead us not into temptation Understanding Cleanness of Heart Vision of God
@willf
willf / chat_transcript.log
Created July 27, 2017 17:37
Chat with Adobe
Did you know you can get answers to most of your Adobe-related questions at help.adobe.com? Find helpful video tutorials, tips for troubleshooting, and user guides for all our products. You can even get answers from members of our vibrant forums community. Visit help.adobe.com. Please hold for the next available agent.
info: You are now chatting with Aishwarya.
Please don’t close the chat window or browser tab since it will end our chat session.
Aishwarya: Hello! Welcome to Adobe support.
Aishwarya: How are you Asher?
Asher Williams: Did you see my question?
Aishwarya: Yes, as I have understood you want to know about the amount that were charged to your account. Right?
Asher Williams: I want to know if you (1) are charging me monthly or annually
Aishwarya: Okay.
Aishwarya: Please allow me 1-2 minutes to review your account details.