Skip to content

Instantly share code, notes, and snippets.

View leycec's full-sized avatar
🐻
Coding fat one-liners from Canadian cottage country

Cecil Curry leycec

🐻
Coding fat one-liners from Canadian cottage country
  • Ionovate
  • Ontario, Canada
View GitHub Profile
@leycec
leycec / install_linux.bash
Last active March 22, 2020 02:02
Linux-based installer for the "Long War Rebalance" XCOM mod.
#!/usr/bin/env bash
#
# ====================[ install_linux.sh ]====================
#
# --------------------( SYNOPSIS )--------------------
# Linux-based installer for the "Long War Rebalance" XCOM mod.
#
# --------------------( INSTALLATION )--------------------
# Copy this script into the top-level directory to which you unzipped the
# contents of the "Long War Rebalance" zip archive and run that script to
@leycec
leycec / beartype.py
Last active August 4, 2022 18:22
`@beartype` Decorator and Unit Test Suite Thereof
#!/usr/bin/env python3
'''
`@beartype` decorator, implementing a rudimentary subset of PEP 484-style type
checking based on Python 3.x function annotations.
See Also
----------
https://stackoverflow.com/a/37961120/2809027
Stackoverflow answer introducing the `@beartype` decorator.