201 karma · joined October 7, 2011
Also, the security of this seems questionable.
There are other, more interesting uses of the yo API: https://medium.com/@YoAppStatus/yo-developers-api-e7f2f0ec5c...
Perhaps it could be adapted to the elasticsearch scenario.
Also, I'm exploring simpler alternatives to oauth2 for command-line acccess to the Google Drive SDK, and your password approach is interesting. My current use case is extracting the HTML from a Google Doc and converting that to LaTeX with a custom template: https://github.com/dergachev/gdocs-export
Also running docker on a non-ubuntu host means you're doing it differently than 95% of people out there, so you'll be on your own when it comes to mysterious errors and the like.
In case you're feeling brave, here's an anecdote from just this morning. My colleague ran into a mysql bug on docker he couldn't figure out. Googling the error messsage + "docker" instantly produced this page http://stackoverflow.com/questions/21026790/cant-delete-mysq... where it was explained that by using ubuntu 13.10 instead of 12.04 would make the problem go away... saving us many hours of further debugging. What good would that advice do if we were using TinyCore Linux?
I made a simple ruby version of this a while back: https://github.com/dergachev/csv2sqlite
Subsequently also I discovered CSVKIT, a python implementation which is probably more robust:
Here's a particularly creative technique I recently came across: https://gist.github.com/dergachev/7916152
pbpaste |sed 's/FIND/REPLACE/g' | pbcopy
Maybe make this into a script you can run from alfred. ;)
Also if you want to have access to pbcopy remotely, try this:
Makes me realize that we need bitcoin-style "hack or bruteforce our encryption schemes and you can legitimately get paid lots of money" bug bounties.
I have to wonder whether this will mean a huge boon to mail scanning services like outboxmail.com
When thought of this way, a lot of linear algebra has geometric interpretations and for me this makes it a lot less abstract.
That being said, OVH is notorious for lack of support, and my experience so far (6 months) suggests that using them is not without risk. So at the moment I'm automating everything so that if an OVH engineer does decide to accidentally pull the plug on my server(s), I can failover in an hour or two.
So "flights to LON" will not bring up a schedule, while "flights from LON" will. And for most of my purposes, I only care about the destinations, not exact times, so this works fine.
Also supports parsing multiple CSV files at once, so you can easily do joins.
I wrote a quick ruby script that converts one or more CSV files into an SQLITE db file, so you can easily query them.