Skip to content

Instantly share code, notes, and snippets.

View christopherphan's full-sized avatar

Christopher Phan christopherphan

View GitHub Profile
@christopherphan
christopherphan / Senate_representation_by_impeachment_trial_vote.md
Last active March 19, 2021 23:42
A breakdown of how many people are represented by senators voting for or against conviction in the Feb. 2021 presidential impeachment trial

Population represented in the U.S. Senate by by Feb. 2021 impeachment trial vote

In February 2021, the U.S. Senate acquitted a former president after an impeachment trial. To convict would have required 2/3 of senators (67 of the full Senate) to vote guilty; the final vote was 57 votes for guilty and 43 votes for not guilty. This chart illustrates how many U.S. residents are represented by senators who voted for and against impeachment.

Population figures are from 2019.

Copyright and license info

Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@christopherphan
christopherphan / aholedecorator.py
Last active March 23, 2022 19:32
A silly Python decorator that I made as a **BAD** joke
#!/usr/bin/env python3
########################################################################################
# Terrible joke Python decorator
#
# By Christopher Phan, cphan@chrisphan.com
# github: christopherphan
#
# MIT License
#
@christopherphan
christopherphan / best_wordle_letter_frequency.ipynb
Last active January 20, 2022 04:51
The best initial word to play in Wordle, based on letter frequencies
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@christopherphan
christopherphan / best_wordle_words_remaining.ipynb
Last active March 6, 2022 18:38
The best initial word to play in Wordle, based on how many words are expected to be ruled out
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.