Skip to content

Instantly share code, notes, and snippets.

View naitian's full-sized avatar

Naitian Zhou naitian

View GitHub Profile
@jessejanderson
jessejanderson / schools.md
Last active May 9, 2024 07:36
Coronavirus (COVID-19) School Closures in the US

New site:

Please visit the link above for up-to-date content.

The rest of the page is left here for legacy reasons but will no longer be updated.

@freejoe76
freejoe76 / _PYTHON-BOILERPLATE-README.md
Last active June 2, 2021 02:52
My python boilerplate

These files, as written, are aimed at command-line execution, but because if __name__ == '__main__': only fires when run on the command line, it can also be included in another python script if need be.

It uses doctests (which fire when run from the command line with a -t / --test flag) because I like doctests because they're the simplest way to add tests to your code, and tests in your code are a good way to help remind future-you how current-you imagined you'd be using the code you wrote.

The code you want to execute goes in the main() method.