Recent Posts

Kill All Spring Processes

1 minute read

If you’re an active Rails user in multiple projects like me, you’ll probably would’ve noticed that at some point, you forgot to turn off spring in those proj...

Testing jQuery animations in Jasmine

less than 1 minute read

The simplest, and fastest way is to simply ignore the animations with setting jQuery.fx.off = true and checking for whatever the final result is:

Use HTML/CSS/JS plugins for VueJS files

less than 1 minute read

Often vim plugins and configs activate for a certain filetype, so set your filetype in the current buffer. For example, I want currently want to use html hig...

Testing Subdomains in Cabybara

less than 1 minute read

TL;DR: Change Capybara.app_host in a setup and teardown mechanism in your favorite testing framework. You can also create a method that temporarily changes t...

Download files from flaky websites using wget

less than 1 minute read

I hate slow donwloads. Moreso if I’m download big files (e.g. copying over a huge database from AWS S3. It hasn’t occurred to me until recently that I can us...

Profiling Vim

1 minute read

I’ve been using a pretty popular dotfile repo, YADR, for quite some time now. I’ve used it for so long that I’ve even made contributions to the project here ...

How to Say “No” When It Matters

1 minute read

Yesterday, a cousin of mine requested me to be the emcee of the renewal of their vows this coming December. I used to say yes to these type of requests due t...

Pomo.sh - Stupidly Simple Pomodoro on macOS

1 minute read

One day, I was busy at work and found myself working on a macOS workstation that doesn’t have any pomodoro app. While looking for apps online, an interesting...

Create your own rake console

less than 1 minute read

I’ve been working on small ruby gems lately of the same theme: ruby wrappers to different kinds of interfaces, be it a RESTful API, SOAP API, or even shell c...

Fix Slow Terminal Loading Time

1 minute read

Occasionally, my terminal becomes slow because I’m running out of memory. What I usually do close the most memory consuming tasks from the Mac OS X’s Activit...

Faster Rails Boot Times (and Tests)

2 minute read

I’ve been in a number of rails projects, but the one I’m currently handling right now has about 200+ models — the biggest rails project I’ve seen so far.

Reverting Bad Pull Requests in GitHub

less than 1 minute read

Recently, I’ve accidentally merged a bad pull request in GitHub. What I had to do was git revert that merge commit and then work on a new branch that starts ...

Web Apps vs. Websites

less than 1 minute read

Oftentimes, people ask me what I do for a living. And when they do, I always try to convey it in the simplest, least alienating way possible. So far, my stan...

Remote Pair Programming

2 minute read

Last Thursday night, I had my first attempt at remote pair programming with Ramon (@rtayag), a colleague of mine. I didn’t have a particular project to work ...

First Post!

1 minute read

Hello! If you’re reading this, it’s very likely that I don’t have to introduce myself, but I’m going to do that anyway just to get done with the formalities....