<?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>Entrepreneur Geek &#187; Apple</title>
	<atom:link href="http://www.mehtanirav.com/categories/technology/apple/feed" rel="self" type="application/rss+xml" />
	<link>http://www.mehtanirav.com</link>
	<description>Nirav Mehta on life, technology and future</description>
	<lastBuildDate>Sat, 13 Mar 2010 21:10:00 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Finding number of lines in files recursively</title>
		<link>http://www.mehtanirav.com/2009/12/25/finding-number-of-lines-in-files-recursively</link>
		<comments>http://www.mehtanirav.com/2009/12/25/finding-number-of-lines-in-files-recursively#comments</comments>
		<pubDate>Fri, 25 Dec 2009 04:37:51 +0000</pubDate>
		<dc:creator>Nirav</dc:creator>
				<category><![CDATA[Apple]]></category>
		<category><![CDATA[GNU/Linux]]></category>
		<category><![CDATA[shell]]></category>
		<category><![CDATA[tips]]></category>
		<category><![CDATA[wc]]></category>

	<!-- AutoMeta Start -->
	<!-- AutoMeta End -->
	
		<guid isPermaLink="false">http://www.mehtanirav.com/?p=1125</guid>
		<description><![CDATA[I wanted to find the number of lines from a set of files &#8211; spread out in nested directories. The shell command &#8220;wc&#8221; is best for finding number of words / lines in files but it does not have an argument for recursive searching.
Here&#8217;s a quick shell command sequence that will find you the line [...]


Related posts:<ol><li><a href='http://www.mehtanirav.com/2009/04/16/recursively-unlock-files-on-mac-os-x' rel='bookmark' title='Permanent Link: Recursively unlock files on Mac OS X'>Recursively unlock files on Mac OS X</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>I wanted to find the number of lines from a set of files &#8211; spread out in nested directories. The shell command &#8220;wc&#8221; is best for finding number of words / lines in files but it does not have an argument for recursive searching.</p>
<p>Here&#8217;s a quick shell command sequence that will find you the line count from all files in a directory &#8211; recursively.</p>
<p><code>find /topleveldirectory/ -type f -exec wc -l {} \; | awk '{total += $1} END{print total}'</code></p>
<p>Replace &#8220;/topleveldirectory/&#8221; with your directory of choice. Leave it as &#8220;.&#8221; to find from current directory and below.</p>
<p><small><em>Found on <a href="http://www.unix.com/unix-dummies-questions-answers/33319-recursive-wc-directory.html">Unix.com</a></em></small></p>


<p>Related posts:<ol><li><a href='http://www.mehtanirav.com/2009/04/16/recursively-unlock-files-on-mac-os-x' rel='bookmark' title='Permanent Link: Recursively unlock files on Mac OS X'>Recursively unlock files on Mac OS X</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.mehtanirav.com/2009/12/25/finding-number-of-lines-in-files-recursively/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>National Geographic Photo Of The Day Wallpaper on your Mac Desktop</title>
		<link>http://www.mehtanirav.com/2009/05/20/national-geographic-photo-of-the-day-wallpaper-on-your-mac-desktop</link>
		<comments>http://www.mehtanirav.com/2009/05/20/national-geographic-photo-of-the-day-wallpaper-on-your-mac-desktop#comments</comments>
		<pubDate>Tue, 19 May 2009 20:53:26 +0000</pubDate>
		<dc:creator>Nirav</dc:creator>
				<category><![CDATA[Apple]]></category>
		<category><![CDATA[Recommended Reading]]></category>
		<category><![CDATA[automator]]></category>
		<category><![CDATA[natgeo]]></category>
		<category><![CDATA[national geographic]]></category>
		<category><![CDATA[picture of the day]]></category>
		<category><![CDATA[wallpaper]]></category>
		<category><![CDATA[webshots]]></category>

	<!-- AutoMeta Start -->
	<!-- AutoMeta End -->
	
		<guid isPermaLink="false">http://www.mehtanirav.com/?p=995</guid>
		<description><![CDATA[I love National Geographic photographs. Sujeet linked to a Nat Geo photo on a tweet today, and that led me to setting up National Geographic Photo of the Day as my Mac desktop wallpaper using an Automator action.
Interested? Here are some notes:

Nat Geo offers free Windows and Mac screensaver applications of their best Photo of [...]


No related posts.]]></description>
			<content:encoded><![CDATA[<p>I love <a href="http://www.nationalgeographic.com/">National Geographic</a> photographs. <a href="http://twitter.com/Sujeet/status/1849699924">Sujeet linked to a Nat Geo photo on a tweet today</a>, and that led me to setting up National Geographic Photo of the Day as my Mac desktop wallpaper using an <a href="http://www.google.co.in/search?q=mac+automator">Automator</a> action.</p>
<p>Interested? Here are some notes:</p>
<ul>
<li>Nat Geo offers <a href="http://photography.nationalgeographic.com/photography/screensaver/best-pod-screensaver.html">free Windows and Mac screensaver applications</a> of their best <a href="http://photography.nationalgeographic.com/photography/photo-of-the-day">Photo of the Day</a>. If you want a screensaver and not a desktop wallpaper, that&#8217;s your best bet!</li>
<li>This work on Mac. Haven&#8217;t searched for Windows / Linux alternatives yet.</li>
<li><strong>Download the <a href="http://www.maxieduncan.com/software/ngpodwallpaper.php">NPODWallpaper Automator script by Maxwell Duncan</a>.</strong></li>
<li>When unzipped and installed, it will create an Automator application in your Applications folder.</li>
<li>Double click and run it. Status messages will be shown in top menu bar.</li>
<li>If all went well, your wallpaper would have changed. Hit F11 to quickly verify.</li>
<li>If you are happy, <a href="http://www.maxieduncan.com/blog/?p=16">setup an iCal event to run the script everyday</a>. That will give you the latest POD from NatGeo automatically!</li>
<li>Sweet, uh!</li>
</ul>
<p>I still remember the sweet old <a href="http://www.webshots.com/">Webshots</a> days! Beautiful wallpapers are always refreshing! May be time to try out <a href="http://www.webshots.com/page/macApps">their beta mac application</a>!</p>


<p>No related posts.</p>]]></content:encoded>
			<wfw:commentRss>http://www.mehtanirav.com/2009/05/20/national-geographic-photo-of-the-day-wallpaper-on-your-mac-desktop/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>MacBook won&#8217;t boot &#8211; sometimes!</title>
		<link>http://www.mehtanirav.com/2009/05/05/macbook-wont-boot-sometimes</link>
		<comments>http://www.mehtanirav.com/2009/05/05/macbook-wont-boot-sometimes#comments</comments>
		<pubDate>Tue, 05 May 2009 04:54:10 +0000</pubDate>
		<dc:creator>Nirav</dc:creator>
				<category><![CDATA[Apple]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[boot problem]]></category>
		<category><![CDATA[macbook]]></category>

	<!-- AutoMeta Start -->
	<!-- AutoMeta End -->
	
		<guid isPermaLink="false">http://www.mehtanirav.com/2009/05/05/macbook-wont-boot-sometimes</guid>
		<description><![CDATA[My MacBook has started misbehaving after 3 years of good service! Last Monday it did not boot. Came with &#8220;the folder with question mark&#8221;. Which means it did not detect the hard disk. 
Removing the battery and putting it back in fixed it for the day. I was able to work happily. Took a backup [...]


Related posts:<ol><li><a href='http://www.mehtanirav.com/2009/05/03/twitter-weekly-updates-for-2009-05-03' rel='bookmark' title='Permanent Link: Twitter Weekly Updates for 2009-05-03'>Twitter Weekly Updates for 2009-05-03</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>My MacBook has started misbehaving after 3 years of good service! Last Monday it did not boot. Came with &#8220;the folder with question mark&#8221;. Which means it did not detect the hard disk. </p>
<p>Removing the battery and putting it back in fixed it for the day. I was able to work happily. Took a backup later in the evening before leaving for a small vacation.</p>
<p>Then yesterday morning when I booted it, it did not boot again. Removing power and booting from battery started it well. Disk Util permission verification and disk verification did not report any problem. All was OK. </p>
<p>I was able to boot again yesterday night. And it froze while I was working. </p>
<p>Sometimes it starts booting, but hangs in between with a crossed circle. Keeps spinning without moving forward. </p>
<p>Not sure what the problem is. I suspect it&#8217;s the hard disk &#8211; but then it should not boot at all if it&#8217;s the hard disk. </p>
<p>Randomness makes a problem all the more difficult! </p>
<p>Time to take it to the service center?</p>


<p>Related posts:<ol><li><a href='http://www.mehtanirav.com/2009/05/03/twitter-weekly-updates-for-2009-05-03' rel='bookmark' title='Permanent Link: Twitter Weekly Updates for 2009-05-03'>Twitter Weekly Updates for 2009-05-03</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.mehtanirav.com/2009/05/05/macbook-wont-boot-sometimes/feed</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>Recursively unlock files on Mac OS X</title>
		<link>http://www.mehtanirav.com/2009/04/16/recursively-unlock-files-on-mac-os-x</link>
		<comments>http://www.mehtanirav.com/2009/04/16/recursively-unlock-files-on-mac-os-x#comments</comments>
		<pubDate>Thu, 16 Apr 2009 18:01:43 +0000</pubDate>
		<dc:creator>Nirav</dc:creator>
				<category><![CDATA[Apple]]></category>
		<category><![CDATA[chflags]]></category>
		<category><![CDATA[OSX]]></category>
		<category><![CDATA[terminal]]></category>
		<category><![CDATA[unlock files]]></category>

	<!-- AutoMeta Start -->
	<category></category>
	<!-- AutoMeta End -->
	
		<guid isPermaLink="false">http://www.mehtanirav.com/?p=967</guid>
		<description><![CDATA[I copied some songs from a CD and ended up with a folder full of locked files. iTunes can&#8217;t save changes to song info (ID3 tags) until I unlocked them. How can you unlock files recursively on Mac OS X?
If you have a folder full of locked files on Mac OS X, you can quickly [...]


Related posts:<ol><li><a href='http://www.mehtanirav.com/2009/12/25/finding-number-of-lines-in-files-recursively' rel='bookmark' title='Permanent Link: Finding number of lines in files recursively'>Finding number of lines in files recursively</a></li>
<li><a href='http://www.mehtanirav.com/2009/05/29/setting-up-local-copy-of-php-manual-with-smart-lookups' rel='bookmark' title='Permanent Link: Setting up local copy of PHP manual &#8211; with smart lookups'>Setting up local copy of PHP manual &#8211; with smart lookups</a></li>
<li><a href='http://www.mehtanirav.com/2009/04/23/collaborating-in-web-application-using-svn' rel='bookmark' title='Permanent Link: Collaborating in web application using SVN'>Collaborating in web application using SVN</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>I copied some songs from a CD and ended up with a folder full of locked files. iTunes can&#8217;t save changes to song info (ID3 tags) until I unlocked them. How can you unlock files recursively on Mac OS X?</p>
<p>If you have a folder full of locked files on Mac OS X, you can quickly unlock all of them recursively with the following command. Open a Terminal, go to the folder containing locked files, and type:</p>
<p><code>chflags -R nouchg *</code></p>
<p>An excellent <a href="http://www.macosxhints.com/article.php?story=20031017061722471">introduction to chflags on Mac OS X Hints</a>. Here&#8217;s an excerpt:</p>
<blockquote><p>In addition to the standard UNIX permissions (read, write, execute for owner, group, other), OS X has a few flags that can be set on files and folders to make them locked.</p>
<p>These flags supersede the standard UNIX permissions. If a file is locked, that overrides the write permissions so that applications treat the file as read-only. If a folder is locked, no files can be added or removed from that folder, no matter what the write permissions on the folder are. These restrictions apply to all users, independent of the permissions that are set on the files or folders. They even apply to the root user (or to admin users using sudo).</p></blockquote>
<p>Read more about <a href="http://macos-x-server.com/wiki/index.php?title=Chflags_Intro">chflags at Mac OS X Server FAQ</a>.</p>
<p>HTH!</p>


<p>Related posts:<ol><li><a href='http://www.mehtanirav.com/2009/12/25/finding-number-of-lines-in-files-recursively' rel='bookmark' title='Permanent Link: Finding number of lines in files recursively'>Finding number of lines in files recursively</a></li>
<li><a href='http://www.mehtanirav.com/2009/05/29/setting-up-local-copy-of-php-manual-with-smart-lookups' rel='bookmark' title='Permanent Link: Setting up local copy of PHP manual &#8211; with smart lookups'>Setting up local copy of PHP manual &#8211; with smart lookups</a></li>
<li><a href='http://www.mehtanirav.com/2009/04/23/collaborating-in-web-application-using-svn' rel='bookmark' title='Permanent Link: Collaborating in web application using SVN'>Collaborating in web application using SVN</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.mehtanirav.com/2009/04/16/recursively-unlock-files-on-mac-os-x/feed</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Picture Puzzle &#8211; an iPhone application turned to Mac app because of delays from Apple</title>
		<link>http://www.mehtanirav.com/2009/02/25/picture-puzzle-an-iphone-application-turned-to-mac-app-because-of-delays-from-apple</link>
		<comments>http://www.mehtanirav.com/2009/02/25/picture-puzzle-an-iphone-application-turned-to-mac-app-because-of-delays-from-apple#comments</comments>
		<pubDate>Wed, 25 Feb 2009 06:12:45 +0000</pubDate>
		<dc:creator>Nirav</dc:creator>
				<category><![CDATA[Apple]]></category>
		<category><![CDATA[Recommended Reading]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[Updates]]></category>
		<category><![CDATA[appsmagnet]]></category>
		<category><![CDATA[iphone developers]]></category>
		<category><![CDATA[mac]]></category>
		<category><![CDATA[picture puzzle]]></category>

	<!-- AutoMeta Start -->
	<!-- AutoMeta End -->
	
		<guid isPermaLink="false">http://www.mehtanirav.com/?p=906</guid>
		<description><![CDATA[We applied for an iPhone developers account at start of December. It’s been about 3 months now, and we have not yet got the Developers Account despite sending all documents and repeated followups.
We have 4 iPhone products ready to deploy, but our hands are tied because we don’t yet have a developer’s account. We would [...]


Related posts:<ol><li><a href='http://www.mehtanirav.com/2009/04/23/collaborating-in-web-application-using-svn' rel='bookmark' title='Permanent Link: Collaborating in web application using SVN'>Collaborating in web application using SVN</a></li>
<li><a href='http://www.mehtanirav.com/2009/04/14/scrolling-with-mouse-wheel-in-flex-application-even-on-mac' rel='bookmark' title='Permanent Link: Scrolling with mouse wheel in Flex application &#8211; even on Mac'>Scrolling with mouse wheel in Flex application &#8211; even on Mac</a></li>
<li><a href='http://www.mehtanirav.com/2009/11/04/smart-usability-remember-password-not-username' rel='bookmark' title='Permanent Link: Smart Usability: Remember password, not username'>Smart Usability: Remember password, not username</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>We applied for an iPhone developers account at start of December. It’s been about 3 months now, and we have <strong>not yet got the Developers Account despite sending all documents and repeated followups</strong>.</p>
<p>We have 4 iPhone products ready to deploy, but our hands are tied because we don’t yet have a developer’s account. We would get emails saying that Apple is looking into this and that we should be patient. But how long?? A delay of 3 months would simply kill your idea. Why does Apple have to be so lazy in granting a developer&#8217;s account? I am scared to think how much time they will take to approve an application for AppStore.</p>
<p>The frustration levels went so high, we decided to just drop the plans to release these products.</p>
<p>Then we got an idea! Why not release them on the Mac?</p>
<p>So from frustration to joy, we present to you Picture Puzzle!</p>
<p><img class="alignnone size-full wp-image-99" title="main-screen-picture-puzzle-memory-test" src="http://www.appsmagnet.com/wp-content/uploads/2009/02/main-screen-small.jpg" alt="main-screen-picture-puzzle-memory-test" width="324" height="278" /></p>
<div id="attachment_102" class="wp-caption alignright" style="width: 112px"><a href="http://www.appsmagnet.com/2009/02/picture-puzzle-a-mac-osx-memory-test-game/"><img class="size-full wp-image-102" title="Picture Puzzle - more info and download" src="http://www.appsmagnet.com/wp-content/uploads/2009/02/picture-puzzle-logo.jpg" alt="Picture Puzzle - more info and download" width="102" height="99" /></a><p class="wp-caption-text">Picture Puzzle - more info and download</p></div>
<p><strong>Picture Puzzle is a Mac OSX memory test game</strong>. You see a collection of pictures one after another. The objective of the game is to arrange them in right order after initial display. This tests how well you can remember the order of images. It stimulates your brain and helps you remember things better.</p>
<p>It&#8217;s a free download, and we encourage you to donate!</p>
<p>Are you an iPhone developer? Know someone? How long did it take for them? Are we the only sufferers?</p>


<p>Related posts:<ol><li><a href='http://www.mehtanirav.com/2009/04/23/collaborating-in-web-application-using-svn' rel='bookmark' title='Permanent Link: Collaborating in web application using SVN'>Collaborating in web application using SVN</a></li>
<li><a href='http://www.mehtanirav.com/2009/04/14/scrolling-with-mouse-wheel-in-flex-application-even-on-mac' rel='bookmark' title='Permanent Link: Scrolling with mouse wheel in Flex application &#8211; even on Mac'>Scrolling with mouse wheel in Flex application &#8211; even on Mac</a></li>
<li><a href='http://www.mehtanirav.com/2009/11/04/smart-usability-remember-password-not-username' rel='bookmark' title='Permanent Link: Smart Usability: Remember password, not username'>Smart Usability: Remember password, not username</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.mehtanirav.com/2009/02/25/picture-puzzle-an-iphone-application-turned-to-mac-app-because-of-delays-from-apple/feed</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>Organize your books collection &#8211; without tearing yourself</title>
		<link>http://www.mehtanirav.com/2008/11/09/organize-your-books-collection-without-tearing-yourself</link>
		<comments>http://www.mehtanirav.com/2008/11/09/organize-your-books-collection-without-tearing-yourself#comments</comments>
		<pubDate>Sun, 09 Nov 2008 07:31:33 +0000</pubDate>
		<dc:creator>Nirav</dc:creator>
				<category><![CDATA[Apple]]></category>
		<category><![CDATA[Book Shelf]]></category>
		<category><![CDATA[Recommended Reading]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[book organizer]]></category>
		<category><![CDATA[books]]></category>
		<category><![CDATA[collection]]></category>
		<category><![CDATA[software]]></category>

	<!-- AutoMeta Start -->
	<category></category>
	<!-- AutoMeta End -->
	
		<guid isPermaLink="false">http://www.mehtanirav.com/?p=816</guid>
		<description><![CDATA[I love books, I read some of what I collect! I may go from one book to another without finishing it. I love coming back to books I read earlier. Two weeks ago, I bought 26 books in one shot. The largest purchase of books I ever made. I was fulfilled!
My library case is already [...]


Related posts:<ol><li><a href='http://www.mehtanirav.com/2009/05/22/team-we-need-to-improve-quality-of-gujarati-translations' rel='bookmark' title='Permanent Link: Team: We need to improve quality of Gujarati translations'>Team: We need to improve quality of Gujarati translations</a></li>
<li><a href='http://www.mehtanirav.com/2009/11/04/smart-usability-remember-password-not-username' rel='bookmark' title='Permanent Link: Smart Usability: Remember password, not username'>Smart Usability: Remember password, not username</a></li>
<li><a href='http://www.mehtanirav.com/2009/04/22/choosing-an-open-source-cms-book-now-available' rel='bookmark' title='Permanent Link: Choosing an Open Source CMS &#8211; Book &#8211; Now Available'>Choosing an Open Source CMS &#8211; Book &#8211; Now Available</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>I love books, I read some of what I collect! I may go from one book to another without finishing it. I love coming back to books I read earlier. Two weeks ago, I bought 26 books in one shot. The largest purchase of books I ever made. I was fulfilled!</p>
<p>My library case is already filled up and I needed a way to organize the books I have. I had tried with a spreadsheet earlier, but I wanted something better this time. I did not even want to type in all titles and details myself. That would be too much of work! I would rather read a book in that time!</p>
<p>Enter <a title="Books" href="http://books.aetherial.net/wordpress/">Books</a>! A MacOS X application that can read barcodes using the inbuilt camera on my MacBook and fill up book details! Just what I needed! (It&#8217;s Open Source too)</p>
<div id="attachment_818" class="wp-caption alignnone" style="width: 460px"><a href="http://books.aetherial.net/wordpress/"><img class="size-full wp-image-818" title="Books - Add a new book screen" src="http://www.mehtanirav.com/wp-content/uploads/2008/11/books-2.png" alt="Books - Add a new book screen" width="450" height="400" /></a><p class="wp-caption-text">Books - Add a new book screen</p></div>
<p>I used it and I can describe the experience in one word &#8211; Delightful! I was so happy with the ease, I have already shown the app to my family. That&#8217;s unique &#8211; does not happen for a lot of apps!</p>
<ul>
<li>It correctly detected ISBN for most of my books.</li>
<li>I did not have much luck with 13 digit ISBN &#8211; though detection worked, I was not able to find book information from Amazon/others.</li>
<li>Especially so with Indian publishers. For many, I had to enter the title and pull info manually.</li>
<li>I wish Gujarati books had ISBN too! Would have made it so easy! (I inherit a huge collection of Gujarati books from my dad <img src='http://www.mehtanirav.com/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' /> </li>
<li>In just two hours, I could add about 90 books to the system! That was cool!</li>
</ul>
<div id="attachment_817" class="wp-caption alignnone" style="width: 460px"><a href="http://books.aetherial.net/wordpress/"><img class="size-full wp-image-817" title="Books - Main Screen" src="http://www.mehtanirav.com/wp-content/uploads/2008/11/books-1.png" alt="Books - Main Screen" width="450" height="271" /></a><p class="wp-caption-text">Books - Main Screen</p></div>


<p>Related posts:<ol><li><a href='http://www.mehtanirav.com/2009/05/22/team-we-need-to-improve-quality-of-gujarati-translations' rel='bookmark' title='Permanent Link: Team: We need to improve quality of Gujarati translations'>Team: We need to improve quality of Gujarati translations</a></li>
<li><a href='http://www.mehtanirav.com/2009/11/04/smart-usability-remember-password-not-username' rel='bookmark' title='Permanent Link: Smart Usability: Remember password, not username'>Smart Usability: Remember password, not username</a></li>
<li><a href='http://www.mehtanirav.com/2009/04/22/choosing-an-open-source-cms-book-now-available' rel='bookmark' title='Permanent Link: Choosing an Open Source CMS &#8211; Book &#8211; Now Available'>Choosing an Open Source CMS &#8211; Book &#8211; Now Available</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.mehtanirav.com/2008/11/09/organize-your-books-collection-without-tearing-yourself/feed</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Setting JAVA_HOME on Mac OS X 10.5</title>
		<link>http://www.mehtanirav.com/2008/09/02/setting-java_home-on-mac-os-x-105</link>
		<comments>http://www.mehtanirav.com/2008/09/02/setting-java_home-on-mac-os-x-105#comments</comments>
		<pubDate>Tue, 02 Sep 2008 07:48:37 +0000</pubDate>
		<dc:creator>Nirav</dc:creator>
				<category><![CDATA[Apple]]></category>
		<category><![CDATA[java]]></category>

	<!-- AutoMeta Start -->
	<category></category>
	<!-- AutoMeta End -->
	
		<guid isPermaLink="false">http://www.mehtanirav.com/?p=782</guid>
		<description><![CDATA[I have been playing around with a lot of Java tools these days! I was trying out XPlanner and when I ran the startup shell script, it spit out the infamous error!
The JAVA_HOME environment variable is not defined correctly
This environment variable is needed to run this program
NB: JAVA_HOME should point to a JDK not a [...]


Related posts:<ol><li><a href='http://www.mehtanirav.com/2009/05/29/setting-up-local-copy-of-php-manual-with-smart-lookups' rel='bookmark' title='Permanent Link: Setting up local copy of PHP manual &#8211; with smart lookups'>Setting up local copy of PHP manual &#8211; with smart lookups</a></li>
<li><a href='http://www.mehtanirav.com/2009/12/25/finding-number-of-lines-in-files-recursively' rel='bookmark' title='Permanent Link: Finding number of lines in files recursively'>Finding number of lines in files recursively</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>I have been playing around with a lot of Java tools these days! I was trying out <a href="http://docs.codehaus.org/display/XPR/Home">XPlanner</a> and when I ran the startup shell script, it spit out the infamous error!</p>
<p><code>The JAVA_HOME environment variable is not defined correctly<br />
This environment variable is needed to run this program<br />
NB: JAVA_HOME should point to a JDK not a JRE</code></p>
<p>I tried a couple of things, but they did not work. A bit of Google, and found an easy way.</p>
<p>Here are the steps!</p>
<ul>
<li>Open Terminal.</li>
<li>First confirm you have JDK by typing &#8220;which java&#8221;. It should show something like <strong>/usr/bin/java</strong>.</li>
<li>Check you have the needed version of Java, by typing &#8220;java -version&#8221;. My setup shows <strong>java version &#8220;1.5.0_13&#8243;</strong></li>
<li>JAVA_HOME is essentially the full path of the directory that contains a sub-directory named <strong>bin</strong> which in turn contains the <strong>java</strong>.</li>
<li>For Mac OSX &#8211; it is <strong>/Library/Java/Home</strong> (There are other directories too, but this is the simplest!)</li>
<li>Set JAVA_HOME using this command in Terminal: <strong>export JAVA_HOME=/Library/Java/Home</strong></li>
<li><strong>echo $JAVA_HOME</strong> on Terminal to confirm the path</li>
<li>You should now be able to run your application</li>
</ul>
<p>This sets JAVA_HOME only for this session. If you want it to persist, you will have to add the command to your <strong>~/.profile</strong> file.</p>
<p>For more details on this, refer to <a href="http://smbrown.wordpress.com/2008/08/20/java_home-on-mac-os-x-105/">Sean Brown&#8217;s blog post</a>.</p>


<p>Related posts:<ol><li><a href='http://www.mehtanirav.com/2009/05/29/setting-up-local-copy-of-php-manual-with-smart-lookups' rel='bookmark' title='Permanent Link: Setting up local copy of PHP manual &#8211; with smart lookups'>Setting up local copy of PHP manual &#8211; with smart lookups</a></li>
<li><a href='http://www.mehtanirav.com/2009/12/25/finding-number-of-lines-in-files-recursively' rel='bookmark' title='Permanent Link: Finding number of lines in files recursively'>Finding number of lines in files recursively</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.mehtanirav.com/2008/09/02/setting-java_home-on-mac-os-x-105/feed</wfw:commentRss>
		<slash:comments>7</slash:comments>
		</item>
		<item>
		<title>.bin and .cue files &#8211; combine to .iso on Mac OS X</title>
		<link>http://www.mehtanirav.com/2008/08/22/bin-and-cue-files-combine-to-iso-on-mac-os-x</link>
		<comments>http://www.mehtanirav.com/2008/08/22/bin-and-cue-files-combine-to-iso-on-mac-os-x#comments</comments>
		<pubDate>Fri, 22 Aug 2008 10:05:51 +0000</pubDate>
		<dc:creator>Nirav</dc:creator>
				<category><![CDATA[Apple]]></category>
		<category><![CDATA[hack]]></category>

	<!-- AutoMeta Start -->
	<category></category>
	<!-- AutoMeta End -->
	
		<guid isPermaLink="false">http://www.mehtanirav.com/?p=770</guid>
		<description><![CDATA[I got .bin and .cue files from a friend. And was wondering how to use them on my Mac.
What are .bin and .cue files?
They are essentially CD/DVD image files. The .BIN / .CUE CD image format was made popular by the CDRWin software. Afterwards many programs have started supporting or partially supporting it, including: Nero, [...]


Related posts:<ol><li><a href='http://www.mehtanirav.com/2009/04/16/recursively-unlock-files-on-mac-os-x' rel='bookmark' title='Permanent Link: Recursively unlock files on Mac OS X'>Recursively unlock files on Mac OS X</a></li>
<li><a href='http://www.mehtanirav.com/2009/12/25/finding-number-of-lines-in-files-recursively' rel='bookmark' title='Permanent Link: Finding number of lines in files recursively'>Finding number of lines in files recursively</a></li>
<li><a href='http://www.mehtanirav.com/2009/05/29/setting-up-local-copy-of-php-manual-with-smart-lookups' rel='bookmark' title='Permanent Link: Setting up local copy of PHP manual &#8211; with smart lookups'>Setting up local copy of PHP manual &#8211; with smart lookups</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>I got .bin and .cue files from a friend. And was wondering how to use them on my Mac.</p>
<p><strong>What are .bin and .cue files?</strong></p>
<p>They are essentially CD/DVD image files. The .BIN / .CUE CD image format was made popular by the CDRWin software. Afterwards many programs have started supporting or partially supporting it, including: Nero, Blindwrite, CloneCD, FireBurner. The .CUE file contains the track layout information, while the .BIN file holds the actual data.</p>
<p>.ISO is also a CD image format, but is sometimes used for 'ISO9660 format' (standard, recognized by all applications) and sometimes for unique Easy CD ISO format.</p>
<p><strong>So how can you open them on a Mac OS X?</strong></p>
<p>Apple's DiskUtility does not support these formats. Roxio Toast or other CD burning software can open and burn from .bin+.cue files. But if you don't want to do all that, there is an easy way!</p>
<p>Use the bchunker command line program! You can download a Mac compiled version from <a href="http://www.jamesnsears.com/2007/04/convert_bin_cue_iso_on_mac_osx.php">James Sears' site</a> and run a command like this to get an ISO file. This ISO file can now be easily mounted by DiskUtility.</p>
<div class="igBar"><span id="lcode-2"><a href="#" onclick="javascript:showCodeTxt('code-2'); return false;">PLAIN TEXT</a></span></div>
<div class="syntax_hilite"><span class="langName">CODE:</span>
<div id="code-2">
<div class="code">
<ol>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">bchunk myinputfile.<span style="">bin</span> myinputfile.<span style="">cue</span> myoutputfile </div>
</li>
</ol>
</div>
</div>
</div>
<p></p>
<p><strong>Resources:</strong></p>
<ul>
<li><a href="http://forums.afterdawn.com/thread_view.cfm/7976">.bin / .cue / .iso Frequently Asked Questions</a></li>
<li><a href="http://www.afterdawn.com/guides/archive/how_to_play_bin___cue_files.cfm">How to play bin and cue files?</a></li>
<li><a href="http://www.jamesnsears.com/2007/04/convert_bin_cue_iso_on_mac_osx.php">bchunker on Mac OS X</a></li>
</ul>


<p>Related posts:<ol><li><a href='http://www.mehtanirav.com/2009/04/16/recursively-unlock-files-on-mac-os-x' rel='bookmark' title='Permanent Link: Recursively unlock files on Mac OS X'>Recursively unlock files on Mac OS X</a></li>
<li><a href='http://www.mehtanirav.com/2009/12/25/finding-number-of-lines-in-files-recursively' rel='bookmark' title='Permanent Link: Finding number of lines in files recursively'>Finding number of lines in files recursively</a></li>
<li><a href='http://www.mehtanirav.com/2009/05/29/setting-up-local-copy-of-php-manual-with-smart-lookups' rel='bookmark' title='Permanent Link: Setting up local copy of PHP manual &#8211; with smart lookups'>Setting up local copy of PHP manual &#8211; with smart lookups</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.mehtanirav.com/2008/08/22/bin-and-cue-files-combine-to-iso-on-mac-os-x/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Building an iPhone app, want to mock it up quickly?</title>
		<link>http://www.mehtanirav.com/2008/08/21/building-an-iphone-app-want-to-mock-it-up-quickly</link>
		<comments>http://www.mehtanirav.com/2008/08/21/building-an-iphone-app-want-to-mock-it-up-quickly#comments</comments>
		<pubDate>Thu, 21 Aug 2008 09:05:55 +0000</pubDate>
		<dc:creator>Nirav</dc:creator>
				<category><![CDATA[Apple]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[iphone]]></category>

	<!-- AutoMeta Start -->
	<category></category>
	<!-- AutoMeta End -->
	
		<guid isPermaLink="false">http://www.mehtanirav.com/?p=767</guid>
		<description><![CDATA[Are you building an iPhone app? Or have an idea? Do you want to mock it up quickly? The iPhone UI PicKit can help you!
This is a kit of widget images that you can use in your image editing software. This way you can easily create prototypes of different screens and share them with others. [...]


Related posts:<ol><li><a href='http://www.mehtanirav.com/2009/07/25/yahoo-stencils-quickly-build-mockups' rel='bookmark' title='Permanent Link: Yahoo! Stencils &#8211; quickly build mockups'>Yahoo! Stencils &#8211; quickly build mockups</a></li>
<li><a href='http://www.mehtanirav.com/2009/04/15/building-a-time-estimate-slider-like-the-hit-list' rel='bookmark' title='Permanent Link: Building a time estimate slider like The Hit List'>Building a time estimate slider like The Hit List</a></li>
<li><a href='http://www.mehtanirav.com/2010/01/17/flex-regular-expression-online-testing-learning-tool' rel='bookmark' title='Permanent Link: Flex Regular Expression Online Testing / Learning Tool'>Flex Regular Expression Online Testing / Learning Tool</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>Are you building an iPhone app? Or have an idea? Do you want to mock it up quickly? The <strong><a href="http://daniel.room52.net/dev/iPhonePicKit/">iPhone UI PicKit </a></strong>can help you!</p>
<p>This is a kit of widget images that you can use in your image editing software. This way you can easily create prototypes of different screens and share them with others. There is also a layered PSD available.</p>
<div id="attachment_768" class="wp-caption alignnone" style="width: 191px"><a href="http://daniel.room52.net/dev/iPhonePicKit/"><img class="size-full wp-image-768" title="iPhone UI PicKit" src="http://www.mehtanirav.com/wp-content/uploads/2008/08/iphonekit-1.png" alt="iPhone UI PicKit" width="181" height="300" /></a><p class="wp-caption-text">iPhone UI PicKit</p></div>
<p>No need for the iPhone SDK! No need to learn Interface Builder! Just grab the screens and mock your iPhone idea! Thanks Daniel!</p>
<p><em>(BTW, if you are through with the idea, <a href="http://www.magnettechnologies.com/needquote.htm">let us know if you want to develop it</a>. We do iPhone development!)</em></p>


<p>Related posts:<ol><li><a href='http://www.mehtanirav.com/2009/07/25/yahoo-stencils-quickly-build-mockups' rel='bookmark' title='Permanent Link: Yahoo! Stencils &#8211; quickly build mockups'>Yahoo! Stencils &#8211; quickly build mockups</a></li>
<li><a href='http://www.mehtanirav.com/2009/04/15/building-a-time-estimate-slider-like-the-hit-list' rel='bookmark' title='Permanent Link: Building a time estimate slider like The Hit List'>Building a time estimate slider like The Hit List</a></li>
<li><a href='http://www.mehtanirav.com/2010/01/17/flex-regular-expression-online-testing-learning-tool' rel='bookmark' title='Permanent Link: Flex Regular Expression Online Testing / Learning Tool'>Flex Regular Expression Online Testing / Learning Tool</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.mehtanirav.com/2008/08/21/building-an-iphone-app-want-to-mock-it-up-quickly/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Apple&#8217;s Marketing Secrets</title>
		<link>http://www.mehtanirav.com/2008/06/18/apples-marketing-secrets</link>
		<comments>http://www.mehtanirav.com/2008/06/18/apples-marketing-secrets#comments</comments>
		<pubDate>Wed, 18 Jun 2008 09:01:25 +0000</pubDate>
		<dc:creator>Nirav</dc:creator>
				<category><![CDATA[Apple]]></category>
		<category><![CDATA[Business]]></category>
		<category><![CDATA[Recommended Reading]]></category>
		<category><![CDATA[marketing]]></category>

	<!-- AutoMeta Start -->
	<category></category>
	<!-- AutoMeta End -->
	
		<guid isPermaLink="false">http://www.mehtanirav.com/?p=709</guid>
		<description><![CDATA[What do you attribute Apple's success to? Steve Jobs? Usability? Cutting edge technology? Innovation? Or their extra ordinary marketing skills?
I think much of Apple's success is because of their marketing focus. The customer experience focus comes from marketing focus.
Steve Chazin, an Apple veteran, has written an insightful eBook - Marketing Apple. The eBook uncovers the [...]


Related posts:<ol><li><a href='http://www.mehtanirav.com/2009/09/22/paypal-sales-marketing-activity-trend-spotting' rel='bookmark' title='Permanent Link: Paypal Sales + Marketing Activity Trend Spotting'>Paypal Sales + Marketing Activity Trend Spotting</a></li>
<li><a href='http://www.mehtanirav.com/2009/04/16/intelligent-time-duration-estimate-slider-in-flex-inspired-from-the-hit-list' rel='bookmark' title='Permanent Link: Intelligent Time Duration / Estimate Slider in Flex (inspired from The Hit List)'>Intelligent Time Duration / Estimate Slider in Flex (inspired from The Hit List)</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.marketingapple.com/Marketing_Apple_eBook.pdf"><img class="right size-full wp-image-710" title="Marketing Apple" src="http://www.mehtanirav.com/wp-content/uploads/2008/06/marketing-apple.jpg" alt="Marketing Apple - eBook" width="188" height="191" /></a>What do you attribute <a href="http://www.apple.com">Apple</a>'s success to? Steve Jobs? Usability? Cutting edge technology? Innovation? Or their extra ordinary marketing skills?</p>
<p>I think <strong>much of Apple's success is because of their marketing focus</strong>. The customer experience focus comes from marketing focus.</p>
<p><a href="http://marketingapple.com/">Steve Chazin</a>, an Apple veteran, has written <a title="Marketing Apple - eBook" href="http://www.marketingapple.com/Marketing_Apple_eBook.pdf">an insightful eBook - Marketing Apple</a>. The eBook uncovers the secret of marketing that Apple uses. The principles are very smart and I believe if you use them, you would be successful too!</p>
<p>This is a must read for anyone interested in Apple or Marketing.</p>


<p>Related posts:<ol><li><a href='http://www.mehtanirav.com/2009/09/22/paypal-sales-marketing-activity-trend-spotting' rel='bookmark' title='Permanent Link: Paypal Sales + Marketing Activity Trend Spotting'>Paypal Sales + Marketing Activity Trend Spotting</a></li>
<li><a href='http://www.mehtanirav.com/2009/04/16/intelligent-time-duration-estimate-slider-in-flex-inspired-from-the-hit-list' rel='bookmark' title='Permanent Link: Intelligent Time Duration / Estimate Slider in Flex (inspired from The Hit List)'>Intelligent Time Duration / Estimate Slider in Flex (inspired from The Hit List)</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.mehtanirav.com/2008/06/18/apples-marketing-secrets/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>
