I usually rewrite React.js components between function and class. This is tedious and at the same time a common task. Therefore I wrote a program that takes a javascript code as an input, and returns a converted code. It does so by parsing the input and walking the AST.
I have automated a couple of metrics that I like to keep an eye on.
Credit card expenditure: since my old-school bank has no API of sort, I trigger via Tasker a daily sms to a bank number that replies with the amount left before I get to my CC limit. I then parse the sms (Tasker again, using JS) and display the amount that I have spent so far on the home of my mobile. This simple warning has dramatically helped me to keep my CC expenditure in check. Goodreads yearly target: using a combination of Tasker, Goodreads API and some JS, I display the amount of pages I have to read each day in order to reach my yearly target of books (assuming an average length of a book of 250 pages).
After starting to do groceries via an online supermarket that delivers to our home, I found it a hassle to add all ingredients one by one every time.
So I "reverse engineered" the supermarket app API via a proxy, and made a tool to order recipes. When ordering a recipe, all ingredients are added to the cart. We use the tool for almost one year and it saved us a lot of time.
More info + source code (Elixir, ReactJS): https://adrian-philipp.com/post/learning-elixir-second-side-...
Comments (731) 147 threads
Earlier commentshttps://github.com/forrestbrazeal/invoiceless
Credit card expenditure: since my old-school bank has no API of sort, I trigger via Tasker a daily sms to a bank number that replies with the amount left before I get to my CC limit. I then parse the sms (Tasker again, using JS) and display the amount that I have spent so far on the home of my mobile. This simple warning has dramatically helped me to keep my CC expenditure in check.
Goodreads yearly target: using a combination of Tasker, Goodreads API and some JS, I display the amount of pages I have to read each day in order to reach my yearly target of books (assuming an average length of a book of 250 pages).
All comments shown.
Couldn't load more comments. Check your connection and try again.