Skip to content

Instantly share code, notes, and snippets.

@rogerallen
rogerallen / us_state_abbrev.py
Last active April 19, 2024 14:04
A Python Dictionary to translate US States to Two letter codes
# United States of America Python Dictionary to translate States,
# Districts & Territories to Two-Letter codes and vice versa.
#
# Canonical URL: https://gist.github.com/rogerallen/1583593
#
# Dedicated to the public domain. To the extent possible under law,
# Roger Allen has waived all copyright and related or neighboring
# rights to this code. Data originally from Wikipedia at the url:
# https://en.wikipedia.org/wiki/ISO_3166-2:US
#
@rogerallen
rogerallen / country_abbrev.py
Last active January 4, 2024 13:26
A Python Dictionary to translate Country Names to Two letter codes
# Python Dictionary to translate Countries to Two-Letter codes and vice versa.
#
# https://gist.github.com/rogerallen/1583606
#
# Dedicated to the public domain. To the extent possible under law,
# Roger Allen has waived all copyright and related or neighboring
# rights to this code. Data originally from Wikipedia at the url:
# https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2
#
# Automatically Generated 2021-09-11 18:04:35 via Jupyter Notebook from
@rogerallen
rogerallen / 0_tweegeemee.txt
Last active November 10, 2023 01:24
tweegeemee archive 2017/07/09
Archive of the code for images posted to https://twitter.com/tweegeemee
Started July 9, 2017
:clisk-random-seed 170709
Learn more at https://github.com/rogerallen/tweegeemee
@rogerallen
rogerallen / 0_tweegeemee.txt
Last active February 2, 2023 08:39
Tweegeemee Archive January 1, 2023 -- perhaps the last tweegeemee gist?
Archive of the code for images posted to https://twitter.com/tweegeemee
Started January 1, 2023. Using all of Dec 31 tweets as starting seeds.
This may be the very last gist. Going to try to code up another way of doing this...
:clisk-random-seed 230101
Learn more at https://tweegeemee.com
@rogerallen
rogerallen / 0_tweegeemee.txt
Last active December 31, 2022 20:32
Tweegeemee Archive December 6, 2022
Archive of the code for images posted to https://twitter.com/tweegeemee
Started December 6, 2022.
:clisk-random-seed 221206
Learn more at https://tweegeemee.com
@rogerallen
rogerallen / 0_tweegeemee.txt
Last active December 5, 2022 18:30
Tweegeemee Archive October 2, 2022
Archive of the code for images posted to https://twitter.com/tweegeemee
Started October 2, 2022.
:clisk-random-seed 221002
Learn more at https://tweegeemee.com
@rogerallen
rogerallen / AOC22.md
Last active December 3, 2022 00:47
AOC 22

AOC 22

Sharing my code for AOC

@rogerallen
rogerallen / 0_tweegeemee.txt
Last active October 2, 2022 13:58
Tweegeemee Archive August 20, 2022
Archive of the code for images posted to https://twitter.com/tweegeemee
**First Archive Off Heroku. Attempting Digital Ocean-Only setup.**
Started August 20, 2022.
:clisk-random-seed 220820
Learn more at https://tweegeemee.com
@rogerallen
rogerallen / 0_tweegeemee.txt
Last active August 20, 2022 17:40
tweegeemee test
Test 1,2,3
@rogerallen
rogerallen / 0_tweegeemee.txt
Last active August 20, 2022 01:30
Tweegeemee Archive July 6, 2022
Archive of the code for images posted to https://twitter.com/tweegeemee
Started July 6, 2022.
:clisk-random-seed 220706
Learn more at https://tweegeemee.com