React on Rails

10 June 2015

I gave a talk in April on how I built an app using React.js with a Ruby on Rails JSON backend. The slides are below. If I were to build the thing over again I’d probably forego rake altogether for npm.

How to add ESLint to a React Project

19 May 2015

This is how I add eslint to a javascript project. It also lints .jsx files.

Cool Mongoose Videos

24 April 2015

Some Mongoose Videos

Cool Mongo Videos

08 April 2015

Some Mongo Videos

SHPE San Francisco Pagina Web Cambio de Imagen

20 February 2015

Estoy feliz de anunciar que el R3DM ha completado su primer proyecto. Esta disponible en

Setting up Postgres for a Rails site

19 February 2015

Here’s a quick solution adding a specific user (aka role) in Postgres.

React.js and Flux link roundup

31 January 2015

Here’s a small collection of links for developers looking to learn.

Scraping links with just your browser

01 January 2015

I recently came across a page with lots of links to txt files. I got frustrated when I wanted to look up something in these files but couldn’t because I’d have to download each one by one.

SHPE San Francisco site makeover

12 December 2014

I’m happy to announce that R3DM’s first project is done! It’s live at

Halloween Update

31 October 2014

This month has been hectic.

Why is it so damn hard to gitignore recursively

30 September 2014

I have a directory where I’m storing all my solution to courses. For many of these solutions I have installed node dependencies. These are stored in a node_modules directory in each folder. To ignore a directory recursively you can use the following .gitignore file

Heroku Ghost.js example configuration

12 September 2014

We’re evaluating Ghost.js for our upcoming project at It’s pretty cool. Explicitly NOT a CMS for node.

Webgrep and monthly update

28 August 2014

So I haven’t been able to work on a solid blog post on any specific technology. I’d like my articles to be a lot like the articles you see on nettuts or sitepoint, just haven’t found tech I’m super passionate about like that this month.

Teaching at Hacker Coding Academy

14 July 2014

This post is secretly only for testing embedding jsfiddles in a webpage. But I might as well give the blog an update. I’m currently teaching part-time at Hacker Coding Academy a 12 week full stack Javascript Vocational school. I’m very excited to work on my communication skills and really learn what I know by passing it on.

Adding unix aliases to OSX

10 June 2014

A part of mastering the commandline is extending it with your own custom commands. On any nix environment you should have access to config files, e.g., ~/.bashrc or ~/.profile. I add my aliases to my ~/.zshrc file. ZSH is pretty dope btw, definitely check it out.

Vim-like mission control shortcut

08 May 2014

So I use iterm2 on my mac. And there’s a shortcut option-spacebar which switches back and forth between a desktop and iterm2 in fullscreen. I do most of my work that way, switching between a browser and code. Recently however I’ve been following some screencasts on youtube which required me to switch between broswer, fullscreen iterm2 and fullscreen youtube player. This was the perfect time to change the mission control shortcut on my mac. Screenshot of my Mission Control settings

AngularJS - UI-Router, Params and Ionic

14 April 2014

I’ve been learning ui-router and I’d like to share some things I’ve learned that took me a while to get. With bits of Ionic Framework.

When brew punks out

26 March 2014

Today I was trying to upgrade all my brew kegs with brew upgrade. But it trips up on libiconv. You might try like I did and call brew with sudo but you get this message

Using github pages environment variables

05 March 2014

This method is now outdated. Github Pages now exposes the site.github namespace

Changing the owner of a heroku app with S3 assets

24 February 2014

I recently had to migrate a Heroku app that was under my personal accounts, Heroku and s3, to another user. But this app also had assets under Amazon Web Services Simple Storage Service which made the process more complicated. You can use something like bucket explorer to manage S3 with a gui. I’ll show you how to do it with aws-cli. I’m assuming you installed it and you’re familiar with the commandline in general.

Bash script for creating a bootable usb stick on OS X

26 January 2014

Many times you have to create a bootable usb stick on a mac. I always follow the instructions at How to create a bootable USB stick on OS X. I created a quick bash script that makes this process faster

Getting started with emberjs and phonegap (work in progress)

30 December 2013

Source code for this project can be found here.

How to disable subtitles in VLC by default

18 September 2013

VLC is my media player of choice. One of my only complaints is that it loads subtitles by default. It’d be really nice if you could have them off by default, with the option of loading them if you need them.