3 ms·
Python is my default language, so... everything. The static site generator on which my websites are built is Python. The linters for those websites' content? A
by nicbou 3y ago
Python is my default language, so... everything.
The static site generator on which my websites are built is Python. The linters for those websites' content? Also Python. The UI tests for those websites? Playwright and Python. The code to rebuild the production site when new changes are pushed? Python.
I have a script to start my projects. It puts me in the right directory, sets up the environment, launches the IDE, etc.
I have a lot of small one-time scripts to export, transform and import data.
Basically, if it's more than a few lines of bash, I'll use Python. It's a wonderful language.
- jimmyechan 3y agoWoa! That's quite a bit. What do you use for your static site generator? Or is a custom tool you built for yourself? Curious, how do you organize or keep track of all your scripts? I assume you have them easily accessible so you can trigger them quickly?
- nicbou 3y agoIt’s my own SSG: https://github.com/nicbou/ursus/ https://github.com/nicbou/ursus/. I edit text for a living so the effort was worth it. As for organisation, they are usually in the ./scripts directory of their respective projects. Generic ones are in my dotfiles: https://github.com/nicbou/dotfiles https://github.com/nicbou/dotfiles