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 system. 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


Let’s say you have a product model and wants to insert a picture on it. Unfortunately Rail’s Active Record doesn’t provides a native way to work with binary fields. We can easily add a string field, for example, but we can’t add a file field. Dragonfly is a gem that extends ActiveRecord, allowing to have… 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


UPDATED: on Ubuntu 15 (.04 and .10), the default PHP version is the 5.6. On Ubuntu 14, now the default PHP version is the 5.5. Q: When will PHP 5.6 be in the official Canonical repos? A: Probably never. This question was answered by Marc Deslauriers, security engineer at Canonical, and make sense since Canonical point of… Read More