Convert video to images via command line

I often find myself needing to convert video to a series of images. It’s a great way to look through the content to find some details or identify screenshots that are worth keeping. For example I used this method to look through all talks given at Chrome Dev Summit to supplement my notes. Another use … Read more

Save Ammonite (Scala REPL) History to File

I use Ammonite and ipython like REPL for Scala. I find it handy to save history to file, so here is how to do it in Ammonite. Ammonite exposes a global object called repl, which has a method called history. The code above converts history to a new line separated string and writes it to … Read more

Write or Paste Multi-Line Code in Scala REPL

I love Python and ipython, so I often crave similar experience when working with Scala. Scala already has a built in REPL which is a huge plus, however, I wasn’t sure how to copy/paste multi-line text. For example, I had a snippet of code saved somewhere that looked as such: This would work fine if … Read more

Private Git Repository on Any Computer

With popularity of Github and many other competing offerings, it’s easy to overlook how simple it is to set up (unlimited) private repos on any network connected computer. For example, I run this blog on a cheap instance of Linode, where $5 a month get’s you 20Gb SSD storage. But you don’t have to pay … Read more

AMP Link Button and Speaking Up

Four month ago I noticed something weird with Google’s Accelerated Mobile Pages (AMP) project and wrote a blog post outlining my concerns. I first submitted the post to Reddit where it was not received well. People told me to “Read the Fucking Manual”. I remember telling my wife that I didn’t understand why people on … Read more

Why Uber May Win After All

Introduction Three days ago I wrote about my interview at Uber. I did not think of Uber as a great place to work. People that I’ve met seemed young, smart and overworked to the point of exhaustion. From my conversation with recruiter I took away that Uber had no problem being the lowest bidder and … Read more

My Interview at Uber

A little less than a year ago I had the “pleasure” to interview at Uber. I didn’t know much about the company at the time, other than that they were big. I was looking for work already and Uber’s recruiter reached out to me, so I figured to give it a shot. Up to this … Read more

How to Copy One File from Vagrant Virtual Machine to Local Host

Step 1. Find what port Vagrant is connected to by running vagrant port The output Will look as follow: Indicating that Vagrant is running on port 2200 Step 2. Get the absolute path for the file that you want to copy i.e. /vagrant/some-file.txt You can get it by ssh’ing into the machine and locating the … Read more