Skip to content

Instantly share code, notes, and snippets.

View bendog's full-sized avatar

Ben Fitzhardinge bendog

View GitHub Profile
@diriver63
diriver63 / pyodbc-unixODBC-lambda-layer
Last active October 4, 2023 19:55
pyodbc and unixODBC for MSSQL as a lambda layer
View pyodbc-unixODBC-lambda-layer
# use https://github.com/lambci/docker-lambda to simulate a lambda environment
docker run -it --rm --entrypoint bash -e ODBCINI=/opt/odbc.ini -e ODBCSYSINI=/opt/ lambci/lambda:build-python3.7
# download and install unixODBC
# http://www.unixodbc.org/download.html
curl ftp://ftp.unixodbc.org/pub/unixODBC/unixODBC-2.3.7.tar.gz -O
tar xzvf unixODBC-2.3.7.tar.gz
cd unixODBC-2.3.7
./configure --sysconfdir=/opt --disable-gui --disable-drivers --enable-iconv --with-iconv-char-enc=UTF8 --with-iconv-ucode-enc=UTF16LE --prefix=/opt
@ubergesundheit
ubergesundheit / readme.md
Last active October 4, 2023 18:58
systemd traefik.service
View readme.md
@alexcasalboni
alexcasalboni / aws-lambda-static-type-checker.md
Last active May 22, 2023 07:31
AWS Lambda Static Type Checker Example (Python3)
View aws-lambda-static-type-checker.md

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:

@bendog
bendog / ben.fitzhardinge.resume.md
Last active November 10, 2021 09:15
Ben Fitzhardinge Resume
View ben.fitzhardinge.resume.md

Ben Fitzhardinge

ben@fitzhardinge.net

Personal Statement

I'm passionate about elegant systems, whether these are for software solutions, managing people, documenting complex problems, or for helping people connect and become more productive.
I believe all systems should help and not hinder the users.

I'm a firm believer in iterative design and Agile methodologies, however in true agile form, I believe the best methodologies should be more like principles. Principles which we can borrow from when it makes sense, not laws which must be obeyed. However when presented with a problem I will always suggest we work towards a minimum viable product, get it out in the hands of the intended audience, and then get the feedback required to make it what it needs to become.