Skip to content

Instantly share code, notes, and snippets.

View chrisbelyea's full-sized avatar
🚩
protocols > platforms

Chris Belyea chrisbelyea

🚩
protocols > platforms
View GitHub Profile
@alexcasalboni
alexcasalboni / aws-lambda-static-type-checker.md
Last active May 22, 2023 07:31
AWS Lambda Static Type Checker Example (Python3)

How to use Python3 Type Hints in AWS Lambda

TL;DR

Static Type Checkers help you find simple (but subtle) bugs in your Python code. Check out lambda_types.py and incrementally improve your code base and development/debugging experience with type hints.

Your Lambda Function code will go from this:

@chrisbelyea
chrisbelyea / index.txt
Last active March 14, 2018 18:53
A Git Workflow Using `rebase`
Why Squash?
1: <script src="https://gist.github.com/chrisbelyea/90146b7d6c1a67b072347d418154dbb5.js?file=why_squash_1.md"></script>
2: <script src="https://gist.github.com/chrisbelyea/90146b7d6c1a67b072347d418154dbb5.js?file=why_squash_2.md"></script>
3: <script src="https://gist.github.com/chrisbelyea/90146b7d6c1a67b072347d418154dbb5.js?file=why_squash_3.md"></script>
Setup
2: <script src="https://gist.github.com/chrisbelyea/90146b7d6c1a67b072347d418154dbb5.js?file=setup_2.md"></script>
3: <script src="https://gist.github.com/chrisbelyea/90146b7d6c1a67b072347d418154dbb5.js?file=setup_3.md"></script>
4: <script src="https://gist.github.com/chrisbelyea/90146b7d6c1a67b072347d418154dbb5.js?file=setup_4.md"></script>