Daniele Esposti's Blog

Restricting npm semver rules

The npm package manager uses semver to declare the version of the external dependancies of your package in a more flexible way. Unfortunately the current version of npm by default uses the caret ^ as a default prefix for package’s versions which means the required package must have the same...


HTML augmentation with React

These days is all about React. Most of the people are leaving the bandwagon of AngularJS in favour of the React’s bandwagon for a lot of different technical and not-technical reasons (#TROLLING they switch because is the new JavaScript Toy of the Year). But today and here I’ll not talk...


Customised Git flow

At my team in Plentific we needed a workflow for developing, test and deploying our projects, so I wrote a customised Git workflow to be as simple as possible but to be able to cover all our needs. The document is available on my Github account ready to be forked....


Hide JavaScript code into images

In this post I’m going to explain how it’s possible to hide JavaScript code into a PNG image and executing it into the browser without leaving any trace in the HTML document. This kind of hiding technique can be used to load JavaScript code into the browser bypassing the common...


Out of Memory on AWS instance

Do you have a micro instance on Amazon Web Services and you run out of RAM and you don’t want to upgrade to a small one? Or do you need just extra RAM to compile Numpy, Scipy and Pandas only once? Here a simple and dirty solution. AWS instances comes...