Update Node.js using the terminal

These are just the steps to update Node.js by using your terminal: sudo npm cache clean -f sudo npm install -g n The n package represents a Node helper, and running this command upgrades node to the latest stable version. sudo n stable Just to confirm we can check our version: node -v // Output…

Uncommon Sense by Derek Sivers

A great talk about how a business can evolve, from being just an idea to become a millionaire business. If you have an amazing idea but no execution, it’s not worth anything. You haven’t done anything. It’s worthless. If you had a good idea and you’ve actually gone and made it happen in a pretty…

Inventing on Principle by Bret Victor

If you are a person who believes web development is not only solving problems in the best way but creating new ways of thinking while having compassion for others, then this talk is for you; 54 minutes about a different way to see why ideas are one of most important things humans can create.

Logging detailed error messages when running Gulp.js tasks

Gulp.js has become one of the most used task managers nowadays. But sometimes, when running several tasks with many pipes( ) on them, it is very difficult to understand what’s wrong or the actual reason why our task is not working as expected. For others like me, who like to have a better error description, here is what needed to do: Install Gulp Util npm…

Could not open input file: composer.phar error in Symfony 2. SOLVED.

This is a common issue that is related to bad installation of our favorite PHP package manager: Composer. Let’s fix it: Open your terminal and run following comand in order to get the latest version of Composer: curl -sS https://getcomposer.org/installer | php I recommend you to move the composer.phar file to a global “bin” directory,…

Getting started with Gulp.js from scratch

Let’s talk and think… So, you are a front-end developer, right? Don’t you think we should optimize our repetitive tasks as much as possible? Well, I have good news for you; nowadays we have a vast amount of tools that make our life easier and happier… you don’t believe me, right? Continue reading then… When…