Formula 1 Singapore GP 2009
Yes, it starts today. Lots of tourists around and of course, lots of F1 merchandise.
Here are some of my pics: http://jer0me.posterous.com/tag/singaporegp2009
Terminal: Adium Message Style
If you’re using Adium for Mac, I’ve created a Message Style Xtra, it’s called Terminal and inspired by Terminal.app
You can download it here: http://bit.ly/pJgaO
Using Git – fast version control system
I’ve been playing with git recently, so far it’s good coz you don’t need a central repo unlike svn and cvs. Now, if you want to share, collaborate, pull, etc. there’s GitHub. Ok enough talking, here’s what I did to get everything working.
# Install Git
# Initial setup
$ git config --global user.name "Jerome Basa"
$ git config --global user.email "email@example.com"
# Create project
$ mkdir my_project
$ cd my_project
$ git init
$ touch README
$ git add README
$ git commit -m 'first commit'
Pushing to GitHub
Once you have your GitHub account, you need to generate your ssh keys. Then you need to create your project e.g. my_project. For initial push, do the following:
$ git remote add origin git@github.com:USERNAME/PROJECTNAME.git
$ git push origin master
Here’s my GitHub profile: http://github.com/jldbasa, for more information, visit http://git-scm.com/
Your first Objective C program.
Posted by jerome in Objective C on September 2, 2009
Fire-up “Terminal” and start typing:
$ vim hello_world.m
#import
int main (int argc, const char * argv[]) {
NSAutoreleasePool * pool = [[NSAutoreleasePool alloc] init];
NSLog(@"Hello world!");
[pool drain];
return 0;
}
$ gcc -framework Foundation hello_world.m -o hello_world # Compile hello_world.m and call it hello_world
$ ./hello_world #Execute
2009-09-02 11:31:46.816 hello_world[597:903] Hello world!
Yamaha FG750S
I’ve got my early birthday and xmas gift. Yep, early… Hehehe.. It’s a Yamaha FG750S guitar. Thanks to my girlfriend.
Why do you need an Apple Care?
I know Apple Care is expensive (I paid $400) but I think it’s worth it as it will extend your warranty up to 3 years. It’s a gamble you gonna play after you purchase a Mac.
After 1 year and 9 months, my MBP failed. The screen won’t turn-on but I can login remotely. I went to the service centre and told them about my problem. After doing some tests, they found problems in the logic board and the optical drive. They told me that they will replace those parts free of charge since my MBP is still under extended warranty. I did a search for prices of the said parts and found out that the logic board will cost $500 – $700, and the optical drive is $200, am glad I have Apple Care!
So, to all of you Mac fans, you’d better consider getting it as you really don’t when shit happens. ^^
iPhone Programming: Getting started
To get started, you need to be familiar with the following:
- Objective-C
- Cocoa Touch
Am still familiarizing myself with Cocoa Touch as there are lots of stuff on Foundation framework and UIKit.
Bose® in-ear headphones
Am adding a new gadget in my collection, meet Bose® in-ear headphones. Aside from their nice features, I don’t feel any stress on my ear canals unlike the iPhone earphones.
PS: Thanks to the Lakers ^^
Skills
There are couple of skills that I want to learn. The top 2 are photography and iPhone programming. I’ve decided to do the latter. Let’s see how it goes. ^^;
FreeAgent | Go™ for Mac
It’s PC Show 2009, of course I will not let it pass without buying anything. This time, I bought an external hard drive, Seagate’s FreeAgent | Go™ for Mac.
I bought the 320GB. I think this is enough to carry my important files. Also, this one has Firewire 800. \m/