Optimizing your Webpack builds

Webpack is the new must-have tool for Frontend developers. It offers a lot of common and complex features through a single configuration file. However, it's not trivial to create and manage that file. The build process can be really slow if we don't optimizing it.... Read.more

Create a secrets.yml file dynamically with bash

Every Rails application needs its own secrets.yml file to work. When you distribute an application, you have two options to deal with this file: To keep it in the repository and share the development and test key with other users. If you share your... Read.more

Assignments in conditionals

Assignments in conditionals In Ruby, we can assign a value to a variable in a conditional. For example: if v = foo puts v end When we write this code, Rubocop show us a warning: Assignment in condition - you probably meant to use ==. This is... Read.more

ReactJS, V of MVC

A lot of companies are using ReactJS, an Open Source project of Facebook. As project's page says: ReactJS, a javascript library for building user interfaces. Atom, Airbnb, Facebook, Atlassian, Codeacademy, Dropbox, Docker... and the list doesn't finish. But, what is the secret of ReactJS? It... Read.more

Installing troubled gems in Mac OS X

Sometimes, installing a gem in Mac OS can be a hard work. I fought with dependencies and compilers, and those are the solutions I found: Nokogiri brew install libxml2 libxslt libiconv brew link libxml2 libxslt libiconv xcode-select --install gem install nokogiri -- --use-system-libraries Libv8 gem... Read.more