

<?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>kieranbarnes</title>
	<atom:link href="http://bloke.org/feed/" rel="self" type="application/rss+xml" />
	<link>http://bloke.org</link>
	<description>Independent PHP, WordPress &#38; CubeCart Programmer</description>
	<lastBuildDate>Fri, 18 May 2012 10:20:27 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
<xhtml:meta xmlns:xhtml="http://www.w3.org/1999/xhtml" name="robots" content="noindex" />
		<item>
		<title>SSH Timeouts on DOCSIS 3 (Virgin Media 50Mb, 100Mb, 120Mb)</title>
		<link>http://bloke.org/linux/ssh-timeouts-on-docsis-3-virgin-media-50mb-100mb-120mb/</link>
		<comments>http://bloke.org/linux/ssh-timeouts-on-docsis-3-virgin-media-50mb-100mb-120mb/#comments</comments>
		<pubDate>Tue, 15 May 2012 13:08:11 +0000</pubDate>
		<dc:creator>kieran</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Security]]></category>

		<guid isPermaLink="false">http://bloke.org/?p=4079</guid>
		<description><![CDATA[Since moving to Virgin's 120Mb Broadband my SSH connections would drop after 30 seconds of inactivity. This made some grey hairs appear on the side of my head. This happens due to the way Virgin handle the Internet traffic on their DOCSIS 3 network, as opposed to lower broadband speeds that use the DOCSIS 1 [...]
Related posts:<ol>
<li><a href='http://bloke.org/linux/alternate-messing-with-time-and-date-on-linux/' rel='bookmark' title='Alternate &#8216;Messing with time and date on Linux&#8217;'>Alternate &#8216;Messing with time and date on Linux&#8217;</a> <small>Following up from a previous post, some hypervisors like Xen...</small></li>
<li><a href='http://bloke.org/linux/messing-time-date-linux/' rel='bookmark' title='Messing with time and date on Linux'>Messing with time and date on Linux</a> <small>Some Linux distros don't come with time synchronisation utilities, even...</small></li>
<li><a href='http://bloke.org/linux/installing-mytop-on-cpanel/' rel='bookmark' title='Installing mytop on cpanel'>Installing mytop on cpanel</a> <small>MyTop is one of the best MySQL monitoring tools available,...</small></li>
</ol>]]></description>
		<wfw:commentRss>http://bloke.org/linux/ssh-timeouts-on-docsis-3-virgin-media-50mb-100mb-120mb/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Secure access to your SolusVM Admin Panel</title>
		<link>http://bloke.org/security/secure-access-to-your-solusvm-admin-panel/</link>
		<comments>http://bloke.org/security/secure-access-to-your-solusvm-admin-panel/#comments</comments>
		<pubDate>Tue, 01 May 2012 19:49:50 +0000</pubDate>
		<dc:creator>kieran</dc:creator>
				<category><![CDATA[Security]]></category>
		<category><![CDATA[Admin Panel]]></category>
		<category><![CDATA[CIDR]]></category>
		<category><![CDATA[HTTP]]></category>
		<category><![CDATA[IP]]></category>

		<guid isPermaLink="false">http://bloke.org/?p=4064</guid>
		<description><![CDATA[SolusVM users really should protect their Admin Panel (/admincp/) . Although you can add IPs with Configuruation -&#62; Admin CP Access. It didn't make me feel too safe. Here's how I did it in lighttpd. Edit /etc/lighttpd/lighttpd.conf Add the following lines to the bottom of the file Don't forget to change 1.2.3.4 with your IP. You [...]
Related posts:<ol>
<li><a href='http://bloke.org/wordpress/protect-wp-admin-with-nginx/' rel='bookmark' title='Protect wp-admin with Nginx'>Protect wp-admin with Nginx</a> <small>Are you running WordPress on nginx? A massive security win...</small></li>
<li><a href='http://bloke.org/php/wordpressshopp-shipping-calculatoroptions-access-control-allow-origin-error/' rel='bookmark' title='WordPress/Shopp Shipping Calculator/Options Access-Control-Allow-Origin Error'>WordPress/Shopp Shipping Calculator/Options Access-Control-Allow-Origin Error</a> <small>I've recently been debugging a customer's WordPress/Shopp store. When the...</small></li>
<li><a href='http://bloke.org/php/change-howdy-text-in-wordpress-admin/' rel='bookmark' title='Change &#8220;Howdy&#8221; text in WordPress admin'>Change &#8220;Howdy&#8221; text in WordPress admin</a> <small>The "Howdy admin" text can some times come across a...</small></li>
</ol>]]></description>
		<wfw:commentRss>http://bloke.org/security/secure-access-to-your-solusvm-admin-panel/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Protect wp-admin with Nginx</title>
		<link>http://bloke.org/wordpress/protect-wp-admin-with-nginx/</link>
		<comments>http://bloke.org/wordpress/protect-wp-admin-with-nginx/#comments</comments>
		<pubDate>Tue, 01 May 2012 19:30:28 +0000</pubDate>
		<dc:creator>kieran</dc:creator>
				<category><![CDATA[nginx]]></category>
		<category><![CDATA[WordPress]]></category>
		<category><![CDATA[config]]></category>
		<category><![CDATA[IP]]></category>
		<category><![CDATA[wp]]></category>

		<guid isPermaLink="false">http://bloke.org/?p=4062</guid>
		<description><![CDATA[Are you running WordPress on nginx? A massive security win is securing your wp-admin area by limiting IP access. How? Easy. Drop these lines into your nginx.conf or relevant vhost config file Don't forgot to change Your IP address Your server name I then created a new WordPress page to match /error-403/ Done. Only your [...]
Related posts:<ol>
<li><a href='http://bloke.org/php/installing-nginx-php-fpm-securely-centos/' rel='bookmark' title='Installing nginx &amp; PHP-FPM securely on CentOS'>Installing nginx &#038; PHP-FPM securely on CentOS</a> <small>I won't go into the reasons why you should install...</small></li>
<li><a href='http://bloke.org/linux/minify-css-fly-nginx/' rel='bookmark' title='Minify CSS on the fly with nginx'>Minify CSS on the fly with nginx</a> <small>Code minification rules, but it sucks. The process of removing...</small></li>
<li><a href='http://bloke.org/uncategorized/ssh-security-ramblings/' rel='bookmark' title='SSH Security Ramblings'>SSH Security Ramblings</a> <small>SSH - Secure Shell isn't that secure. If you're not...</small></li>
</ol>]]></description>
		<wfw:commentRss>http://bloke.org/wordpress/protect-wp-admin-with-nginx/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Loading jQuery in the footer</title>
		<link>http://bloke.org/wordpress/loading-jquery-in-the-footer/</link>
		<comments>http://bloke.org/wordpress/loading-jquery-in-the-footer/#comments</comments>
		<pubDate>Tue, 03 Apr 2012 19:51:33 +0000</pubDate>
		<dc:creator>kieran</dc:creator>
				<category><![CDATA[WordPress]]></category>
		<category><![CDATA[JS]]></category>
		<category><![CDATA[wp]]></category>

		<guid isPermaLink="false">http://bloke.org/?p=4017</guid>
		<description><![CDATA[Loading Javascript in the footer has many benefits such as speed, you give priority to visual elements of your site. Your site will render for the visitor, then it will load the Javascript. By loading Javascript at the end of the page, it immediately has access to the whole DOM, no waiting. If you are [...]
Related posts:<ol>
<li><a href='http://bloke.org/wordpress/force-jquery-version/' rel='bookmark' title='Force jQuery Version in WordPress'>Force jQuery Version in WordPress</a> <small>Here's the right way to load a specific version of...</small></li>
<li><a href='http://bloke.org/wordpress/custom-shopp-gallery-with-fancybox/' rel='bookmark' title='Custom Shopp Gallery with FancyBox'>Custom Shopp Gallery with FancyBox</a> <small>Following on from a previous post Custom Shopp Gallery, here...</small></li>
<li><a href='http://bloke.org/wordpress/debugging-wordpress/' rel='bookmark' title='Debugging WordPress'>Debugging WordPress</a> <small>Debugging WordPress is actually quite simple. Stop yourself going grey...</small></li>
</ol>]]></description>
		<wfw:commentRss>http://bloke.org/wordpress/loading-jquery-in-the-footer/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Adding .html suffix to WordPress Rewrites</title>
		<link>http://bloke.org/php/adding-html-suffix-to-wordpress-rewrites/</link>
		<comments>http://bloke.org/php/adding-html-suffix-to-wordpress-rewrites/#comments</comments>
		<pubDate>Thu, 22 Mar 2012 19:47:41 +0000</pubDate>
		<dc:creator>kieran</dc:creator>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://bloke.org/?p=4009</guid>
		<description><![CDATA[Here's a quick way to give your WordPress install a static look. Add this code to your functions.php There are two functions at work here Add .html suffix to permalinks Remove trailing slash from permalinks Just so you know, the .html can be anything you like in reality. Finally, update your permalink settings to match. [...]
Related posts:<ol>
<li><a href='http://bloke.org/php/snippet-formatting-currency-string/' rel='bookmark' title='[Snippet] Formatting a currency string'>[Snippet] Formatting a currency string</a> <small>The Shopp ecommerce plugin for WordPress has a little annoying...</small></li>
<li><a href='http://bloke.org/php/truncate-string-nearest-word/' rel='bookmark' title='Truncate a string to the nearest word'>Truncate a string to the nearest word</a> <small>Truncating a string in PHP is easy, substr($start,$finish), but its...</small></li>
<li><a href='http://bloke.org/php/snippet-adding-your-custom-taxonomy-to-postpage-list-in-wordpress/' rel='bookmark' title='[Snippet] Adding your custom taxonomy to post/page list in WordPress'>[Snippet] Adding your custom taxonomy to post/page list in WordPress</a> <small>Custom Taxonomies are amazing for organising your post data. Here's...</small></li>
</ol>]]></description>
		<wfw:commentRss>http://bloke.org/php/adding-html-suffix-to-wordpress-rewrites/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Kieran&#8217;s Password Generator</title>
		<link>http://bloke.org/general/kierans-password-generator/</link>
		<comments>http://bloke.org/general/kierans-password-generator/#comments</comments>
		<pubDate>Tue, 06 Mar 2012 19:53:25 +0000</pubDate>
		<dc:creator>kieran</dc:creator>
				<category><![CDATA[General]]></category>

		<guid isPermaLink="false">http://bloke.org/?p=3993</guid>
		<description><![CDATA[Here's the random password generator script I wrote. It has a few different options like pronounceable, unpronounceable, Windows 2008 domain safe and outright mean passwords. Kieran's Password Generator Related posts: [Snippet] Manually reset a WordPress password WordPress stores user passwords in MD5 checksums, so using your... Synchronizing time on a Windows 2003 domain controller In a [...]
Related posts:<ol>
<li><a href='http://bloke.org/mysql/snippet-manually-reset-a-wordpress-password/' rel='bookmark' title='[Snippet] Manually reset a WordPress password'>[Snippet] Manually reset a WordPress password</a> <small>WordPress stores user passwords in MD5 checksums, so using your...</small></li>
<li><a href='http://bloke.org/windows/synchronizing-time-on-a-windows-2003-domain-controller/' rel='bookmark' title='Synchronizing time on a Windows 2003 domain controller'>Synchronizing time on a Windows 2003 domain controller</a> <small>In a Windows domain environment its incredibly important that all...</small></li>
<li><a href='http://bloke.org/windows/snippet-connecting-to-windows-2008-server-from-xp/' rel='bookmark' title='[Snippet] Connecting to Windows 2008 Server from XP'>[Snippet] Connecting to Windows 2008 Server from XP</a> <small>By default, Windows 2008 requires Network Level Authentication to connect...</small></li>
</ol>]]></description>
		<wfw:commentRss>http://bloke.org/general/kierans-password-generator/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>[Snippet] Adding your custom taxonomy to post/page list in WordPress</title>
		<link>http://bloke.org/php/snippet-adding-your-custom-taxonomy-to-postpage-list-in-wordpress/</link>
		<comments>http://bloke.org/php/snippet-adding-your-custom-taxonomy-to-postpage-list-in-wordpress/#comments</comments>
		<pubDate>Mon, 05 Mar 2012 14:44:16 +0000</pubDate>
		<dc:creator>kieran</dc:creator>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[WordPress]]></category>
		<category><![CDATA[wp]]></category>

		<guid isPermaLink="false">http://bloke.org/?p=3987</guid>
		<description><![CDATA[Custom Taxonomies are amazing for organising your post data. Here's a simple way of showing your custom taxonomies on the post/page list in wp-admin. In the image below you can see we are now showing the custom taxo Brand in the post list. &#160; Here's how I did it Firstly, create your extra column. You [...]
Related posts:<ol>
<li><a href='http://bloke.org/php/how-to-list-a-custom-post-types-taxonomies-and-terms/' rel='bookmark' title='How To List A Custom Post Type&#8217;s Taxonomies And Terms'>How To List A Custom Post Type&#8217;s Taxonomies And Terms</a> <small>Jennifer M. Dodd has published a brilliant article on listing...</small></li>
<li><a href='http://bloke.org/wordpress/custom-post-type-indexarchives/' rel='bookmark' title='Custom Post Type Index/Archives'>Custom Post Type Index/Archives</a> <small>Custom Post Types have come a long way recently. Custom...</small></li>
<li><a href='http://bloke.org/wordpress/redirecting-a-custom-post-type/' rel='bookmark' title='Redirecting a custom post type'>Redirecting a custom post type</a> <small>Ever had to rename a custom post type? Pain in...</small></li>
</ol>]]></description>
		<wfw:commentRss>http://bloke.org/php/snippet-adding-your-custom-taxonomy-to-postpage-list-in-wordpress/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Automatic Photo Blogging with WordPress</title>
		<link>http://bloke.org/php/automatic-photo-blogging-with-wordpress/</link>
		<comments>http://bloke.org/php/automatic-photo-blogging-with-wordpress/#comments</comments>
		<pubDate>Sun, 04 Mar 2012 23:54:16 +0000</pubDate>
		<dc:creator>kieran</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[WordPress]]></category>
		<category><![CDATA[Settings Media]]></category>
		<category><![CDATA[wp]]></category>

		<guid isPermaLink="false">http://bloke.org/?p=3984</guid>
		<description><![CDATA[My latest WordPress challenge was to automate a photo blog site. The photo blog post content would just consist of a title and a featured image. No content. As per normal photo blog style sites. This solution takes an image at random from a folder and posts it in WordPress. It relies on a healthy [...]
No related posts.]]></description>
		<wfw:commentRss>http://bloke.org/php/automatic-photo-blogging-with-wordpress/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Server Side PNG Optimisation with TimThumb</title>
		<link>http://bloke.org/php/server-side-png-optimisation-with-timthumb/</link>
		<comments>http://bloke.org/php/server-side-png-optimisation-with-timthumb/#comments</comments>
		<pubDate>Sun, 04 Mar 2012 14:23:03 +0000</pubDate>
		<dc:creator>kieran</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[WordPress]]></category>
		<category><![CDATA[PNG]]></category>

		<guid isPermaLink="false">http://bloke.org/?p=3968</guid>
		<description><![CDATA[A little known feature of TimThumb is that is supports server side PNG optimisation. Using the OptiPNG program (Available for Linux and Windows) TimThumb can losslessly compress PNGs on the fly. Quick tests showed an original clients PNG came in at  671Kb, OptiPNG compressed that with no visible difference to 580Kb and nominal server load. So lets [...]
Related posts:<ol>
<li><a href='http://bloke.org/php/caching-timthumb-images-in-memory/' rel='bookmark' title='Caching TimThumb images in memory'>Caching TimThumb images in memory</a> <small>TimThumb, properly configured &amp; secured is a very useful tool...</small></li>
<li><a href='http://bloke.org/php/timthumb-upscale-fix-stop-timthumb-from-upscaling-small-images/' rel='bookmark' title='TimThumb upscale fix: stop timthumb from upscaling small images'>TimThumb upscale fix: stop timthumb from upscaling small images</a> <small> Ever found that TimThumb is upscaling your small images and...</small></li>
<li><a href='http://bloke.org/voip/change-public-numbers-displayed-interface/' rel='bookmark' title='How Do I Change The Way Public Numbers Are Displayed In Interface?'>How Do I Change The Way Public Numbers Are Displayed In Interface?</a> <small>When using the 4PSA VoIPNow interface there was nothing more...</small></li>
</ol>]]></description>
		<wfw:commentRss>http://bloke.org/php/server-side-png-optimisation-with-timthumb/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Removing all comment functionality in WordPress</title>
		<link>http://bloke.org/php/removing-all-comment-functionality-in-wordpress/</link>
		<comments>http://bloke.org/php/removing-all-comment-functionality-in-wordpress/#comments</comments>
		<pubDate>Mon, 27 Feb 2012 15:46:14 +0000</pubDate>
		<dc:creator>kieran</dc:creator>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[WordPress]]></category>
		<category><![CDATA[Allow Comments]]></category>
		<category><![CDATA[CMS]]></category>

		<guid isPermaLink="false">http://bloke.org/?p=3950</guid>
		<description><![CDATA[As more and more people adopt WordPress as a CMS, more and more of the original blog functionality is becoming redundant. Comments are one of. Here is how to conclusively remove all comment functions in WordPress It uses two functions, the first one removes comment support from posts and pages. This means you dont have to uncheck [...]
Related posts:<ol>
<li><a href='http://bloke.org/wordpress/removing-l10n-js-in-wordpress/' rel='bookmark' title='Removing l10n.js in WordPress'>Removing l10n.js in WordPress</a> <small>l10nn.js is a JavaScript library that enables localization through native...</small></li>
<li><a href='http://bloke.org/wordpress/wordpress-function-remove_menu_page/' rel='bookmark' title='WordPress function remove_menu_page'>WordPress function remove_menu_page</a> <small>WordPress is now being used more and more for a...</small></li>
<li><a href='http://bloke.org/php/change-howdy-text-in-wordpress-admin/' rel='bookmark' title='Change &#8220;Howdy&#8221; text in WordPress admin'>Change &#8220;Howdy&#8221; text in WordPress admin</a> <small>The "Howdy admin" text can some times come across a...</small></li>
</ol>]]></description>
		<wfw:commentRss>http://bloke.org/php/removing-all-comment-functionality-in-wordpress/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

