Skip to content

Instantly share code, notes, and snippets.

View ppzvpp's full-sized avatar
💭
qwq

ppzvpp

💭
qwq
View GitHub Profile
@ppzvpp
ppzvpp / TwitterFollowerFollowingList.js
Created March 29, 2017 15:01
Export your Twitter followers/following list #TwitterFinished
// #TwitterFinished
// https://twitter.com/followers
// https://twitter.com/following
// Press "End" key until the list is fully loaded
// Then paste following code into developer console
TwitterFinished = ""
jQuery(".GridTimeline b.u-linkComplex-target").each(function(twitter, finished){ TwitterFinished += finished.innerText + "<br />" })
document.location.href = "data:text/html;charset=utf-8," + encodeURIComponent(TwitterFinished)
@ppzvpp
ppzvpp / ppzvpp.asc
Created April 16, 2016 16:11
#TwitterFinished
```
pub 4096R/6F5C4672 2016-04-16
uid @ppzvpp (#TwitterFinished) <ppzvpp@twitter>
```
```
-----BEGIN PGP PUBLIC KEY BLOCK-----
Version: GnuPG v1
mQINBFcSRfsBEAC7BOjFsMEj8LZuuaE369eHQsGtoVNF2q/z1kZ7DX81fwInDhYZ
@ppzvpp
ppzvpp / irregular_pluralizations.py
Created February 26, 2016 23:59
All irregular pluralizations in English
# source: https://github.com/mahmoud/boltons/blob/a9643c20aad00f3a880ca5095678696ebb9268a9/boltons/strutils.py#L244-L264
# Accuracy is not being confirmed
# Singular to plural map of irregular pluralizations
_IRR_S2P = {'alumnus': 'alumni', 'analysis': 'analyses', 'antenna': 'antennae',
'appendix': 'appendices', 'axis': 'axes', 'bacterium': 'bacteria',
'basis': 'bases', 'beau': 'beaux', 'bureau': 'bureaus',
'cactus': 'cacti', 'child': 'children', 'corpus': 'corpora',
'crisis': 'crises', 'criterion': 'criteria',
'curriculum': 'curricula', 'datum': 'data', 'deer': 'deer',