You know, that one thing you made for just your own use but is pretty cool.
I'll start: I was pretty annoyed at having to manually update my résumé every month or so. With things like download numbers, it gets outdated pretty fast.
Enter DynamicLaTeX. Auto-updates stuff every day and deployed to Heroku. Pretty nifty, imo.
Your LaTeX document always has the latest numbers when clicked. Originally created for updating LaTeX resumes.
- Define this new command in your LaTeX document:
- Wherever you want to format the dynamic variable, use the command as:
Add your LaTeX code in
main.py, add the same variable names and updation function to
template_values. That's it!
Serve your pdf by running
main.py. I've used my name in the endpoints so do change that with your own :)
There are a few updation helper functions provided in
updater.py already as well.
I use it to get the latest downloads count for SwagLyrics and SwSpotify then write that so the resume is always up to date Previously, I had to update the download count manually. Now, it's accurate…
What's something you made to automate the boring stuff?