<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>{ joycodes blog }</title>
	<atom:link href="http://www.joycodes.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.joycodes.com</link>
	<description>better programming better life</description>
	<lastBuildDate>Thu, 17 Nov 2011 15:39:01 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>covert xib from iPhone to iPad in xcode 4</title>
		<link>http://www.joycodes.com/2011/11/17/covert-xib-from-iphone-to-ipad-in-xcode-4/</link>
		<comments>http://www.joycodes.com/2011/11/17/covert-xib-from-iphone-to-ipad-in-xcode-4/#comments</comments>
		<pubDate>Thu, 17 Nov 2011 15:38:26 +0000</pubDate>
		<dc:creator>Peter</dc:creator>
				<category><![CDATA[Ruby on Rails]]></category>
		<category><![CDATA[iphone ipad xcode4]]></category>

		<guid isPermaLink="false">http://www.joycodes.com/?p=185</guid>
		<description><![CDATA[1.Make a copy of the .xib in the Finder. 2. Open the copied file in a text editor. 3. Change &#8220;com.apple.InterfaceBuilder3.CocoaTouch.XIB&#8221; to &#8220;com.apple.InterfaceBuilder3.CocoaTouch.iPad.XIB&#8221;. 4. Change all instances of &#8220;IBCocoaTouchFramework&#8221; to &#8220;IBIPadFramework&#8221;. 5. Search for sizes like {480, 320} and edit them. Or just reopen the file in Xcode and use the GUI to resize items <a href='http://www.joycodes.com/2011/11/17/covert-xib-from-iphone-to-ipad-in-xcode-4/' class='excerpt-more'>[...]</a>]]></description>
		<wfw:commentRss>http://www.joycodes.com/2011/11/17/covert-xib-from-iphone-to-ipad-in-xcode-4/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Removing NSLogs on release builds in Xcode</title>
		<link>http://www.joycodes.com/2011/08/08/removing-nslogs-on-release-builds-in-xcode/</link>
		<comments>http://www.joycodes.com/2011/08/08/removing-nslogs-on-release-builds-in-xcode/#comments</comments>
		<pubDate>Mon, 08 Aug 2011 05:55:23 +0000</pubDate>
		<dc:creator>Peter</dc:creator>
				<category><![CDATA[IPhone]]></category>
		<category><![CDATA[xcode]]></category>

		<guid isPermaLink="false">http://www.joycodes.com/?p=183</guid>
		<description><![CDATA[Add this to your {App}-prefix.pch file #ifndef __OPTIMIZE__ # define NSLog(…) NSLog(__VA_ARGS__) #else # define NSLog(…) {} #endif __OPTIMIZE__ only be set on release of build your app.]]></description>
		<wfw:commentRss>http://www.joycodes.com/2011/08/08/removing-nslogs-on-release-builds-in-xcode/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>sync safari bookmarks with dropbox</title>
		<link>http://www.joycodes.com/2011/08/02/sync-safari-bookmarks-with-dropbox/</link>
		<comments>http://www.joycodes.com/2011/08/02/sync-safari-bookmarks-with-dropbox/#comments</comments>
		<pubDate>Tue, 02 Aug 2011 12:33:46 +0000</pubDate>
		<dc:creator>Peter</dc:creator>
				<category><![CDATA[Script]]></category>

		<guid isPermaLink="false">http://www.joycodes.com/?p=179</guid>
		<description><![CDATA[Quit Safari Open the Terminal Move the folder ~/Library/Safari into your Dropbox mv ~/Library/Safari ~/Dropbox Make a link from the old location to the new location (for your Mac’s safari to use). ln -s ~/Dropbox/Safari/ ~/Library/Safari You’re done on your mac!]]></description>
		<wfw:commentRss>http://www.joycodes.com/2011/08/02/sync-safari-bookmarks-with-dropbox/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>how to revert iphone optimization png which in the ipa file</title>
		<link>http://www.joycodes.com/2011/07/31/how-to-revert-iphone-optimization-png-which-in-the-ipa-file/</link>
		<comments>http://www.joycodes.com/2011/07/31/how-to-revert-iphone-optimization-png-which-in-the-ipa-file/#comments</comments>
		<pubDate>Sat, 30 Jul 2011 18:30:43 +0000</pubDate>
		<dc:creator>Peter</dc:creator>
				<category><![CDATA[IPhone]]></category>
		<category><![CDATA[Script]]></category>

		<guid isPermaLink="false">http://www.joycodes.com/?p=176</guid>
		<description><![CDATA[before you run this script, you should had ruby env and Xcode. 1. save it with name &#8216;png&#8217; 2. chmod +x png useage: ./png [ipa file path] #!/usr/bin/env ruby -wKU require 'rubygems' ipa = ARGV.first puts "useage:png " and return if !ipa or ipa.end_with?("ipa") name = File.basename(ipa, ".ipa") # create output folder in you desktop <a href='http://www.joycodes.com/2011/07/31/how-to-revert-iphone-optimization-png-which-in-the-ipa-file/' class='excerpt-more'>[...]</a>]]></description>
		<wfw:commentRss>http://www.joycodes.com/2011/07/31/how-to-revert-iphone-optimization-png-which-in-the-ipa-file/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>how to make capistriano load default rails task</title>
		<link>http://www.joycodes.com/2011/01/18/how-to-make-capistriano-load-default-rails-task/</link>
		<comments>http://www.joycodes.com/2011/01/18/how-to-make-capistriano-load-default-rails-task/#comments</comments>
		<pubDate>Tue, 18 Jan 2011 09:51:29 +0000</pubDate>
		<dc:creator>Peter</dc:creator>
				<category><![CDATA[Ruby on Rails]]></category>
		<category><![CDATA[Script]]></category>

		<guid isPermaLink="false">http://www.joycodes.com/?p=161</guid>
		<description><![CDATA[May be there is another better method to do this. If you have the better way to do it, please tell me. BTW, below code were successful running in rails3 and ruby 1.8.7 1. first, you should add open4 gem to your Rails project Gemfile gem 'open4' and run &#8220;bundle install&#8221; in terminal to install <a href='http://www.joycodes.com/2011/01/18/how-to-make-capistriano-load-default-rails-task/' class='excerpt-more'>[...]</a>]]></description>
		<wfw:commentRss>http://www.joycodes.com/2011/01/18/how-to-make-capistriano-load-default-rails-task/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>code for iphone wiggle</title>
		<link>http://www.joycodes.com/2011/01/04/code-for-iphone-wiggle/</link>
		<comments>http://www.joycodes.com/2011/01/04/code-for-iphone-wiggle/#comments</comments>
		<pubDate>Tue, 04 Jan 2011 11:24:02 +0000</pubDate>
		<dc:creator>Peter</dc:creator>
				<category><![CDATA[IPhone]]></category>

		<guid isPermaLink="false">http://www.joycodes.com/?p=157</guid>
		<description><![CDATA[CALayer *touchedLayer = [self.view layer]; // here is an example wiggle CABasicAnimation *wiggle = [CABasicAnimation animationWithKeyPath:@"transform"]; wiggle.duration = 0.1; wiggle.repeatCount = 1e100f; wiggle.autoreverses = YES; wiggle.toValue = [NSValue valueWithCATransform3D:CATransform3DRotate(touchedLayer.transform,0.1, 0.0 ,1.0 ,2.0)]; // doing the wiggle // [touchedLayer addAnimation:wiggle forKey:@"wiggle"];]]></description>
		<wfw:commentRss>http://www.joycodes.com/2011/01/04/code-for-iphone-wiggle/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>open case-insensitive auto completion in bash shell in mac osx</title>
		<link>http://www.joycodes.com/2010/12/23/open-case-insensitive-auto-completion-in-bash-shell-in-mac-osx/</link>
		<comments>http://www.joycodes.com/2010/12/23/open-case-insensitive-auto-completion-in-bash-shell-in-mac-osx/#comments</comments>
		<pubDate>Thu, 23 Dec 2010 15:56:15 +0000</pubDate>
		<dc:creator>Peter</dc:creator>
				<category><![CDATA[Script]]></category>

		<guid isPermaLink="false">http://www.joycodes.com/?p=154</guid>
		<description><![CDATA[put this to you ~/.inputrc # do not show hidden files in the list set match-hidden-files off # auto complete ignoring case set show-all-if-ambiguous on set completion-ignore-case on # lookup in search histories "\ep": history-search-backward "\e[A": history-search-backward "\e[B": history-search-forward]]></description>
		<wfw:commentRss>http://www.joycodes.com/2010/12/23/open-case-insensitive-auto-completion-in-bash-shell-in-mac-osx/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>download the whole site</title>
		<link>http://www.joycodes.com/2010/10/22/download-the-whole-site/</link>
		<comments>http://www.joycodes.com/2010/10/22/download-the-whole-site/#comments</comments>
		<pubDate>Fri, 22 Oct 2010 07:28:45 +0000</pubDate>
		<dc:creator>Peter</dc:creator>
				<category><![CDATA[Script]]></category>

		<guid isPermaLink="false">http://www.joycodes.com/?p=147</guid>
		<description><![CDATA[wget -m -erobots=off -U Mozilla -p &#60;web site url&#62; wget \ --recursive \ --no-clobber \ --page-requisites \ --html-extension \ --convert-links \ --restrict-file-names=windows \ --domains your.website.com \ --no-parent \ http://your.website.com/]]></description>
		<wfw:commentRss>http://www.joycodes.com/2010/10/22/download-the-whole-site/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>remove all gems in gem list</title>
		<link>http://www.joycodes.com/2010/09/15/remove-all-gems-in-gem-list/</link>
		<comments>http://www.joycodes.com/2010/09/15/remove-all-gems-in-gem-list/#comments</comments>
		<pubDate>Wed, 15 Sep 2010 09:05:35 +0000</pubDate>
		<dc:creator>Peter</dc:creator>
				<category><![CDATA[Ruby on Rails]]></category>

		<guid isPermaLink="false">http://www.joycodes.com/?p=142</guid>
		<description><![CDATA[gem list &#124; cut -d" " -f1 &#124; xargs gem uninstall -aIx]]></description>
		<wfw:commentRss>http://www.joycodes.com/2010/09/15/remove-all-gems-in-gem-list/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Dr Nic&#8217;s textmate folder pattern</title>
		<link>http://www.joycodes.com/2010/09/01/dr-nics-textmate-folder-pattern/</link>
		<comments>http://www.joycodes.com/2010/09/01/dr-nics-textmate-folder-pattern/#comments</comments>
		<pubDate>Wed, 01 Sep 2010 08:18:38 +0000</pubDate>
		<dc:creator>Peter</dc:creator>
				<category><![CDATA[Script]]></category>

		<guid isPermaLink="false">http://www.joycodes.com/?p=140</guid>
		<description><![CDATA[!.*/(\.[^/]*&#124;vendor/rails&#124;doc&#124;rails_root&#124;CVS&#124;log&#124;data_dump&#124;build&#124;_darcs&#124;pkg &#124;_MTN&#124;\{arch\}&#124;blib&#124;.*~\.nib&#124;.*\.(framework&#124;app&#124;pbproj&#124;pbxproj&#124;xcode(proj)? &#124;bundle&#124;vendor/.*/test))$]]></description>
		<wfw:commentRss>http://www.joycodes.com/2010/09/01/dr-nics-textmate-folder-pattern/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

