mercurial with ssh setup on windows

May 21, 2009

Mercurial is awesome. Mercurial over SSH is even awesomer. Here’s a way to set it up on Windows using PuTTY.

(more…)

4

making seamless repeating backgrounds using photoshop and cocos2d iPhone

May 8, 2009

I received a lot of inquiries about how the seamless repeating backgrounds were made for my Ninja Jumper iPhone game. So I figured it would be easier to share it here instead of typing a whole bunch of emails…

(more…)

19

add mercurial version info to xcode project

April 21, 2009

I’ll describe one way of adding mercurial version information automatically to an xcode project.

(more…)

1

hide iPhone status bar

March 9, 2009

To hide the status bar in your iPhone app, add the UIStatusBarHidden Boolean key to the Info.plist file and set it’s value to YES.

(more…)

3

creating and drawing on a new UIImage

February 23, 2009

Someone asked me how to create a new image and draw another UIImage on it. Here’s the public answer, so everyone can benefit 😉

(more…)

3

saving jpeg, tiff and png images in cocoa

February 22, 2009

The documentation about saving images from CGImages in cocoa is pretty vague to say the least. Here are some code snippets for saving jpeg, tiff and png files.

(more…)

4

playing and converting .mts files on vista64

February 5, 2009

You want to play and convert .mts files on Vista64 for free? Here’s how, using Windows Media Player and Windows Media Encoder. I’ll also show you how to batch encode multiple files.

Not only is this totally free, but the quality is amazing. Truly.

It will take a couple minutes to setup, but it’s totally worth it.

(more…)

6

ssh and scp without password

January 31, 2009

If you have to login to your server using ssh, typing the password every time gets annoying pretty fast. You also need to get around the password check for automating scp.

It’s very easy to setup ssh so that it works without typing in your password. It works by creating a DSA key on your machine and sending the public portion of it to the server. If the server has your public key, it will allow you to login without a password.

(more…)

2

free iphone app version from the same xcode project

January 27, 2009

There are more than 15,000 apps in the app store and hundreds are added daily. You need a way to show off your awesome creation to the millions of potential buyers.

One of the most effective marketing tools for small fish is releasing a free version of the app. To do that, you could copy the whole project, but then you would be duplicating code, maintaining it in two places and what if there’s an update?

In this post I’ll show you a better way: building two versions of your app from the same xcode project using targets and some other magic. Source code for the sample project is available here: twoForOne.

(more…)

25

search on vista quickly from start

January 21, 2009

One of the coolest features of Vista is the ability to search right from the start menu. You can quickly find programs and documents (similar to the spotlight search on the mac).

(more…)

0