Note: Everything I’ve assumed was wrong, I am keeping track of things as I discover them via the medium post: https://medium.com/@akras14/omg-npm-clone-that-finally-makes-sense-3478588879 I’ll update this post when the dust settles 🙂 Last week I came across a yet another NPM clone, called pnpm, but unlike other clones (cough Yarn) this one is actually interesting! What so […]
Archives for April 2017
Running Any Linux Browser in (almost) Headless Mode
I just saw an articled on Hacker News announcing that Chrome 59 is going to have cross-platform headless support. A lot of people are excited by this announcement, mainly because it will allow them to move away from PhantomJS – a buggy headless browser currently used as a de-facto solution to run unit tests and […]
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 […]
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 […]
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 […]
64% of Developers are still using Angular 1 vs Angular 2+
Two years ago I wrote a blog post on Angular Performance, that remains the most popular post on this site. Even two years ago it seemed like Angular 1 was on it’s way out, so I was surprise to see my Angular 1 post still getting so much traffic. I conducted a poll on Twitter, […]