1. Handy script to get time difference in Javascript

    When I was writing my fabricator.js library, I had to write some unit tests where I was thinking about measuring the time between two-time points. It's a quite easy task, but when it comes to calculating every time in your mind and convert from milliseconds to seconds and then…

    on javascript time difference time milliseconds minutes hours convert

  2. Javascript linting in "hot reload" mode

    When I started to work with Javascript, I found such thing as Javascript lint. it's quite useful since it allows for teams to use same code standards and agreements. That's why I decided to add linting to my project as well. For that I had to : Install Eslint npm install…

    on javascript eslint watch eslint-watch hot-reload

  3. Big-O Complexity cool cheat sheet

    Recently I signed up for Algorithms: Design and Analysis course. Most of the time Test Automation doesn't require to know which algorithm sorts best, but I still believe that knowing that a good programmer is not the one who knows a lot of languages, but the one knows algorithms well…

    on algorithm complexity O(n) O(1) cheatsheet

  4. Handy converting of data in CSV into JSON

    Currently i'm working on my fabricator.js library , which is basically a javascript analog of my already existing scala fabricator library. The reason i'm doing this is that i would like to use my fake data generator in node cli tool and also i would like to make a Chrome…

    on python json csv covert

  5. Pretty printing of JSON in javascript

    I like JSON very much. It's easy to read, easy to work with, but when you get a big structure, it's handy to have some quick way for print it out in a nice readable format. Before i was using Sublime Text editor with PrettyJson plugin. But now i started…

    on json javascript prettyprint

  6. Nice sample table of new features in ECMAScript 6

    Just yesterday found by accident this nice page where described in a small and clear examples new features from ES6. Pretty handy to have this table close to peak from time to time, if you forget something. Since we have Babel, it should be super fun and easy to write…

    on javascript es6 new_features cheatsheet