• Home
  • About
Blue Orange Green Pink Purple

Posts Tagged ‘featured’

You can use the search form below to go through the content and find a specific post or page:

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:

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’.

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
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

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...
    • Not looking forward to weeks where I can see most of the time will be in meetings and it's only Monday 2010-08-16
    • finally broke the strings on my game racquet http://yfrog.com/0p8fxnj 2010-08-14
    • bart stopped again due to "unauthorized person on the trackway"... I am really not having much luck with bart every time I come to downtown 2010-08-14
    • More updates...
  • Calendar
    February 2012
    M T W T F S S
    « Nov    
     12345
    6789101112
    13141516171819
    20212223242526
    272829  
  • 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