There are many use cases for converting JSON to a dot notation. For example, my current company used Hue to query our log data. Our logs are stored in JSON, and Hue queries expect a dot notation. For example, this JSON file Will look like this, when converted to dot notation: Note, I am starting […]
Free Tools for Front End Web Developers
Bellow is a list of tools that I find helpful as a web developer. Mozilla Developer Network Mozilla Developer Network – MDN is a great HTML/CSS/JavaScript reference. It is sponsored by Mozilla a non-profit behind Firefox, but anyone is welcome to contribute the content. W3schools – Beginner friendly tutorial site. I learned my first HTML, […]
Drama with Visual Studio Code Icon
Two weeks ago Microsoft released a new version of Visual Studio Code (VSCode) which updated their default icon from a blue infinity sign, to something that looks a little strange and very orange. Most people who do not use VSCode will probably fail to see what the big deal is. If anything, it looks much […]
Restoring Original Visual Studio Code Icon on MacOS
A lot of people don’t like the New Visual Studio Code (aka VS Code or just Code) icon and they prefer the old icon better. I am one of these people. I was inspired by this comment to bring the old icon back. If you want to do the same on MacOS, you can:Note: For […]
Copy any API call as CURL request with Chrome Developer Tools
Chrome Developer Tools have a very useful option that allows to copy any API request as a CURL command. This tool can be used to test APIs without having to rely on the Browser, get access to unofficial APIs, scrape data and many other useful scenarios. Please allow me to demonstrate. In this video, I […]
How to install old version of SBT using Homebrew
I’ve recently ran into issue where our projects were expecting to run with SBT version 0.13.12, but the only version that was installing with home-brew via brew install sbt was 1.0.1. Global Setting I’ve Googled and realized that I can install older version with brew install sbt@0.13 but this installed version 0.13.16 which was still […]
Debugging Xvfb Server with VNC
Recently I had to debug an issue with Xvfb server. It was hard to debug, because I was not able to “see” what was going on. I was able to reproduce and fix one of the issues by mimicking the build server in a Vagrant box. When I tried the fix on the build server, […]
Using Code Snippets in Chrome Developer Tools
Sources view in Chrome Developer Tools has a code snippets feature, kind of like a built-in text editor, that allows to write, debug, save and re-use code snippets. Creating a code snippet To get to code snippets: Open the Developer Tools Navigate to Sources at the top menu Select Snippets in the left menu (see […]
Compile Node.js to Native Binaries
Guillermo Rauch (Socket.io, Mangoose.js, Hyper.js, Now) is the guy to watch, and last night he did not disappoint. The following tweet announced pkg – a simple tool to generate a native executable file from Node.js code targeting Mac, Linux, and Windows. Introducing `pkg` Single command binary compilation for Node.js pic.twitter.com/Dbe9L1gb0x — ZEIT (@zeithq) April 29, […]
Understanding differences between npm, yarn and pnpm
Introduction I am not an expert on either of the package managers. Contrary, until few days ago I didn’t realize that npm used a local cache. Unaware, I wrote an article titled OMG — NPM clone that finally makes sense and was called out on some of my false assumptions. That feedback forced me to take a […]