Here I’ll show in simple steps how to create a file system (CowFS) with Ruby and FUSE. In 5 minutes you will be able to create your own file systems. Commands

Basic code

Read More


Use JS2015 (former ES6) on regular web pages with Babel and Browserfy with these 5 simple steps. Our files:

Read More


This method works with: Rails apps (your portable app will be a webserver); Scripts with gems; Multiple source file scripts; Simple, single source file scripts; The final app is a single executable file that can run on systems without a ruby interpreter installed. UPDATE: I developed a gem that automates this process. Check it out:… Read More


So you have an Angular application running on a domain (http://myfabulousapp.com) and the Rails API running on another domain (http://api.myfabulousapp.com). It’s all working well, but now you want to implement authentication using Devise. How do you do this?… Read More


Virtually every single site that I had made have a form that asks for the user’s city and state. It’s a simple thing, omnipresent in almost any website, but oddly there’s no library to deal with that. Maybe its a regional need, specific to my country, IDK, I just know that is very usual to… Read More


CodeFly is a gem that I made, that allows you to do parallel / asynchronous programming in Rails. This is how a classic code looks like:

This is how a flied code looks like:

The first code will take 2.5 sec, but the second will take only 1.5, almost the twice of speed.… Read More


Back in my PHP days, I knew there was 2 main ways to serve a PHP site: Apache + mod_php Apache + FastCGI * ok, actually is any webserver with FastCGI support on this last one (nginx, lighttpd, cherokee, and so on). When I started in Rails, I found strange that no one recommends to… Read More


WordPress is the “de facto” standard when talking about blogs. Furthermore, WP is not restricted to the blog universe – WP is largely used as a CMS to make non-blog websites. 23% of the whole internet are build with WordPress. Sites like Time, TechCrunch, The New Yorker, Fortune, Variety, Sony, Reuters, GM, Best Buy, and so on. And more important: WP was… Read More