Tuesday, 5th May 2020
A hands-on introduction to static code analysis. Useful tutorial on using the Python standard library tokenize and ast modules to find specific patterns in Python source code, using the visitor pattern.
TIL
Search across all loaded resources in Firefox
— You can search for a string in any resource loaded by a page (including across HTML, JavaScript and CSS) in the Debugger pane by hitting Command+Shift+F.
Release
dogsheep-photos 0.3a
— Upload your photos to S3 and import metadata about them into a SQLite database
TIL
Use setup.py to install platform-specific dependencies
— For [photos-to-sqlite](https://github.com/dogsheep/photos-to-sqlite) I needed to install `osxphotos` as a dependency, but only if the platform is macOS - it's not available for Linux.