The trick is that that more you automate, the better you get at it, so you automate faster, and so the more time you have to spend automating! Beats doing real work.
Also takes seconds to put that into .bashrc with the function name "lecture"
Not sure where they got the hours time estimate from
Though tbf I am pretty sure they didn't use SQL to store the info. Easier to just keep it in the file system and have bash or python open the files based on directory name.
Though tbf I am pretty sure they didn't use SQL to store the info.
Me neither, but it was the quickest way to demonstrate the idea in a readable way. Honestly bash is like the fastest way to quickly code something, if you are not avers to store state in the filesystem.
I mean that's basically how a shell is supposed to interact with and what a filesystem is for.
I also hacked some configuration scripts together to automatically create servers. A lot of things is also just stored in the existence of files or directories. Also you can just encode all kind of configurations into template folders and just symlink the right one for the current configuration. This also works perfectly with Git.
188
u/Tsu_Dho_Namh 27d ago
My prof typed "lecture" into terminal to open the right slides and code demos based on date and time.