Scripts (without any async or deferred attributes) are fetched and executed immediately before the browser finishes parsing the page. It basically waits for the file to be downloaded and executed before progressing. Async and deffered…

Elasticsearch is described as a 'full text search' and 'analytics engine'. A glossary is a good thing to peruse first, a couple of definitions are given below, to get a grip of the nomenclature. Full…

The DOM is a convention used for interacting with HTML elements - a platform independent model, meaning it is up to the vendor to implement it. HTML nodes are in a tree format, so using…

Try/Catch/Finally I had an interview a while back and one of the questions was to do with try/finally. Given this function: function test () { try { return("hello") } finally { console.log("finally"); } } What gets…

Let's be honest, CSS float layouts were a nightmare. Absolute and relative positioned things we won't say anything about. And display: table just feels really dirty. I mean really dirty. Especially when you started out…

If you haven't done much with IBM Watson I highly recommend taking a look at it. I first really experienced it at the TechCrunch hackathon in London (2015). We got free use of IBM Bluemix…

Get yourself an Arduino or Espruino. Do it. Then get started with the nodebot workshop. And then find a Nodebots meetup near you. Install nodebot workshop globally: npm i -g nodebot-workshop Then start doing some…

I have a massive tool. In fact I have lots of them. That just sounds wrong. Anyway, I'm going to list ones I've found handy. Local CSS Dev Edit and persist changes to your code…

Bish bosh bash. Why do lots of boring tasks when they could be automated? Bash something out instead. Why? A lot of Linux scripts are written in Bash, and an understanding of it helps in…

So you want to use a template library and there are sooo many out there. Simply use this template chooser.…

Lets create an app from the command line. heroku create roppa Thats it. Next though we need to create a git repo and push it to heroku. Lets start with git: git init git add…

DOM event delegation is simply letting a parent element look after his/her kids, leaving the kids alone to play. So instead of adding an event to each of the children, we add an event…

It is super simple to add your own snippets to Atom. You can either create them as a json file, or the default cson format. The snippets file is located in your home directory in…

I've just setup node inspector for debugging. I created basic a test app based on the documentation on nodejitsu.com. I've written an overview here too. Install node inspector globally: npm install node-inspector -g Run…