Tagged with “code”…

DETweetComposeViewController »

DETweetComposeViewController is an iOS 4 compatible version of the TWTweetComposeView controller. Otherwise known as the Tweet Sheet.

3 weeks ago on Monday, January 23rd, 2012 at 3:23 PM / Permalink

“Another World” Code Review »

Another wonderful code review by Fabien Sanglard. (via Andy)

4 weeks ago on Monday, January 16th, 2012 at 12:24 PM / Permalink

Game Center Achievement Notification »

Game Center has a notification window that slides down and informs the GKLocalPlayer that they’ve been authenticated. There is no built-in way to display achievements that the user may have earned during use of your application. The GKAchievementNotification classes are a way to display achievements awarded to the player in the same manner as the authenticated message.

2 months ago on Thursday, December 8th, 2011 at 1:37 AM / Permalink

Form_validation With File for CodeIgniter »

2 months ago on Tuesday, November 29th, 2011 at 6:39 PM / Permalink

Chip Player »

Chip Player is an application written by Dave Dribin that plays chiptune audio files such as NES audio files (NSF and NSFe) and GameBoy audio files (GBS).

3 months ago on Monday, November 14th, 2011 at 11:55 AM / Permalink

Campaign Monitor AJAX Subscribe Form »

3 months ago on Thursday, November 10th, 2011 at 11:15 AM / Permalink

Animate.css »

Animate.css is a bunch of cool, fun, and cross-browser animations for you to use in your projects.

3 months ago on Wednesday, November 9th, 2011 at 10:14 AM / Permalink

Blargg's Audio Libraries »

3 months ago on Tuesday, November 8th, 2011 at 4:00 PM / Permalink

Chip Player »

Chip Player plays chiptune audio files such as NES audio files (NSF and NSFe) and GameBoy audio files (GBS).

3 months ago on Monday, November 7th, 2011 at 4:01 PM / Permalink

MCK/MML Beginners Guide »

3 months ago on Monday, November 7th, 2011 at 2:58 PM / Permalink

Don’t Stop Believin’ (NES Remake in FamiTracker)

3 months ago on Monday, November 7th, 2011 at 11:59 AM | Permalink

How to check if a device is an iPad in iOS 3 and up

BOOL isIPad = NO;
#ifdef UI_USER_INTERFACE_IDIOM
if (UI_USER_INTERFACE_IDIOM() == UIUserInterfaceIdiomPad) {
	isIPad = YES;
}	
#endif

3 months ago on Wednesday, October 19th, 2011 at 9:55 PM / Permalink

Resizing a Video Player within a Responsive Web Design

function resizeVideo() {
	var vid = document.getElementById("vimeo"),
		vidParent = vid.parentNode,
		resizeW = vidParent.offsetWidth,
		resizeH = Math.ceil((resizeW/16) * 9);
	vid.setAttribute("width", resizeW);
	vid.setAttribute("height", resizeH);
}

window.onresize = resizeVideo;
window.onload = resizeVideo;

4 months ago on Wednesday, October 12th, 2011 at 11:26 AM / Permalink

Physics Tutorial - Wave Motion »

4 months ago on Saturday, October 1st, 2011 at 3:46 PM / Permalink

Convert WAV to CAF with Terminal

afconvert -f caff -d LEI16@11025 infile.wav outfile.caf

4 months ago on Sunday, September 25th, 2011 at 11:58 PM / Permalink