Category: Uncategorized
-
IPython Notebooks now rendered on Github
As of today, Github renders IPython notebooks! You can see that in action here and here.
-
PathPicker
Just discovered a delightfully useful tool for all of us, Linux shell aficionados: PathPicker. It does essentially what is says on the tin: allows you to interactively and easily pick a file/path from a (possibly, very) long list of paths output on stdout by the command it gets piped from (see the screenshot/video to have…
-
Pimp Up my Ubuntu
I recently splurged on a 4K HD LG monitor for my Ubuntu dev box; I mostly use it as a dev station, the higher pixel density (this is a 31″ monitor) allows me to keep several IDE, browser and editors screens open at the same time and it’s been a great dev environment. However, the stock Ubuntu distro…
-
Being the Village Idiot
Exactly a month ago I walked through the doors of Mesosphere’s SF office (no longer! we’re moving this weekend!) having spent the past (Caltrain-commuting) hour wondering whether I’d done possibly the stupidest choice in my career. There were plenty of reasons to give fuel to that nagging doubt: I’d just turned down a Manager job…
-
Automating the creation of a MongoDB ReplicaSet
I have revisited an old Github Gist of mine, adding some bash nicety to allow the user to specify the number of servers and the starting port range. This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals…
-
TextMate (sane) follow hyperlink
If you use TextMate on Mac, you have certainly come to appreciate its many useful features, not least its ability to “understand” the syntax of your text and adapt accordingly. I mostly use it to edit RST (ReStructured Text) markup text files; one nice feature of TextMate Hyperlink Helper bundle is that it automatically recognizes…
-
Consider void Futures for One-Shot Event Communication
Recently, Scott Meyers, the author of “Effective Modern C++” book gave a webinar presentation titled Consider void Futures for One‑Shot Event Communication, which addressed the issue of how to enable two threads to communicate to each other when a particular task A was completed, but which do not require any shared state. The solution is to use a…
-
Spring Boot template project
Using Spring Boot one can quickly create a simple REST server with sophisticated data access (using Spring Data repositories) as well as a well-defined REST API (using Spring Data Rest). However, getting it going takes a lot of initial effort and there are a few gotchas that need to be taken into account (for example…
-
MongoDays SF 2014
MongoDB 2.8 is about to exit from beta and 3.0 is round the corner (probably early 2015) with a lot of exciting new features. My (raw and unedited) notes from some of the technical session are available here, I will add more as I discover new things.
-
Authenticating via LaunchKey
I recently came across LaunchKey and decided to try out their authentication API – the `gist` presented here is an example Flask (python) server that demonstrates how to authenticate a user using their APIs and return back an application-specific API KEY that can then subsequently be used to sign (and therefore authenticate) all subsequent requests.…