• Home
  • About
Blue Orange Green Pink Purple

Improving VLC Player load times of .MKV files on Snow Leopard

Ever notice that MKV files load significantly slower than before in VLC on Mac OS X 10.6 (Snow Leopard)? I did, and for someone who has a lot of media files encoded in the format, it’s almost unusable to have to wait a minute while seeing the CPU on one core maxed out. The version of VLC player I have is 1.0.3, the latest as of this post. However, the issue seems to be around since at least 1.0.1 as discussed on this page:

Read More 1 Comment   |   Posted by Kang
Aug 02

Updating Your Ruby on Rails Application Custom Environment via Passenger Pane

If you are working with a relatively up-to-date Ruby on Rails stack, chances are you would be using Phusion Passenger to deploy your application. Although passenger makes it extremely easy to deploy and restart your app, it also added a bit more complication when managing the Apache configuration files. The Passenger Pane (for Mac only) helped alleviate this problem by providing a nice little visual panel in your Mac’s Preference Pane:

Read More 5 Comments   |   Posted by Kang
Jul 14

Enhanced Open Terminal Here, for Leopard at Maururu

Ever find it annoying that you can’t go from the terminal to the same directory in the finder or vice versa on the Mac? So am I! It just seems terribly inefficient for power users who are proficient with the terminal to have to open up the terminal app and then manually cd into the current directory. Aside from just a waste of time and extra keystrokes (yes, tab to auto-complete does help a lot), it’s not easy to remember the exact path to the current directory. On top of that, OS X likes to make it harder for regular users to access root folders and it becomes a pain to use. I finally gave up and googled for solutions to go from finder to terminal today and found a great time-saver: Enhanced Open Terminal Here.

Read More 3 Comments   |   Posted by Kang
Jul 09

Inserting new line in echo command

Out of curiosity and the perfectionist in me, I “had” to print a line of text in the output inside a BASH shell script. I didn’t really want to split them into multiple echo statements since it’s a waste of space and actually harder to read for me. The first thing I tried was:

> echo “Line1\nLine2″ # Line1\nLine2

That clearly didn’t work out so well… so I thought maybe my Mac (OS X 10.5.7) likes ‘\r\n’ more:

Read More 0 Comments   |   Posted by Kang
Jul 02

One Giant Robot After Another

Changed from ‘Code Monkey’ to ‘One Giant Robot After Another’! Where did I get the inspiration from? Well, I initially really liked ThoughtBot’s blog, Giant Robot Smashing Into Other Giant Robots, but copying them would be boring and probably not make those guys very happy. However, I recently came across some articles about a couple of giant robots being built in Japan on Gizmodo: a giant Gundam (done building) and Tetsujin (under construction). For the lack of better naming schemes, I just took the sequential order of how the robots are built as the new name, literally ‘One Giant Robot After Another’.

Read More 0 Comments   |   Posted by Kang
Jun 17

Manually Downgrading iPhone OS

If for some reason you’ve ran into a situation where you want to downgrade your iPhone’s OS but iTunes just won’t comply with your command, I’ve found that there’s an easy way to force the action:

  1. Connect your iPhone to the computer and have iTunes opened
  2. Hold down both the power and home buttons until the iPhone disappeared from the devices list in iTunes
  3. Release the power button but continue to hold down the home button until iTunes detects there’s a device in recovery mode
  4. Hold down shift on Windows or option key on the Mac while pressing Restore in the iPhone screen in iTunes to initiate a restore to the desired version of firmware
Read More 0 Comments   |   Posted by Kang
Jun 16

Live!

Finally finished setting up my site and basic wordpress installation! It took me awhile just to settle on the combination of hosting and domain registrar. In the end, I decided to go with Site5.com for the hosting and GoDaddy for domain. Site5 is currently (and has been) promoting 25% discount but it’s not hard to find the 26% discount if you look just a little bit harder. The promotion code I used to get the 26% discount was ‘BPJOBBRD’.

So what’s my impression of Site5 so far? Not bad at all actually! I was initially a little suspicious of their offer of unlimited bandwidth and storage as it’s usually a recipe for disaster as hosting companies will try to overcrowd their server with clients just to make up for the margin. However, the highest load I’ve seen so far on my server is a mere 1.5, very respectable considering they claim to have ‘cat /proc/cpuinfo’ reveals they have 8 cores on the machine.

[~]# uptime
02:23:45 up 35 days, 16:57,  1 user,  load average: 0.75, 0.74, 0.80

Read More 0 Comments   |   Posted by Kang
1 of 1

One Giant Robot After Another

  • Recent Ramblings
    • Improving VLC Player load times of .MKV files on Snow Leopard
    • Updating Your Ruby on Rails Application Custom Environment via Passenger Pane
    • Enhanced Open Terminal Here, for Leopard at Maururu
    • Inserting new line in echo command
    • One Giant Robot After Another
  • What I'm Doing...
    • @tjhanley probably all of CMG if at all in reply to tjhanley 3 hrs ago
    • @tjhanley hr mentioned building 1 too dense, CMG might move to 2 in reply to tjhanley 3 hrs ago
    • @tjhanley we might be moving to another buildig at some point 5 hrs ago
    • More updates...

    Powered by Twitter Tools

  • Calendar
    March 2010
    M T W T F S S
    « Nov    
    1234567
    891011121314
    15161718192021
    22232425262728
    293031  
  • Tags
    apple applications featured hosting iPhone Mac OS X Passenger performance productivity review Ruby on Rails shell scripting Snow Leopard technical tips Tutorial
  • Archives
    • November 2009
    • August 2009
    • July 2009
    • June 2009
  • Search






  • Home
  • About

© Copyright One Giant Robot After Another. All rights reserved.
Designed by FTL Wordpress Themes brought to you by Smashing Magazine

Back to Top