Adam Lamers
Software Engineer specializing in Security, Compliance, and Identity at scale.
Senior Software Engineer Technical Team Leader Tech Enthusiast
01 / Latest Technical Log
View Full Archive June 12, 2024
Reading Environment Variables in Python
Environment variables are key-value pairs set outside of your script to manage configurations for different environments or to store sensitive data like API keys.
Read
Feb 05, 2018
Execute .sql file with PyMySQL
Most SQL files contain interpreter commands such as DELIMITER that make passing the commands through to pymysql somewhat difficult, this code snippet allows you to separate out the statements in the sql file into a list for sequential execution.
Read
Dec 09, 2016
Bash Locate (flocate)
A fast locate-like tool that you can carry with you in your dotfiles, that only uses basic binaries available on most systems. Searches through a compressed database of file locations on your hard drive.
Read