<?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>Doug Diego</title>
	<atom:link href="http://dougdiego.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://dougdiego.com</link>
	<description></description>
	<lastBuildDate>Sat, 10 Apr 2010 14:16:57 +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>iTerm crashing on launch</title>
		<link>http://dougdiego.com/2010/04/10/iterm-crashing-on-launch/</link>
		<comments>http://dougdiego.com/2010/04/10/iterm-crashing-on-launch/#comments</comments>
		<pubDate>Sat, 10 Apr 2010 14:16:57 +0000</pubDate>
		<dc:creator>doug</dc:creator>
				<category><![CDATA[Mac]]></category>
		<category><![CDATA[apple]]></category>

		<guid isPermaLink="false">http://dougdiego.com/?p=334</guid>
		<description><![CDATA[I&#8217;ve recently been using iTerm on the Mac.  I was happily using it, until it started crashing on launch.  After searching around on the internet, I finally figure out what is wrong.  The issue occurred because I was using an external display.  When not connected to the external display the app [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve recently been using <a href="http://iterm.sourceforge.net/">iTerm</a> on the Mac.  I was happily using it, until it started crashing on launch.  After searching around on the internet, I finally figure out what is wrong.  The issue occurred because I was using an external display.  When not connected to the external display the app would crash.</p>
<p>I found details in this bug here: <a href="http://sourceforge.net/tracker/index.php?func=detail&#038;aid=2889711&#038;group_id=67789&#038;atid=518973">http://sourceforge.net/tracker/index.php?func=detail&#038;aid=2889711&#038;group_id=67789&#038;atid=518973</a></p>
<p>There are 2 easy ways to solve this problem.</p>
<p>1. In the normal terminal type:<br />
<code><br />
defaults delete net.sourceforge.iTerm "NSWindow Frame iTerm Window 0"<br />
</code><br />
2. Open ~/Library/Preferences/net.sourceforge.iTerm.plist  and removed the following entry:<br />
<code>NSWindow Frame iTerm Window 0: <a bunch of numbers></code></p>
]]></content:encoded>
			<wfw:commentRss>http://dougdiego.com/2010/04/10/iterm-crashing-on-launch/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Buying an Apple Product</title>
		<link>http://dougdiego.com/2010/03/03/buying-an-apple-product/</link>
		<comments>http://dougdiego.com/2010/03/03/buying-an-apple-product/#comments</comments>
		<pubDate>Wed, 03 Mar 2010 14:06:51 +0000</pubDate>
		<dc:creator>doug</dc:creator>
				<category><![CDATA[apple]]></category>

		<guid isPermaLink="false">http://dougdiego.com/?p=329</guid>
		<description><![CDATA[Apple is very secretive about it&#8217;s products and releases.  This makes it very difficult to know if it&#8217;s a good time to buy a particular Apple product.
To aid you in your decision, Macrumors.com has a Buyer&#8217;s Guide.  This guide lists the release history of each product and gives a recommendation as to if [...]]]></description>
			<content:encoded><![CDATA[<p>Apple is very secretive about it&#8217;s products and releases.  This makes it very difficult to know if it&#8217;s a good time to buy a particular Apple product.</p>
<p>To aid you in your decision, <a href="http://www.macrumors.com/">Macrumors.com</a> has a <a href="http://buyersguide.macrumors.com/">Buyer&#8217;s Guide</a>.  This guide lists the release history of each product and gives a recommendation as to if now is a good time to buy or not.</p>
<p>If you&#8217;re looking to buy a new mac, iphone, monitor, etc.. this guide should be your first stop. </p>
]]></content:encoded>
			<wfw:commentRss>http://dougdiego.com/2010/03/03/buying-an-apple-product/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Naked Domains in Google App Engine</title>
		<link>http://dougdiego.com/2009/11/07/naked-domains-in-google-app-engine/</link>
		<comments>http://dougdiego.com/2009/11/07/naked-domains-in-google-app-engine/#comments</comments>
		<pubDate>Sat, 07 Nov 2009 07:00:19 +0000</pubDate>
		<dc:creator>doug</dc:creator>
				<category><![CDATA[google app engine]]></category>

		<guid isPermaLink="false">http://dougdiego.com/?p=310</guid>
		<description><![CDATA[After setting up an app in the google app engine with a domain name, I found that accessing the domain via the naked domain name (no www.) would not work.
Worked:
http://www.mydomain.com
Didn&#8217;t work:
http://mydomain.com
After search for a while, I came across this answer:
http://www.google.com/support/a/bin/answer.py?hl=en&#038;answer=91080
The solution is to forward mydomain.com to www.mydomain.com with your domain registrar.  After doing this, [...]]]></description>
			<content:encoded><![CDATA[<p>After setting up an app in the google app engine with a domain name, I found that accessing the domain via the naked domain name (no www.) would not work.</p>
<p>Worked:</p>
<p>http://www.mydomain.com</p>
<p>Didn&#8217;t work:</p>
<p>http://mydomain.com</p>
<p>After search for a while, I came across this answer:<br />
<a href="http://www.google.com/support/a/bin/answer.py?hl=en&#038;answer=91080">http://www.google.com/support/a/bin/answer.py?hl=en&#038;answer=91080</a></p>
<p>The solution is to forward mydomain.com to www.mydomain.com with your domain registrar.  After doing this, it worked as expected.</p>
]]></content:encoded>
			<wfw:commentRss>http://dougdiego.com/2009/11/07/naked-domains-in-google-app-engine/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>iPhone Development Helper:  Fill up your Address Book</title>
		<link>http://dougdiego.com/2009/06/12/iphone-development-helper-fill-up-your-address-book/</link>
		<comments>http://dougdiego.com/2009/06/12/iphone-development-helper-fill-up-your-address-book/#comments</comments>
		<pubDate>Fri, 12 Jun 2009 06:00:56 +0000</pubDate>
		<dc:creator>doug</dc:creator>
				<category><![CDATA[Code]]></category>
		<category><![CDATA[iPhone]]></category>
		<category><![CDATA[ABAddressBookRef]]></category>
		<category><![CDATA[ABAddressBookSave]]></category>
		<category><![CDATA[ABMultiValueAddValueAndLabel]]></category>
		<category><![CDATA[ABMutableMultiValueRef]]></category>
		<category><![CDATA[ABRecordRef]]></category>
		<category><![CDATA[ABRecordSetValue]]></category>
		<category><![CDATA[apple]]></category>
		<category><![CDATA[Mac]]></category>

		<guid isPermaLink="false">http://dougdiego.com/?p=297</guid>
		<description><![CDATA[AddressBookFill is a simple application which populates your address book with contacts. This is useful when developing for the iPhone and working on the emulator. 
On many occasions, I&#8217;ve spent quite a bit of time adding contacts to the emulator to test something.  Then when I change emulator version, they all get erased.  [...]]]></description>
			<content:encoded><![CDATA[<p>AddressBookFill is a simple application which populates your address book with contacts. This is useful when developing for the iPhone and working on the emulator. </p>
<p>On many occasions, I&#8217;ve spent quite a bit of time adding contacts to the emulator to test something.  Then when I change emulator version, they all get erased.  This is very frustrating.  So I put together this simple application which allow you to programatically fill up your address book.</p>
<p>Currenly the address book is populated with U.S. Presidents.  Values are set for:<br />
* first name<br />
* last name<br />
* photo<br />
* phone number<br />
* birthday </p>
<p>I&#8217;ll make it more robust in the future. But you may find this useful for now.   The code might also be interesting if you&#8217;re learning how to program the address book.</p>
<p>Download: <a href='/wp-content/uploads/2009/06/addressbookfill-1.0.tar.gz'>addressbookfill-10.tar</a></p>
]]></content:encoded>
			<wfw:commentRss>http://dougdiego.com/2009/06/12/iphone-development-helper-fill-up-your-address-book/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>ASIHTTPRequest &#8211; Uploading Photos</title>
		<link>http://dougdiego.com/2009/04/08/asihttprequest-uploading-photos/</link>
		<comments>http://dougdiego.com/2009/04/08/asihttprequest-uploading-photos/#comments</comments>
		<pubDate>Wed, 08 Apr 2009 15:46:16 +0000</pubDate>
		<dc:creator>doug</dc:creator>
				<category><![CDATA[Code]]></category>
		<category><![CDATA[iPhone]]></category>
		<category><![CDATA[apple]]></category>
		<category><![CDATA[Mac]]></category>

		<guid isPermaLink="false">http://dougdiego.com/?p=252</guid>
		<description><![CDATA[Recently I used ASIHTTPRequest to upload images and other data from an iPhone application to a web server.  I search around and looked at all the different options and this was best and easiest to use.  It&#8217;s open source and comes with lots of good examples. I was particularly impressed with the network [...]]]></description>
			<content:encoded><![CDATA[<p>Recently I used <a href="http://allseeing-i.com/ASIHTTPRequest/">ASIHTTPRequest</a> to upload images and other data from an iPhone application to a web server.  I search around and looked at all the different options and this was best and easiest to use.  It&#8217;s open source and comes with lots of good examples. I was particularly impressed with the network queue.</p>
<p>The one thing I did not find, was sample code for was posting an image to a server.  Here is some sample code:</p>
<pre name="code" class="c">

// Initilize Queue
[networkQueue setUploadProgressDelegate:statusProgressView];
[networkQueue setRequestDidFinishSelector:@selector(imageRequestDidFinish:)];
[networkQueue setQueueDidFinishSelector:@selector(imageQueueDidFinish:)];
[networkQueue setRequestDidFailSelector:@selector(requestDidFail:)];
[networkQueue setShowAccurateProgress:true];
[networkQueue setDelegate:self];

// Initilize Variables
NSURL *url;
ASIFormDataRequest * request;

// Add Image
NSArray *paths = NSSearchPathForDirectoriesInDomains(NSDocumentDirectory,
     NSUserDomainMask, YES);
NSString *documentsDirectory = [paths objectAtIndex:0];
NSString *dataPath = [documentsDirectory
     stringByAppendingPathComponent:@&quot;myImage.jpg&quot;];

// Get Image
NSData *imageData = [[[NSData alloc]
     initWithContentsOfFile:dataPath] autorelease];

// Return if there is no image
if(imageData != nil){
	url = [NSURL URLWithString:@&quot;http://myserver/upload.php&quot;];
	request = [[[ASIFormDataRequest alloc] initWithURL:url] autorelease];
	[request setPostValue:@&quot;myImageName&quot; forKey:@&quot;name&quot;];
	[request setData:imageData forKey:@&quot;file&quot;];
	[request setDidFailSelector:@selector(requestWentWrong:)];
	[request setTimeOutSeconds:500];
	[networkQueue addOperation:request];
	queueCount++;
}
[networkQueue go];	
</pre>
<p>Note: It&#8217;s not necessary to use a queue here because I&#8217;m only uploading 1 thing.  But in my application I&#8217;m uploading many things and a queue was helpful.  It also runs in the asynchronously in the background, which prevents the UI from getting locked up.</p>
<p>Note 2: When sending large files you should use &#8220;setFile&#8221; instead of &#8220;setData&#8221;.  Files are then read from disk instead of memory.  Here is an updated example.  Thanks again to <a href="http://allseeing-i.com/ASIHTTPRequest/">Ben Copsey</a> for this library and his useful comments below.</p>
<pre name="code" class="c">

NSString *imagePath = [documentsDirectory
     stringByAppendingPathComponent:@&quot;myImage.jpg&quot;];
url = [NSURL URLWithString:@&quot;http://myserver/upload.php&quot;];
ASIFormDataRequest *request =
    [[[ASIFormDataRequest alloc] initWithURL:url] autorelease];
[request setPostValue:@&quot;myImageName&quot; forKey:@&quot;name&quot;];
[request setFile:imagePath forKey:@&quot;photo&quot;];
</pre>
<p>More info on streaming here: <a href="http://allseeing-i.com/ASIHTTPRequest/How-to-use#streaming">http://allseeing-i.com/ASIHTTPRequest/How-to-use#streaming</a></p>
]]></content:encoded>
			<wfw:commentRss>http://dougdiego.com/2009/04/08/asihttprequest-uploading-photos/feed/</wfw:commentRss>
		<slash:comments>14</slash:comments>
		</item>
		<item>
		<title>WD My Book 1 TB Hard Drive &#8211; Partition Failed</title>
		<link>http://dougdiego.com/2009/02/27/w-my-book-1-tb-hard-drive/</link>
		<comments>http://dougdiego.com/2009/02/27/w-my-book-1-tb-hard-drive/#comments</comments>
		<pubDate>Fri, 27 Feb 2009 05:53:02 +0000</pubDate>
		<dc:creator>doug</dc:creator>
				<category><![CDATA[Mac]]></category>

		<guid isPermaLink="false">http://dougdiego.com/?p=203</guid>
		<description><![CDATA[I recently bought at Western Digital My Book 1 TB Hard Drive for my MacBook Pro.  I wanted to use it for Time Machine backups, which meant that I needed for format it as Mac OS Extended.  It came pre-formatted as FAT.
I used Disk Utility to partition it and got an error a [...]]]></description>
			<content:encoded><![CDATA[<p>I recently bought at Western Digital My Book 1 TB Hard Drive for my MacBook Pro.  I wanted to use it for Time Machine backups, which meant that I needed for format it as Mac OS Extended.  It came pre-formatted as FAT.</p>
<p>I used Disk Utility to partition it and got an error a few seconds into it.<br />
<img class="alignnone size-full wp-image-204" title="Partition failed. Partition failed with error: File system formatter failed" src="http://dougdiego.com/wp-content/uploads/2009/02/wd-error.png" alt="wd-error" width="434" height="227" /><br />
The error window said: &#8220;Partition failed. Partition failed with error: File system formatter failed&#8221;.</p>
<p>After pulling my hair out for a while, I finally figured it out&#8230;</p>
<p>I&#8217;m not exactly sure the reason why, but Mac OX has an issue with a &#8220;Master Boot Record&#8221; bigger than 512mb.  Luckily the solution is easy.</p>
<p>1. Open up Disk Utility.</p>
<p>2. Select your drive on the left hand side.</p>
<p>3. Then click on the &#8220;Partition&#8221; tab.</p>
<p>4. Choose Volume Scheme: &#8220;1 Partition&#8221; and select the format: &#8220;Mac OS Extended (Journaled)&#8221;<br />
<img class="alignnone size-full wp-image-206" title="wd-options" src="http://dougdiego.com/wp-content/uploads/2009/02/wd-options.png" alt="wd-options" width="524" height="405" /></p>
<p>5. Then click on the &#8220;Options&#8221; button.</p>
<p>6.  Here is the important part.  Choose &#8220;GUID Partition Table&#8221; instead of &#8220;Master Boot Record&#8221;.  Then click &#8220;OK&#8221;.<br />
<img class="alignnone size-full wp-image-205" title="wd-partition" src="http://dougdiego.com/wp-content/uploads/2009/02/wd-partition.png" alt="wd-partition" width="448" height="340" /></p>
<p>7.   Now click &#8220;Apply&#8221; to start the partition process.  That&#8217;s it!</p>
]]></content:encoded>
			<wfw:commentRss>http://dougdiego.com/2009/02/27/w-my-book-1-tb-hard-drive/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Undefined symbols: _SCNetworkReachabilityCreateWithName</title>
		<link>http://dougdiego.com/2008/12/23/undefined_symbols_scnetworkreachabilitycreatewithname/</link>
		<comments>http://dougdiego.com/2008/12/23/undefined_symbols_scnetworkreachabilitycreatewithname/#comments</comments>
		<pubDate>Tue, 23 Dec 2008 17:36:43 +0000</pubDate>
		<dc:creator>doug</dc:creator>
				<category><![CDATA[Code]]></category>
		<category><![CDATA[iPhone]]></category>

		<guid isPermaLink="false">http://dougdiego.com/?p=171</guid>
		<description><![CDATA[I was recently adding some code to check for the availability of the network, so I can display an error to the user if unavailable.
I looked at the SeismicXML application and borrowed the following code:


// Use the SystemConfiguration framework to determine if the host that provides
// the RSS feed is available.
- (BOOL)isDataSourceAvailable
{
    [...]]]></description>
			<content:encoded><![CDATA[<p>I was recently adding some code to check for the availability of the network, so I can display an error to the user if unavailable.</p>
<p>I looked at the SeismicXML application and borrowed the following code:</p>
<pre name="code" class="c">

// Use the SystemConfiguration framework to determine if the host that provides
// the RSS feed is available.
- (BOOL)isDataSourceAvailable
{
    static BOOL checkNetwork = YES;
    if (checkNetwork) {
// Since checking the reachability of a host can be expensive,
// cache the result and perform the reachability check once.
        checkNetwork = NO;

        Boolean success;
        const char *host_name = &quot;earthquake.usgs.gov&quot;;
		//const char *host_name = &quot;localhost&quot;;

        SCNetworkReachabilityRef reachability =
SCNetworkReachabilityCreateWithName(NULL, host_name);
        SCNetworkReachabilityFlags flags;
        success = SCNetworkReachabilityGetFlags(reachability, &amp;amp;amp;flags);
        _isDataSourceAvailable = success &amp;amp;amp;&amp;amp;amp;
(flags &amp;amp;amp; kSCNetworkFlagsReachable) &amp;amp;amp;&amp;amp;amp;
!(flags &amp;amp;amp; kSCNetworkFlagsConnectionRequired);
        CFRelease(reachability);
    }
    return _isDataSourceAvailable;
}
</pre>
<p>I wouldn&#8217;t compile unless I added the following import:</p>
<pre name="code" class="c">
#import &lt;SystemConfiguration/SystemConfiguration.h&gt;
</pre>
<p>After adding this I still go 2 more errors, but these were a bit more cryptic.</p>
<p><code> Undefined symbols:<br />
"_SCNetworkReachabilityCreateWithName", referenced from:<br />
-[TheElementsAppDelegate isDataSourceAvailable] in TheElementsAppDelegate.o<br />
"_SCNetworkReachabilityGetFlags", referenced from:<br />
-[TheElementsAppDelegate isDataSourceAvailable] in TheElementsAppDelegate.o<br />
ld: symbol(s) not found<br />
collect2: ld returned 1 exit status</code></p>
<p>After some digging around I realized that I was missing the SystemConfiguration.framework framework.</p>
<p>So here is what I did to add it.<br />
1. I right click on &#8220;Frameworks&#8221; and choose: Add &lt; Existing Framework<br />
<img class="alignnone size-full wp-image-172" title="add_framework" src="http://dougdiego.com/wp-content/uploads/2008/12/add_framework.png" alt="add_framework" width="474" height="290" /></p>
<p>2. Browsed to the file: /System/Library/Frameworks/SystemConfiguration.framework</p>
<p>3. Rebuilt the project and my error was gone.</p>
]]></content:encoded>
			<wfw:commentRss>http://dougdiego.com/2008/12/23/undefined_symbols_scnetworkreachabilitycreatewithname/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>Install SUN JDK on Fedora 10</title>
		<link>http://dougdiego.com/2008/12/04/install-sun-jdk-on-fedora-10/</link>
		<comments>http://dougdiego.com/2008/12/04/install-sun-jdk-on-fedora-10/#comments</comments>
		<pubDate>Thu, 04 Dec 2008 16:49:42 +0000</pubDate>
		<dc:creator>doug</dc:creator>
				<category><![CDATA[Java]]></category>

		<guid isPermaLink="false">http://dougdiego.com/?p=147</guid>
		<description><![CDATA[Installing the SUN JDK on Fedora is pretty simple.   Here are some steps you can follow:
1. Go to: http://java.sun.com/javase/downloads/index.jsp
2. Click the download button next to: &#8220;Java SE Development Kit (JDK) 6 Update 11&#8243; or which ever version you want.

3. On the next page, select Platform: &#8220;Linux&#8221; and Language: &#8220;Multi-language&#8221;.  Click on Continue.

4. Then [...]]]></description>
			<content:encoded><![CDATA[<p>Installing the SUN JDK on Fedora is pretty simple.   Here are some steps you can follow:</p>
<p>1. Go to: <a href="http://java.sun.com/javase/downloads/index.jsp">http://java.sun.com/javase/downloads/index.jsp</a></p>
<p>2. Click the download button next to: &#8220;Java SE Development Kit (JDK) 6 Update 11&#8243; or which ever version you want.</p>
<p><a href="http://dougdiego.com/wp-content/uploads/2008/12/install_sun_jdk_step1.png"><img class="alignnone size-medium wp-image-151" title="install_sun_jdk_step1" src="http://dougdiego.com/wp-content/uploads/2008/12/install_sun_jdk_step1-300x70.png" alt="" width="300" height="70" /></a></p>
<p>3. On the next page, select Platform: &#8220;Linux&#8221; and Language: &#8220;Multi-language&#8221;.  Click on Continue.</p>
<p><a href="http://dougdiego.com/wp-content/uploads/2008/12/install_sun_jdk_step2.png"><img class="alignnone size-medium wp-image-152" title="install_sun_jdk_step2" src="http://dougdiego.com/wp-content/uploads/2008/12/install_sun_jdk_step2-300x143.png" alt="" width="300" height="143" /></a></p>
<p>4. Then click on the file to download: jdk-6u11-linux-i586.bin  This will download the file to your computer.</p>
<p>5.  Next we need to make the file executable:<br />
     <code>chmod a+x jdk-6u11-linux-i586.bin</code></p>
<p>6. Then run the installer:<br />
     <code>./ jdk-6u11-linux-i586.bin</code></p>
<p>You&#8217;ll need to read the Terms &amp; Conditions and accept them.</p>
<p>At this point you can use it as it or set it up more.  Here is what I did.</p>
<p>7.  As root I moved it to /usr/local<br />
     <code>sudo mv  jdk1.6.0_11 /usr/local</code></p>
<p>8. Then I updated my .bashrc to add it to my path:<br />
     <code>vi ~/.bashrc</code></p>
<p>Add the following:<br />
<code>export JAVA_HOME=/usr/local/jdk1.6.0_11<br />
export PATH=$PATH:$JAVA_HOME/bin</code></p>
<p>9.  Now to use java either source the .bashrc like:<br />
     <code>source ~/.bashrc</code></p>
<p>Or open a new terminal window.</p>
<p><strong>Note 1:</strong> Note, these steps should work on most linux distros.</p>
<p><strong>Note 2:</strong> If you already have OpenJDK installed, you can remove it with:<br />
     <code># yum remove java-1.6.0-openjdk java-1.6.0-openjdk-plugin</code></p>
<p><strong>Note 3:</strong> If you are missing some dependancies, you can add them like:<br />
     <code># yum install compat-libstdc++-33 compat-libstdc++-296</code></p>
<p><strong>Adding javac to your Path</strong><br />
To make javac available to any individual user, just add the following to each user’s path:</p>
<p><code>export JAVA_HOME=/usr/local/jdk1.6.0_11<br />
export PATH=$PATH:$JAVA_HOME/bin</code></p>
<p>For example, if you have a user called doug, you’d open:<br />
<code>/home/doug/.bashrc<br />
</code><br />
And add the 2 export command. (This assume you are using bash and the /home/doug is your home directory)</p>
<p>If you want to make is available to all users, as root edit the file:<br />
<code>/etc/profile<br />
</code></p>
<p>And again add:<br />
<code>export JAVA_HOME=/usr/local/jdk1.6.0_11<br />
export PATH=$PATH:$JAVA_HOME/bin</code></p>
<p>If your shell is tcsh, you can add it here:<br />
<code>/etc/csh.cshrc</code></p>
<p><strong>Firefox Plugin</strong><br />
You need to manuallly install the plugin. I followed the instructions in this thread: <a href="http://www.e-graviton.com/ird/node/195">http://www.e-graviton.com/ird/node/195</a></p>
<p>On my Linux box, the plugins directory does not exist. So I have to create a new one first. Here are the steps:</p>
<p>1. Make a symbolic link:<br />
<code>$ mkdir plugins<br />
$ pwd<br />
/home/doug/.mozilla/plugins<br />
$ ln -s /usr/local/jdk1.6.0_11/jre/plugin/i386/ns7/libjavaplugin_oji.so ./libjavaplugin_oji.so<br />
$ ls<br />
libjavaplugin_oji.so<br />
$</code></p>
<p>2. Then I added the following lines to my .bash_profile<br />
<code>MOZ_PLUGIN_PATH=$HOME/.mozilla/plugins<br />
export MOZ_PLUGIN_PATH</code></p>
<p>3. Log off and log on again, start the firefox, and I can run the java applet on linux!</p>
]]></content:encoded>
			<wfw:commentRss>http://dougdiego.com/2008/12/04/install-sun-jdk-on-fedora-10/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>iPhone Address Book</title>
		<link>http://dougdiego.com/2008/11/11/iphone-address-book/</link>
		<comments>http://dougdiego.com/2008/11/11/iphone-address-book/#comments</comments>
		<pubDate>Tue, 11 Nov 2008 01:42:45 +0000</pubDate>
		<dc:creator>doug</dc:creator>
				<category><![CDATA[Code]]></category>
		<category><![CDATA[iPhone]]></category>
		<category><![CDATA[apple]]></category>
		<category><![CDATA[Mac]]></category>

		<guid isPermaLink="false">http://dougdiego.com/?p=124</guid>
		<description><![CDATA[I found a great tutorial, with source code, for basic usage of the iPhone Address book:
http://iphone.zcentric.com/2008/09/19/access-the-address-book/
It was very helpful for getting started with using the address book in my code.
]]></description>
			<content:encoded><![CDATA[<p>I found a great tutorial, with source code, for basic usage of the iPhone Address book:</p>
<p><a href="http://iphone.zcentric.com/2008/09/19/access-the-address-book/">http://iphone.zcentric.com/2008/09/19/access-the-address-book/</a></p>
<p>It was very helpful for getting started with using the address book in my code.</p>
]]></content:encoded>
			<wfw:commentRss>http://dougdiego.com/2008/11/11/iphone-address-book/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Distribution Provisioning Profile not showing up</title>
		<link>http://dougdiego.com/2008/11/11/distribution-provisioning-profile-not-showing-up/</link>
		<comments>http://dougdiego.com/2008/11/11/distribution-provisioning-profile-not-showing-up/#comments</comments>
		<pubDate>Tue, 11 Nov 2008 01:35:08 +0000</pubDate>
		<dc:creator>doug</dc:creator>
				<category><![CDATA[Code]]></category>
		<category><![CDATA[iPhone]]></category>

		<guid isPermaLink="false">http://dougdiego.com/?p=122</guid>
		<description><![CDATA[I recently spent about 2 hours trying to get my Distribution Provisioning Profile to show up. I followed the instructions and did everything, but still it would not show up.
Then I came across this thread: http://www.v2ex.com/2008/10/22/distribution-provisioning-profile-not-showing-up/
The first suggestion was to create a new project.  I created a new project and my Distribution Provisioning profile [...]]]></description>
			<content:encoded><![CDATA[<p>I recently spent about 2 hours trying to get my Distribution Provisioning Profile to show up. I followed the instructions and did everything, but still it would not show up.</p>
<p>Then I came across this thread: <a href="http://www.v2ex.com/2008/10/22/distribution-provisioning-profile-not-showing-up/">http://www.v2ex.com/2008/10/22/distribution-provisioning-profile-not-showing-up/</a></p>
<p>The first suggestion was to create a new project.  I created a new project and my Distribution Provisioning profile appeared in it.  Then I went back to my main project and it appeared there too.  Problem solved!</p>
]]></content:encoded>
			<wfw:commentRss>http://dougdiego.com/2008/11/11/distribution-provisioning-profile-not-showing-up/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
