<?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>while ( true ) {  }</title>
	<atom:link href="http://www.albertopasca.it/whiletrue/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.albertopasca.it/whiletrue</link>
	<description>appunti di viaggio... magari utili</description>
	<lastBuildDate>Wed, 01 Feb 2012 15:08:40 +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>[iOS] Technical Interview possible question &#8211; 01</title>
		<link>http://www.albertopasca.it/whiletrue/2012/02/ios-technical-interview-question/</link>
		<comments>http://www.albertopasca.it/whiletrue/2012/02/ios-technical-interview-question/#comments</comments>
		<pubDate>Wed, 01 Feb 2012 14:57:26 +0000</pubDate>
		<dc:creator>Alberto</dc:creator>
				<category><![CDATA[Apple]]></category>
		<category><![CDATA[Dev]]></category>
		<category><![CDATA[Fun]]></category>
		<category><![CDATA[Ipad]]></category>
		<category><![CDATA[iPhone]]></category>
		<category><![CDATA[Mac]]></category>
		<category><![CDATA[Mobile]]></category>
		<category><![CDATA[Objective-C]]></category>

		<guid isPermaLink="false">http://www.albertopasca.it/whiletrue/?p=1213</guid>
		<description><![CDATA[Suppose that we have a ViewController.h and .m like this: 12345// ViewController.h #import UIKit/UIKit.h @interface ViewController : UIViewController @end 123456789101112// ViewController.m #import &#34;ViewController.h&#34; #import &#34;SetValue.h&#34; @implementation ViewController - &#40;void&#41;viewDidLoad &#123; &#160; &#91;super viewDidLoad&#93;; &#160; &#91;SetValue SetTheValue:@&#34;a string&#34;&#93;; &#125; @end And a class called SetValue, with two methods. 123456789// SetValue.h #import Foundation/Foundation.h @interface SetValue : NSObject [...]]]></description>
			<content:encoded><![CDATA[<p>Suppose that we have a ViewController.h and .m like this:</p>
<div class="codecolorer-container objc geshi" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br />2<br />3<br />4<br />5<br /></div></td><td><div class="objc codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #11740a; font-style: italic;">// ViewController.h</span><br />
<span style="color: #6e371a;">#import UIKit/UIKit.h</span><br />
<br />
<span style="color: #a61390;">@interface</span> ViewController <span style="color: #002200;">:</span> UIViewController<br />
<span style="color: #a61390;">@end</span></div></td></tr></tbody></table></div>
<div class="codecolorer-container objc geshi" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br />2<br />3<br />4<br />5<br />6<br />7<br />8<br />9<br />10<br />11<br />12<br /></div></td><td><div class="objc codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #11740a; font-style: italic;">// ViewController.m</span><br />
<span style="color: #6e371a;">#import &quot;ViewController.h&quot;</span><br />
<span style="color: #6e371a;">#import &quot;SetValue.h&quot;</span><br />
<br />
<span style="color: #a61390;">@implementation</span> ViewController<br />
<span style="color: #002200;">-</span> <span style="color: #002200;">&#40;</span><span style="color: #a61390;">void</span><span style="color: #002200;">&#41;</span>viewDidLoad <br />
<span style="color: #002200;">&#123;</span><br />
&nbsp; <span style="color: #002200;">&#91;</span>super viewDidLoad<span style="color: #002200;">&#93;</span>; <br />
<br />
&nbsp; <span style="color: #002200;">&#91;</span>SetValue SetTheValue<span style="color: #002200;">:</span><span style="color: #bf1d1a;">@</span><span style="color: #bf1d1a;">&quot;a string&quot;</span><span style="color: #002200;">&#93;</span>;<br />
<span style="color: #002200;">&#125;</span><br />
<span style="color: #a61390;">@end</span></div></td></tr></tbody></table></div>
<p>And a class called SetValue, with two methods.</p>
<div class="codecolorer-container objc geshi" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br />2<br />3<br />4<br />5<br />6<br />7<br />8<br />9<br /></div></td><td><div class="objc codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #11740a; font-style: italic;">// SetValue.h</span><br />
<span style="color: #6e371a;">#import Foundation/Foundation.h</span><br />
<br />
<span style="color: #a61390;">@interface</span> SetValue <span style="color: #002200;">:</span> <span style="color: #400080;">NSObject</span> <span style="color: #002200;">&#123;</span> <span style="color: #002200;">&#125;</span><br />
<br />
<span style="color: #002200;">+</span> <span style="color: #002200;">&#40;</span><span style="color: #a61390;">void</span><span style="color: #002200;">&#41;</span> SetTheValue<span style="color: #002200;">:</span><span style="color: #002200;">&#40;</span><span style="color: #a61390;">id</span><span style="color: #002200;">&#41;</span>Obj;<br />
<span style="color: #002200;">-</span> <span style="color: #002200;">&#40;</span><span style="color: #a61390;">void</span><span style="color: #002200;">&#41;</span> MySelector<span style="color: #002200;">:</span><span style="color: #002200;">&#40;</span><span style="color: #a61390;">id</span><span style="color: #002200;">&#41;</span>Obj;<br />
<br />
<span style="color: #a61390;">@end</span></div></td></tr></tbody></table></div>
<div class="codecolorer-container objc geshi" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br />2<br />3<br />4<br />5<br />6<br />7<br />8<br />9<br />10<br />11<br />12<br />13<br />14<br />15<br />16<br />17<br />18<br /></div></td><td><div class="objc codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #11740a; font-style: italic;">// SetValue.m</span><br />
<span style="color: #6e371a;">#import &quot;SetValue.h&quot;</span><br />
<br />
<span style="color: #a61390;">@implementation</span> SetValue<br />
<br />
<span style="color: #002200;">+</span> <span style="color: #002200;">&#40;</span><span style="color: #a61390;">void</span><span style="color: #002200;">&#41;</span> SetTheValue<span style="color: #002200;">:</span><span style="color: #002200;">&#40;</span><span style="color: #a61390;">id</span><span style="color: #002200;">&#41;</span>Obj <br />
<span style="color: #002200;">&#123;</span><br />
&nbsp; <span style="color: #002200;">&#91;</span>self performSelectorOnMainThread<span style="color: #002200;">:</span><span style="color: #a61390;">@selector</span><span style="color: #002200;">&#40;</span>MySelector<span style="color: #002200;">:</span><span style="color: #002200;">&#41;</span> <br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; withObject<span style="color: #002200;">:</span>Obj <br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; waitUntilDone<span style="color: #002200;">:</span><span style="color: #a61390;">NO</span><span style="color: #002200;">&#93;</span>;<br />
<span style="color: #002200;">&#125;</span><br />
<br />
<span style="color: #002200;">-</span> <span style="color: #002200;">&#40;</span><span style="color: #a61390;">void</span><span style="color: #002200;">&#41;</span> MySelector<span style="color: #002200;">:</span><span style="color: #002200;">&#40;</span><span style="color: #a61390;">id</span><span style="color: #002200;">&#41;</span>Obj <br />
<span style="color: #002200;">&#123;</span><br />
&nbsp; NSLog<span style="color: #002200;">&#40;</span><span style="color: #bf1d1a;">@</span><span style="color: #bf1d1a;">&quot;Data: %@&quot;</span>, <span style="color: #002200;">&#91;</span>Obj description<span style="color: #002200;">&#93;</span><span style="color: #002200;">&#41;</span>;<br />
<span style="color: #002200;">&#125;</span><br />
<br />
<span style="color: #a61390;">@end</span></div></td></tr></tbody></table></div>
<p>What is the value printed by the NSLog?</p>
<p>enjoy.</p>
<p><a class="a2a_button_facebook" href="http://www.addtoany.com/add_to/facebook?linkurl=http%3A%2F%2Fwww.albertopasca.it%2Fwhiletrue%2F2012%2F02%2Fios-technical-interview-question%2F&amp;linkname=%5BiOS%5D%20Technical%20Interview%20possible%20question%20%26%238211%3B%2001" title="Facebook" rel="nofollow" target="_blank"><img src="http://www.albertopasca.it/whiletrue/wp-content/plugins/add-to-any/icons/facebook.png" width="16" height="16" alt="Facebook"/></a><a class="a2a_button_twitter" href="http://www.addtoany.com/add_to/twitter?linkurl=http%3A%2F%2Fwww.albertopasca.it%2Fwhiletrue%2F2012%2F02%2Fios-technical-interview-question%2F&amp;linkname=%5BiOS%5D%20Technical%20Interview%20possible%20question%20%26%238211%3B%2001" title="Twitter" rel="nofollow" target="_blank"><img src="http://www.albertopasca.it/whiletrue/wp-content/plugins/add-to-any/icons/twitter.png" width="16" height="16" alt="Twitter"/></a><a class="a2a_button_delicious" href="http://www.addtoany.com/add_to/delicious?linkurl=http%3A%2F%2Fwww.albertopasca.it%2Fwhiletrue%2F2012%2F02%2Fios-technical-interview-question%2F&amp;linkname=%5BiOS%5D%20Technical%20Interview%20possible%20question%20%26%238211%3B%2001" title="Delicious" rel="nofollow" target="_blank"><img src="http://www.albertopasca.it/whiletrue/wp-content/plugins/add-to-any/icons/delicious.png" width="16" height="16" alt="Delicious"/></a><a class="a2a_button_linkedin" href="http://www.addtoany.com/add_to/linkedin?linkurl=http%3A%2F%2Fwww.albertopasca.it%2Fwhiletrue%2F2012%2F02%2Fios-technical-interview-question%2F&amp;linkname=%5BiOS%5D%20Technical%20Interview%20possible%20question%20%26%238211%3B%2001" title="LinkedIn" rel="nofollow" target="_blank"><img src="http://www.albertopasca.it/whiletrue/wp-content/plugins/add-to-any/icons/linkedin.png" width="16" height="16" alt="LinkedIn"/></a><a class="a2a_button_google_bookmarks" href="http://www.addtoany.com/add_to/google_bookmarks?linkurl=http%3A%2F%2Fwww.albertopasca.it%2Fwhiletrue%2F2012%2F02%2Fios-technical-interview-question%2F&amp;linkname=%5BiOS%5D%20Technical%20Interview%20possible%20question%20%26%238211%3B%2001" title="Google Bookmarks" rel="nofollow" target="_blank"><img src="http://www.albertopasca.it/whiletrue/wp-content/plugins/add-to-any/icons/google.png" width="16" height="16" alt="Google Bookmarks"/></a><a class="a2a_button_netlog" href="http://www.addtoany.com/add_to/netlog?linkurl=http%3A%2F%2Fwww.albertopasca.it%2Fwhiletrue%2F2012%2F02%2Fios-technical-interview-question%2F&amp;linkname=%5BiOS%5D%20Technical%20Interview%20possible%20question%20%26%238211%3B%2001" title="Netlog" rel="nofollow" target="_blank"><img src="http://www.albertopasca.it/whiletrue/wp-content/plugins/add-to-any/icons/netlog.png" width="16" height="16" alt="Netlog"/></a><a class="a2a_button_google_gmail" href="http://www.addtoany.com/add_to/google_gmail?linkurl=http%3A%2F%2Fwww.albertopasca.it%2Fwhiletrue%2F2012%2F02%2Fios-technical-interview-question%2F&amp;linkname=%5BiOS%5D%20Technical%20Interview%20possible%20question%20%26%238211%3B%2001" title="Google Gmail" rel="nofollow" target="_blank"><img src="http://www.albertopasca.it/whiletrue/wp-content/plugins/add-to-any/icons/gmail.png" width="16" height="16" alt="Google Gmail"/></a><a class="a2a_button_myspace" href="http://www.addtoany.com/add_to/myspace?linkurl=http%3A%2F%2Fwww.albertopasca.it%2Fwhiletrue%2F2012%2F02%2Fios-technical-interview-question%2F&amp;linkname=%5BiOS%5D%20Technical%20Interview%20possible%20question%20%26%238211%3B%2001" title="MySpace" rel="nofollow" target="_blank"><img src="http://www.albertopasca.it/whiletrue/wp-content/plugins/add-to-any/icons/myspace.png" width="16" height="16" alt="MySpace"/></a><a class="a2a_button_google_reader" href="http://www.addtoany.com/add_to/google_reader?linkurl=http%3A%2F%2Fwww.albertopasca.it%2Fwhiletrue%2F2012%2F02%2Fios-technical-interview-question%2F&amp;linkname=%5BiOS%5D%20Technical%20Interview%20possible%20question%20%26%238211%3B%2001" title="Google Reader" rel="nofollow" target="_blank"><img src="http://www.albertopasca.it/whiletrue/wp-content/plugins/add-to-any/icons/reader.png" width="16" height="16" alt="Google Reader"/></a><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fwww.albertopasca.it%2Fwhiletrue%2F2012%2F02%2Fios-technical-interview-question%2F&amp;title=%5BiOS%5D%20Technical%20Interview%20possible%20question%20%26%238211%3B%2001" id="wpa2a_2"><img src="http://www.albertopasca.it/whiletrue/wp-content/plugins/add-to-any/share_save_120_16.png" width="120" height="16" alt="Share"/></a></p>]]></content:encoded>
			<wfw:commentRss>http://www.albertopasca.it/whiletrue/2012/02/ios-technical-interview-question/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>[Objective-C] NSString and RetainCount</title>
		<link>http://www.albertopasca.it/whiletrue/2012/02/objective-c-nsstring-retaincount/</link>
		<comments>http://www.albertopasca.it/whiletrue/2012/02/objective-c-nsstring-retaincount/#comments</comments>
		<pubDate>Wed, 01 Feb 2012 11:08:44 +0000</pubDate>
		<dc:creator>Alberto</dc:creator>
				<category><![CDATA[Apple]]></category>
		<category><![CDATA[Ipad]]></category>
		<category><![CDATA[iPhone]]></category>
		<category><![CDATA[Objective-C]]></category>
		<category><![CDATA[2147483647]]></category>
		<category><![CDATA[nsstring]]></category>
		<category><![CDATA[retainCount]]></category>
		<category><![CDATA[UINT_MAX]]></category>

		<guid isPermaLink="false">http://www.albertopasca.it/whiletrue/?p=1207</guid>
		<description><![CDATA[NSString and retainCount memo: 12345678&#160; &#160; NSString *A = &#91;&#91;NSString alloc&#93; init&#93;; &#160; &#160; NSLog&#40;@&#34;_A_RC: %i&#34;, &#91;A retainCount&#93;&#41;; &#160; &#160; NSString *B = &#91;&#91;NSString alloc&#93; initWithFormat:@&#34;AAA&#34;&#93;; &#160; &#160; NSLog&#40;@&#34;_B_RC: %i&#34;, &#91;B retainCount&#93;&#41;; &#160; &#160; NSString *C = &#91;&#91;NSString alloc&#93; initWithString:@&#34;AAA&#34;&#93;; &#160; &#160; NSLog&#40;@&#34;_C_RC: %i&#34;, &#91;C retainCount&#93;&#41;; 123...Test&#91;3530:15203&#93; _A_RC: -1 &#160;&#40;ios &#60; 5 = 2147483647&#41; ...Test&#91;3530:15203&#93; [...]]]></description>
			<content:encoded><![CDATA[<p>NSString and retainCount memo:</p>
<div class="codecolorer-container objc geshi" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br />2<br />3<br />4<br />5<br />6<br />7<br />8<br /></div></td><td><div class="objc codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">&nbsp; &nbsp; <span style="color: #400080;">NSString</span> <span style="color: #002200;">*</span>A <span style="color: #002200;">=</span> <span style="color: #002200;">&#91;</span><span style="color: #002200;">&#91;</span><span style="color: #400080;">NSString</span> alloc<span style="color: #002200;">&#93;</span> init<span style="color: #002200;">&#93;</span>;<br />
&nbsp; &nbsp; NSLog<span style="color: #002200;">&#40;</span><span style="color: #bf1d1a;">@</span><span style="color: #bf1d1a;">&quot;_A_RC: %i&quot;</span>, <span style="color: #002200;">&#91;</span>A retainCount<span style="color: #002200;">&#93;</span><span style="color: #002200;">&#41;</span>;<br />
<br />
&nbsp; &nbsp; <span style="color: #400080;">NSString</span> <span style="color: #002200;">*</span>B <span style="color: #002200;">=</span> <span style="color: #002200;">&#91;</span><span style="color: #002200;">&#91;</span><span style="color: #400080;">NSString</span> alloc<span style="color: #002200;">&#93;</span> initWithFormat<span style="color: #002200;">:</span><span style="color: #bf1d1a;">@</span><span style="color: #bf1d1a;">&quot;AAA&quot;</span><span style="color: #002200;">&#93;</span>;<br />
&nbsp; &nbsp; NSLog<span style="color: #002200;">&#40;</span><span style="color: #bf1d1a;">@</span><span style="color: #bf1d1a;">&quot;_B_RC: %i&quot;</span>, <span style="color: #002200;">&#91;</span>B retainCount<span style="color: #002200;">&#93;</span><span style="color: #002200;">&#41;</span>;<br />
<br />
&nbsp; &nbsp; <span style="color: #400080;">NSString</span> <span style="color: #002200;">*</span>C <span style="color: #002200;">=</span> <span style="color: #002200;">&#91;</span><span style="color: #002200;">&#91;</span><span style="color: #400080;">NSString</span> alloc<span style="color: #002200;">&#93;</span> initWithString<span style="color: #002200;">:</span><span style="color: #bf1d1a;">@</span><span style="color: #bf1d1a;">&quot;AAA&quot;</span><span style="color: #002200;">&#93;</span>;<br />
&nbsp; &nbsp; NSLog<span style="color: #002200;">&#40;</span><span style="color: #bf1d1a;">@</span><span style="color: #bf1d1a;">&quot;_C_RC: %i&quot;</span>, <span style="color: #002200;">&#91;</span>C retainCount<span style="color: #002200;">&#93;</span><span style="color: #002200;">&#41;</span>;</div></td></tr></tbody></table></div>
<div class="codecolorer-container objc geshi" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br />2<br />3<br /></div></td><td><div class="objc codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">...Test<span style="color: #002200;">&#91;</span><span style="color: #2400d9;">3530</span><span style="color: #002200;">:</span><span style="color: #2400d9;">15203</span><span style="color: #002200;">&#93;</span> _A_RC<span style="color: #002200;">:</span> <span style="color: #002200;">-</span><span style="color: #2400d9;">1</span> &nbsp;<span style="color: #002200;">&#40;</span>ios &lt; <span style="color: #2400d9;">5</span> <span style="color: #002200;">=</span> <span style="color: #2400d9;">2147483647</span><span style="color: #002200;">&#41;</span><br />
...Test<span style="color: #002200;">&#91;</span><span style="color: #2400d9;">3530</span><span style="color: #002200;">:</span><span style="color: #2400d9;">15203</span><span style="color: #002200;">&#93;</span> _B_RC<span style="color: #002200;">:</span> <span style="color: #2400d9;">1</span><br />
...Test<span style="color: #002200;">&#91;</span><span style="color: #2400d9;">3530</span><span style="color: #002200;">:</span><span style="color: #2400d9;">15203</span><span style="color: #002200;">&#93;</span> _C_RC<span style="color: #002200;">:</span> <span style="color: #002200;">-</span><span style="color: #2400d9;">1</span> &nbsp;<span style="color: #002200;">&#40;</span>ios &lt; <span style="color: #2400d9;">5</span> <span style="color: #002200;">=</span> <span style="color: #2400d9;">2147483647</span><span style="color: #002200;">&#41;</span></div></td></tr></tbody></table></div>
<blockquote><p>
Because your string is not in the heap, but is a constant. A NSString made from a constant NSString is identical to the original NSString.</p>
<p><b>UINT_MAX</b> (2147483647) ->  http://it.wikipedia.org/wiki/2147483647</p>
<p><a class="a2a_button_facebook" href="http://www.addtoany.com/add_to/facebook?linkurl=http%3A%2F%2Fwww.albertopasca.it%2Fwhiletrue%2F2012%2F02%2Fobjective-c-nsstring-retaincount%2F&amp;linkname=%5BObjective-C%5D%20NSString%20and%20RetainCount" title="Facebook" rel="nofollow" target="_blank"><img src="http://www.albertopasca.it/whiletrue/wp-content/plugins/add-to-any/icons/facebook.png" width="16" height="16" alt="Facebook"/></a><a class="a2a_button_twitter" href="http://www.addtoany.com/add_to/twitter?linkurl=http%3A%2F%2Fwww.albertopasca.it%2Fwhiletrue%2F2012%2F02%2Fobjective-c-nsstring-retaincount%2F&amp;linkname=%5BObjective-C%5D%20NSString%20and%20RetainCount" title="Twitter" rel="nofollow" target="_blank"><img src="http://www.albertopasca.it/whiletrue/wp-content/plugins/add-to-any/icons/twitter.png" width="16" height="16" alt="Twitter"/></a><a class="a2a_button_delicious" href="http://www.addtoany.com/add_to/delicious?linkurl=http%3A%2F%2Fwww.albertopasca.it%2Fwhiletrue%2F2012%2F02%2Fobjective-c-nsstring-retaincount%2F&amp;linkname=%5BObjective-C%5D%20NSString%20and%20RetainCount" title="Delicious" rel="nofollow" target="_blank"><img src="http://www.albertopasca.it/whiletrue/wp-content/plugins/add-to-any/icons/delicious.png" width="16" height="16" alt="Delicious"/></a><a class="a2a_button_linkedin" href="http://www.addtoany.com/add_to/linkedin?linkurl=http%3A%2F%2Fwww.albertopasca.it%2Fwhiletrue%2F2012%2F02%2Fobjective-c-nsstring-retaincount%2F&amp;linkname=%5BObjective-C%5D%20NSString%20and%20RetainCount" title="LinkedIn" rel="nofollow" target="_blank"><img src="http://www.albertopasca.it/whiletrue/wp-content/plugins/add-to-any/icons/linkedin.png" width="16" height="16" alt="LinkedIn"/></a><a class="a2a_button_google_bookmarks" href="http://www.addtoany.com/add_to/google_bookmarks?linkurl=http%3A%2F%2Fwww.albertopasca.it%2Fwhiletrue%2F2012%2F02%2Fobjective-c-nsstring-retaincount%2F&amp;linkname=%5BObjective-C%5D%20NSString%20and%20RetainCount" title="Google Bookmarks" rel="nofollow" target="_blank"><img src="http://www.albertopasca.it/whiletrue/wp-content/plugins/add-to-any/icons/google.png" width="16" height="16" alt="Google Bookmarks"/></a><a class="a2a_button_netlog" href="http://www.addtoany.com/add_to/netlog?linkurl=http%3A%2F%2Fwww.albertopasca.it%2Fwhiletrue%2F2012%2F02%2Fobjective-c-nsstring-retaincount%2F&amp;linkname=%5BObjective-C%5D%20NSString%20and%20RetainCount" title="Netlog" rel="nofollow" target="_blank"><img src="http://www.albertopasca.it/whiletrue/wp-content/plugins/add-to-any/icons/netlog.png" width="16" height="16" alt="Netlog"/></a><a class="a2a_button_google_gmail" href="http://www.addtoany.com/add_to/google_gmail?linkurl=http%3A%2F%2Fwww.albertopasca.it%2Fwhiletrue%2F2012%2F02%2Fobjective-c-nsstring-retaincount%2F&amp;linkname=%5BObjective-C%5D%20NSString%20and%20RetainCount" title="Google Gmail" rel="nofollow" target="_blank"><img src="http://www.albertopasca.it/whiletrue/wp-content/plugins/add-to-any/icons/gmail.png" width="16" height="16" alt="Google Gmail"/></a><a class="a2a_button_myspace" href="http://www.addtoany.com/add_to/myspace?linkurl=http%3A%2F%2Fwww.albertopasca.it%2Fwhiletrue%2F2012%2F02%2Fobjective-c-nsstring-retaincount%2F&amp;linkname=%5BObjective-C%5D%20NSString%20and%20RetainCount" title="MySpace" rel="nofollow" target="_blank"><img src="http://www.albertopasca.it/whiletrue/wp-content/plugins/add-to-any/icons/myspace.png" width="16" height="16" alt="MySpace"/></a><a class="a2a_button_google_reader" href="http://www.addtoany.com/add_to/google_reader?linkurl=http%3A%2F%2Fwww.albertopasca.it%2Fwhiletrue%2F2012%2F02%2Fobjective-c-nsstring-retaincount%2F&amp;linkname=%5BObjective-C%5D%20NSString%20and%20RetainCount" title="Google Reader" rel="nofollow" target="_blank"><img src="http://www.albertopasca.it/whiletrue/wp-content/plugins/add-to-any/icons/reader.png" width="16" height="16" alt="Google Reader"/></a><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fwww.albertopasca.it%2Fwhiletrue%2F2012%2F02%2Fobjective-c-nsstring-retaincount%2F&amp;title=%5BObjective-C%5D%20NSString%20and%20RetainCount" id="wpa2a_4"><img src="http://www.albertopasca.it/whiletrue/wp-content/plugins/add-to-any/share_save_120_16.png" width="120" height="16" alt="Share"/></a></p>]]></content:encoded>
			<wfw:commentRss>http://www.albertopasca.it/whiletrue/2012/02/objective-c-nsstring-retaincount/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>[fun] &#8211; How to write good code</title>
		<link>http://www.albertopasca.it/whiletrue/2011/12/fun-write-good-code/</link>
		<comments>http://www.albertopasca.it/whiletrue/2011/12/fun-write-good-code/#comments</comments>
		<pubDate>Wed, 21 Dec 2011 14:12:22 +0000</pubDate>
		<dc:creator>Alberto</dc:creator>
				<category><![CDATA[Dev]]></category>

		<guid isPermaLink="false">http://www.albertopasca.it/whiletrue/?p=1205</guid>
		<description><![CDATA[]]></description>
			<content:encoded><![CDATA[<p><img src="http://codesnippet.biz/wp-content/uploads/2011/01/good_code.png" alt="" /></p>
<p><a class="a2a_button_facebook" href="http://www.addtoany.com/add_to/facebook?linkurl=http%3A%2F%2Fwww.albertopasca.it%2Fwhiletrue%2F2011%2F12%2Ffun-write-good-code%2F&amp;linkname=%5Bfun%5D%20%26%238211%3B%20How%20to%20write%20good%20code" title="Facebook" rel="nofollow" target="_blank"><img src="http://www.albertopasca.it/whiletrue/wp-content/plugins/add-to-any/icons/facebook.png" width="16" height="16" alt="Facebook"/></a><a class="a2a_button_twitter" href="http://www.addtoany.com/add_to/twitter?linkurl=http%3A%2F%2Fwww.albertopasca.it%2Fwhiletrue%2F2011%2F12%2Ffun-write-good-code%2F&amp;linkname=%5Bfun%5D%20%26%238211%3B%20How%20to%20write%20good%20code" title="Twitter" rel="nofollow" target="_blank"><img src="http://www.albertopasca.it/whiletrue/wp-content/plugins/add-to-any/icons/twitter.png" width="16" height="16" alt="Twitter"/></a><a class="a2a_button_delicious" href="http://www.addtoany.com/add_to/delicious?linkurl=http%3A%2F%2Fwww.albertopasca.it%2Fwhiletrue%2F2011%2F12%2Ffun-write-good-code%2F&amp;linkname=%5Bfun%5D%20%26%238211%3B%20How%20to%20write%20good%20code" title="Delicious" rel="nofollow" target="_blank"><img src="http://www.albertopasca.it/whiletrue/wp-content/plugins/add-to-any/icons/delicious.png" width="16" height="16" alt="Delicious"/></a><a class="a2a_button_linkedin" href="http://www.addtoany.com/add_to/linkedin?linkurl=http%3A%2F%2Fwww.albertopasca.it%2Fwhiletrue%2F2011%2F12%2Ffun-write-good-code%2F&amp;linkname=%5Bfun%5D%20%26%238211%3B%20How%20to%20write%20good%20code" title="LinkedIn" rel="nofollow" target="_blank"><img src="http://www.albertopasca.it/whiletrue/wp-content/plugins/add-to-any/icons/linkedin.png" width="16" height="16" alt="LinkedIn"/></a><a class="a2a_button_google_bookmarks" href="http://www.addtoany.com/add_to/google_bookmarks?linkurl=http%3A%2F%2Fwww.albertopasca.it%2Fwhiletrue%2F2011%2F12%2Ffun-write-good-code%2F&amp;linkname=%5Bfun%5D%20%26%238211%3B%20How%20to%20write%20good%20code" title="Google Bookmarks" rel="nofollow" target="_blank"><img src="http://www.albertopasca.it/whiletrue/wp-content/plugins/add-to-any/icons/google.png" width="16" height="16" alt="Google Bookmarks"/></a><a class="a2a_button_netlog" href="http://www.addtoany.com/add_to/netlog?linkurl=http%3A%2F%2Fwww.albertopasca.it%2Fwhiletrue%2F2011%2F12%2Ffun-write-good-code%2F&amp;linkname=%5Bfun%5D%20%26%238211%3B%20How%20to%20write%20good%20code" title="Netlog" rel="nofollow" target="_blank"><img src="http://www.albertopasca.it/whiletrue/wp-content/plugins/add-to-any/icons/netlog.png" width="16" height="16" alt="Netlog"/></a><a class="a2a_button_google_gmail" href="http://www.addtoany.com/add_to/google_gmail?linkurl=http%3A%2F%2Fwww.albertopasca.it%2Fwhiletrue%2F2011%2F12%2Ffun-write-good-code%2F&amp;linkname=%5Bfun%5D%20%26%238211%3B%20How%20to%20write%20good%20code" title="Google Gmail" rel="nofollow" target="_blank"><img src="http://www.albertopasca.it/whiletrue/wp-content/plugins/add-to-any/icons/gmail.png" width="16" height="16" alt="Google Gmail"/></a><a class="a2a_button_myspace" href="http://www.addtoany.com/add_to/myspace?linkurl=http%3A%2F%2Fwww.albertopasca.it%2Fwhiletrue%2F2011%2F12%2Ffun-write-good-code%2F&amp;linkname=%5Bfun%5D%20%26%238211%3B%20How%20to%20write%20good%20code" title="MySpace" rel="nofollow" target="_blank"><img src="http://www.albertopasca.it/whiletrue/wp-content/plugins/add-to-any/icons/myspace.png" width="16" height="16" alt="MySpace"/></a><a class="a2a_button_google_reader" href="http://www.addtoany.com/add_to/google_reader?linkurl=http%3A%2F%2Fwww.albertopasca.it%2Fwhiletrue%2F2011%2F12%2Ffun-write-good-code%2F&amp;linkname=%5Bfun%5D%20%26%238211%3B%20How%20to%20write%20good%20code" title="Google Reader" rel="nofollow" target="_blank"><img src="http://www.albertopasca.it/whiletrue/wp-content/plugins/add-to-any/icons/reader.png" width="16" height="16" alt="Google Reader"/></a><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fwww.albertopasca.it%2Fwhiletrue%2F2011%2F12%2Ffun-write-good-code%2F&amp;title=%5Bfun%5D%20%26%238211%3B%20How%20to%20write%20good%20code" id="wpa2a_6"><img src="http://www.albertopasca.it/whiletrue/wp-content/plugins/add-to-any/share_save_120_16.png" width="120" height="16" alt="Share"/></a></p>]]></content:encoded>
			<wfw:commentRss>http://www.albertopasca.it/whiletrue/2011/12/fun-write-good-code/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Mobile Marketing</title>
		<link>http://www.albertopasca.it/whiletrue/2011/12/mobile-marketing/</link>
		<comments>http://www.albertopasca.it/whiletrue/2011/12/mobile-marketing/#comments</comments>
		<pubDate>Wed, 21 Dec 2011 14:06:55 +0000</pubDate>
		<dc:creator>Alberto</dc:creator>
				<category><![CDATA[Dev]]></category>

		<guid isPermaLink="false">http://www.albertopasca.it/whiletrue/?p=1203</guid>
		<description><![CDATA[]]></description>
			<content:encoded><![CDATA[<p><img src="http://codesnippet.biz/wp-content/uploads/2011/03/mobile_infographic.jpg" alt="Mobile Marketing" /></p>
<p><a class="a2a_button_facebook" href="http://www.addtoany.com/add_to/facebook?linkurl=http%3A%2F%2Fwww.albertopasca.it%2Fwhiletrue%2F2011%2F12%2Fmobile-marketing%2F&amp;linkname=Mobile%20Marketing" title="Facebook" rel="nofollow" target="_blank"><img src="http://www.albertopasca.it/whiletrue/wp-content/plugins/add-to-any/icons/facebook.png" width="16" height="16" alt="Facebook"/></a><a class="a2a_button_twitter" href="http://www.addtoany.com/add_to/twitter?linkurl=http%3A%2F%2Fwww.albertopasca.it%2Fwhiletrue%2F2011%2F12%2Fmobile-marketing%2F&amp;linkname=Mobile%20Marketing" title="Twitter" rel="nofollow" target="_blank"><img src="http://www.albertopasca.it/whiletrue/wp-content/plugins/add-to-any/icons/twitter.png" width="16" height="16" alt="Twitter"/></a><a class="a2a_button_delicious" href="http://www.addtoany.com/add_to/delicious?linkurl=http%3A%2F%2Fwww.albertopasca.it%2Fwhiletrue%2F2011%2F12%2Fmobile-marketing%2F&amp;linkname=Mobile%20Marketing" title="Delicious" rel="nofollow" target="_blank"><img src="http://www.albertopasca.it/whiletrue/wp-content/plugins/add-to-any/icons/delicious.png" width="16" height="16" alt="Delicious"/></a><a class="a2a_button_linkedin" href="http://www.addtoany.com/add_to/linkedin?linkurl=http%3A%2F%2Fwww.albertopasca.it%2Fwhiletrue%2F2011%2F12%2Fmobile-marketing%2F&amp;linkname=Mobile%20Marketing" title="LinkedIn" rel="nofollow" target="_blank"><img src="http://www.albertopasca.it/whiletrue/wp-content/plugins/add-to-any/icons/linkedin.png" width="16" height="16" alt="LinkedIn"/></a><a class="a2a_button_google_bookmarks" href="http://www.addtoany.com/add_to/google_bookmarks?linkurl=http%3A%2F%2Fwww.albertopasca.it%2Fwhiletrue%2F2011%2F12%2Fmobile-marketing%2F&amp;linkname=Mobile%20Marketing" title="Google Bookmarks" rel="nofollow" target="_blank"><img src="http://www.albertopasca.it/whiletrue/wp-content/plugins/add-to-any/icons/google.png" width="16" height="16" alt="Google Bookmarks"/></a><a class="a2a_button_netlog" href="http://www.addtoany.com/add_to/netlog?linkurl=http%3A%2F%2Fwww.albertopasca.it%2Fwhiletrue%2F2011%2F12%2Fmobile-marketing%2F&amp;linkname=Mobile%20Marketing" title="Netlog" rel="nofollow" target="_blank"><img src="http://www.albertopasca.it/whiletrue/wp-content/plugins/add-to-any/icons/netlog.png" width="16" height="16" alt="Netlog"/></a><a class="a2a_button_google_gmail" href="http://www.addtoany.com/add_to/google_gmail?linkurl=http%3A%2F%2Fwww.albertopasca.it%2Fwhiletrue%2F2011%2F12%2Fmobile-marketing%2F&amp;linkname=Mobile%20Marketing" title="Google Gmail" rel="nofollow" target="_blank"><img src="http://www.albertopasca.it/whiletrue/wp-content/plugins/add-to-any/icons/gmail.png" width="16" height="16" alt="Google Gmail"/></a><a class="a2a_button_myspace" href="http://www.addtoany.com/add_to/myspace?linkurl=http%3A%2F%2Fwww.albertopasca.it%2Fwhiletrue%2F2011%2F12%2Fmobile-marketing%2F&amp;linkname=Mobile%20Marketing" title="MySpace" rel="nofollow" target="_blank"><img src="http://www.albertopasca.it/whiletrue/wp-content/plugins/add-to-any/icons/myspace.png" width="16" height="16" alt="MySpace"/></a><a class="a2a_button_google_reader" href="http://www.addtoany.com/add_to/google_reader?linkurl=http%3A%2F%2Fwww.albertopasca.it%2Fwhiletrue%2F2011%2F12%2Fmobile-marketing%2F&amp;linkname=Mobile%20Marketing" title="Google Reader" rel="nofollow" target="_blank"><img src="http://www.albertopasca.it/whiletrue/wp-content/plugins/add-to-any/icons/reader.png" width="16" height="16" alt="Google Reader"/></a><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fwww.albertopasca.it%2Fwhiletrue%2F2011%2F12%2Fmobile-marketing%2F&amp;title=Mobile%20Marketing" id="wpa2a_8"><img src="http://www.albertopasca.it/whiletrue/wp-content/plugins/add-to-any/share_save_120_16.png" width="120" height="16" alt="Share"/></a></p>]]></content:encoded>
			<wfw:commentRss>http://www.albertopasca.it/whiletrue/2011/12/mobile-marketing/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>[fun] &#8211; How to fix any computer&#8230;</title>
		<link>http://www.albertopasca.it/whiletrue/2011/12/fix-computer/</link>
		<comments>http://www.albertopasca.it/whiletrue/2011/12/fix-computer/#comments</comments>
		<pubDate>Wed, 21 Dec 2011 14:01:52 +0000</pubDate>
		<dc:creator>Alberto</dc:creator>
				<category><![CDATA[Fun]]></category>

		<guid isPermaLink="false">http://www.albertopasca.it/whiletrue/?p=1199</guid>
		<description><![CDATA[]]></description>
			<content:encoded><![CDATA[<p><img src="http://codesnippet.biz/wp-content/uploads/2011/04/aggiustare-tutti-i-pc1.png" alt="" /></p>
<p><a class="a2a_button_facebook" href="http://www.addtoany.com/add_to/facebook?linkurl=http%3A%2F%2Fwww.albertopasca.it%2Fwhiletrue%2F2011%2F12%2Ffix-computer%2F&amp;linkname=%5Bfun%5D%20%26%238211%3B%20How%20to%20fix%20any%20computer%26%238230%3B" title="Facebook" rel="nofollow" target="_blank"><img src="http://www.albertopasca.it/whiletrue/wp-content/plugins/add-to-any/icons/facebook.png" width="16" height="16" alt="Facebook"/></a><a class="a2a_button_twitter" href="http://www.addtoany.com/add_to/twitter?linkurl=http%3A%2F%2Fwww.albertopasca.it%2Fwhiletrue%2F2011%2F12%2Ffix-computer%2F&amp;linkname=%5Bfun%5D%20%26%238211%3B%20How%20to%20fix%20any%20computer%26%238230%3B" title="Twitter" rel="nofollow" target="_blank"><img src="http://www.albertopasca.it/whiletrue/wp-content/plugins/add-to-any/icons/twitter.png" width="16" height="16" alt="Twitter"/></a><a class="a2a_button_delicious" href="http://www.addtoany.com/add_to/delicious?linkurl=http%3A%2F%2Fwww.albertopasca.it%2Fwhiletrue%2F2011%2F12%2Ffix-computer%2F&amp;linkname=%5Bfun%5D%20%26%238211%3B%20How%20to%20fix%20any%20computer%26%238230%3B" title="Delicious" rel="nofollow" target="_blank"><img src="http://www.albertopasca.it/whiletrue/wp-content/plugins/add-to-any/icons/delicious.png" width="16" height="16" alt="Delicious"/></a><a class="a2a_button_linkedin" href="http://www.addtoany.com/add_to/linkedin?linkurl=http%3A%2F%2Fwww.albertopasca.it%2Fwhiletrue%2F2011%2F12%2Ffix-computer%2F&amp;linkname=%5Bfun%5D%20%26%238211%3B%20How%20to%20fix%20any%20computer%26%238230%3B" title="LinkedIn" rel="nofollow" target="_blank"><img src="http://www.albertopasca.it/whiletrue/wp-content/plugins/add-to-any/icons/linkedin.png" width="16" height="16" alt="LinkedIn"/></a><a class="a2a_button_google_bookmarks" href="http://www.addtoany.com/add_to/google_bookmarks?linkurl=http%3A%2F%2Fwww.albertopasca.it%2Fwhiletrue%2F2011%2F12%2Ffix-computer%2F&amp;linkname=%5Bfun%5D%20%26%238211%3B%20How%20to%20fix%20any%20computer%26%238230%3B" title="Google Bookmarks" rel="nofollow" target="_blank"><img src="http://www.albertopasca.it/whiletrue/wp-content/plugins/add-to-any/icons/google.png" width="16" height="16" alt="Google Bookmarks"/></a><a class="a2a_button_netlog" href="http://www.addtoany.com/add_to/netlog?linkurl=http%3A%2F%2Fwww.albertopasca.it%2Fwhiletrue%2F2011%2F12%2Ffix-computer%2F&amp;linkname=%5Bfun%5D%20%26%238211%3B%20How%20to%20fix%20any%20computer%26%238230%3B" title="Netlog" rel="nofollow" target="_blank"><img src="http://www.albertopasca.it/whiletrue/wp-content/plugins/add-to-any/icons/netlog.png" width="16" height="16" alt="Netlog"/></a><a class="a2a_button_google_gmail" href="http://www.addtoany.com/add_to/google_gmail?linkurl=http%3A%2F%2Fwww.albertopasca.it%2Fwhiletrue%2F2011%2F12%2Ffix-computer%2F&amp;linkname=%5Bfun%5D%20%26%238211%3B%20How%20to%20fix%20any%20computer%26%238230%3B" title="Google Gmail" rel="nofollow" target="_blank"><img src="http://www.albertopasca.it/whiletrue/wp-content/plugins/add-to-any/icons/gmail.png" width="16" height="16" alt="Google Gmail"/></a><a class="a2a_button_myspace" href="http://www.addtoany.com/add_to/myspace?linkurl=http%3A%2F%2Fwww.albertopasca.it%2Fwhiletrue%2F2011%2F12%2Ffix-computer%2F&amp;linkname=%5Bfun%5D%20%26%238211%3B%20How%20to%20fix%20any%20computer%26%238230%3B" title="MySpace" rel="nofollow" target="_blank"><img src="http://www.albertopasca.it/whiletrue/wp-content/plugins/add-to-any/icons/myspace.png" width="16" height="16" alt="MySpace"/></a><a class="a2a_button_google_reader" href="http://www.addtoany.com/add_to/google_reader?linkurl=http%3A%2F%2Fwww.albertopasca.it%2Fwhiletrue%2F2011%2F12%2Ffix-computer%2F&amp;linkname=%5Bfun%5D%20%26%238211%3B%20How%20to%20fix%20any%20computer%26%238230%3B" title="Google Reader" rel="nofollow" target="_blank"><img src="http://www.albertopasca.it/whiletrue/wp-content/plugins/add-to-any/icons/reader.png" width="16" height="16" alt="Google Reader"/></a><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fwww.albertopasca.it%2Fwhiletrue%2F2011%2F12%2Ffix-computer%2F&amp;title=%5Bfun%5D%20%26%238211%3B%20How%20to%20fix%20any%20computer%26%238230%3B" id="wpa2a_10"><img src="http://www.albertopasca.it/whiletrue/wp-content/plugins/add-to-any/share_save_120_16.png" width="120" height="16" alt="Share"/></a></p>]]></content:encoded>
			<wfw:commentRss>http://www.albertopasca.it/whiletrue/2011/12/fix-computer/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>[fun] &#8211; IT organizational charts</title>
		<link>http://www.albertopasca.it/whiletrue/2011/12/fun-organizational-charts/</link>
		<comments>http://www.albertopasca.it/whiletrue/2011/12/fun-organizational-charts/#comments</comments>
		<pubDate>Wed, 21 Dec 2011 13:57:03 +0000</pubDate>
		<dc:creator>Alberto</dc:creator>
				<category><![CDATA[Fun]]></category>

		<guid isPermaLink="false">http://www.albertopasca.it/whiletrue/?p=1194</guid>
		<description><![CDATA[codesnippet.biz]]></description>
			<content:encoded><![CDATA[<p><img alt="" src="http://codesnippet.biz/wp-content/uploads/2011/06/organizational_charts.png" class="alignnone" width="980" height="955" /></p>
<p>codesnippet.biz</p>
<p><a class="a2a_button_facebook" href="http://www.addtoany.com/add_to/facebook?linkurl=http%3A%2F%2Fwww.albertopasca.it%2Fwhiletrue%2F2011%2F12%2Ffun-organizational-charts%2F&amp;linkname=%5Bfun%5D%20%26%238211%3B%20IT%20organizational%20charts" title="Facebook" rel="nofollow" target="_blank"><img src="http://www.albertopasca.it/whiletrue/wp-content/plugins/add-to-any/icons/facebook.png" width="16" height="16" alt="Facebook"/></a><a class="a2a_button_twitter" href="http://www.addtoany.com/add_to/twitter?linkurl=http%3A%2F%2Fwww.albertopasca.it%2Fwhiletrue%2F2011%2F12%2Ffun-organizational-charts%2F&amp;linkname=%5Bfun%5D%20%26%238211%3B%20IT%20organizational%20charts" title="Twitter" rel="nofollow" target="_blank"><img src="http://www.albertopasca.it/whiletrue/wp-content/plugins/add-to-any/icons/twitter.png" width="16" height="16" alt="Twitter"/></a><a class="a2a_button_delicious" href="http://www.addtoany.com/add_to/delicious?linkurl=http%3A%2F%2Fwww.albertopasca.it%2Fwhiletrue%2F2011%2F12%2Ffun-organizational-charts%2F&amp;linkname=%5Bfun%5D%20%26%238211%3B%20IT%20organizational%20charts" title="Delicious" rel="nofollow" target="_blank"><img src="http://www.albertopasca.it/whiletrue/wp-content/plugins/add-to-any/icons/delicious.png" width="16" height="16" alt="Delicious"/></a><a class="a2a_button_linkedin" href="http://www.addtoany.com/add_to/linkedin?linkurl=http%3A%2F%2Fwww.albertopasca.it%2Fwhiletrue%2F2011%2F12%2Ffun-organizational-charts%2F&amp;linkname=%5Bfun%5D%20%26%238211%3B%20IT%20organizational%20charts" title="LinkedIn" rel="nofollow" target="_blank"><img src="http://www.albertopasca.it/whiletrue/wp-content/plugins/add-to-any/icons/linkedin.png" width="16" height="16" alt="LinkedIn"/></a><a class="a2a_button_google_bookmarks" href="http://www.addtoany.com/add_to/google_bookmarks?linkurl=http%3A%2F%2Fwww.albertopasca.it%2Fwhiletrue%2F2011%2F12%2Ffun-organizational-charts%2F&amp;linkname=%5Bfun%5D%20%26%238211%3B%20IT%20organizational%20charts" title="Google Bookmarks" rel="nofollow" target="_blank"><img src="http://www.albertopasca.it/whiletrue/wp-content/plugins/add-to-any/icons/google.png" width="16" height="16" alt="Google Bookmarks"/></a><a class="a2a_button_netlog" href="http://www.addtoany.com/add_to/netlog?linkurl=http%3A%2F%2Fwww.albertopasca.it%2Fwhiletrue%2F2011%2F12%2Ffun-organizational-charts%2F&amp;linkname=%5Bfun%5D%20%26%238211%3B%20IT%20organizational%20charts" title="Netlog" rel="nofollow" target="_blank"><img src="http://www.albertopasca.it/whiletrue/wp-content/plugins/add-to-any/icons/netlog.png" width="16" height="16" alt="Netlog"/></a><a class="a2a_button_google_gmail" href="http://www.addtoany.com/add_to/google_gmail?linkurl=http%3A%2F%2Fwww.albertopasca.it%2Fwhiletrue%2F2011%2F12%2Ffun-organizational-charts%2F&amp;linkname=%5Bfun%5D%20%26%238211%3B%20IT%20organizational%20charts" title="Google Gmail" rel="nofollow" target="_blank"><img src="http://www.albertopasca.it/whiletrue/wp-content/plugins/add-to-any/icons/gmail.png" width="16" height="16" alt="Google Gmail"/></a><a class="a2a_button_myspace" href="http://www.addtoany.com/add_to/myspace?linkurl=http%3A%2F%2Fwww.albertopasca.it%2Fwhiletrue%2F2011%2F12%2Ffun-organizational-charts%2F&amp;linkname=%5Bfun%5D%20%26%238211%3B%20IT%20organizational%20charts" title="MySpace" rel="nofollow" target="_blank"><img src="http://www.albertopasca.it/whiletrue/wp-content/plugins/add-to-any/icons/myspace.png" width="16" height="16" alt="MySpace"/></a><a class="a2a_button_google_reader" href="http://www.addtoany.com/add_to/google_reader?linkurl=http%3A%2F%2Fwww.albertopasca.it%2Fwhiletrue%2F2011%2F12%2Ffun-organizational-charts%2F&amp;linkname=%5Bfun%5D%20%26%238211%3B%20IT%20organizational%20charts" title="Google Reader" rel="nofollow" target="_blank"><img src="http://www.albertopasca.it/whiletrue/wp-content/plugins/add-to-any/icons/reader.png" width="16" height="16" alt="Google Reader"/></a><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fwww.albertopasca.it%2Fwhiletrue%2F2011%2F12%2Ffun-organizational-charts%2F&amp;title=%5Bfun%5D%20%26%238211%3B%20IT%20organizational%20charts" id="wpa2a_12"><img src="http://www.albertopasca.it/whiletrue/wp-content/plugins/add-to-any/share_save_120_16.png" width="120" height="16" alt="Share"/></a></p>]]></content:encoded>
			<wfw:commentRss>http://www.albertopasca.it/whiletrue/2011/12/fun-organizational-charts/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>[fun] &#8211; Tempo libero?</title>
		<link>http://www.albertopasca.it/whiletrue/2011/12/fun-perche-chi-lavora-con-il-computer-sembra-avere-tanto-tempo-libero/</link>
		<comments>http://www.albertopasca.it/whiletrue/2011/12/fun-perche-chi-lavora-con-il-computer-sembra-avere-tanto-tempo-libero/#comments</comments>
		<pubDate>Wed, 21 Dec 2011 13:42:29 +0000</pubDate>
		<dc:creator>Alberto</dc:creator>
				<category><![CDATA[Fun]]></category>
		<category><![CDATA[3D Artist]]></category>
		<category><![CDATA[Hacker]]></category>
		<category><![CDATA[IT Consultant]]></category>
		<category><![CDATA[Programmer]]></category>
		<category><![CDATA[Sysadmin]]></category>
		<category><![CDATA[Web Developer]]></category>

		<guid isPermaLink="false">http://www.albertopasca.it/whiletrue/?p=1184</guid>
		<description><![CDATA[codesnippet.biz]]></description>
			<content:encoded><![CDATA[<p><img src="http://www.albertopasca.it/whiletrue/wp-content/uploads/2011/12/Web-Developer-Sysadmin-Hacker-3D-Artist-IT-Consultant-Programmer1.jpg" alt="Web Developer - Sysadmin - Hacker - 3D Artist - IT Consultant - Programmer" title="Web Developer - Sysadmin - Hacker - 3D Artist - IT Consultant - Programmer" width="500" height="414" class="alignnone size-full wp-image-1178" /></p>
<p>codesnippet.biz</p>
<p><a class="a2a_button_facebook" href="http://www.addtoany.com/add_to/facebook?linkurl=http%3A%2F%2Fwww.albertopasca.it%2Fwhiletrue%2F2011%2F12%2Ffun-perche-chi-lavora-con-il-computer-sembra-avere-tanto-tempo-libero%2F&amp;linkname=%5Bfun%5D%20%26%238211%3B%20Tempo%20libero%3F" title="Facebook" rel="nofollow" target="_blank"><img src="http://www.albertopasca.it/whiletrue/wp-content/plugins/add-to-any/icons/facebook.png" width="16" height="16" alt="Facebook"/></a><a class="a2a_button_twitter" href="http://www.addtoany.com/add_to/twitter?linkurl=http%3A%2F%2Fwww.albertopasca.it%2Fwhiletrue%2F2011%2F12%2Ffun-perche-chi-lavora-con-il-computer-sembra-avere-tanto-tempo-libero%2F&amp;linkname=%5Bfun%5D%20%26%238211%3B%20Tempo%20libero%3F" title="Twitter" rel="nofollow" target="_blank"><img src="http://www.albertopasca.it/whiletrue/wp-content/plugins/add-to-any/icons/twitter.png" width="16" height="16" alt="Twitter"/></a><a class="a2a_button_delicious" href="http://www.addtoany.com/add_to/delicious?linkurl=http%3A%2F%2Fwww.albertopasca.it%2Fwhiletrue%2F2011%2F12%2Ffun-perche-chi-lavora-con-il-computer-sembra-avere-tanto-tempo-libero%2F&amp;linkname=%5Bfun%5D%20%26%238211%3B%20Tempo%20libero%3F" title="Delicious" rel="nofollow" target="_blank"><img src="http://www.albertopasca.it/whiletrue/wp-content/plugins/add-to-any/icons/delicious.png" width="16" height="16" alt="Delicious"/></a><a class="a2a_button_linkedin" href="http://www.addtoany.com/add_to/linkedin?linkurl=http%3A%2F%2Fwww.albertopasca.it%2Fwhiletrue%2F2011%2F12%2Ffun-perche-chi-lavora-con-il-computer-sembra-avere-tanto-tempo-libero%2F&amp;linkname=%5Bfun%5D%20%26%238211%3B%20Tempo%20libero%3F" title="LinkedIn" rel="nofollow" target="_blank"><img src="http://www.albertopasca.it/whiletrue/wp-content/plugins/add-to-any/icons/linkedin.png" width="16" height="16" alt="LinkedIn"/></a><a class="a2a_button_google_bookmarks" href="http://www.addtoany.com/add_to/google_bookmarks?linkurl=http%3A%2F%2Fwww.albertopasca.it%2Fwhiletrue%2F2011%2F12%2Ffun-perche-chi-lavora-con-il-computer-sembra-avere-tanto-tempo-libero%2F&amp;linkname=%5Bfun%5D%20%26%238211%3B%20Tempo%20libero%3F" title="Google Bookmarks" rel="nofollow" target="_blank"><img src="http://www.albertopasca.it/whiletrue/wp-content/plugins/add-to-any/icons/google.png" width="16" height="16" alt="Google Bookmarks"/></a><a class="a2a_button_netlog" href="http://www.addtoany.com/add_to/netlog?linkurl=http%3A%2F%2Fwww.albertopasca.it%2Fwhiletrue%2F2011%2F12%2Ffun-perche-chi-lavora-con-il-computer-sembra-avere-tanto-tempo-libero%2F&amp;linkname=%5Bfun%5D%20%26%238211%3B%20Tempo%20libero%3F" title="Netlog" rel="nofollow" target="_blank"><img src="http://www.albertopasca.it/whiletrue/wp-content/plugins/add-to-any/icons/netlog.png" width="16" height="16" alt="Netlog"/></a><a class="a2a_button_google_gmail" href="http://www.addtoany.com/add_to/google_gmail?linkurl=http%3A%2F%2Fwww.albertopasca.it%2Fwhiletrue%2F2011%2F12%2Ffun-perche-chi-lavora-con-il-computer-sembra-avere-tanto-tempo-libero%2F&amp;linkname=%5Bfun%5D%20%26%238211%3B%20Tempo%20libero%3F" title="Google Gmail" rel="nofollow" target="_blank"><img src="http://www.albertopasca.it/whiletrue/wp-content/plugins/add-to-any/icons/gmail.png" width="16" height="16" alt="Google Gmail"/></a><a class="a2a_button_myspace" href="http://www.addtoany.com/add_to/myspace?linkurl=http%3A%2F%2Fwww.albertopasca.it%2Fwhiletrue%2F2011%2F12%2Ffun-perche-chi-lavora-con-il-computer-sembra-avere-tanto-tempo-libero%2F&amp;linkname=%5Bfun%5D%20%26%238211%3B%20Tempo%20libero%3F" title="MySpace" rel="nofollow" target="_blank"><img src="http://www.albertopasca.it/whiletrue/wp-content/plugins/add-to-any/icons/myspace.png" width="16" height="16" alt="MySpace"/></a><a class="a2a_button_google_reader" href="http://www.addtoany.com/add_to/google_reader?linkurl=http%3A%2F%2Fwww.albertopasca.it%2Fwhiletrue%2F2011%2F12%2Ffun-perche-chi-lavora-con-il-computer-sembra-avere-tanto-tempo-libero%2F&amp;linkname=%5Bfun%5D%20%26%238211%3B%20Tempo%20libero%3F" title="Google Reader" rel="nofollow" target="_blank"><img src="http://www.albertopasca.it/whiletrue/wp-content/plugins/add-to-any/icons/reader.png" width="16" height="16" alt="Google Reader"/></a><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fwww.albertopasca.it%2Fwhiletrue%2F2011%2F12%2Ffun-perche-chi-lavora-con-il-computer-sembra-avere-tanto-tempo-libero%2F&amp;title=%5Bfun%5D%20%26%238211%3B%20Tempo%20libero%3F" id="wpa2a_14"><img src="http://www.albertopasca.it/whiletrue/wp-content/plugins/add-to-any/share_save_120_16.png" width="120" height="16" alt="Share"/></a></p>]]></content:encoded>
			<wfw:commentRss>http://www.albertopasca.it/whiletrue/2011/12/fun-perche-chi-lavora-con-il-computer-sembra-avere-tanto-tempo-libero/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>[Objective-C] Read default Info.plist</title>
		<link>http://www.albertopasca.it/whiletrue/2011/12/objective-c-read-default-info-plist/</link>
		<comments>http://www.albertopasca.it/whiletrue/2011/12/objective-c-read-default-info-plist/#comments</comments>
		<pubDate>Wed, 21 Dec 2011 11:45:33 +0000</pubDate>
		<dc:creator>Alberto</dc:creator>
				<category><![CDATA[Apple]]></category>
		<category><![CDATA[Ipad]]></category>
		<category><![CDATA[iPhone]]></category>
		<category><![CDATA[Mac]]></category>
		<category><![CDATA[Objective-C]]></category>

		<guid isPermaLink="false">http://www.albertopasca.it/whiletrue/?p=1174</guid>
		<description><![CDATA[Reading Info.plist: 12&#160; NSBundle* &#160;mainBundle = &#91;NSBundle mainBundle&#93;; &#160; NSLog&#40;@&#34;%@&#34;, &#91;mainBundle objectForInfoDictionaryKey:@&#34;UIBackgroundModes&#34;&#93;&#41;; Writing Info.plist You can&#8217;t. App bundles are read-only because they are signed, changing their content would break the signing and the app would be considered to be tampered with and not run.]]></description>
			<content:encoded><![CDATA[<p><strong>Reading Info.plist:</strong></p>
<div class="codecolorer-container objc geshi" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br />2<br /></div></td><td><div class="objc codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">&nbsp; <span style="color: #400080;">NSBundle</span><span style="color: #002200;">*</span> &nbsp;mainBundle <span style="color: #002200;">=</span> <span style="color: #002200;">&#91;</span><span style="color: #400080;">NSBundle</span> mainBundle<span style="color: #002200;">&#93;</span>;<br />
&nbsp; NSLog<span style="color: #002200;">&#40;</span><span style="color: #bf1d1a;">@</span><span style="color: #bf1d1a;">&quot;%@&quot;</span>, <span style="color: #002200;">&#91;</span>mainBundle objectForInfoDictionaryKey<span style="color: #002200;">:</span><span style="color: #bf1d1a;">@</span><span style="color: #bf1d1a;">&quot;UIBackgroundModes&quot;</span><span style="color: #002200;">&#93;</span><span style="color: #002200;">&#41;</span>;</div></td></tr></tbody></table></div>
<p><strong>Writing Info.plist</strong></p>
<p>You can&#8217;t.<br />
App bundles are read-only because they are signed, changing their content would break the signing and the app would be considered to be tampered with and not run.</p>
<p><a class="a2a_button_facebook" href="http://www.addtoany.com/add_to/facebook?linkurl=http%3A%2F%2Fwww.albertopasca.it%2Fwhiletrue%2F2011%2F12%2Fobjective-c-read-default-info-plist%2F&amp;linkname=%5BObjective-C%5D%20Read%20default%20Info.plist" title="Facebook" rel="nofollow" target="_blank"><img src="http://www.albertopasca.it/whiletrue/wp-content/plugins/add-to-any/icons/facebook.png" width="16" height="16" alt="Facebook"/></a><a class="a2a_button_twitter" href="http://www.addtoany.com/add_to/twitter?linkurl=http%3A%2F%2Fwww.albertopasca.it%2Fwhiletrue%2F2011%2F12%2Fobjective-c-read-default-info-plist%2F&amp;linkname=%5BObjective-C%5D%20Read%20default%20Info.plist" title="Twitter" rel="nofollow" target="_blank"><img src="http://www.albertopasca.it/whiletrue/wp-content/plugins/add-to-any/icons/twitter.png" width="16" height="16" alt="Twitter"/></a><a class="a2a_button_delicious" href="http://www.addtoany.com/add_to/delicious?linkurl=http%3A%2F%2Fwww.albertopasca.it%2Fwhiletrue%2F2011%2F12%2Fobjective-c-read-default-info-plist%2F&amp;linkname=%5BObjective-C%5D%20Read%20default%20Info.plist" title="Delicious" rel="nofollow" target="_blank"><img src="http://www.albertopasca.it/whiletrue/wp-content/plugins/add-to-any/icons/delicious.png" width="16" height="16" alt="Delicious"/></a><a class="a2a_button_linkedin" href="http://www.addtoany.com/add_to/linkedin?linkurl=http%3A%2F%2Fwww.albertopasca.it%2Fwhiletrue%2F2011%2F12%2Fobjective-c-read-default-info-plist%2F&amp;linkname=%5BObjective-C%5D%20Read%20default%20Info.plist" title="LinkedIn" rel="nofollow" target="_blank"><img src="http://www.albertopasca.it/whiletrue/wp-content/plugins/add-to-any/icons/linkedin.png" width="16" height="16" alt="LinkedIn"/></a><a class="a2a_button_google_bookmarks" href="http://www.addtoany.com/add_to/google_bookmarks?linkurl=http%3A%2F%2Fwww.albertopasca.it%2Fwhiletrue%2F2011%2F12%2Fobjective-c-read-default-info-plist%2F&amp;linkname=%5BObjective-C%5D%20Read%20default%20Info.plist" title="Google Bookmarks" rel="nofollow" target="_blank"><img src="http://www.albertopasca.it/whiletrue/wp-content/plugins/add-to-any/icons/google.png" width="16" height="16" alt="Google Bookmarks"/></a><a class="a2a_button_netlog" href="http://www.addtoany.com/add_to/netlog?linkurl=http%3A%2F%2Fwww.albertopasca.it%2Fwhiletrue%2F2011%2F12%2Fobjective-c-read-default-info-plist%2F&amp;linkname=%5BObjective-C%5D%20Read%20default%20Info.plist" title="Netlog" rel="nofollow" target="_blank"><img src="http://www.albertopasca.it/whiletrue/wp-content/plugins/add-to-any/icons/netlog.png" width="16" height="16" alt="Netlog"/></a><a class="a2a_button_google_gmail" href="http://www.addtoany.com/add_to/google_gmail?linkurl=http%3A%2F%2Fwww.albertopasca.it%2Fwhiletrue%2F2011%2F12%2Fobjective-c-read-default-info-plist%2F&amp;linkname=%5BObjective-C%5D%20Read%20default%20Info.plist" title="Google Gmail" rel="nofollow" target="_blank"><img src="http://www.albertopasca.it/whiletrue/wp-content/plugins/add-to-any/icons/gmail.png" width="16" height="16" alt="Google Gmail"/></a><a class="a2a_button_myspace" href="http://www.addtoany.com/add_to/myspace?linkurl=http%3A%2F%2Fwww.albertopasca.it%2Fwhiletrue%2F2011%2F12%2Fobjective-c-read-default-info-plist%2F&amp;linkname=%5BObjective-C%5D%20Read%20default%20Info.plist" title="MySpace" rel="nofollow" target="_blank"><img src="http://www.albertopasca.it/whiletrue/wp-content/plugins/add-to-any/icons/myspace.png" width="16" height="16" alt="MySpace"/></a><a class="a2a_button_google_reader" href="http://www.addtoany.com/add_to/google_reader?linkurl=http%3A%2F%2Fwww.albertopasca.it%2Fwhiletrue%2F2011%2F12%2Fobjective-c-read-default-info-plist%2F&amp;linkname=%5BObjective-C%5D%20Read%20default%20Info.plist" title="Google Reader" rel="nofollow" target="_blank"><img src="http://www.albertopasca.it/whiletrue/wp-content/plugins/add-to-any/icons/reader.png" width="16" height="16" alt="Google Reader"/></a><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fwww.albertopasca.it%2Fwhiletrue%2F2011%2F12%2Fobjective-c-read-default-info-plist%2F&amp;title=%5BObjective-C%5D%20Read%20default%20Info.plist" id="wpa2a_16"><img src="http://www.albertopasca.it/whiletrue/wp-content/plugins/add-to-any/share_save_120_16.png" width="120" height="16" alt="Share"/></a></p>]]></content:encoded>
			<wfw:commentRss>http://www.albertopasca.it/whiletrue/2011/12/objective-c-read-default-info-plist/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>[SHELL] Count lines of code in all files recursively</title>
		<link>http://www.albertopasca.it/whiletrue/2011/12/shell-count-lines-code-files-recursively/</link>
		<comments>http://www.albertopasca.it/whiletrue/2011/12/shell-count-lines-code-files-recursively/#comments</comments>
		<pubDate>Fri, 16 Dec 2011 15:06:03 +0000</pubDate>
		<dc:creator>Alberto</dc:creator>
				<category><![CDATA[Apple]]></category>
		<category><![CDATA[Conf]]></category>
		<category><![CDATA[Dev]]></category>
		<category><![CDATA[Ipad]]></category>
		<category><![CDATA[iPhone]]></category>
		<category><![CDATA[Linux Shell]]></category>
		<category><![CDATA[Mac]]></category>
		<category><![CDATA[Mobile]]></category>
		<category><![CDATA[code]]></category>
		<category><![CDATA[count]]></category>
		<category><![CDATA[files]]></category>
		<category><![CDATA[ios]]></category>
		<category><![CDATA[line]]></category>
		<category><![CDATA[recursively]]></category>
		<category><![CDATA[shell]]></category>
		<category><![CDATA[unix]]></category>

		<guid isPermaLink="false">http://www.albertopasca.it/whiletrue/?p=1162</guid>
		<description><![CDATA[Here a unix command line script to count code lines for your project (or something else!). In this example it counts lines in an Objective-C iOS Application (.h or .m files). 1234$ $find . \&#40; -name '*.h' -o -name '*.m' \&#41; -print -exec cat &#123;&#125; \; &#124; wc -l &#160; 25812 $ Explanation: find . [...]]]></description>
			<content:encoded><![CDATA[<p>Here a unix command line script to <strong>count code lines</strong> for your project (or something else!).</p>
<p>In this example it counts lines in an <strong>Objective-C iOS Application</strong> (.<strong>h</strong> or .<strong>m</strong> files).</p>
<div class="codecolorer-container bash geshi" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br />2<br />3<br />4<br /></div></td><td><div class="bash codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">$<br />
<span style="color: #007800;">$find</span> . \<span style="color: #7a0874; font-weight: bold;">&#40;</span> <span style="color: #660033;">-name</span> <span style="color: #ff0000;">'*.h'</span> <span style="color: #660033;">-o</span> <span style="color: #660033;">-name</span> <span style="color: #ff0000;">'*.m'</span> \<span style="color: #7a0874; font-weight: bold;">&#41;</span> <span style="color: #660033;">-print</span> <span style="color: #660033;">-exec</span> <span style="color: #c20cb9; font-weight: bold;">cat</span> <span style="color: #7a0874; font-weight: bold;">&#123;</span><span style="color: #7a0874; font-weight: bold;">&#125;</span> \; <span style="color: #000000; font-weight: bold;">|</span> <span style="color: #c20cb9; font-weight: bold;">wc</span> <span style="color: #660033;">-l</span><br />
&nbsp; <span style="color: #000000;">25812</span><br />
$</div></td></tr></tbody></table></div>
<p>
<hr />
<p><strong>Explanation</strong>:</p>
<blockquote><p>
find . \( -name &#8216;*.h&#8217; -o -name &#8216;*.m&#8217; \) -print
</p></blockquote>
<p>- list all files endings with .H or .M recursively from current folder (.).</p>
<blockquote><p>
-exec cat {} \;
</p></blockquote>
<p>- while it finds files, exec a cat on current file</p>
<blockquote><p>
wc -l
</p></blockquote>
<p>- count lines of current file and sum it to total.</p>
<p>
<strong>25812</strong> lines of code! Sounds good!</p>
<p>enjoy!</p>
<p><a class="a2a_button_facebook" href="http://www.addtoany.com/add_to/facebook?linkurl=http%3A%2F%2Fwww.albertopasca.it%2Fwhiletrue%2F2011%2F12%2Fshell-count-lines-code-files-recursively%2F&amp;linkname=%5BSHELL%5D%20Count%20lines%20of%20code%20in%20all%20files%20recursively" title="Facebook" rel="nofollow" target="_blank"><img src="http://www.albertopasca.it/whiletrue/wp-content/plugins/add-to-any/icons/facebook.png" width="16" height="16" alt="Facebook"/></a><a class="a2a_button_twitter" href="http://www.addtoany.com/add_to/twitter?linkurl=http%3A%2F%2Fwww.albertopasca.it%2Fwhiletrue%2F2011%2F12%2Fshell-count-lines-code-files-recursively%2F&amp;linkname=%5BSHELL%5D%20Count%20lines%20of%20code%20in%20all%20files%20recursively" title="Twitter" rel="nofollow" target="_blank"><img src="http://www.albertopasca.it/whiletrue/wp-content/plugins/add-to-any/icons/twitter.png" width="16" height="16" alt="Twitter"/></a><a class="a2a_button_delicious" href="http://www.addtoany.com/add_to/delicious?linkurl=http%3A%2F%2Fwww.albertopasca.it%2Fwhiletrue%2F2011%2F12%2Fshell-count-lines-code-files-recursively%2F&amp;linkname=%5BSHELL%5D%20Count%20lines%20of%20code%20in%20all%20files%20recursively" title="Delicious" rel="nofollow" target="_blank"><img src="http://www.albertopasca.it/whiletrue/wp-content/plugins/add-to-any/icons/delicious.png" width="16" height="16" alt="Delicious"/></a><a class="a2a_button_linkedin" href="http://www.addtoany.com/add_to/linkedin?linkurl=http%3A%2F%2Fwww.albertopasca.it%2Fwhiletrue%2F2011%2F12%2Fshell-count-lines-code-files-recursively%2F&amp;linkname=%5BSHELL%5D%20Count%20lines%20of%20code%20in%20all%20files%20recursively" title="LinkedIn" rel="nofollow" target="_blank"><img src="http://www.albertopasca.it/whiletrue/wp-content/plugins/add-to-any/icons/linkedin.png" width="16" height="16" alt="LinkedIn"/></a><a class="a2a_button_google_bookmarks" href="http://www.addtoany.com/add_to/google_bookmarks?linkurl=http%3A%2F%2Fwww.albertopasca.it%2Fwhiletrue%2F2011%2F12%2Fshell-count-lines-code-files-recursively%2F&amp;linkname=%5BSHELL%5D%20Count%20lines%20of%20code%20in%20all%20files%20recursively" title="Google Bookmarks" rel="nofollow" target="_blank"><img src="http://www.albertopasca.it/whiletrue/wp-content/plugins/add-to-any/icons/google.png" width="16" height="16" alt="Google Bookmarks"/></a><a class="a2a_button_netlog" href="http://www.addtoany.com/add_to/netlog?linkurl=http%3A%2F%2Fwww.albertopasca.it%2Fwhiletrue%2F2011%2F12%2Fshell-count-lines-code-files-recursively%2F&amp;linkname=%5BSHELL%5D%20Count%20lines%20of%20code%20in%20all%20files%20recursively" title="Netlog" rel="nofollow" target="_blank"><img src="http://www.albertopasca.it/whiletrue/wp-content/plugins/add-to-any/icons/netlog.png" width="16" height="16" alt="Netlog"/></a><a class="a2a_button_google_gmail" href="http://www.addtoany.com/add_to/google_gmail?linkurl=http%3A%2F%2Fwww.albertopasca.it%2Fwhiletrue%2F2011%2F12%2Fshell-count-lines-code-files-recursively%2F&amp;linkname=%5BSHELL%5D%20Count%20lines%20of%20code%20in%20all%20files%20recursively" title="Google Gmail" rel="nofollow" target="_blank"><img src="http://www.albertopasca.it/whiletrue/wp-content/plugins/add-to-any/icons/gmail.png" width="16" height="16" alt="Google Gmail"/></a><a class="a2a_button_myspace" href="http://www.addtoany.com/add_to/myspace?linkurl=http%3A%2F%2Fwww.albertopasca.it%2Fwhiletrue%2F2011%2F12%2Fshell-count-lines-code-files-recursively%2F&amp;linkname=%5BSHELL%5D%20Count%20lines%20of%20code%20in%20all%20files%20recursively" title="MySpace" rel="nofollow" target="_blank"><img src="http://www.albertopasca.it/whiletrue/wp-content/plugins/add-to-any/icons/myspace.png" width="16" height="16" alt="MySpace"/></a><a class="a2a_button_google_reader" href="http://www.addtoany.com/add_to/google_reader?linkurl=http%3A%2F%2Fwww.albertopasca.it%2Fwhiletrue%2F2011%2F12%2Fshell-count-lines-code-files-recursively%2F&amp;linkname=%5BSHELL%5D%20Count%20lines%20of%20code%20in%20all%20files%20recursively" title="Google Reader" rel="nofollow" target="_blank"><img src="http://www.albertopasca.it/whiletrue/wp-content/plugins/add-to-any/icons/reader.png" width="16" height="16" alt="Google Reader"/></a><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fwww.albertopasca.it%2Fwhiletrue%2F2011%2F12%2Fshell-count-lines-code-files-recursively%2F&amp;title=%5BSHELL%5D%20Count%20lines%20of%20code%20in%20all%20files%20recursively" id="wpa2a_18"><img src="http://www.albertopasca.it/whiletrue/wp-content/plugins/add-to-any/share_save_120_16.png" width="120" height="16" alt="Share"/></a></p>]]></content:encoded>
			<wfw:commentRss>http://www.albertopasca.it/whiletrue/2011/12/shell-count-lines-code-files-recursively/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Win a Paid GitHub Account!</title>
		<link>http://www.albertopasca.it/whiletrue/2011/12/win-paid-github-account/</link>
		<comments>http://www.albertopasca.it/whiletrue/2011/12/win-paid-github-account/#comments</comments>
		<pubDate>Thu, 15 Dec 2011 23:58:58 +0000</pubDate>
		<dc:creator>Alberto</dc:creator>
				<category><![CDATA[Android]]></category>
		<category><![CDATA[C]]></category>
		<category><![CDATA[C#]]></category>
		<category><![CDATA[C++]]></category>
		<category><![CDATA[Dev]]></category>
		<category><![CDATA[Ipad]]></category>
		<category><![CDATA[iPhone]]></category>
		<category><![CDATA[j2me]]></category>
		<category><![CDATA[Java]]></category>
		<category><![CDATA[Linux Shell]]></category>
		<category><![CDATA[Objective-C]]></category>
		<category><![CDATA[Windows Phone 7]]></category>
		<category><![CDATA[account]]></category>
		<category><![CDATA[developer]]></category>
		<category><![CDATA[free]]></category>
		<category><![CDATA[github]]></category>
		<category><![CDATA[payd]]></category>
		<category><![CDATA[svn]]></category>

		<guid isPermaLink="false">http://www.albertopasca.it/whiletrue/?p=1155</guid>
		<description><![CDATA[Great idea! Follow this link: http://appsumo.com/~_z6T and you can win a paid account for Github! You need only respond to a simple question! Do you know GitHub.com? git·hub /&#8217;ɡɪtˌhʌb/ GitHub is the best way to collaborate with others. Fork, send pull requests and manage all your public and private git repositories. Click here http://appsumo.com/~_z6T and [...]]]></description>
			<content:encoded><![CDATA[<p>Great idea!<br />
Follow this link: <strong><a href="http://appsumo.com/~rS6T" target="_blank">http://appsumo.com/~_z6T</a></strong> and you can win a paid account for Github!<br />
You need only respond to a simple question! <img src='http://www.albertopasca.it/whiletrue/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>Do you know <strong><a href="GitHub.com" target="_blank">GitHub.com</a></strong>? </p>
<blockquote><p><strong>git·hub /&#8217;ɡɪtˌhʌb/</strong><br />
GitHub is the best way to collaborate with others. Fork, send pull requests and manage all your public and private git repositories.</p></blockquote>
<p><center><br />
<img src="https://s3.amazonaws.com/media.appsumo.com/cache/02/58/025807e631b5abb135943953b6be1f91.png" alt="Github Free Account" /><br />
</center></p>
<p>Click here <strong><a href="http://appsumo.com/~_z6T" target="_blank">http://appsumo.com/~_z6T</a></strong> and Win!</p>
<p>Enjoy!</p>
<p><a class="a2a_button_facebook" href="http://www.addtoany.com/add_to/facebook?linkurl=http%3A%2F%2Fwww.albertopasca.it%2Fwhiletrue%2F2011%2F12%2Fwin-paid-github-account%2F&amp;linkname=Win%20a%20Paid%20GitHub%20Account%21" title="Facebook" rel="nofollow" target="_blank"><img src="http://www.albertopasca.it/whiletrue/wp-content/plugins/add-to-any/icons/facebook.png" width="16" height="16" alt="Facebook"/></a><a class="a2a_button_twitter" href="http://www.addtoany.com/add_to/twitter?linkurl=http%3A%2F%2Fwww.albertopasca.it%2Fwhiletrue%2F2011%2F12%2Fwin-paid-github-account%2F&amp;linkname=Win%20a%20Paid%20GitHub%20Account%21" title="Twitter" rel="nofollow" target="_blank"><img src="http://www.albertopasca.it/whiletrue/wp-content/plugins/add-to-any/icons/twitter.png" width="16" height="16" alt="Twitter"/></a><a class="a2a_button_delicious" href="http://www.addtoany.com/add_to/delicious?linkurl=http%3A%2F%2Fwww.albertopasca.it%2Fwhiletrue%2F2011%2F12%2Fwin-paid-github-account%2F&amp;linkname=Win%20a%20Paid%20GitHub%20Account%21" title="Delicious" rel="nofollow" target="_blank"><img src="http://www.albertopasca.it/whiletrue/wp-content/plugins/add-to-any/icons/delicious.png" width="16" height="16" alt="Delicious"/></a><a class="a2a_button_linkedin" href="http://www.addtoany.com/add_to/linkedin?linkurl=http%3A%2F%2Fwww.albertopasca.it%2Fwhiletrue%2F2011%2F12%2Fwin-paid-github-account%2F&amp;linkname=Win%20a%20Paid%20GitHub%20Account%21" title="LinkedIn" rel="nofollow" target="_blank"><img src="http://www.albertopasca.it/whiletrue/wp-content/plugins/add-to-any/icons/linkedin.png" width="16" height="16" alt="LinkedIn"/></a><a class="a2a_button_google_bookmarks" href="http://www.addtoany.com/add_to/google_bookmarks?linkurl=http%3A%2F%2Fwww.albertopasca.it%2Fwhiletrue%2F2011%2F12%2Fwin-paid-github-account%2F&amp;linkname=Win%20a%20Paid%20GitHub%20Account%21" title="Google Bookmarks" rel="nofollow" target="_blank"><img src="http://www.albertopasca.it/whiletrue/wp-content/plugins/add-to-any/icons/google.png" width="16" height="16" alt="Google Bookmarks"/></a><a class="a2a_button_netlog" href="http://www.addtoany.com/add_to/netlog?linkurl=http%3A%2F%2Fwww.albertopasca.it%2Fwhiletrue%2F2011%2F12%2Fwin-paid-github-account%2F&amp;linkname=Win%20a%20Paid%20GitHub%20Account%21" title="Netlog" rel="nofollow" target="_blank"><img src="http://www.albertopasca.it/whiletrue/wp-content/plugins/add-to-any/icons/netlog.png" width="16" height="16" alt="Netlog"/></a><a class="a2a_button_google_gmail" href="http://www.addtoany.com/add_to/google_gmail?linkurl=http%3A%2F%2Fwww.albertopasca.it%2Fwhiletrue%2F2011%2F12%2Fwin-paid-github-account%2F&amp;linkname=Win%20a%20Paid%20GitHub%20Account%21" title="Google Gmail" rel="nofollow" target="_blank"><img src="http://www.albertopasca.it/whiletrue/wp-content/plugins/add-to-any/icons/gmail.png" width="16" height="16" alt="Google Gmail"/></a><a class="a2a_button_myspace" href="http://www.addtoany.com/add_to/myspace?linkurl=http%3A%2F%2Fwww.albertopasca.it%2Fwhiletrue%2F2011%2F12%2Fwin-paid-github-account%2F&amp;linkname=Win%20a%20Paid%20GitHub%20Account%21" title="MySpace" rel="nofollow" target="_blank"><img src="http://www.albertopasca.it/whiletrue/wp-content/plugins/add-to-any/icons/myspace.png" width="16" height="16" alt="MySpace"/></a><a class="a2a_button_google_reader" href="http://www.addtoany.com/add_to/google_reader?linkurl=http%3A%2F%2Fwww.albertopasca.it%2Fwhiletrue%2F2011%2F12%2Fwin-paid-github-account%2F&amp;linkname=Win%20a%20Paid%20GitHub%20Account%21" title="Google Reader" rel="nofollow" target="_blank"><img src="http://www.albertopasca.it/whiletrue/wp-content/plugins/add-to-any/icons/reader.png" width="16" height="16" alt="Google Reader"/></a><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fwww.albertopasca.it%2Fwhiletrue%2F2011%2F12%2Fwin-paid-github-account%2F&amp;title=Win%20a%20Paid%20GitHub%20Account%21" id="wpa2a_20"><img src="http://www.albertopasca.it/whiletrue/wp-content/plugins/add-to-any/share_save_120_16.png" width="120" height="16" alt="Share"/></a></p>]]></content:encoded>
			<wfw:commentRss>http://www.albertopasca.it/whiletrue/2011/12/win-paid-github-account/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

