Scriptaculous Quick Ref »
With some inline examples too!
Aug 11, 2010 @ 10:55 pmWith some inline examples too!
Aug 11, 2010 @ 10:55 pmThey have Rails 3.0.pre and Rails 2.3.5 running on App Engine. Rubygems has been disabled, but we use gem bundler to package gems. They use DataMapper instead of ActiveRecord. There are some issues with both these options, but they expect them to be resolved shortly.
Aug 6, 2010 @ 4:18 pmSoftware for iPhone applications that sell downloadable content
Aug 5, 2010 @ 8:45 amThe script makes it easy to check for the existence of 5 commonly-used plug-ins: Apple’s QuickTime, Macromedia’s Flash and Shockwave for Director, Real Networks’ RealPlayer, and Microsoft’s Windows Media Player.
Aug 4, 2010 @ 12:32 pmThere are a few different ways to use JavaScript with QuickTime: you can use JavaScript to detect whether QuickTime is installed; you can use JavaScript to write the OBJECT and EMBED tags used to display QuickTime content; and you can control the QuickTime plug-in directly using JavaScript.
Aug 3, 2010 @ 8:59 amtextorize is a Ruby-based font rasterizer command line utility for Mac OS X. It generates PNG files from an input string and options, using Mac OS X’s pristine typography facilities.
Aug 1, 2010 @ 11:57 pmVaadin is a Java framework for building web apps.
Jul 31, 2010 @ 12:12 pmHow XML and scripting can be combined and used to create modifiable content for games.
Jul 29, 2010 @ 9:15 amThe Email Standards Project works with email client developers and the design community to improve web standards support and accessibility in email.
Jul 19, 2010 @ 1:33 pmIf you have a 3G that’s acting all poky now that you’re on iOS4 and now you want to go back, here’s how you do it.
Jul 6, 2010 @ 9:23 amHow to do iPhone Unit Testing
Jun 29, 2010 @ 11:29 amFilename Dimensions
Default-Portrait.png * 768w x 1004h
Default-PortraitUpsideDown.png 768w x 1004h
Default-Landscape.png ** 1024w x 748h
Default-LandscapeLeft.png 1024w x 748h
Default-LandscapeRight.png 1024w x 748h
Default.png 320w x 460h
@interface Web_ViewViewController : UIViewController
UIWebView *web;
BOOL firstLoad;
}
@property (nonatomic, retain) IBOutlet UIWebView *web;
@end
…
(void)viewDidLoad {
[super viewDidLoad];
firstLoad = YES;
web.delegate = self;
web.alpha = 0.0;
NSURL *clUrl = [NSURL URLWithString:@”http://www.apple.com”];
NSURLRequest *req = [NSURLRequest requestWithURL:clUrl];
[web loadRequest:req];
}
- (void)webViewDidFinishLoad:(UIWebView *)webView {
if (firstLoad) {
firstLoad = NO;
[UIView beginAnimations:@”web” context:nil];
web.alpha = 1.0;
[UIView commitAnimations];
}
}
As described by nakummitul:
For uncompressed (highest quality) audio, use 16-bit, little endian, linear PCM audio data packaged in a CAF file. You can convert an audio file to this format in Mac OS X using the afconvert command-line tool, as shown here:
Code:
/usr/bin/afconvert -f caff -d LEI16 {INPUT} {OUTPUT}
The afconvert tool lets you convert to a wide range of audio data formats and file types. See the afconvert man page, and enter afconvert -h at a shell prompt, for more information.
For compressed audio when playing one sound at a time, and when you don’t need to play audio simultaneously with the iPod application, use the AAC format packaged in a CAF or m4a file.
For less memory usage when you need to play multiple sounds simultaneously, use IMA4 (IMA/ADPCM) compression. This reduces file size but entails minimal CPU impact during decompression. As with linear PCM data, package IMA4 data in a CAF file.
Apr 28, 2010 @ 4:09 pm
Math flashcards for the iPhone. Improve your math skills now!
Audio waveform image on hi-print adhesive tape.