#Rust pop-quiz answer to configuring reading configuration files by git branches.
I've inlined a branch-parameter into reading REST resources. This came about whilst doing work on pivot-trading.
Fun fact!
Did you know that you – YES, YOU! – can make your git repository data a (GET) REST endpoint?IT'S TRUE! HERE'S HOW IS ONE EASY STEP!Your CSV, TSV, or, really, any data on github has a 'raw'-counterpart that can be queried, just like any GET REST endpoint.
Caveat
These raw-representations are NOT updated instantly on a git push but there is a timed-delay of 5 minutes (300 seconds), so: if you do a git push and don't see the updates in the raw data, DON'T PANIC! This is not a bug, but a feature, from github.
#cryptocurrency pop-answer to the pop-quiz about automating archiving 100s of files with git.
You may not know this, but 'make' is powerful.
By making git-archiving a procedure in the Makefile,
I'm able to archive months of price-history with one make-command.
#Cryptocurrency pop-quiz
My system, ./cmc_filter receives a JSON file,
along with a configuration file of tracked coin( names)s, and spits out price-data on the tracked coins.
This system runs off of Makefile.