<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/rss2full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><rss 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/" xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" version="2.0">

<channel>
	<title>Dilantha.info</title>
	
	<link>http://dilantha.info</link>
	<description>Programming, Online Community, Web 2.0 and Sri Lanka</description>
	<lastBuildDate>Sat, 28 Aug 2010 08:31:31 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" type="application/rss+xml" href="http://feeds.feedburner.com/dilantha" /><feedburner:info uri="dilantha" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com/" /><feedburner:browserFriendly></feedburner:browserFriendly><item>
		<title>No Cheques</title>
		<link>http://dilantha.info/2010/08/no-cheques/</link>
		<comments>http://dilantha.info/2010/08/no-cheques/#comments</comments>
		<pubDate>Sat, 28 Aug 2010 08:31:31 +0000</pubDate>
		<dc:creator>Dilantha</dc:creator>
				<category><![CDATA[Business]]></category>
		<category><![CDATA[General]]></category>
		<category><![CDATA[Life]]></category>
		<category><![CDATA[Sri Lanka]]></category>

		<guid isPermaLink="false">http://dilantha.info/?p=482</guid>
		<description><![CDATA[Story time. A few weeks back I was sitting in AMW&#8217;s garage waiting for an invoice for a repair on my car. While I was sitting there, there was an old guy there in pant straps sitting next to me. I hadn&#8217;t seen pant straps in a while. That is probably the reason I even [...]


Related posts:<ol><li><a href='http://dilantha.info/2008/03/choosing-your-freelance-clients/' rel='bookmark' title='Permanent Link: Choosing Your Freelance Clients'>Choosing Your Freelance Clients</a></li>
<li><a href='http://dilantha.info/2008/02/a-very-ethnic-super-market/' rel='bookmark' title='Permanent Link: A Very Ethnic Super Market'>A Very Ethnic Super Market</a></li>
<li><a href='http://dilantha.info/2007/04/chinese-delivery/' rel='bookmark' title='Permanent Link: Chinese Delivery'>Chinese Delivery</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>Story time. A few weeks back I was sitting in AMW&#8217;s garage waiting for an invoice for a repair on my car. </p>
<p>While I was sitting there, there was an old guy there in pant straps sitting next to me. I hadn&#8217;t seen pant straps in a while. That is probably the reason I even remember this story. </p>
<p>So this guy was also trying to pay for a repair as well but he hadn&#8217;t brought enough money. So he was saying he could give them a personal cheque but the cashier wouldn&#8217;t take those. Only cash or credit card she said. Then the old guy says &#8220;I was the governor of the central bank you know &#8230;&#8221; smiled and sat down.</p>
<p>In his day a personal cheque would have been good as gold.</p>
<p>Times have changed. I don&#8217;t think anyone in Sri Lanka now accepts personal cheques as payment for immediate goods. I mean you could pay a bill or something but you can&#8217;t take your goods until it becomes cash.</p>
<p>There is zero trust because people bounce cheques all the time. When one bank kicks you out there are a half a dozen more to take you in. When one company fails you just shut down and make another. There is no credibility, trust or honor in business or individuals. </p>
<p>When I&#8217;m looking to buy a long term product or service I wonder if that company will be there in 5 or 10 years to honor my guarantee. </p>
<p>Fix this if you want to move ahead and do &#8216;good business&#8217;.</p>
<img src="http://dilantha.info/?ak_action=api_record_view&id=482&type=feed" alt="" />

<p>Related posts:<ol><li><a href='http://dilantha.info/2008/03/choosing-your-freelance-clients/' rel='bookmark' title='Permanent Link: Choosing Your Freelance Clients'>Choosing Your Freelance Clients</a></li>
<li><a href='http://dilantha.info/2008/02/a-very-ethnic-super-market/' rel='bookmark' title='Permanent Link: A Very Ethnic Super Market'>A Very Ethnic Super Market</a></li>
<li><a href='http://dilantha.info/2007/04/chinese-delivery/' rel='bookmark' title='Permanent Link: Chinese Delivery'>Chinese Delivery</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://dilantha.info/2010/08/no-cheques/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>Hiring</title>
		<link>http://dilantha.info/2010/08/hiring/</link>
		<comments>http://dilantha.info/2010/08/hiring/#comments</comments>
		<pubDate>Tue, 17 Aug 2010 04:35:58 +0000</pubDate>
		<dc:creator>Dilantha</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[Jobs]]></category>

		<guid isPermaLink="false">http://dilantha.info/?p=478</guid>
		<description><![CDATA[I&#8217;m looking to hire a PHP and or Java person with about 2 years experience. Also a Linux admin / QA Release manager Related posts:Selling out SimpleXMLElement attributes iPad Hype


Related posts:<ol><li><a href='http://dilantha.info/2010/01/selling-out/' rel='bookmark' title='Permanent Link: Selling out'>Selling out</a></li>
<li><a href='http://dilantha.info/2010/07/simplexmlelement-attributes/' rel='bookmark' title='Permanent Link: SimpleXMLElement attributes'>SimpleXMLElement attributes</a></li>
<li><a href='http://dilantha.info/2010/04/ipad-hype/' rel='bookmark' title='Permanent Link: iPad Hype'>iPad Hype</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>I&#8217;m looking to hire a PHP and or Java person with about 2 years experience.</p>
<p>Also a Linux admin / QA Release manager</p>
<img src="http://dilantha.info/?ak_action=api_record_view&id=478&type=feed" alt="" />

<p>Related posts:<ol><li><a href='http://dilantha.info/2010/01/selling-out/' rel='bookmark' title='Permanent Link: Selling out'>Selling out</a></li>
<li><a href='http://dilantha.info/2010/07/simplexmlelement-attributes/' rel='bookmark' title='Permanent Link: SimpleXMLElement attributes'>SimpleXMLElement attributes</a></li>
<li><a href='http://dilantha.info/2010/04/ipad-hype/' rel='bookmark' title='Permanent Link: iPad Hype'>iPad Hype</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://dilantha.info/2010/08/hiring/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Gmail Update</title>
		<link>http://dilantha.info/2010/08/gmail-update/</link>
		<comments>http://dilantha.info/2010/08/gmail-update/#comments</comments>
		<pubDate>Wed, 11 Aug 2010 16:07:39 +0000</pubDate>
		<dc:creator>Dilantha</dc:creator>
				<category><![CDATA[Web Applications]]></category>

		<guid isPermaLink="false">http://dilantha.info/?p=473</guid>
		<description><![CDATA[Gmail got a face-lift today. The main sections Mail, Contacts and Tasks are links on the top left. All actions are buttons so Compose was changed to a button as well. Small changes but have a look at this line in the change log. A smaller header area puts the first message in your inbox [...]


Related posts:<ol><li><a href='http://dilantha.info/2007/05/coping-with-spam-on-yahoo-mail/' rel='bookmark' title='Permanent Link: Coping with spam on Yahoo Mail'>Coping with spam on Yahoo Mail</a></li>
<li><a href='http://dilantha.info/2007/08/buy-more-storage-for-gmail-and-picasa/' rel='bookmark' title='Permanent Link: Buy More Storage for Gmail and Picasa'>Buy More Storage for Gmail and Picasa</a></li>
<li><a href='http://dilantha.info/2007/12/facebook-notification-emails/' rel='bookmark' title='Permanent Link: Facebook Notification Emails'>Facebook Notification Emails</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p><a href="http://dilantha.info/wp-content/uploads/2010/08/new-gmail.png"><img src="http://dilantha.info/wp-content/uploads/2010/08/new-gmail.png" alt="" title="New Gmail" width="170" height="167" class="alignright size-full wp-image-475" /></a></p>
<p>Gmail got a face-lift today. The main sections Mail, Contacts and Tasks are links on the top left. All actions are buttons so Compose was changed to a button as well. Small changes but have a look at this line in the <a href="http://mail.google.com/support/bin/answer.py?hl=en&#038;ctx=mail&#038;answer=184497">change log</a>. </p>
<blockquote><p>A smaller header area puts the first message in your inbox about 16 pixels higher on the screen.</p></blockquote>
<p>Now that&#8217;s the kind of detail most people don&#8217;t bother with. These days sweating the small stuff seems to be the way to keep above the competition.</p>
<img src="http://dilantha.info/?ak_action=api_record_view&id=473&type=feed" alt="" />

<p>Related posts:<ol><li><a href='http://dilantha.info/2007/05/coping-with-spam-on-yahoo-mail/' rel='bookmark' title='Permanent Link: Coping with spam on Yahoo Mail'>Coping with spam on Yahoo Mail</a></li>
<li><a href='http://dilantha.info/2007/08/buy-more-storage-for-gmail-and-picasa/' rel='bookmark' title='Permanent Link: Buy More Storage for Gmail and Picasa'>Buy More Storage for Gmail and Picasa</a></li>
<li><a href='http://dilantha.info/2007/12/facebook-notification-emails/' rel='bookmark' title='Permanent Link: Facebook Notification Emails'>Facebook Notification Emails</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://dilantha.info/2010/08/gmail-update/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>SimpleXMLElement attributes</title>
		<link>http://dilantha.info/2010/07/simplexmlelement-attributes/</link>
		<comments>http://dilantha.info/2010/07/simplexmlelement-attributes/#comments</comments>
		<pubDate>Mon, 19 Jul 2010 17:50:40 +0000</pubDate>
		<dc:creator>Dilantha</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[Web Applications]]></category>

		<guid isPermaLink="false">http://dilantha.info/?p=467</guid>
		<description><![CDATA[Ya unless you work on PHP SimpleXML that title won&#8217;t make much sense. But if you do and you need to mess with SimpleXML as I have been lately to parse some Media RSS feeds you will need to use this function. I was using it to store some urls in a drupal job queue [...]


Related posts:<ol><li><a href='http://dilantha.info/2008/04/fixing-php-redirect-nokia-n80/' rel='bookmark' title='Permanent Link: Fixing PHP Redirect On Nokia N80 Web Browser'>Fixing PHP Redirect On Nokia N80 Web Browser</a></li>
<li><a href='http://dilantha.info/2007/12/facebook-notification-emails/' rel='bookmark' title='Permanent Link: Facebook Notification Emails'>Facebook Notification Emails</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>Ya unless you work on PHP SimpleXML that title won&#8217;t make much sense. But if you do and you need to mess with SimpleXML as I have been lately to parse some Media RSS feeds you will need to use this function.</p>
<p>I was using it to store some urls in a drupal job queue and it was dropping in serialized SimpleXMLElement objects rather than urls.</p>
<p>If you go to the relevant PHP manual page you will find a comment that explains that you need to cast these attributes as string to get the value I was looking to store. </p>
<p>What was more interesting was Googling php SimpleXMLElement shows the solution on the second result as a summery.</p>
<p><a href="http://dilantha.info/wp-content/uploads/2010/07/simplexml.png"><img src="http://dilantha.info/wp-content/uploads/2010/07/simplexml-500x69.png" alt="" title="SimpleXMLElement" width="500" height="69" class="aligncenter size-medium wp-image-468" /></a></p>
<p>Damn they are good.</p>
<img src="http://dilantha.info/?ak_action=api_record_view&id=467&type=feed" alt="" />

<p>Related posts:<ol><li><a href='http://dilantha.info/2008/04/fixing-php-redirect-nokia-n80/' rel='bookmark' title='Permanent Link: Fixing PHP Redirect On Nokia N80 Web Browser'>Fixing PHP Redirect On Nokia N80 Web Browser</a></li>
<li><a href='http://dilantha.info/2007/12/facebook-notification-emails/' rel='bookmark' title='Permanent Link: Facebook Notification Emails'>Facebook Notification Emails</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://dilantha.info/2010/07/simplexmlelement-attributes/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>iPad Hype</title>
		<link>http://dilantha.info/2010/04/ipad-hype/</link>
		<comments>http://dilantha.info/2010/04/ipad-hype/#comments</comments>
		<pubDate>Sat, 03 Apr 2010 16:32:25 +0000</pubDate>
		<dc:creator>Dilantha</dc:creator>
				<category><![CDATA[Mac]]></category>
		<category><![CDATA[Mobile]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[Apple]]></category>
		<category><![CDATA[iPad]]></category>

		<guid isPermaLink="false">http://dilantha.info/?p=455</guid>
		<description><![CDATA[The iPad is here. Well not here in Sri Lanka yet. Give us a few years to catch up will ya. Its a couch computer you use on your knees. Tablets have been around for years but this is not a tablet with a pointy pen device. This a full hands on experience. If I [...]


Related posts:<ol><li><a href='http://dilantha.info/2008/04/my-current-wordpress-plugins/' rel='bookmark' title='Permanent Link: My Current WordPress Plugins'>My Current WordPress Plugins</a></li>
<li><a href='http://dilantha.info/2010/01/selling-out/' rel='bookmark' title='Permanent Link: Selling out'>Selling out</a></li>
<li><a href='http://dilantha.info/2009/12/social-network-status-mapping/' rel='bookmark' title='Permanent Link: Social Network Status Mapping'>Social Network Status Mapping</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p><a href="http://dilantha.info/wp-content/uploads/2010/04/ipad.png"><img src="http://dilantha.info/wp-content/uploads/2010/04/ipad.png" alt="" title="iPad" width="326" height="202" class="aligncenter size-full wp-image-457" /></a></p>
<p>The <a href="http://www.apple.com/ipad/">iPad is here</a>. Well not here in Sri Lanka yet. Give us a few years to catch up will ya. Its a <a href="http://www.crunchgear.com/2010/04/03/hands-on-with-the-apple-ipad-groundbreaking-or-not-its-still-amazing/">couch computer</a> you use on <a href="http://www.ipadkneesup.com/">your knees</a>.</p>
<p>Tablets have been around for years but this is not a tablet with a pointy pen device. This a full hands on experience. If I had one I could have written this post with the latest <a href="http://iphone.wordpress.org/">WordPress app for the iPad</a>.</p>
<img src="http://dilantha.info/?ak_action=api_record_view&id=455&type=feed" alt="" />

<p>Related posts:<ol><li><a href='http://dilantha.info/2008/04/my-current-wordpress-plugins/' rel='bookmark' title='Permanent Link: My Current WordPress Plugins'>My Current WordPress Plugins</a></li>
<li><a href='http://dilantha.info/2010/01/selling-out/' rel='bookmark' title='Permanent Link: Selling out'>Selling out</a></li>
<li><a href='http://dilantha.info/2009/12/social-network-status-mapping/' rel='bookmark' title='Permanent Link: Social Network Status Mapping'>Social Network Status Mapping</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://dilantha.info/2010/04/ipad-hype/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Selling out</title>
		<link>http://dilantha.info/2010/01/selling-out/</link>
		<comments>http://dilantha.info/2010/01/selling-out/#comments</comments>
		<pubDate>Sun, 31 Jan 2010 06:55:01 +0000</pubDate>
		<dc:creator>Dilantha</dc:creator>
				<category><![CDATA[Ideas]]></category>
		<category><![CDATA[Open Source]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[Sri Lanka]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[java]]></category>
		<category><![CDATA[MySql]]></category>

		<guid isPermaLink="false">http://dilantha.info/?p=447</guid>
		<description><![CDATA[The state of Java and MySql are changing. In case you missed it. Sun bought MySql and Oracle bought Sun. I&#8217;ve been working on Java for over 10 years and MySql for over 5 now. I&#8217;m not happy with what is happening. The Java and MySql websites have changed. On the mysql.com site there is [...]


Related posts:<ol><li><a href='http://dilantha.info/2008/03/php-for-developers/' rel='bookmark' title='Permanent Link: PHP for Developers'>PHP for Developers</a></li>
<li><a href='http://dilantha.info/2007/08/might-be-selling-my-car/' rel='bookmark' title='Permanent Link: Might be selling my car'>Might be selling my car</a></li>
<li><a href='http://dilantha.info/2009/01/open-path-it-rebooted/' rel='bookmark' title='Permanent Link: Open Path IT Rebooted'>Open Path IT Rebooted</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>The state of Java and MySql are changing. In case you missed it. Sun bought MySql and Oracle bought Sun. I&#8217;ve been working on Java for over 10 years and MySql for over 5 now. I&#8217;m not happy with what is happening.</p>
<p>The Java and MySql websites have changed. On the mysql.com site there is no prominent link to get to the community edition. If you go to mysql.org to redirects to dev.mysql.com where you can find it. </p>
<p>This is not good for me or a country like Sri Lanka. Most of the solutions I&#8217;ve been involved over the years have used open source foundations. So we were able to deliver solutions to clients at a very reasonable cost. If things get too commercial I&#8217;m a afraid the licensing costs will far overtake the implementation costs.</p>
<p>I&#8217;m sure there will always be open source or free to use versions of Java and MySql, but with a large commercial entity backing them profit comes first then community. I don&#8217;t know I think its time to look at some alternatives.</p>
<p>Update: They got to VirtualBox too.</p>
<p><a href="http://dilantha.info/wp-content/uploads/2010/01/Oracle-VirtualBox.png"><img src="http://dilantha.info/wp-content/uploads/2010/01/Oracle-VirtualBox-500x284.png" alt="" title="Oracle VirtualBox" width="500" height="284" class="aligncenter size-medium wp-image-450" /></a></p>
<img src="http://dilantha.info/?ak_action=api_record_view&id=447&type=feed" alt="" />

<p>Related posts:<ol><li><a href='http://dilantha.info/2008/03/php-for-developers/' rel='bookmark' title='Permanent Link: PHP for Developers'>PHP for Developers</a></li>
<li><a href='http://dilantha.info/2007/08/might-be-selling-my-car/' rel='bookmark' title='Permanent Link: Might be selling my car'>Might be selling my car</a></li>
<li><a href='http://dilantha.info/2009/01/open-path-it-rebooted/' rel='bookmark' title='Permanent Link: Open Path IT Rebooted'>Open Path IT Rebooted</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://dilantha.info/2010/01/selling-out/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Crazy Emails</title>
		<link>http://dilantha.info/2010/01/crazy-emails/</link>
		<comments>http://dilantha.info/2010/01/crazy-emails/#comments</comments>
		<pubDate>Thu, 28 Jan 2010 19:01:02 +0000</pubDate>
		<dc:creator>Dilantha</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[email]]></category>
		<category><![CDATA[rants]]></category>

		<guid isPermaLink="false">http://dilantha.info/?p=444</guid>
		<description><![CDATA[Please don&#8217;t email me prayers or jokes with hundreds of people CC&#8217;ed. There is a very high likelihood I would delete them without even opening it. I&#8217;m serious. You wonder how you get spammed so much its because you forward very free iPod giveaway email to all our buddies and get them in the spam [...]


Related posts:<ol><li><a href='http://dilantha.info/2007/12/facebook-notification-emails/' rel='bookmark' title='Permanent Link: Facebook Notification Emails'>Facebook Notification Emails</a></li>
<li><a href='http://dilantha.info/2007/09/new-ipods/' rel='bookmark' title='Permanent Link: New iPods'>New iPods</a></li>
<li><a href='http://dilantha.info/2007/05/contactify-its-email-without-the-address/' rel='bookmark' title='Permanent Link: Contactify: It&#8217;s email. Without the address.'>Contactify: It&#8217;s email. Without the address.</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>Please don&#8217;t email me prayers or jokes with hundreds of people CC&#8217;ed. There is a very high likelihood I would delete them without even opening it.</p>
<p>I&#8217;m serious. You wonder how you get spammed so much its because you forward very free iPod giveaway email to all our buddies and get them in the spam ring as well.</p>
<p>Think about it. When was the last time anyone you know really got a free iPod?</p>
<img src="http://dilantha.info/?ak_action=api_record_view&id=444&type=feed" alt="" />

<p>Related posts:<ol><li><a href='http://dilantha.info/2007/12/facebook-notification-emails/' rel='bookmark' title='Permanent Link: Facebook Notification Emails'>Facebook Notification Emails</a></li>
<li><a href='http://dilantha.info/2007/09/new-ipods/' rel='bookmark' title='Permanent Link: New iPods'>New iPods</a></li>
<li><a href='http://dilantha.info/2007/05/contactify-its-email-without-the-address/' rel='bookmark' title='Permanent Link: Contactify: It&#8217;s email. Without the address.'>Contactify: It&#8217;s email. Without the address.</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://dilantha.info/2010/01/crazy-emails/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Show/ Hide Hidden Files In Mac Finder</title>
		<link>http://dilantha.info/2010/01/show-hide-files-mac-finder/</link>
		<comments>http://dilantha.info/2010/01/show-hide-files-mac-finder/#comments</comments>
		<pubDate>Sat, 16 Jan 2010 12:22:04 +0000</pubDate>
		<dc:creator>Dilantha</dc:creator>
				<category><![CDATA[How To]]></category>
		<category><![CDATA[Mac]]></category>
		<category><![CDATA[finder]]></category>
		<category><![CDATA[scripts]]></category>
		<category><![CDATA[tips]]></category>

		<guid isPermaLink="false">http://dilantha.info/?p=428</guid>
		<description><![CDATA[The first thing you notice in Mac Finder is there is no way to show hidden files. In Windows Explorer or Gnome this is in the menus. On mac you need to set a environment variable called &#8220;com.apple.finder AppleShowAllFiles&#8221; to toggle the state of hidden files. I manually changed this a couple of times, but [...]


Related posts:<ol><li><a href='http://dilantha.info/2008/03/running-bash-scripts-with-cygwin/' rel='bookmark' title='Permanent Link: Running Bash Scripts in Windows Scheduler'>Running Bash Scripts in Windows Scheduler</a></li>
<li><a href='http://dilantha.info/2008/05/jar-clean-up-story/' rel='bookmark' title='Permanent Link: Jar Clean Up Story'>Jar Clean Up Story</a></li>
<li><a href='http://dilantha.info/2008/03/yousendit-send-large-files/' rel='bookmark' title='Permanent Link: YouSendIt &#8211; Send large files'>YouSendIt &#8211; Send large files</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>The first thing you notice in Mac Finder is there is no way to show hidden files. In Windows Explorer or Gnome this is in the menus. On mac you need to set a environment variable called &#8220;com.apple.finder AppleShowAllFiles&#8221; to toggle the state of hidden files.</p>
<p>I manually changed this a couple of times, but its annoying to do all the time. So I thought of adding it to a bash script to make things easier.</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #666666; font-style: italic;">#!/bin/bash</span>
&nbsp;
<span style="color: #007800;">SHOW_FILES</span>=<span style="color: #000000; font-weight: bold;">`</span>defaults <span style="color: #c20cb9; font-weight: bold;">read</span> com.apple.finder AppleShowAllFiles<span style="color: #000000; font-weight: bold;">`</span>
&nbsp;
<span style="color: #000000; font-weight: bold;">if</span> <span style="color: #7a0874; font-weight: bold;">&#91;</span> <span style="color: #007800;">$SHOW_FILES</span> = <span style="color: #ff0000;">&quot;FALSE&quot;</span> <span style="color: #7a0874; font-weight: bold;">&#93;</span>; <span style="color: #000000; font-weight: bold;">then</span>
	defaults <span style="color: #c20cb9; font-weight: bold;">write</span> com.apple.finder AppleShowAllFiles TRUE
<span style="color: #000000; font-weight: bold;">else</span>
	defaults <span style="color: #c20cb9; font-weight: bold;">write</span> com.apple.finder AppleShowAllFiles FALSE
<span style="color: #000000; font-weight: bold;">fi</span>
<span style="color: #c20cb9; font-weight: bold;">killall</span> Finder</pre></div></div>

<p>References <a href="http://www.brooksandrus.com/blog/2007/03/23/mac-os-x-show-hide-hidden-files-in-finder/"><br />
Mac OS X – Show / Hide Hidden Files in Finder</a></p>
<img src="http://dilantha.info/?ak_action=api_record_view&id=428&type=feed" alt="" />

<p>Related posts:<ol><li><a href='http://dilantha.info/2008/03/running-bash-scripts-with-cygwin/' rel='bookmark' title='Permanent Link: Running Bash Scripts in Windows Scheduler'>Running Bash Scripts in Windows Scheduler</a></li>
<li><a href='http://dilantha.info/2008/05/jar-clean-up-story/' rel='bookmark' title='Permanent Link: Jar Clean Up Story'>Jar Clean Up Story</a></li>
<li><a href='http://dilantha.info/2008/03/yousendit-send-large-files/' rel='bookmark' title='Permanent Link: YouSendIt &#8211; Send large files'>YouSendIt &#8211; Send large files</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://dilantha.info/2010/01/show-hide-files-mac-finder/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>BlackBerry Shortcuts</title>
		<link>http://dilantha.info/2010/01/blackberry-shortcuts/</link>
		<comments>http://dilantha.info/2010/01/blackberry-shortcuts/#comments</comments>
		<pubDate>Wed, 06 Jan 2010 11:33:14 +0000</pubDate>
		<dc:creator>Dilantha</dc:creator>
				<category><![CDATA[How To]]></category>
		<category><![CDATA[Mobile]]></category>
		<category><![CDATA[blackberry]]></category>
		<category><![CDATA[shortcuts]]></category>

		<guid isPermaLink="false">http://dilantha.info/?p=422</guid>
		<description><![CDATA[I&#8217;m not that savvy on the BlackBerry yet but I&#8217;ve discovered these few shortcuts on the BlackBerry Curve 8900 which are super useful. alt + left shift gets you into number mode shift + scroll selects messages alt + scroll scrolls pages Related posts:Make Windows Shortcuts with Cygwin iPad Hype SimpleXMLElement attributes


Related posts:<ol><li><a href='http://dilantha.info/2008/05/windows-shortcuts-cygwin/' rel='bookmark' title='Permanent Link: Make Windows Shortcuts with Cygwin'>Make Windows Shortcuts with Cygwin</a></li>
<li><a href='http://dilantha.info/2010/04/ipad-hype/' rel='bookmark' title='Permanent Link: iPad Hype'>iPad Hype</a></li>
<li><a href='http://dilantha.info/2010/07/simplexmlelement-attributes/' rel='bookmark' title='Permanent Link: SimpleXMLElement attributes'>SimpleXMLElement attributes</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>I&#8217;m not that savvy on the BlackBerry yet but I&#8217;ve discovered these few shortcuts on the BlackBerry Curve 8900 which are super useful.</p>
<ul>
<li><strong>alt + left shift</strong> gets you into number mode</li>
<li><strong>shift + scroll</strong> selects messages</li>
<li><strong>alt + scroll</strong> scrolls pages</li>
</ul>
<img src="http://dilantha.info/?ak_action=api_record_view&id=422&type=feed" alt="" />

<p>Related posts:<ol><li><a href='http://dilantha.info/2008/05/windows-shortcuts-cygwin/' rel='bookmark' title='Permanent Link: Make Windows Shortcuts with Cygwin'>Make Windows Shortcuts with Cygwin</a></li>
<li><a href='http://dilantha.info/2010/04/ipad-hype/' rel='bookmark' title='Permanent Link: iPad Hype'>iPad Hype</a></li>
<li><a href='http://dilantha.info/2010/07/simplexmlelement-attributes/' rel='bookmark' title='Permanent Link: SimpleXMLElement attributes'>SimpleXMLElement attributes</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://dilantha.info/2010/01/blackberry-shortcuts/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Twenty Ten List</title>
		<link>http://dilantha.info/2009/12/twenty-ten-list/</link>
		<comments>http://dilantha.info/2009/12/twenty-ten-list/#comments</comments>
		<pubDate>Thu, 31 Dec 2009 16:19:42 +0000</pubDate>
		<dc:creator>Dilantha</dc:creator>
				<category><![CDATA[General]]></category>

		<guid isPermaLink="false">http://dilantha.info/?p=406</guid>
		<description><![CDATA[Here is my list for 2010, its always good to have a list. MongoDB sounds promising The mobile web/app space. Android will kill the iPhone star Yet Apple will keep making products we want to buy Virtual private servers and cloud services Ruby on Rails is too significant to ignore for PHP/Java folks Linux will [...]


Related posts:<ol><li><a href='http://dilantha.info/2007/05/daily-sites/' rel='bookmark' title='Permanent Link: Daily Sites'>Daily Sites</a></li>
<li><a href='http://dilantha.info/2008/03/file-sharing-between-linux-and-windows/' rel='bookmark' title='Permanent Link: File Sharing Between Linux and Windows'>File Sharing Between Linux and Windows</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>Here is my list for 2010, its always good to have a list.</p>
<ul>
<li>MongoDB sounds promising</li>
<li>The mobile web/app space.</li>
<li>Android will kill the iPhone star</li>
<li>Yet Apple will keep making products we want to buy</li>
<li>Virtual private servers and cloud services</li>
<li>Ruby on Rails is too significant to ignore for PHP/Java folks</li>
<li>Linux will not take over the desktop market</li>
<li>Mac will continue to grow into the desktop market. With a pretty enough GUI and a Unix like back-end I&#8217;m not missing Linux</li>
<li>Linux will continue to grow in phones, TV&#8217;s, media players and everywhere else</li>
<li>Content aggregation, filtering and personalization</li>
<li>Sri Lanka as usual will be like a box of chocolates. You never know what you are going to get.</li>
</ul>
<p>That&#8217;s it for now. Got any more?</p>
<img src="http://dilantha.info/?ak_action=api_record_view&id=406&type=feed" alt="" />

<p>Related posts:<ol><li><a href='http://dilantha.info/2007/05/daily-sites/' rel='bookmark' title='Permanent Link: Daily Sites'>Daily Sites</a></li>
<li><a href='http://dilantha.info/2008/03/file-sharing-between-linux-and-windows/' rel='bookmark' title='Permanent Link: File Sharing Between Linux and Windows'>File Sharing Between Linux and Windows</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://dilantha.info/2009/12/twenty-ten-list/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>
