Please Remind Me Every 15 Minutes!

Quick and Dirty in irb.

At where I stay during my internship, I have a TV in my room.

So instead of buying a pair of stereo speakers, I bought a stereo–composite audio adapter, and plugged my MacBook into the TV.

However, the TV sounds terrible. Fortunately, you can build your own system-wide equalizer on Mac OS X, using Soundflower and AU Lab, both for free. It now sounds awesome.

But there’s still a problem.

I only plugged in the audio cable, so there’s no video. Therefore, the TV thinks that it is not in use and shuts itself down after 15 minutes, and I have to turn it back on every time.

This can be prevented by pressing a button on the remote. That resets the timer, so I have to press the button every 15 minutes.

But I usually forget and suddenly the sound stopped. How annoying.

With Ruby with me, I just fired up irb and…

Problem solved!

Code, Applied to Life

Stories about how coding can be applied to solve everyday…

Thai Pangsakulyanont

Written by

(@dtinth) A software engineer and frontend enthusiast. A Christian. A JavaScript musician. A Ruby and Vim lover.

Code, Applied to Life

Stories about how coding can be applied to solve everyday life problems. (Formerly Ruby Everyday).

Thai Pangsakulyanont

Written by

(@dtinth) A software engineer and frontend enthusiast. A Christian. A JavaScript musician. A Ruby and Vim lover.

Code, Applied to Life

Stories about how coding can be applied to solve everyday life problems. (Formerly Ruby Everyday).

Welcome to a place where words matter. On Medium, smart voices and original ideas take center stage - with no ads in sight. Watch
Follow all the topics you care about, and we’ll deliver the best stories for you to your homepage and inbox. Explore
Get unlimited access to the best stories on Medium — and support writers while you’re at it. Just $5/month. Upgrade

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store