<?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>Tech Otaku</title>
	<atom:link href="http://www.tech-otaku.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.tech-otaku.com</link>
	<description></description>
	<lastBuildDate>Thu, 23 Feb 2012 06:52:41 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Resolving a Static Hostname to a Dynamic IP Address Using DynDNS Free</title>
		<link>http://www.tech-otaku.com/networking/resolving-static-hostname-dynamic-ip-address-dyndns-free/</link>
		<comments>http://www.tech-otaku.com/networking/resolving-static-hostname-dynamic-ip-address-dyndns-free/#comments</comments>
		<pubDate>Sun, 02 Oct 2011 07:52:34 +0000</pubDate>
		<dc:creator>Steve</dc:creator>
				<category><![CDATA[Networking]]></category>
		<category><![CDATA[dns]]></category>
		<category><![CDATA[ip-address]]></category>
		<category><![CDATA[LAN]]></category>
		<category><![CDATA[network]]></category>

		<guid isPermaLink="false">http://www.tech-otaku.com/?p=1351</guid>
		<description><![CDATA[There are occasions when we want to make a computer on a home/local area network (LAN) accessible externally on the Internet. For example, remotely connecting to a LAN computer using SSH or remotely accessing a web site residing on a LAN computer. Before seeing what potential difficulties this creates and how to overcome them, let&#8217;s ...]]></description>
			<content:encoded><![CDATA[<p>There are occasions when we want to make a computer on a home/local area network (LAN) accessible externally on the Internet. For example, remotely connecting to a LAN computer using SSH or remotely accessing a web site residing on a LAN computer.</p>
<p><span id="more-1351"></span>
<p>Before seeing what potential difficulties this creates and how to overcome them, let&#8217;s take a look at a typical home network and how it communicates with the outside world.</p>
<p>I use the terms <i>home network</i> and <i>LAN</i> interchangeably and for the purposes of this article they can be considered one and the same.</p>
<div class="post-image-frame">
	<a href="http://www.flickr.com/photos/38071845@N06/6236014570" title="View 'A Home/Local Area Network (LAN)' on Flickr.com" target-"_blank"></p>
<div class="frame">
			<img src="http://farm7.static.flickr.com/6106/6236014570_c1b85c8872_b.jpg" alt="A Home/Local Area Network (LAN)" width="600" height="478" />
		</div>
<p>	</a></p>
<p class="post-image-caption">A Home/Local Area Network (LAN)</p>
</div>
<p class="line-break">&nbsp;</p>
<p>At the network&#8217;s centre is the router. To the right, in the diagram above, are the devices connected wirelessly or wired to the router which make-up the home network.</p>
<p>To identify them on the LAN, the router and each device are assigned a unique dynamic or <a href="http://www.tech-otaku.com/networking/assigning-locally-networked-computer-static-ip-address-mac-os-x/" target="_blank">static</a> IP address, in this case in the range <span class="system-font">192.168.1.1</span> to <span class="system-font">192.168.1.200</span>. These IP addresses are private and are only recognised within the LAN itself. The IP address <span class="system-font">192.168.1.1</span> is usually reserved for the router.</p>
<p>To provide Internet access to devices on the LAN, the router is typically connected to a modem supplied by the ISP. The router is given a second IP address by the ISP to identify it externally on the Internet e.g. <span class="system-font">123.45.67.8</span>. However, unlike its internal private IP address which is static, the router&#8217;s external public IP address is often dynamic.</p>
<p>In combination with a method known as <a href="http://en.wikipedia.org/wiki/Port_forwarding" target="_blank"><i>port forwarding*</i></a> we need only enter the router&#8217;s external public IP address in a browser i.e. <span class="system-font">http://123.45.67.8</span> to remotely access the home network over the Internet.</p>
<p>There are two disadvantages to using the router&#8217;s external public IP address. The first, is that it can be difficult to remember. The second, and more important, is that it is most likely a dynamic IP address and will therefore change over time. Keeping track of a dynamic IP address can be difficult. Here&#8217;s where services such as those provided Dyn come in.
<p>Using their free <a href="http://dyn.com/dns/dyndns-free/" target="_blank">DynDNS Free</a> service allows you to keep track of your router&#8217;s difficult to remember, dynamic public IP address with a more memorable static hostname.</p>
<p>After signing-up for an account at <a href="https://www.dyndns.com/account/entrance/?via=topnav" target="_blank">Dyn</a> head over to the DynDNS Free <a href="https://www.dyndns.com/account/services/hosts/add.html" target="_blank">configuration page</a>.</p>
<div class="post-image-frame">
	<a href="http://www.flickr.com/photos/38071845@N06/6237253892" title="View 'DynDNS Free Configuration Page' on Flickr.com" target="_blank"></p>
<div class="frame">
			<img src="http://farm7.static.flickr.com/6215/6237253892_0128174db3.jpg" alt="DynDNS Free Configuration Page" width="500" height="451" />
		</div>
<p>	</a></p>
<p class="post-image-caption">DynDNS Free configuration page</p>
</div>
<p class="line-break">&nbsp;</p>
<p class="line-break">&nbsp;</p>
<p><b>1</b>. Enter the hostname you want to use up to a maximum of 24 characters. From the drop-down menu on the right you can choose suffixes other than <span class="system-font">dyndns.info</span>.</p>
<p><b>2</b>. Ensure that for service type <i>Host with IP address</i> is selected.</p>
<p><b>3</b>. The configuration page will show your router&#8217;s current external public IP address. Click the link to use this one or enter another valid IP address.</p>
<p><b>4</b>. Click the <i>Add To Cart</i> button and follow the on-screen instructions to complete the configuration and activate your hostname. Don&#8217;t be put off by <i>Add To Cart</i>. Like its name suggests, DynDNS Free is free.</p>
<p>With the new hostname activated there&#8217;s a second step to the process.</p>
<p>The hostname <span class="system-font">xxxxxx.dyndns.info</span> when entered in a browser will resolve to the router&#8217;s external public IP address as it was when the hostname was originally activated  i.e. <span class="system-font">123.45.67.8</span>. If this is a dynamic IP address, when it changes to say <span class="system-font">123.45.67.890</span> the hostname <span class="system-font">xxxxxx.dyndns.info</span> will still resolve to the original IP address and not the new one.</p>
<p>To overcome this, download one of the <a href="http://dyn.com/support/clients/" target="_blank">DynDNS Updaters</a> and install it on one of the computers on your home network. Add your Dyn account to the DynDNS updater and it will periodically check your router&#8217;s external public IP address. If it detects that the IP address has changed, it sends the new IP address to the hostname in your Dyn account.</p>
<p class="line-break">&nbsp;</p>
<p class="line-break">&nbsp;</p>
<div class="fancy_box fancy-box-post">* NOTE: The process of <a href="http://en.wikipedia.org/wiki/Port_forwarding" target="_blank">port forwarding</a> or port mapping is beyond the scope of this article. I mention it only to highlight that having a hostname resolve to your router&#8217;s external public IP address is not all that&#8217;s required to make a locally networked computer accessible over the Internet.</div>
]]></content:encoded>
			<wfw:commentRss>http://www.tech-otaku.com/networking/resolving-static-hostname-dynamic-ip-address-dyndns-free/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Assigning a Locally Networked Computer a Static IP Address in Mac OS X</title>
		<link>http://www.tech-otaku.com/networking/assigning-locally-networked-computer-static-ip-address-mac-os-x/</link>
		<comments>http://www.tech-otaku.com/networking/assigning-locally-networked-computer-static-ip-address-mac-os-x/#comments</comments>
		<pubDate>Thu, 29 Sep 2011 07:30:07 +0000</pubDate>
		<dc:creator>Steve</dc:creator>
				<category><![CDATA[Networking]]></category>
		<category><![CDATA[dhcp]]></category>
		<category><![CDATA[ip-address]]></category>
		<category><![CDATA[lion]]></category>
		<category><![CDATA[local-network]]></category>
		<category><![CDATA[os-x]]></category>

		<guid isPermaLink="false">http://www.tech-otaku.com/?p=1282</guid>
		<description><![CDATA[Each computer connected to a local network is assigned a dynamic IP address. On occasion it&#8217;s useful, if not essential, to assign a static IP address instead. As an example, port forwarding requires the destination computer on a local network to have a static IP address. Using OS X Lion 10.7.1, I&#8217;ll describe two ways ...]]></description>
			<content:encoded><![CDATA[<p>Each computer connected to a local network is assigned a dynamic IP address. On occasion it&#8217;s useful, if not essential, to assign a static IP address instead. As an example, <a href="http://en.wikipedia.org/wiki/Port_forwarding" target="_blank">port forwarding</a> requires the destination computer on a local network to have a static IP address.</p>
<p>Using OS X Lion 10.7.1, I&#8217;ll describe two ways of assigning a static IP address to a computer on a local network.</p>
<p><span id="more-1282"></span>
<p class="line-break">&nbsp;</p>
<div class="content-heading-number"></div>
<h3 class="content-heading-text">Using DHCP With a Manual Address</h3>
<p>The first method uses the Network preference pane in System Preferences.</p>
<p>Open <i>System Preferences</i> and click <i>Network</i>.</p>
<div class="post-image-frame">
	<a href="http://www.flickr.com/photos/38071845@N06/6225594853" title="View 'Network preference pane in System Preferences' on Flickr.com" target="_blank"></p>
<div class="frame">
			<img src="http://farm7.static.flickr.com/6221/6225594853_fa8798a9d8.jpg" alt="Network preference pane in System Preferences" width="500" height="434" />
		</div>
<p>	</a></p>
<p class="post-image-caption">Network preference pane in System Preferences</p>
</div>
<p class="line-break">&nbsp;</p>
<p><b>1</b>. Before continuing, you may need to authenticate by clicking the lock icon.</p>
<p><b>2</b>. The current services are listed on the left of the Network preference pane. I have a wireless network so I select the active Wi-Fi service.</p>
<p><b>3</b>. To continue click <i>Advanced…</i></p>
<p class="line-break">&nbsp;</p>
<div class="post-image-frame">
	<a href="http://www.flickr.com/photos/38071845@N06/6227814851" title="View 'TCP/IP tab showing computer&#39;s dynamically assigned IP address using DHCP' on Flickr.com" target="_blank"></p>
<div class="frame">
			<img src="http://farm7.static.flickr.com/6036/6227814851_9482366251.jpg" alt="TCP/IP tab showing computer's dynamically assigned IP address using DHCP" width="500" height="389" />
		</div>
<p>	</a></p>
<p class="post-image-caption">TCP/IP tab showing computer&#8217;s dynamically assigned IP address using DHCP</p>
</div>
<p class="line-break">&nbsp;</p>
<p><b>4</b>. On the TCP/IP tab the computer is shown as having an IP Address of <span class="system-font">192.168.1.99</span> dynamically assigned using DHCP.</p>
<p class="line-break">&nbsp;</p>
<div class="post-image-frame">
	<a href="http://www.flickr.com/photos/38071845@N06/6227839999" title="View 'Assigning a static IP address using DHCP with manual address' on Flickr.com" target="_blank"></p>
<div class="frame">
			<img src="http://farm7.static.flickr.com/6101/6227839999_1508c0256f.jpg" alt="Assigning a static IP address using DHCP with manual address" width="500" height="389" />
		</div>
<p>	</a></p>
<p class="post-image-caption">Assigning a static IP address using DHCP with manual address</p>
</div>
<p class="line-break">&nbsp;</p>
<p><b>5</b>. From the drop-down menu select <i>Using DHCP with manual address</i>. This allows a static IP Address to be assigned to the computer. Here, I&#8217;ve entered <span class="system-font">192.168.1.2</span>.</p>
<p><b>6</b>.Click <i>OK</i> to return to the Network preference pane.</p>
<p class="line-break">&nbsp;</p>
<div class="post-image-frame">
	<a href="http://www.flickr.com/photos/38071845@N06/6227873701" title="View 'Network preference pane before changes are applied' on Flickr.com" target="_blank"></p>
<div class="frame">
			<img src="http://farm7.static.flickr.com/6222/6227873701_1c049df9dc.jpg" alt="Network preference pane before changes are applied" width="500" height="434" />
		</div>
<p>	</a></p>
<p class="post-image-caption">Network preference pane before changes are applied</p>
</div>
<p class="line-break">&nbsp;</p>
<p><b>7</b>. The all important step I sometimes forget. Remember to click <i>Apply</i> to save the changes. The computer now has a static IP address on the local network.</p>
<p class="line-break">&nbsp;</p>
<div class="content-heading-number"></div>
<h3 class="content-heading-text">DHCP Reservations</h3>
<p>The second method uses a router to reserve a static IP address for an individual computer. The method described here uses an Airport Extreme 802.11n wireless router.</p>
<p>First, we need to find the computer&#8217;s unique MAC (Media Access Control) address.</p>
<p>Open <i>System Preferences</i> and click <i>Network</i>.</p>
<div class="post-image-frame">
	<a href="http://www.flickr.com/photos/38071845@N06/6228139883" title="View 'Network preference pane in System Preferences' on Flickr.com" target="_blank"></p>
<div class="frame">
			<img src="http://farm7.static.flickr.com/6237/6228139883_bc19862625.jpg" alt="Network preference pane in System Preferences" width="500" height="434" />
		</div>
<p>	</a></p>
<p class="post-image-caption">Network preference pane in System Preferences</p>
</div>
<p class="line-break">&nbsp;</p>
<p><b>1</b>. Select the currently active service listed on the left of the Network preference pane.</p>
<p><b>2</b>. To continue click <i>Advanced…</i></p>
<p class="line-break">&nbsp;</p>
<div class="post-image-frame">
	<a href="http://www.flickr.com/photos/38071845@N06/6228766378" title="View 'Hardware tab showing the computer&#39;s MAC Address' on Flickr.com" target="_blank"></p>
<div class="frame">
			<img src="http://farm7.static.flickr.com/6236/6228766378_c5a65cbabc.jpg" alt="Hardware tab showing the computer's MAC Address" width="500" height="389" />
		</div>
<p>	</a></p>
<p class="post-image-caption">Hardware tab showing the computer&#8217;s MAC Address</p>
</div>
<p class="line-break">&nbsp;</p>
<p><b>3</b>. The Hardware tab shows the computer&#8217;s MAC (Media Access Control) address in the format <span class="system-font">xx:xx:xx:xx:xx:xx</span>. Make a note of it for later.</p>
<p><b>4</b>. To return to the Network preference pane click <i>Cancel</i>.</p>
<p class="line-break">&nbsp;</p>
<p>I&#8217;ll be using AirPort Utility to configure the Airport Extreme.</p>
<p>Open <i>AirPort Utility</i> located in Applications > Utilities.</p>
<div class="post-image-frame">
	<a href="http://www.flickr.com/photos/38071845@N06/6228906898" title="View 'Initial screen of AirPort Utility' on Flickr.com" target="_blank"></p>
<div class="frame">
			<img src="http://farm7.static.flickr.com/6034/6228906898_6525ece2d6.jpg" alt="Initial screen of AirPort Utility" width="500" height="323" />
		</div>
<p>	</a></p>
<p class="post-image-caption">Initial screen of AirPort Utility</p>
</div>
<p class="line-break">&nbsp;</p>
<p><b>5</b>. Click on <i>Manual Setup</i> to continue.</p>
<p class="line-break">&nbsp;</p>
<div class="post-image-frame">
	<a href="http://www.flickr.com/photos/38071845@N06/6228907638" title="View 'DHCP tab showing DHCP reservations' on Flickr.com" target="_blank"></p>
<div class="frame">
			<img src="http://farm7.static.flickr.com/6224/6228907638_9c513632ca.jpg" alt="DHCP tab showing DHCP reservations" width="500" height="358" />
		</div>
<p>	</a></p>
<p class="post-image-caption">DHCP tab showing DHCP reservations</p>
</div>
<p class="line-break">&nbsp;</p>
<p><b>6</b>. Click the <i>Internet</i> icon.</p>
<p><b>7</b>. On the DHCP tab click <i>+</i> to add a DHCP reservation.</p>
<p class="line-break">&nbsp;</p>
<div class="post-image-frame">
	<a href="http://www.flickr.com/photos/38071845@N06/6228908590" title="View 'Initial screen of the DHCP Reservation Setup Assistant' on Flickr.com" target="_blank"></p>
<div class="frame">
			<img src="http://farm7.static.flickr.com/6034/6228908590_a30e881e00.jpg" alt="Initial screen of the DHCP Reservation Setup Assistant" width="400" height="250" />
		</div>
<p>	</a></p>
<p class="post-image-caption">Initial screen of the DHCP Reservation Setup Assistant</p>
</div>
<p class="line-break">&nbsp;</p>
<p><b>8</b>. Add a description for the reservation.</p>
<p><b>9</b>. Ensure that <i>MAC Address</i> is selected to reserve the IP address.</p>
<p><b>10</b>. Click <span class="system-font">Continue</span> to go to the next screen of DHCP Reservation Setup Assistant.</p>
<p class="line-break">&nbsp;</p>
<div class="post-image-frame">
	<a href="http://www.flickr.com/photos/38071845@N06/6228393467" title="View 'Final screen of the DHCP Reservation Setup Assistant' on Flickr.com" target="_blank"></p>
<div class="frame">
			<img src="http://farm7.static.flickr.com/6163/6228393467_f33258ec13.jpg" alt="Final screen of the DHCP Reservation Setup Assistant" width="400" height="250" />
		</div>
<p>	</a></p>
<p class="post-image-caption">Final screen of the DHCP Reservation Setup Assistant</p>
</div>
<p class="line-break">&nbsp;</p>
<p><b>11</b>. Enter the computer&#8217;s MAC address obtained earlier in the format <span class="system-font">xx:xx:xx:xx:xx:xx</span>.</p>
<p><b>12</b>. Enter an IP address you want assigned to the computer. Note that it&#8217;s only possible to change the fourth and final series of numbers.</p>
<p><b>13</b>. Click <span class="system-font">Done</span> to return to the DHCP tab.</p>
<p class="line-break">&nbsp;</p>
<div class="post-image-frame">
	<a href="http://www.flickr.com/photos/38071845@N06/6228910220" title="View 'DHCP tab before applying updates' on Flickr.com" target="_blank"></p>
<div class="frame">
			<img src="http://farm7.static.flickr.com/6238/6228910220_4e1d4e8acf.jpg" alt="DHCP tab before applying updates" width="500" height="358" />
		</div>
<p>	</a></p>
<p class="post-image-caption">DHCP tab before applying updates</p>
</div>
<p class="line-break">&nbsp;</p>
<p><b>14</b>. Enter more IP addresses for other computers on the local network if desired. Then Click <span class="system-font">Update</span> to apply the changes and assign the computer(s) a static IP address.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.tech-otaku.com/networking/assigning-locally-networked-computer-static-ip-address-mac-os-x/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>OS X Lion and Re-opening Full-Screen Applications. Hit or Miss?</title>
		<link>http://www.tech-otaku.com/mac-os-x/os-x-lion-re-opening-full-screen-applications-hit-miss/</link>
		<comments>http://www.tech-otaku.com/mac-os-x/os-x-lion-re-opening-full-screen-applications-hit-miss/#comments</comments>
		<pubDate>Tue, 02 Aug 2011 22:42:12 +0000</pubDate>
		<dc:creator>Steve</dc:creator>
				<category><![CDATA[Mac OS X]]></category>
		<category><![CDATA[lion]]></category>
		<category><![CDATA[os-x]]></category>

		<guid isPermaLink="false">http://www.tech-otaku.com/?p=1152</guid>
		<description><![CDATA[A much touted feature of OS X Lion is the ability to use applications in full-screen mode. It&#8217;s easy enough to make an already open application full-screen, but I&#8217;ve had limited success re-opening applications full-screen using the initial public 10.7.0 release of Lion. To put an open application into full-screen mode, simply click the arrows ...]]></description>
			<content:encoded><![CDATA[<p>A much touted feature of OS X Lion is the ability to use applications in full-screen mode. It&#8217;s easy enough to make an already open application full-screen, but I&#8217;ve had limited success <i>re-opening</i> applications full-screen using the initial public 10.7.0 release of Lion.</p>
<p><span id="more-1152"></span>
<p>To put an open application into full-screen mode, simply click the arrows in the top-right corner of the application&#8217;s window.</p>
<div class="post-image-frame">
<div class="frame">
		<img src="http://farm7.static.flickr.com/6140/6006955676_cca3dbe2e4.jpg" alt="" width="500" height="86" />
	</div>
</div>
<p class="line-break">&nbsp;</p>
<p>However, re-opening an application in full-screen appears not so straight forward.</p>
<p>My understanding is that if you want an application to re-open in full-screen mode you mustn&#8217;t quit the full-screen application using <span class="system-font">command-Q</span>. Instead, you need to navigate to the Desktop, <span class="system-font">control-click</span> the application icon in the Dock and click Quit. It appears also that you need to do this every time you want the application to re-open in full-screen mode.</p>
<p>However, this seems a little inconsistent. Take Mail for example.</p>
<p>Open Mail in non full-screen mode and open, say, the Activity window (Window > Activity). Now put Mail into full-screen mode and launch Mission Control. You&#8217;ll see that as a full-screen application Mail occupies its own space. Mail&#8217;s Activity window, however, is shown on the Desktop.</p>
<div class="post-image-frame">
<div class="frame">
		<img src="http://farm7.static.flickr.com/6004/5997699257_1047bdf22d.jpg" alt="" width="600" height="375" />
	</div>
</div>
<p class="line-break">&nbsp;</p>
<p>Quit Mail while in full-screen using the method described above and you&#8217;d expect Mail to re-open full-screen. It doesn&#8217;t. Why? I suspect it has something to do with the Mail&#8217;s Activity window.</p>
<p>So, close the Activity window first before putting Mail into full-screen mode. Now quit Mail using its Dock icon. Open Mail and it&#8217;s full-screen.</p>
<p>I&#8217;ve experienced the same problem when Mail&#8217;s Preferences window is open, but not with Mail&#8217;s Photo Browser nor Address Panel windows. The same is true of Safari with either the Preferences or Activity windows open. iTunes however seems to suffer no such problem. It re-opens in full-screen regardless of which windows were open. Odd.</p>
<p>Whether this is expected behaviour or a bug, the way to have a fair chance of applications re-opening in full-screen mode is to close any additional application windows first.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.tech-otaku.com/mac-os-x/os-x-lion-re-opening-full-screen-applications-hit-miss/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>WordPress.com Stats and Jetpack Plugins and WordPress Page Navigation</title>
		<link>http://www.tech-otaku.com/blogging/wordpresscom-stats-jetpack-plugins-wordpress-page-navigation/</link>
		<comments>http://www.tech-otaku.com/blogging/wordpresscom-stats-jetpack-plugins-wordpress-page-navigation/#comments</comments>
		<pubDate>Fri, 22 Jul 2011 05:49:36 +0000</pubDate>
		<dc:creator>Steve</dc:creator>
				<category><![CDATA[Blogging]]></category>
		<category><![CDATA[page-navigation]]></category>
		<category><![CDATA[plugins]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://www.tech-otaku.com/?p=1127</guid>
		<description><![CDATA[I never did get to the bottom of the issue I was having with the Jetpack plugin and page navigation in WordPress. So, it seemed I would either have to do without site statistics provided by the Jetpack plugin or this site would have to forego page navigation. I&#8217;ve been using site statistics provided WordPress.com ...]]></description>
			<content:encoded><![CDATA[<p>I never did get to the bottom of the <a href="http://www.tech-otaku.com/blogging/wordpress-jetpack-plugin-broken-page-navigation/" target="_blank">issue</a> I was having with the Jetpack plugin and page navigation in WordPress. So, it seemed I would either have to do without site statistics provided by the Jetpack plugin or this site would have to forego page navigation.</p>
<p>I&#8217;ve been using site statistics provided WordPress.com for some time. The <a href="http://www.tech-otaku.com/blogging/displaying-statistics-wordpresscom-stats/" target="_blank">popular posts</a> widgets in the sidebar and on single post pages rely on these statistics to display this site&#8217;s most viewed posts and pages.</p>
<p><span id="more-1127"></span>
<p>I&#8217;d been using the WordPress.com Stats plugin until March when inexplicably it appeared to <a href="http://www.tech-otaku.com/blogging/displaying-statistics-wordpresscom-stats/comment-page-1/#comment-3670" target="_blank">no longer work</a>. At that time, I switched to the Jetpack plugin which includes the former WordPress.com Stats functionality. I assumed the Jetpack plugin had replaced the WordPress.com Stats plugin and that the latter was no longer available.</p>
<p>In searching for an answer to the broken page navigation I found the <a href=" http://wordpress.org/extend/plugins/stats/" target="_blank">WordPress.com Stats</a> plugin still available for download. It was worth a try, so I deleted the Jetpack plugin and installed the WordPress.com Stats plugin. After a frustrating afternoon trying to get the plugin to connect to the WordPress.com servers this site&#8217;s stats are now being provided courtesy of the WordPress.com Stats plugin. More importantly, page navigation is once again working as it should.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.tech-otaku.com/blogging/wordpresscom-stats-jetpack-plugins-wordpress-page-navigation/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>WordPress Jetpack Plugin and Broken Page Navigation</title>
		<link>http://www.tech-otaku.com/blogging/wordpress-jetpack-plugin-broken-page-navigation/</link>
		<comments>http://www.tech-otaku.com/blogging/wordpress-jetpack-plugin-broken-page-navigation/#comments</comments>
		<pubDate>Wed, 13 Jul 2011 01:47:31 +0000</pubDate>
		<dc:creator>Steve</dc:creator>
				<category><![CDATA[Blogging]]></category>
		<category><![CDATA[page-navigation]]></category>
		<category><![CDATA[plugins]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://www.tech-otaku.com/?p=1077</guid>
		<description><![CDATA[I&#8217;ve currently disabled page navigation on this site as it appears to be broken. While I can&#8217;t be 100% certain, the culprit appears to be the Jetpack plugin I use that incorporates WordPress.com Stats. This site uses custom permalinks, /%category%/%postname%/, but when navigating pages the URLs are incorrect. Instead of http://domain/page/2 they&#8217;re being re-written as ...]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve currently disabled page navigation on this site as it appears to be broken. While I can&#8217;t be 100% certain, the culprit appears to be the Jetpack plugin I use that incorporates WordPress.com Stats.</p>
<p><span id="more-1077"></span>
<p>This site uses custom permalinks, <span class="system-font">/%category%/%postname%/</span>, but when navigating pages the URLs are incorrect. Instead of <span class="system-font">http://domain/page/2</span> they&#8217;re being re-written as <span class="system-font">http://domain/2</span>. Consequently, I&#8217;m getting <span class="system-font">404 Not Found</span> errors.</p>
<p>Why blame the Jetpack plugin? By accident, I deactivated the Jetpack plugin and noticed that page navigation was working. Interestingly, the issue arises only if I&#8217;m <i>not</i> logged-in as <span class="system-font">admin</span>. </p>
<p>I&#8217;ve <a href="http://wordpress.org/support/topic/jetpack-plugin-and-broken-page-navigation" target="_blank">posted</a> more detail over on the WordPress.com forums in the hope someone has an answer.</p>
<p>Until I&#8217;ve managed to fix this, all of my posts, a laughable 30 in total, will appear on one long page.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.tech-otaku.com/blogging/wordpress-jetpack-plugin-broken-page-navigation/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Fix Add-on Incompatibility in Firefox 5</title>
		<link>http://www.tech-otaku.com/internet/fix-addon-incompatibility-firefox-5/</link>
		<comments>http://www.tech-otaku.com/internet/fix-addon-incompatibility-firefox-5/#comments</comments>
		<pubDate>Sun, 26 Jun 2011 09:07:38 +0000</pubDate>
		<dc:creator>Steve</dc:creator>
				<category><![CDATA[Internet]]></category>
		<category><![CDATA[browser]]></category>

		<guid isPermaLink="false">http://www.tech-otaku.com/?p=1057</guid>
		<description><![CDATA[Of all the Firefox add-ons I have installed the one I&#8217;ve come to rely on is the official Delicious Bookmarks add-on. This and many other add-ons have been incompatible with Firefox since the release of Firefox 4 back in March. One of the work-a-rounds was to disable add-on compatibility checking in Firefox. To get incompatible ...]]></description>
			<content:encoded><![CDATA[<p>Of all the Firefox add-ons I have installed the one I&#8217;ve come to rely on is the official <a href="https://addons.mozilla.org/en-US/firefox/addon/delicious-bookmarks/" target="_blank">Delicious Bookmarks</a> add-on.</p>
<p>This and many other add-ons have been incompatible with Firefox since the release of Firefox 4 back in March. One of the work-a-rounds was to disable add-on compatibility checking in Firefox.</p>
<p><span id="more-1057"></span>
<p>To get incompatible add-ons working in Firefox 4 I&#8217;d followed the instructions <a href="http://cybernetnews.com/force-firefox-extension-compatibility/" target="_blank">here</a> replacing the preference name <span class="system-font">extensions.checkCompatibility.3.6</span> with <span class="system-font">extensions.checkCompatibility.4.0</span></p>
<p>Unfortunately, with the release of Firefox 5 this week, just 3 months after the release of Firefox 4, many add-ons are once again not working. It&#8217;s easy enough to fix though. Just follow the instructions in the link above this time replacing the preference name <span class="system-font">extensions.checkCompatibility.3.6</span> with <span class="system-font">extensions.checkCompatibility.5.0</span></p>
]]></content:encoded>
			<wfw:commentRss>http://www.tech-otaku.com/internet/fix-addon-incompatibility-firefox-5/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Syncing OS X Address Books and iCal Calendars across Multiple Macs using Dropbox</title>
		<link>http://www.tech-otaku.com/mac-os-x/syncing-os-x-address-books-ical-calendars-multiple-macs-dropbox/</link>
		<comments>http://www.tech-otaku.com/mac-os-x/syncing-os-x-address-books-ical-calendars-multiple-macs-dropbox/#comments</comments>
		<pubDate>Sat, 18 Jun 2011 23:03:52 +0000</pubDate>
		<dc:creator>Steve</dc:creator>
				<category><![CDATA[Mac OS X]]></category>
		<category><![CDATA[dropbox]]></category>
		<category><![CDATA[finder]]></category>
		<category><![CDATA[os-x]]></category>
		<category><![CDATA[sync]]></category>
		<category><![CDATA[terminal]]></category>

		<guid isPermaLink="false">http://www.tech-otaku.com/?p=867</guid>
		<description><![CDATA[With Apple&#8217;s recent announcement regarding iCloud at this year&#8217;s WWDC it is perhaps worth remembering that until the service is released this autumn it&#8217;s still possible to sync your Address Book and Calendars among your Macs using another free service: Dropbox. &#160; Before following these instructions you should back-up your Address Book and iCal data ...]]></description>
			<content:encoded><![CDATA[<p>With Apple&#8217;s recent announcement regarding <a href="http://www.apple.com/icloud/" target="_blank">iCloud</a> at this year&#8217;s WWDC it is perhaps worth remembering that until the service is released this autumn it&#8217;s still possible to sync your Address Book and Calendars among your Macs using another free service: <a href="https://www.dropbox.com/" target="_blank">Dropbox</a>.</p>
<p><span id="more-867"></span>
<p class="line-break">&nbsp;</p>
<div class="fancy_box fancy-box-post">
<p>Before following these instructions you should back-up your Address Book and iCal data to ensure against potential data loss.</p>
<p>The method described below makes use of the Terminal application in OS X. For information on entering file and folder paths in Terminal see <a href="http://www.tech-otaku.com/mac-os-x/file-folder-paths-os-x-terminal/" target="_blank">File and Folder Paths in OS X Terminal</a>.</p>
<p>Note also that, for those unfamiliar with it, the tilde character (<span class="system-font"><b>~</b></span>) is used as shorthand to denote the user&#8217;s home folder.</p>
</div>
<p class="line-break">
<div id="">
	<h3 class="toggle"><a href="#" title="Click to Expand/Collapse">Table of Contents</a></h3><div class="toggle_content" style="display: none;"><div class="block"></p>
<ul class="arrow_list">
<li><a rel="bookmark nofollow" href="#1">1. Address Book</a></li>
<li><a rel="bookmark nofollow" href="#2">2. Configuring Address Book Sync on Computer A</a></li>
<li><a rel="bookmark nofollow" href="#3">3. Configuring Address Book Sync on Computer B</a></li>
<li><a rel="bookmark nofollow" href="#4">4. iCal</a></li>
<li><a rel="bookmark nofollow" href="#5">5. Configuring iCal Sync on Computer A</a></li>
<li><a rel="bookmark nofollow" href="#6">6. Configuring iCal Sync on Computer B</a></li>
</ul>
<p>	</div></div>
</p></div>
<p class="line-break">
<p>Let&#8217;s assume we have two Macs. An iMac that I&#8217;ll call Computer A and a MacBook that I&#8217;ll refer to as Computer B. Computer A contains the latest, up-to-date Address Book and iCal data. </p>
<p class="line-break">&nbsp;</p>
<p class="line-break">
<div class="content-heading-number">1.</div>
<h3 id="1" class="content-heading-text">Address Book</h3>
<p>OS X stores Address Book data in the <span class="system-font">AddressBook</span> folder contained in the folder <span class="system-font">~/Library/Application Support/</span>.</p>
<p class="line-break">
<div class="divider top"><a title="Table of Contents" href="#toc">TOC</a></div>
<div class="content-heading-number">2.</div>
<h3 id="2" class="content-heading-text">Configuring Address Book Sync on Computer A</h3>
<p>The first thing to do is to move this <span class="system-font">AddressBook</span> folder on Computer A to the <span class="system-font">Dropbox</span> folder.</p>
<p>On Computer A, quit Address Book and open the Terminal application. Type the following command and press <span class="system-font">return</span>.</p>
<pre class="brush: plain; gutter: false;">
&nbsp;
cd ~/Library/Application\ Support
&nbsp;
</pre>
<p class="line-break">&nbsp;</p>
<p>This changes the current directory to that containing the <span class="system-font">AddressBook</span> folder.</p>
<p>Next type the following command adding a space at the end. Don&#8217;t press <span class="system-font">return</span> yet.</p>
<pre class="brush: plain; gutter: false;">
&nbsp;
mv AddressBook
&nbsp;
</pre>
<p class="line-break">&nbsp;</p>
<p>Now locate your <span class="system-font">Dropbox</span> folder in the Finder and drag it to the Terminal window. This copies the full path to your <span class="system-font">Dropbox</span> folder into the Terminal command like so:  </p>
<pre class="brush: plain; gutter: false;">
&nbsp;
mv AddressBook /Volumes/Data/Users/steve/Dropbox
&nbsp;
</pre>
<p class="line-break">&nbsp;</p>
<p>Press <span class="system-font">return</span> to move the <span class="system-font">AddressBook</span> to the <span class="system-font">Dropbox</span> folder.</p>
<p>Next we need to ensure that Address Book can find its data in the <span class="system-font">Dropbox</span> folder as it expects it to be located in the <span class="system-font">~/Library/Application Support/</span> folder. To do this, create a symbolic link named <span class="system-font">AddressBook</span> in the <span class="system-font">~/Library/Application Support/</span> folder which points to the <span class="system-font">~/Dropbox/AddressBook/</span> folder.</p>
<p>To create the symbolic we <b>must</b> use the <span class="system-font">ln</span> command in Terminal. This is not the same as creating an alias in the Finder using drag-and-drop while holding down the <span class="system-font">option</span> and <span class="system-font">command</span> keys. The latter should not be used as Address Book will be unable to find its data in the <span class="system-font">Dropbox</span> folder and will create a new, empty address book.</p>
<pre class="brush: plain; gutter: false; wrap-lines: false;">
&nbsp;
ln -s /Volumes/Data/Users/steve/Dropbox/AddressBook /Volumes/Data/Users/steve/Library/Application\ Support
&nbsp;
</pre>
<p class="line-break">&nbsp;</p>
<p>If we navigate to the <span class="system-font">~/Library/Application Support/</span> folder in the Finder we&#8217;ll see what appears to be a folder named <span class="system-font">AddressBook</span>. This is in fact the symbolic link we created in Terminal.</p>
<div class="post-image-frame">
<div class="frame">
		<img src="http://farm4.static.flickr.com/3155/5834794470_3b25799280.jpg" alt="" width="500" height="305" />
	</div>
</div>
<p class="line-break">&nbsp;</p>
<p>If we click on this symbolic link we&#8217;ll see that it&#8217;s actually pointing to the <span class="system-font">~/Dropbox/AddressBook/</span> folder.</p>
<div class="post-image-frame">
<div class="frame">
		<img src="http://farm6.static.flickr.com/5025/5834240051_736b7588d9.jpg" alt="" width="500" height="305" />
	</div>
</div>
<p class="line-break">&nbsp;</p>
<p>Open Address Book and confirm that the data is as it should be.</p>
<p>Next we&#8217;ll configure Address Book on Computer B.</p>
<p class="line-break">
<div class="divider top"><a title="Table of Contents" href="#toc">TOC</a></div>
<div class="content-heading-number">3.</div>
<h3 id="3" class="content-heading-text">Configuring Address Book Sync on Computer B</h3>
<p>On Computer B locate the <span class="system-font">Dropbox</span> folder in the Finder. You&#8217;ll see that it contains the synced <span class="system-font">AddressBook</span> folder. </p>
<div class="post-image-frame">
<div class="frame">
		<img src="http://farm3.static.flickr.com/2602/5834981449_f223022737.jpg" alt="" width="500" height="305" />
	</div>
</div>
<p class="line-break">&nbsp;</p>
<p>However, the Address Book on Computer B is currently using data in the <span class="system-font">~/Library/Application Support/AddressBook/</span> folder.</p>
<div class="post-image-frame">
<div class="frame">
		<img src="http://farm6.static.flickr.com/5190/5834981193_f69cac5fb6.jpg" alt="" width="500" height="305" />
	</div>
</div>
<p class="line-break">&nbsp;</p>
<p>First, we need to delete the <span class="system-font">~/Library/Application Support/AddressBook</span> folder. So, simply drag it to the Trash.</p>
<p>We&#8217;re now ready to create a symbolic link on Computer B named <span class="system-font">AddressBook</span> in the <span class="system-font">~/Library/Application Support/</span> folder which points to the <span class="system-font">~/Dropbox/AddressBook/</span> folder.</p>
<pre class="brush: plain; gutter: false;">
&nbsp;
ln -s /Users/steve/Dropbox/AddressBook /Users/steve/Library/Application\ Support
&nbsp;
</pre>
<p class="line-break">&nbsp;</p>
<p>The Address Books on Computer A and Computer B should now remain in sync.</p>
<p class="line-break">
<div class="divider top"><a title="Table of Contents" href="#toc">TOC</a></div>
<div class="content-heading-number">4.</div>
<h3 id="4" class="content-heading-text">iCal</h3>
<p>Apart from the location of the calendar data, the method for syncing iCal calendars is identical to that of Address Book. OS X stores iCal calendar data in the<span class="system-font">~/Library/Calendars/</span> folder. For continuity, I&#8217;ll detail the entire process in its entirety.</p>
<p class="line-break">
<div class="divider top"><a title="Table of Contents" href="#toc">TOC</a></div>
<div class="content-heading-number">5.</div>
<h3 id="5" class="content-heading-text">Configuring iCal Sync on Computer A</h3>
<p>The first thing to do is to move this <span class="system-font">Calendars</span> folder on Computer A to the <span class="system-font">Dropbox</span> folder.</p>
<p>On Computer A, quit iCal and open the Terminal application. Type the following command and press <span class="system-font">return</span>.</p>
<pre class="brush: plain; gutter: false;">
&nbsp;
cd ~/Library
&nbsp;
</pre>
<p class="line-break">&nbsp;</p>
<p>This changes the current directory to that containing the <span class="system-font">Calendars</span> folder.</p>
<p>Next type the following command adding a space at the end. Don&#8217;t press <span class="system-font">return</span> yet.</p>
<pre class="brush: plain; gutter: false;">
&nbsp;
mv Calendars
&nbsp;
</pre>
<p class="line-break">&nbsp;</p>
<p>Now locate your <span class="system-font">Dropbox</span> folder in the Finder and drag it to the Terminal window. This copies the full path to your <span class="system-font">Dropbox</span> folder into the Terminal command like so:  </p>
<pre class="brush: plain; gutter: false;">
&nbsp;
mv Calendars /Volumes/Data/Users/steve/Dropbox
&nbsp;
</pre>
<p class="line-break">&nbsp;</p>
<p>Press <span class="system-font">return</span> to move the <span class="system-font">Calendars</span> to the <span class="system-font">Dropbox</span> folder.</p>
<p>Next we need to ensure that iCal can find its data in the <span class="system-font">Dropbox</span> folder as it expects it to be located in the <span class="system-font">~/Library/</span> folder. To do this, create a symbolic link named <span class="system-font">Calendars</span> in the <span class="system-font">~/Library/</span> folder which points to the <span class="system-font">~/Dropbox/Calendars/</span> folder.</p>
<p>To create the symbolic we <b>must</b> use the <span class="system-font">ln</span> command in Terminal. This is not the same as creating an alias in the Finder using drag-and-drop while holding down the <span class="system-font">option</span> and <span class="system-font">command</span> keys. The latter should not be used as iCal will be unable to find its data in the <span class="system-font">Dropbox</span> folder and will create new, empty calendars.</p>
<pre class="brush: plain; gutter: false; wrap-lines: false;">
&nbsp;
ln -s /Volumes/Data/Users/steve/Dropbox/Calendars /Volumes/Data/Users/steve/Library
&nbsp;
</pre>
<p class="line-break">&nbsp;</p>
<p>If we navigate to the <span class="system-font">~/Library/</span> folder in the Finder we&#8217;ll see what appears to be a folder named <span class="system-font">Calendars</span>. This is in fact the symbolic link we created in Terminal.</p>
<div class="post-image-frame">
<div class="frame">
		<img src="http://farm4.static.flickr.com/3123/5838220405_b63892aa51.jpg" alt="" width="500" height="305" />
	</div>
</div>
<p class="line-break">&nbsp;</p>
<p>If we click on this symbolic link we&#8217;ll see that it&#8217;s actually pointing to the <span class="system-font">~/Dropbox/Calendars/</span> folder.</p>
<div class="post-image-frame">
<div class="frame">
		<img src="http://farm4.static.flickr.com/3514/5838220255_98d1337538.jpg" alt="" width="500" height="305" />
	</div>
</div>
<p class="line-break">&nbsp;</p>
<p>Open iCal and confirm that the data is as it should be.</p>
<p>Next we&#8217;ll configure iCal on Computer B.</p>
<p class="line-break">
<div class="divider top"><a title="Table of Contents" href="#toc">TOC</a></div>
<div class="content-heading-number">6.</div>
<h3 id="6" class="content-heading-text">Configuring iCal Sync on Computer B</h3>
<p>On Computer B locate the <span class="system-font">Dropbox</span> folder in the Finder. You&#8217;ll see that it contains the synced <span class="system-font">Calendars</span> folder. </p>
<div class="post-image-frame">
<div class="frame">
		<img src="http://farm3.static.flickr.com/2460/5841706016_412e50d932.jpg" alt="" width="500" height="305" />
	</div>
</div>
<p class="line-break">&nbsp;</p>
<p>However, iCal on Computer B is currently using data in the <span class="system-font">~/Library/Calendars/</span> folder.</p>
<div class="post-image-frame">
<div class="frame">
		<img src="http://farm4.static.flickr.com/3602/5841705906_3356be063c.jpg" alt="" width="500" height="305" />
	</div>
</div>
<p class="line-break">&nbsp;</p>
<p>First, we need to delete the <span class="system-font">~/Library/Calendars/</span> folder. So, simply drag it to the Trash.</p>
<p>We&#8217;re now ready to create a symbolic link on Computer B named <span class="system-font">Calendars</span> in the <span class="system-font">~/Library/</span> folder which points to the <span class="system-font">~/Dropbox/Calendars/</span> folder.</p>
<pre class="brush: plain; gutter: false;">
&nbsp;
ln -s /Users/steve/Dropbox/Calendars /Users/steve/Library/
&nbsp;
</pre>
<p class="line-break">&nbsp;</p>
<p>Your iCal calendars on Computer A and Computer B should now remain in sync.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.tech-otaku.com/mac-os-x/syncing-os-x-address-books-ical-calendars-multiple-macs-dropbox/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>File and Folder Paths in OS X Terminal</title>
		<link>http://www.tech-otaku.com/mac-os-x/file-folder-paths-os-x-terminal/</link>
		<comments>http://www.tech-otaku.com/mac-os-x/file-folder-paths-os-x-terminal/#comments</comments>
		<pubDate>Thu, 02 Jun 2011 08:34:39 +0000</pubDate>
		<dc:creator>Steve</dc:creator>
				<category><![CDATA[Mac OS X]]></category>
		<category><![CDATA[finder]]></category>
		<category><![CDATA[snow-leopard]]></category>
		<category><![CDATA[terminal]]></category>

		<guid isPermaLink="false">http://www.tech-otaku.com/?p=940</guid>
		<description><![CDATA[On the few occasions I use Terminal in OS X the biggest problem I seem to have is being able to navigate the directory hierarchy and access files or folders. After struggling with getting the correct file/folder path I&#8217;m usually greeted with No such file or directory reminding me that Terminal doesn&#8217;t like spaces in ...]]></description>
			<content:encoded><![CDATA[<p>On the few occasions I use Terminal in OS X the biggest problem I seem to have is being able to navigate the directory hierarchy and access files or folders. After struggling with getting the correct file/folder path I&#8217;m usually greeted with <span class="system-font"><i>No such file or directory</i></span> reminding me that Terminal doesn&#8217;t like spaces in file/folder paths.</p>
<p>With that in mind here are a few ways to enter file/folder paths in Terminal.</p>
<p><span id="more-940"></span>
<p>For these examples I&#8217;m going to change the current directory from <span class="system-font">/Volumes/Snow Leopard</span> to <span class="system-font">/Volumes/Data/Users/steve/Library/Application Support</span> using the <span class="system-font">cd</span> command.</p>
<p>The first method is to enclose the file/folder path in single or double quotes:</p>
<pre class="brush: plain; gutter: false;">
&nbsp;
Steves-iMac:Snow Leopard steve$ cd '/Volumes/Data/Users/steve/Library/Application Support'
Steves-iMac:Application Support steve$
&nbsp;
</pre>
<p class="line-break">&nbsp;</p>
<p><!-- This is a line break. --></p>
<p>The second is to escape any space with a forward slash (<span class="system-font">\</span>). The forward slash should be placed immediately before each space:</p>
<pre class="brush: plain; gutter: false;">
&nbsp;
Steves-iMac:Snow Leopard steve$ cd /Volumes/Data/Users/steve/Library/Application\ Support
Steves-iMac:Application Support steve$
&nbsp;
</pre>
<p class="line-break">&nbsp;</p>
<p><!-- This is a line break. --></p>
<p>If the file or folder exists in the current user&#8217;s home folder we can use <span class="system-font">~/</span> as shorthand to denote the user&#8217;s home folder:</p>
<pre class="brush: plain; gutter: false;">
&nbsp;
Steves-iMac:Snow Leopard steve$ cd ~/Library/Application\ Support
Steves-iMac:Application Support steve$
&nbsp;
</pre>
<p class="line-break">&nbsp;</p>
<p><!-- This is a line break. --></p>
<p>If we want to use quotes, the opening quote must come after the <span class="system-font">~/</span> shorthand:</p>
<pre class="brush: plain; gutter: false;">
&nbsp;
Steves-iMac:Snow Leopard steve$ cd ~/'Library/Application Support'
Steves-iMac:Application Support steve$
&nbsp;
</pre>
<p class="line-break">&nbsp;</p>
<p><!-- This is a line break. --></p>
<p>The one I use most though, because it is perhaps the easiest, is to locate the file or folder in the Finder and drag it to an open Terminal window:</p>
<div class="post-image-frame">
<div class="frame">
		<img src="http://farm3.static.flickr.com/2455/5831305385_97e13c4096.jpg" alt="" width="500" height="319" />
	</div>
</div>
<p class="line-break">&nbsp;</p>
<p><!-- This is a line break. --></p>
<p>The full file/folder path is copied at the Terminal window&#8217;s current cursor position:</p>
<div class="post-image-frame">
<div class="frame">
		<img src="http://farm6.static.flickr.com/5306/5831853578_bcaaec632d.jpg" alt="" width="500" height="313" />
	</div>
</div>
<p class="line-break">&nbsp;</p>
<p><!-- This is a line break. --></p>
]]></content:encoded>
			<wfw:commentRss>http://www.tech-otaku.com/mac-os-x/file-folder-paths-os-x-terminal/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Problems Sending Mail Using iPhone</title>
		<link>http://www.tech-otaku.com/iphone/problems-sending-mail-iphone/</link>
		<comments>http://www.tech-otaku.com/iphone/problems-sending-mail-iphone/#comments</comments>
		<pubDate>Wed, 11 May 2011 23:14:30 +0000</pubDate>
		<dc:creator>Steve</dc:creator>
				<category><![CDATA[iPhone]]></category>
		<category><![CDATA[mail]]></category>
		<category><![CDATA[os-x]]></category>

		<guid isPermaLink="false">http://www.tech-otaku.com/?p=895</guid>
		<description><![CDATA[Recently I&#8217;d been having problems sending mail from one of the mail accounts on my iPhone. No error message. The mail just wasn&#8217;t being sent. Re-booting the iPhone appeared to sometimes fix the problem, but I couldn&#8217;t put my finger on exactly what the issue was until I noticed when it was happening. At home ...]]></description>
			<content:encoded><![CDATA[<p>Recently I&#8217;d been having problems sending mail from one of the mail accounts on my iPhone. No error message. The mail just wasn&#8217;t being sent. Re-booting the iPhone appeared to sometimes fix the problem, but I couldn&#8217;t put my finger on exactly what the issue was until I noticed when it was happening.</p>
<p><span id="more-895"></span>
<p>At home when my iPhone was using the wi-fi network, mail was being sent without issue. Away from home and using the 3G network I couldn&#8217;t send mail from this one account. At first I thought the problem was down to my carrier&#8217;s (Softbank Japan) 3G network. But as I could send email from other accounts on my iPhone over 3G this didn&#8217;t make sense.</p>
<p>By chance I was looking at the mail account settings on my Mac and noticed that the mail account I was having issues with on the iPhone had its associated SMTP (outgoing mail server) port set to 80.</p>
<div class="post-image-frame">
<div class="frame">
		<img src="http://farm4.static.flickr.com/3106/5810419796_0669877849.jpg" alt="" width="376" height="380" />
	</div>
</div>
<p class="line-break">&nbsp;</p>
<p><!-- This is a line break. --></p>
<p>As I sync my mail settings via iTunes to the iPhone this same port would be used there.</p>
<div class="post-image-frame">
<div class="frame">
		<img src="http://farm6.static.flickr.com/5311/5810407432_65d7c53bb1.jpg" alt="" width="267" height="400" />
	</div>
</div>
<p class="line-break">&nbsp;</p>
<p><!-- This is a line break. --></p>
<p>The other mail accounts had SMTP ports set to 587 or using SSL on port 465.</p>
</p>
<p>I can&#8217;t recall why this one mail account was configured to send mail using a non-standard SMTP port, but the ISP that provides my home internet must be allowing SMTP traffic over port 80 as both my Mac and iPhone could send mail using this port when connected to my home wi-fi.</p>
<p>However, the same wasn&#8217;t true of my 3G carrier. They were apparently blocking SMTP traffic over port 80.</p>
<p>The fix was simple. I changed the SMTP port to 465 using SSL for the offending mail account on my Mac and synced the changed mail settings to my iPhone.</p>
<div class="post-image-frame">
<div class="frame">
		<img src="http://farm4.static.flickr.com/3612/5809856873_ba1936c4f4.jpg" alt="" width="376" height="380" />
	</div>
</div>
<p class="line-break">&nbsp;</p>
<p><!-- This is a line break. --></p>
<div class="post-image-frame">
<div class="frame">
		<img src="http://farm6.static.flickr.com/5034/5810405810_e0f5c5ef40.jpg" alt="" width="267" height="400" />
	</div>
</div>
<p class="line-break">&nbsp;</p>
<p><!-- This is a line break. --></p>
<p>Sending mail from my iPhone using the 3G network now works without issue.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.tech-otaku.com/iphone/problems-sending-mail-iphone/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Excluding Pages and Posts from WordPress Search Results</title>
		<link>http://www.tech-otaku.com/blogging/excluding-pages-posts-wordpress-search-results/</link>
		<comments>http://www.tech-otaku.com/blogging/excluding-pages-posts-wordpress-search-results/#comments</comments>
		<pubDate>Thu, 09 Sep 2010 03:54:55 +0000</pubDate>
		<dc:creator>Steve</dc:creator>
				<category><![CDATA[Blogging]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://www.tech-otaku.com/?p=850</guid>
		<description><![CDATA[Although I rarely use the search option on my site I noticed that my Contact page was being included in the search results. Not only did this seem pointless, it also looked strange slap-bang in the middle of the results page. To exclude my Contact page from the search results I added this code block ...]]></description>
			<content:encoded><![CDATA[<p>Although I rarely use the search option on my site I noticed that my Contact page was being included in the search results. Not only did this seem pointless, it also looked strange slap-bang in the middle of the results page.</p>
<p><span id="more-850"></span>
<p>To exclude my Contact page from the search results I added this code block to my function library.</p>
<pre class="brush: php; first-line: 1; highlight: [4,5,6,7];">
// Exclude posts/pages from search results
function exclude_from_search($query) {
	if ($query-&gt;is_search) {
		$excluded = array(
			321,		// Sitemap
			523			// Contact Page
		);
		$query-&gt;set('post__not_in', $excluded);
	}
	return $query;
}

add_filter('pre_get_posts','exclude_from_search');
</pre>
<p class="line-break">&nbsp;</p>
<p><!-- This is a line break. --></p>
<p>If you don&#8217;t currently use a function library you can read about setting one up <a href="http://www.pearsonified.com/2008/05/how-to-use-wordpress-functions.php" target="_blank">here</a>.
<p class="line-break">&nbsp;</p>
<p><!-- This is a line break. --></p>
<p>From the point of view of customising this function to meet your own needs, the important piece of code is the declaration of the <span class="system-font">$excluded</span> array beginning on line <span class="system-font">4</span>. This array contains the IDs of the posts or pages you want to exclude.</p>
<p>An easy way to find post or page IDs is to select Posts or Pages from the WordPress Admin panel and place the mouse cursor over the appropriate post/page title. Your browser&#8217;s status bar should show a string similar to <span class="system-font">../post.php?post=523&#038;action=edit</span> where the post/page ID is <span class="system-font">523</span>.</p>
<p>Note that the <span class="system-font">exclude_from_search()</span> function is <i>associated</i> with the <span class="system-font">pre_get_posts</span> hook using <span class="system-font">add_filter()</span>. When this hook executes it passes the current query object to the <span class="system-font">exclude_from_search()</span> function. </p>
]]></content:encoded>
			<wfw:commentRss>http://www.tech-otaku.com/blogging/excluding-pages-posts-wordpress-search-results/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>

