Kill All Spring Processes
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...
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...
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:
TL;DR: You can use renice. For each process named process{n}, you can write something like
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...
Newsflash: Vitaly Slobodin, the PhantomJS maintainer, is stepping down, since Google Chrome version 59 will ship with its own headless option. This means you...
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...
TL;DR: set BUNDLER_EDITOR, GEM_EDITOR, EDITOR, VISUAL to your favorite text editor, i.e.:
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...
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 ...
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...
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...
Legacy ruby projects are often littered with code that just doesn’t follow any kind of code convention. Each developer that had a hand in a certain codebase ...
rake console
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...
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...
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.
If you’re a rails developer, you’ve probably seen code that looks like this:
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 ...
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...
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 ...
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....