<?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>Gary Pendergast &#187; Misc</title>
	<atom:link href="http://pento.net/category/misc/feed/" rel="self" type="application/rss+xml" />
	<link>http://pento.net</link>
	<description>I&#039;m on the Internet</description>
	<lastBuildDate>Wed, 08 Sep 2010 07:04:40 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
<cloud domain='pento.net' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
		<item>
		<title>Tabs in Firefox 4 (aka, I can&#8217;t believe it&#8217;s not Chrome)</title>
		<link>http://pento.net/2010/07/28/tabs-in-firefox-4-aka-i-cant-believe-its-not-chrome/</link>
		<comments>http://pento.net/2010/07/28/tabs-in-firefox-4-aka-i-cant-believe-its-not-chrome/#comments</comments>
		<pubDate>Wed, 28 Jul 2010 01:01:59 +0000</pubDate>
		<dc:creator>Gary Pendergast</dc:creator>
				<category><![CDATA[Misc]]></category>
		<category><![CDATA[chrome]]></category>
		<category><![CDATA[firefox]]></category>
		<guid isPermaLink="false">http://pento.net/?p=420</guid>
		<description><![CDATA[First up, if you&#8217;re not sure how, Lifehacker has a great reference on where to find your userChrome.css file. One of the things I love about Google Chrome is that it shows all the tabs at once &#8211; even if it has to get really squishy. By default, Firefox limits them to 100px wide, then [...]]]></description>
			<content:encoded><![CDATA[<p>First up, if you&#8217;re not sure how, Lifehacker has a great reference on <a href="http://lifehacker.com/197715/customize-firefox-with-userchromecss">where to find your userChrome.css file</a>.</p>
<p>One of the things I love about Google Chrome is that it shows all the tabs at once &#8211; even if it has to get really squishy. By default, Firefox limits them to 100px wide, then starts scrolling. Since Firefox 2.0, you&#8217;ve been able to use <a href="http://kb.mozillazine.org/Browser.tabs.tabMinWidth">browser.tabs.tabMinWidth</a> to disable this. As of Firefox 4.0b2, however, this functionality has been moved to userChrome.css. Add the following CSS to your userChrome.css to make it act the same as Chrome:</p>
<div class="wp_syntax"><div class="code"><pre class="css" style="font-family:monospace;">.tabbrowser-tab<span style="color: #00AA00;">&#91;</span>fadein<span style="color: #00AA00;">&#93;</span><span style="color: #00AA00;">:</span>not<span style="color: #00AA00;">&#40;</span><span style="color: #00AA00;">&#91;</span>pinned<span style="color: #00AA00;">&#93;</span><span style="color: #00AA00;">&#41;</span> <span style="color: #00AA00;">&#123;</span>
    <span style="color: #000000; font-weight: bold;">min-width</span><span style="color: #00AA00;">:</span> <span style="color: #933;">1px</span> !important<span style="color: #00AA00;">;</span>
<span style="color: #00AA00;">&#125;</span></pre></div></div>
<p>Another great feature of Chrome is having the tabs in the title bar, as it reduces wasted space. Again, you can get the same functionality very easily with Firefox 4, by adding the following to your userChrome.css:</p>
<div class="wp_syntax"><div class="code"><pre class="css" style="font-family:monospace;"><span style="color: #cc00cc;">#appmenu-button-container</span> <span style="color: #00AA00;">&#123;</span>
    <span style="color: #000000; font-weight: bold;">position</span><span style="color: #00AA00;">:</span> <span style="color: #993333;">fixed</span> !important<span style="color: #00AA00;">;</span>
<span style="color: #00AA00;">&#125;</span>
&nbsp;
<span style="color: #cc00cc;">#appmenu-button</span> <span style="color: #00AA00;">&#123;</span>
    <span style="color: #000000; font-weight: bold;">padding</span><span style="color: #00AA00;">:</span> <span style="color: #933;">3px</span> <span style="color: #933;">18px</span> <span style="color: #933;">3px</span> <span style="color: #933;">18px</span> !important<span style="color: #00AA00;">;</span>
    <span style="color: #000000; font-weight: bold;">margin-left</span><span style="color: #00AA00;">:</span><span style="color: #933;">3px</span> !important<span style="color: #00AA00;">;</span>
    <span style="color: #000000; font-weight: bold;">background-color</span><span style="color: #00AA00;">:</span> rgba<span style="color: #00AA00;">&#40;</span><span style="color: #cc66cc;">54</span><span style="color: #00AA00;">,</span> <span style="color: #cc66cc;">121</span><span style="color: #00AA00;">,</span> <span style="color: #cc66cc;">166</span><span style="color: #00AA00;">,</span> <span style="color: #cc66cc;">0.2</span><span style="color: #00AA00;">&#41;</span> !important<span style="color: #00AA00;">;</span>
<span style="color: #00AA00;">&#125;</span>
&nbsp;
<span style="color: #cc00cc;">#toolbar-menubar</span> <span style="color: #00AA00;">&#123;</span>
    <span style="color: #000000; font-weight: bold;">margin</span><span style="color: #00AA00;">:</span> <span style="color: #933;">-25px</span> <span style="color: #933;">100px</span> <span style="color: #933;">5px</span> <span style="color: #933;">100px</span><span style="color: #00AA00;">;</span>
<span style="color: #00AA00;">&#125;</span>
&nbsp;
<span style="color: #cc00cc;">#navigator-toolbox</span><span style="color: #00AA00;">&#91;</span>tabsontop<span style="color: #00AA00;">=</span><span style="color: #ff0000;">&quot;true&quot;</span><span style="color: #00AA00;">&#93;</span> <span style="color: #cc00cc;">#TabsToolbar</span> <span style="color: #00AA00;">&#123;</span>
    <span style="color: #000000; font-weight: bold;">margin</span><span style="color: #00AA00;">:</span> <span style="color: #cc66cc;">0</span> <span style="color: #933;">125px</span> <span style="color: #cc66cc;">0</span> <span style="color: #933;">95px</span><span style="color: #00AA00;">;</span>
<span style="color: #00AA00;">&#125;</span></pre></div></div>
<p>Note that I&#8217;ve tweaked this for Windows 7 &#8211; you may need to alter the values for other platforms. Feel free to post your tweaks in the comments!</p>
<p>As a bonus, here&#8217;s a screenshot of these tweaks in action &#8211; lets play &#8220;guess which websites Gary has open&#8221;.</p>
<p><a rel="lightbox[2010-6-3-11-31-46]" href="http://lh6.ggpht.com/_Dnuvk1_JloE/TE-IN6MH1KI/AAAAAAAABIU/BAyM-HH5lWk/Firefox%20Tabs.png?imgmax=800"><img class="pie-img aligncenter" style="margin: 10px 10px 10px 10px;" src="http://lh6.ggpht.com/_Dnuvk1_JloE/TE-IN6MH1KI/AAAAAAAABIU/BAyM-HH5lWk/Firefox%20Tabs.png?imgmax=160" alt="Firefox Tabs.png" width="160" height="96" /></a></p>
<p><br style="clear: both;"/></p>
<p><strong>UPDATE: 2010-09-08</strong>: Firefox 4 beta 5 changed how this worked a little bit, so I&#8217;ve updated the userChrome.css code.</p>
]]></content:encoded>
			<wfw:commentRss>http://pento.net/2010/07/28/tabs-in-firefox-4-aka-i-cant-believe-its-not-chrome/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>WordPress Shouldn&#8217;t Use nofollow</title>
		<link>http://pento.net/2009/05/14/wordpress-shouldnt-use-nofollow/</link>
		<comments>http://pento.net/2009/05/14/wordpress-shouldnt-use-nofollow/#comments</comments>
		<pubDate>Thu, 14 May 2009 03:03:13 +0000</pubDate>
		<dc:creator>Gary Pendergast</dc:creator>
				<category><![CDATA[Misc]]></category>
		<category><![CDATA[Akismet]]></category>
		<category><![CDATA[WordPress]]></category>
		<guid isPermaLink="false">http://pento.net/?p=240</guid>
		<description><![CDATA[In my random wandering across the internet today, I discovered that, by default, WordPress adds the rel="nofollow" attribute to links in comments. Now, we all know the original purpose of nofollow, to try and discourage comment spam. This isn&#8217;t really relevant to WordPress anymore, though. Akismet has been supported in WordPress for quite some time. [...]]]></description>
			<content:encoded><![CDATA[<p>In my random wandering across the internet today, I discovered that, by default, WordPress adds the <code>rel="nofollow"</code> attribute to links in comments. Now, we all know the original purpose of nofollow, to try and discourage comment spam. This isn&#8217;t really relevant to WordPress anymore, though. <a href="http://akismet.com/">Akismet</a> has been supported in WordPress for quite some time. Indeed, I noticed that 2.7 comes with it installed by default. I can attest to the quality of the Akismet plugin: out of thousands of spam comments, it has let exactly one through, and I&#8217;ve had one false positive.</p>
<p>To that end, I strongly recommend all WordPress users install Akismet, and the <a href="http://www.semiologic.com/software/dofollow/">DoFollow</a> plugin. All it does is disable the nofollow attribute on external links in the comments. With the help of Akismet, you can safely do this without providing assistance to spammers.</p>
<p>And to everyone who has contributed to my blog in the past, my apologies for giving you your proper due. That has now been remedied.</p>
]]></content:encoded>
			<wfw:commentRss>http://pento.net/2009/05/14/wordpress-shouldnt-use-nofollow/feed/</wfw:commentRss>
		<slash:comments>12</slash:comments>
		</item>
		<item>
		<title>Embed YouTube videos with XHTML 1.0 Strict code</title>
		<link>http://pento.net/2009/04/14/embed-youtube-videos-with-xhtml-10-strict-code/</link>
		<comments>http://pento.net/2009/04/14/embed-youtube-videos-with-xhtml-10-strict-code/#comments</comments>
		<pubDate>Tue, 14 Apr 2009 09:10:23 +0000</pubDate>
		<dc:creator>Gary Pendergast</dc:creator>
				<category><![CDATA[Misc]]></category>
		<category><![CDATA[XHTML]]></category>
		<category><![CDATA[youtube]]></category>
		<guid isPermaLink="false">http://pento.net/?p=203</guid>
		<description><![CDATA[Being a bit of a web geek, I like to keep my sites running in Strict mode for whatever HTML/XHTML version I happen to be working in. So, I was saddened to discover that the Embed code that YouTube gives doesn&#8217;t pass XHTML 1.0 Strict, due to their use of the now deprecated embed tag. [...]]]></description>
			<content:encoded><![CDATA[<p>Being a bit of a web geek, I like to keep my sites running in Strict mode for whatever HTML/XHTML version I happen to be working in. So, I was saddened to discover that the Embed code that YouTube gives doesn&#8217;t pass XHTML 1.0 Strict, due to their use of the now deprecated <code>embed</code> tag. Happily, there&#8217;s a way to fix this. As a bonus, the code required is much nicer than the code YouTube gives you:</p>
<div class="wp_syntax"><div class="code"><pre class="xhtml" style="font-family:monospace;">&lt;object type=&quot;application/x-shockwave-flash&quot; style=&quot;width:480px; height:385px;&quot; data=&quot;http://www.youtube.com/v/p1QMoQ3jbjc&quot;&gt;
    &lt;param name=&quot;movie&quot; value=&quot;http://www.youtube.com/v/p1QMoQ3jbjc&quot; /&gt;
&lt;/object&gt;</pre></div></div>
<p>You just need to replace the two URLs with the one for your video, and set the appropriate width/height. YouTube&#8217;s defaults are 320&#215;265, 425&#215;344, 480&#215;385 and 640&#215;505.</p>
<p>There you have it! It&#8217;s a simple as that. And to prove it works, here&#8217;s the same code from above:</p>
<p style="text-align: center;"><object type="application/x-shockwave-flash" style="width:480px; height:385px;" data="http://www.youtube.com/v/p1QMoQ3jbjc"><param name="movie" value="http://www.youtube.com/v/p1QMoQ3jbjc" /></object></p>
]]></content:encoded>
			<wfw:commentRss>http://pento.net/2009/04/14/embed-youtube-videos-with-xhtml-10-strict-code/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>Fed Square Microbreweries Showcase</title>
		<link>http://pento.net/2009/03/19/fed-square-microbreweries-showcase/</link>
		<comments>http://pento.net/2009/03/19/fed-square-microbreweries-showcase/#comments</comments>
		<pubDate>Thu, 19 Mar 2009 05:36:37 +0000</pubDate>
		<dc:creator>Gary Pendergast</dc:creator>
				<category><![CDATA[Misc]]></category>
		<category><![CDATA[beer]]></category>
		<category><![CDATA[federation square]]></category>
		<category><![CDATA[microbeers]]></category>
		<category><![CDATA[microbreweries]]></category>
		<guid isPermaLink="false">http://pento.net/?p=124</guid>
		<description><![CDATA[Yesterday, I went to the Microbreweries Showcase, held at Federation Square. With 17 breweries showing their product, there were plenty to try from. Here are my notes from the variety I tasted: Brewery Brew Notes Arctic Fox Brewery Ice Cap Lager Light flavour, with a slightly fruity aftertaste. Drinkable, but not particularly exciting. Bridge Road [...]]]></description>
			<content:encoded><![CDATA[<p>Yesterday, I went to the Microbreweries Showcase, held at Federation Square. With 17 breweries showing their product, there were plenty to try from. Here are my notes from the variety I tasted:</p>
<table>
<tbody>
<tr>
<th>Brewery</th>
<th>Brew</th>
<th>Notes</th>
</tr>
<tr>
<td><a href="http://www.arcticfox.com.au">Arctic Fox Brewery</a></td>
<td>Ice Cap Lager</td>
<td>Light flavour, with a slightly fruity aftertaste. Drinkable, but not particularly exciting.</td>
</tr>
<tr>
<td><a href="http://www.bridgeroadbrewers.com.au/">Bridge Road Brewers</a></td>
<td>Dark Ale</td>
<td>A solid porter. Nice smoky flavour.</td>
</tr>
<tr>
<td rowspan="2"><a href="http://www.buckleysbeer.com.au/">Buckley&#8217;s Beers</a></td>
<td>Pilz Lager</td>
<td>Very sweet. Easy to drink.</td>
</tr>
<tr>
<td>Original Ale</td>
<td>Sweet, light flavour.</td>
</tr>
<tr>
<td><a href="http://www.coldstreambrewery.com.au">Coldstream Brewery</a></td>
<td>Cider</td>
<td>Boring. Really unimpressive. Tasted like watered down apple juice.</td>
</tr>
<tr>
<td><a href="http://www.grand-ridge.com.au/">Grand Ridge Brewery</a></td>
<td>Natural Blonde</td>
<td>A sweet wheat beer, with a hinte of orange. An excellent summer beer.</td>
</tr>
<tr>
<td rowspan="3"><a href="http://www.holgatebrewhouse.com">Holgate Brewhouse</a></td>
<td>White Ale</td>
<td>A clove flavour, reminded me of spiced wine.</td>
</tr>
<tr>
<td>Big Red Pilsner</td>
<td>Brilliant, rich red colour. Boring flavour.</td>
</tr>
<tr>
<td>Temptress Dark Ale</td>
<td>A rich porter, made with vanilla beans and Dutch cocoa. Could work even as a dessert beer.</td>
</tr>
<tr>
<td><a href="http://www.matildabay.com.au">Matilda Bay Brewing Co</a></td>
<td>Sebastian Reserve Dunkelweizen</td>
<td>Sweet and dark, with a hint of apple. Tasty.</td>
</tr>
<tr>
<td><a href="http://www.mildurabrewery.com.au">Mildura Brewery</a></td>
<td>Mallee Bull</td>
<td>Brilliant colour, uninspiring flavour.</td>
</tr>
<tr>
<td><a href="http://www.goatbeer.com.au">Mountain Goat Brewery</a></td>
<td>Fancy Pants Amber Ale</td>
<td>Similar to their Hightail Ale, but not quite as strong a flavour. Slighty sweet, slightly spiced. Smelled of celery, for some unknown reason.</td>
</tr>
<tr>
<td><a href="http://www.otwayestate.com.au">Prickly Moses &#8211; Otway Estate</a></td>
<td>Summer Ale</td>
<td>Bleh. Reminds me of Carlton Draught.</td>
</tr>
<tr>
<td rowspan="2"><a href="http://www.redduckbeer.com.au">Red Duck Brewery</a></td>
<td>Pale Ale</td>
<td>Light flavour. Nice summer beer.</td>
</tr>
<tr>
<td>Honey Porter</td>
<td>Light porter flavour, strong honey flavour. Nice, but similar to Beez Neez, I couldn&#8217;t drink much of it.</td>
</tr>
<tr>
<td><a href="http://www.southernbay.com.au">Southern Bay Brewing Co</a></td>
<td>Effen Premier Lager</td>
<td>A fairly standard lager. Good to drink, but nothing exciting.</td>
</tr>
<tr>
<td><a href="http://www.sweetwaterbrewing.com.au">Sweetwater Brewing Company</a></td>
<td>Golden Bitter</td>
<td>Tastes like it should have flavour, but has been watered down instead.</td>
</tr>
<tr>
<td><a href="http://www.templebrewing.com.au">Temple Brewing Company</a></td>
<td>Saison</td>
<td>Good flavour, reminded me of Hoegaarden. A hint of cloves.</td>
</tr>
<tr>
<td><a href="http://www.3ravens.com.au">The 3 Ravens Brewing Co</a></td>
<td>Dark Smoke Beer</td>
<td>An excellent stout. Traditional, tasty.</td>
</tr>
<tr>
<td><a href="http://www.2brothers.com.au">2 Brothers Brewery</a></td>
<td>Growler</td>
<td>An American brown ale. Nice, but nothing special. Kind of a light porter.</td>
</tr>
<tr>
<td><a href="http://www.threetroupers.com.au">Three Troupers</a></td>
<td>Pilsner</td>
<td>Light colour and flavour, like a Pilsner should be. Small bite in the aftertaste to keep things interesting.</td>
</tr>
</tbody>
</table>
<p>All up, a good variety from some of Australia&#8217;s microbreweries. Particularly worth mentioning is Holgate&#8217;s Temptress Dark Ale, which is probably the best chocolate beer I&#8217;ve had. Buckley&#8217;s Beers also gets a second mention, for making my two favourite beers for the night, though the Original Ale just beats the Pilz Lager.</p>
]]></content:encoded>
			<wfw:commentRss>http://pento.net/2009/03/19/fed-square-microbreweries-showcase/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>pento.net goes mobile!</title>
		<link>http://pento.net/2009/02/22/pentonet-goes-mobile/</link>
		<comments>http://pento.net/2009/02/22/pentonet-goes-mobile/#comments</comments>
		<pubDate>Sun, 22 Feb 2009 21:12:36 +0000</pubDate>
		<dc:creator>Gary Pendergast</dc:creator>
				<category><![CDATA[Misc]]></category>
		<category><![CDATA[iphone]]></category>
		<category><![CDATA[mobile]]></category>
		<category><![CDATA[WordPress]]></category>
		<guid isPermaLink="false">http://pento.net/?p=93</guid>
		<description><![CDATA[With a bit of fiddling around, I&#8217;ve found a good combination of WordPress plugins for mobile support. For iPhone/iPod: WPtouch. Lots of options, looks good on the iPhone browser. For all other mobiles: WP-viewMobile. This one is particularly handy, because it gives you the option to define the user agent strings it should activate for. [...]]]></description>
			<content:encoded><![CDATA[<p>With a bit of fiddling around, I&#8217;ve found a good combination of WordPress plugins for mobile support.</p>
<ul>
<li>For iPhone/iPod: <a title="iPhone plugin for WordPress by Brave New Code" href="http://www.bravenewcode.com/wptouch/">WPtouch</a>. Lots of options, looks good on the iPhone browser.</li>
<li>For all other mobiles: <a title="Generic mobile plugin for WordPress by handypark.de" href="http://www.handypark.de/webmaster/blogs/wp-viewmobile-en.html">WP-viewMobile</a>. This one is particularly handy, because it gives you the option to define the user agent strings it should activate for. To make it play nicely with WPtouch, I just had to remove the iPhone and iPod entries.</li>
</ul>
<p>For both of these, setting them up was as simple as turning them on. I also added the various search engine mobile crawlers to WP-viewMobile. At the moment, the list of user agent strings I have are: Googlebot-Mobile, Y!J-SRD/1.0, msnbot-mobile, MSMObot. If anyone knows any others, please let me know.</p>
<p>So now, if you desperately want to check my site from the road, you can read it a bit easier on your mobile screen.</p>
]]></content:encoded>
			<wfw:commentRss>http://pento.net/2009/02/22/pentonet-goes-mobile/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Don&#8217;t use GoDaddy Hosting</title>
		<link>http://pento.net/2009/02/18/dont-use-godaddy-hosting/</link>
		<comments>http://pento.net/2009/02/18/dont-use-godaddy-hosting/#comments</comments>
		<pubDate>Wed, 18 Feb 2009 04:09:59 +0000</pubDate>
		<dc:creator>Gary Pendergast</dc:creator>
				<category><![CDATA[Misc]]></category>
		<category><![CDATA[GoDaddy Sucks]]></category>
		<guid isPermaLink="false">http://pento.net/?p=84</guid>
		<description><![CDATA[It will only cause you pain. To give a brief description of the problems I had: Apache is horribly slow. To the point that some RSS readers were having problems subscribing to my blog. Apache setup is weird, and causes all sorts of problems. FTP access is mind-boggling slow, only allows one connection at a [...]]]></description>
			<content:encoded><![CDATA[<p>It will only cause you pain.</p>
<p>To give a brief description of the problems I had:</p>
<ul>
<li>Apache is horribly slow. To the point that some RSS readers were having problems subscribing to my blog.</li>
<li>Apache setup is weird, and causes all sorts of problems.</li>
<li>FTP access is mind-boggling slow, only allows one connection at a time, and at one point, wouldn&#8217;t let me download directories.</li>
<li>MySQL is sickeningly slow.</li>
<li>More expensive than better hosts.</li>
<li>Really bad web interface for site management.</li>
</ul>
<p>Now, I&#8217;m happily away from them. Never again.</p>
]]></content:encoded>
			<wfw:commentRss>http://pento.net/2009/02/18/dont-use-godaddy-hosting/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
	</channel>
</rss>
