<?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>My Quick Fix</title>
	<atom:link href="http://myquickfix.co.uk/index.php/feed/" rel="self" type="application/rss+xml" />
	<link>http://myquickfix.co.uk</link>
	<description>Quick fixes for niggly problems...</description>
	<lastBuildDate>Thu, 24 Sep 2009 15:10:50 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>Swap days and months in PHP &#8211; quick and dirty MM/DD/YY to DD/MM/YY.</title>
		<link>http://myquickfix.co.uk/index.php/2009/09/swap-days-and-months-in-php-quick-and-dirty-mmddyy-to-ddmmyy/</link>
		<comments>http://myquickfix.co.uk/index.php/2009/09/swap-days-and-months-in-php-quick-and-dirty-mmddyy-to-ddmmyy/#comments</comments>
		<pubDate>Thu, 24 Sep 2009 15:10:50 +0000</pubDate>
		<dc:creator>hutch</dc:creator>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[regular expressions]]></category>

		<guid isPermaLink="false">http://www.myquickfix.co.uk/?p=580</guid>
		<description><![CDATA[Problem
I have a ton of date strings in the stupid US style dd/mm/yy format. i.e. 12/24/09 being 24th September 2009. I need to convert them to the UK style dd/mm/yy.
Solution 1
As a string in PHP is really just an array of characters, the simplest fix was to address the individual number characters by their positions within the sting, and rearrange them into the format I wanted:

$d = "12/24/09";
$d = $d[3].$d[4]."/".$d[0].$d[1]."/".$d[6].$d[7];
echo $d; // displays "24/12/19".

Solution 2
I posted my solution on twitter (@hutchings) and asked for comments and @londonhackspace organiser Jonty came ...]]></description>
			<content:encoded><![CDATA[<h2>Problem</h2>
<p>I have a ton of date strings in the stupid US style dd/mm/yy format. i.e. 12/24/09 being 24th September 2009. I need to convert them to the UK style dd/mm/yy.</p>
<h2>Solution 1</h2>
<p>As a string in PHP is really just an array of characters, the simplest fix was to address the individual number characters by their positions within the sting, and rearrange them into the format I wanted:</p>
<pre name="code" class="php">
$d = "12/24/09";
$d = $d[3].$d[4]."/".$d[0].$d[1]."/".$d[6].$d[7];
echo $d; // displays "24/12/19".
</pre>
<h2>Solution 2</h2>
<p>I posted my solution on twitter (@hutchings) and asked for comments and @londonhackspace organiser Jonty came back with the following elegant (and much cleverer) suggestion:</p>
<pre name="code" class="php">
$d = "12/24/09";
$d = preg_replace('|(\d+)/(\d+)/(\d+)|', '$2/$1/$3', $d);
echo $d; // displays "24/12/19".
</pre>
<p>So provided you know that your original string is in US format, both these solutions can be used. In my testing I found solution 1 executed more quickly, but isn&#8217;t as pleasing to look at <img src='http://myquickfix.co.uk/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  Cheers Jonty.</p>
]]></content:encoded>
			<wfw:commentRss>http://myquickfix.co.uk/index.php/2009/09/swap-days-and-months-in-php-quick-and-dirty-mmddyy-to-ddmmyy/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Cannot set alpha on dynamic text in Flash / ActionScript 2</title>
		<link>http://myquickfix.co.uk/index.php/2009/08/cannot-set-alpha-on-dynamic-text-in-flash-actionscript-2/</link>
		<comments>http://myquickfix.co.uk/index.php/2009/08/cannot-set-alpha-on-dynamic-text-in-flash-actionscript-2/#comments</comments>
		<pubDate>Thu, 13 Aug 2009 22:16:21 +0000</pubDate>
		<dc:creator>hutch</dc:creator>
				<category><![CDATA[Flash]]></category>
		<category><![CDATA[alpha]]></category>
		<category><![CDATA[as2]]></category>
		<category><![CDATA[dynamic]]></category>

		<guid isPermaLink="false">http://www.myquickfix.co.uk/?p=578</guid>
		<description><![CDATA[Problem
I&#8217;m doing some freelance Flash development, and it&#8217;s been a while. I have just created a dynamic text field that I wanted to fill via actionscript, then fade in via an alpha tween. This wasn&#8217;t working, even if I set _alpha = 0 on the movieclip containing the text field.
Solution
You can only set _alpha on a Dynamic Text field if the font has been embeded (with the embed button).
Works now! wohoo! Simple stuff that I&#8217;ve known in the past, but forgot.
]]></description>
			<content:encoded><![CDATA[<h2>Problem</h2>
<p>I&#8217;m doing some freelance Flash development, and it&#8217;s been a while. I have just created a dynamic text field that I wanted to fill via actionscript, then fade in via an alpha tween. This wasn&#8217;t working, even if I set _alpha = 0 on the movieclip containing the text field.</p>
<h2>Solution</h2>
<p>You can only set _alpha on a Dynamic Text field if the font has been embeded (with the embed button).</p>
<p>Works now! wohoo! Simple stuff that I&#8217;ve known in the past, but forgot.</p>
]]></content:encoded>
			<wfw:commentRss>http://myquickfix.co.uk/index.php/2009/08/cannot-set-alpha-on-dynamic-text-in-flash-actionscript-2/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Delegating a sub domain to other nameservers with ZoneEdit</title>
		<link>http://myquickfix.co.uk/index.php/2009/07/delegating-a-sub-domain-to-other-nameservers-with-zoneedit/</link>
		<comments>http://myquickfix.co.uk/index.php/2009/07/delegating-a-sub-domain-to-other-nameservers-with-zoneedit/#comments</comments>
		<pubDate>Wed, 22 Jul 2009 15:33:11 +0000</pubDate>
		<dc:creator>hutch</dc:creator>
				<category><![CDATA[Networking]]></category>
		<category><![CDATA[delegate]]></category>
		<category><![CDATA[dns]]></category>
		<category><![CDATA[domains]]></category>
		<category><![CDATA[zoneedit]]></category>

		<guid isPermaLink="false">http://www.myquickfix.co.uk/?p=573</guid>
		<description><![CDATA[Problem
We&#8217;re building a website in Business Catalyst and need to provide the client with a test site during the design, build and testing phases. This test site needs to be accessible on a sub-domain of the client&#8217;s main domain. At the same time we want to retain DNS control of the parent domain, and stick a small holding site there.
For example:
&#8216;mydomain.com&#8217; has a small holding site on it, and mail services etc work as usual for that domain.
&#8216;test.mydomain.com&#8217; needs to be delegated to the Business Catalyst nameservers.
Solution
Turns out this is ...]]></description>
			<content:encoded><![CDATA[<h2>Problem</h2>
<p>We&#8217;re building a website in Business Catalyst and need to provide the client with a test site during the design, build and testing phases. This test site needs to be accessible on a sub-domain of the client&#8217;s main domain. At the same time we want to retain DNS control of the parent domain, and stick a small holding site there.</p>
<p><strong>For example:<br />
</strong>&#8216;mydomain.com&#8217; has a small holding site on it, and mail services etc work as usual for that domain.<br />
&#8216;test.mydomain.com&#8217; needs to be delegated to the Business Catalyst nameservers.</p>
<h2>Solution</h2>
<p>Turns out this is easy (peasy) if you&#8217;re using ZoneEdit, but probably equally as simple with any domain registrar service that lets you make changes to a domain&#8217;s zone file.</p>
<p><strong>1)</strong> Login and &#8216;View&#8217; the domain you need to work on.</p>
<p><strong>2)</strong> Click on the  &#8217;Nameservers&#8217; links, Shown below:</p>
<p><img class="alignnone size-full wp-image-572" title="Selecting nameservers link" src="http://www.myquickfix.co.uk/wp-content/uploaded/2009/07/delegate-sub-1.png" alt="Selecting nameservers link" width="560" height="678" /></p>
<p><strong>3)</strong> Add the domain and subdomain in full in the &#8216;Domain Name&#8217; field, and the new nameserver in the next field. The IP isn&#8217;t necessary. In the image below, you can see that one nameserver for the subdomain has already been added, and the second one is being entered. There ARE usually at least 2 nameservers for a zone.</p>
<p><img class="alignnone size-full wp-image-571" title="Adding nameservers for delegated sub domain" src="http://www.myquickfix.co.uk/wp-content/uploaded/2009/07/delegate-sub-2.png" alt="Adding nameservers for delegated sub domain" width="560" height="377" /></p>
<p>That&#8217;s it, done. Now when a lookup is done on test.mydomain.com, the query is forwarded to the nameservers ns1 and ns2 at anotherserver.com, and any records they have for the subdomain are returned.</p>
<p>Please leave a comment if you have any questions, thoughts or corrections.</p>
]]></content:encoded>
			<wfw:commentRss>http://myquickfix.co.uk/index.php/2009/07/delegating-a-sub-domain-to-other-nameservers-with-zoneedit/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>&quot;JFolder::create: Could not create directory&quot; error in Joomla 1.5.* on IIS.</title>
		<link>http://myquickfix.co.uk/index.php/2009/07/jfolder-create-could-not-create-directory/</link>
		<comments>http://myquickfix.co.uk/index.php/2009/07/jfolder-create-could-not-create-directory/#comments</comments>
		<pubDate>Wed, 22 Jul 2009 09:46:14 +0000</pubDate>
		<dc:creator>hutch</dc:creator>
				<category><![CDATA[Joomla!]]></category>
		<category><![CDATA[Windows]]></category>
		<category><![CDATA[permissions]]></category>
		<category><![CDATA[temporary]]></category>
		<category><![CDATA[tmp]]></category>

		<guid isPermaLink="false">http://www.myquickfix.co.uk/?p=552</guid>
		<description><![CDATA[Problem
When trying to add a Plugin, Component or Module in Joomla&#8217;s Extension Manager, you might get the following error:
JFolder::create: Could not create directory
Warning! Failed to move file.
Shown here:

This is likely &#8211; but not definitely &#8211; to be after the site has been moved from location to another, a change of directory, or server.
Solution
When a Component, Plugin or Module is added, the Joomla system attempts to copy the installable zip to a temporary directory, called &#8216;tmp&#8216;. From there, PHP extracts the files and installs them. The error above usually occurs for ...]]></description>
			<content:encoded><![CDATA[<h2>Problem</h2>
<p>When trying to add a Plugin, Component or Module in Joomla&#8217;s Extension Manager, you might get the following error:</p>
<p><span style="color: #ff0000;">JFolder::create: Could not create directory<br />
Warning! Failed to move file.</span></p>
<p>Shown here:</p>
<p><img class="size-full wp-image-551 alignnone" title="Error showing in extension manager" src="http://www.myquickfix.co.uk/wp-content/uploaded/2009/07/joomla-Jfolder1.png" alt="Error showing in extension manager" width="300" height="300" /></p>
<p>This is likely &#8211; but not definitely &#8211; to be after the site has been moved from location to another, a change of directory, or server.</p>
<h2>Solution</h2>
<p>When a Component, Plugin or Module is added, the Joomla system attempts to copy the installable zip to a temporary directory, called &#8216;<strong>tmp</strong>&#8216;. From there, PHP extracts the files and installs them. The error above usually occurs for one or more of the following reasons (in order of likelihood):</p>
<p><strong>The path to the &#8216;tmp&#8217; directory is wrong in the Joomla configuration file</strong></p>
<p>In the Joomla installation root, find the file called &#8216;configuration.php&#8217;. In this file there should be a line with that says something like:</p>
<p><em>var $tmp_path = &#8216;C:\\path\\to\\your\\cms\\tmp&#8217;;</em></p>
<p>A masked live example is shown here:</p>
<p><img class="alignnone size-full wp-image-550" title="Correct path to tmp directory" src="http://www.myquickfix.co.uk/wp-content/uploaded/2009/07/joomla-Jfolder2.png" alt="Correct path to tmp directory" width="450" height="200" /></p>
<p>Check that this path is correct, and that the &#8216;tmp&#8217; directory truly does sit in that location. In this example, the directory would need to be here: d<em>:\clients\sites\[my client]\tmp.</em></p>
<p><strong>The temporary exists, but is not &#8216;writable&#8217;</strong></p>
<p>If the &#8216;tmp&#8217; directory has the wrong permissions, the web service won&#8217;t be able to copy the installer files to it. To check/correct this you will need  access to the server physically, or via a remote admin method like <a href="http://en.wikipedia.org/wiki/Remote_Desktop_Protocol">RDP</a> (terminal services), <a href="http://en.wikipedia.org/wiki/Vnc">VNC</a> or similar.</p>
<p>Find the &#8216;tmp&#8217; directory in the web root, and view the permissions. The IIS Guest account, called &#8216;IUSR_[machinename]&#8216;, needs to be given &#8216;modify&#8217; privileges. Example shown below:</p>
<p><img class="alignnone size-full wp-image-566" title="giving IUSR account modify permissions" src="http://www.myquickfix.co.uk/wp-content/uploaded/2009/07/joomla-Jfolder3.png" alt="giving IUSR account modify permissions" width="368" height="474" /></p>
<p><strong>The temporary directory doesn&#8217;t exist</strong></p>
<p>To check this, navigate to your web root (often wwwroot) and check that a directory called &#8216;<strong>tmp</strong>&#8216; exists. This directory should have been created when the Joomla was installed, but it&#8217;s conceivable that it might have been deleted&#8230; maybe? If it doesn&#8217;t exist, create it, and make sure its &#8216;writable&#8217; (see previous step).</p>
<p>If none of this works, or you spot a mistake,  post a comment.</p>
]]></content:encoded>
			<wfw:commentRss>http://myquickfix.co.uk/index.php/2009/07/jfolder-create-could-not-create-directory/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Skoda Fabia VRS, temperature beep, expansion tank replacement</title>
		<link>http://myquickfix.co.uk/index.php/2009/07/fabia-vrs-temperature-beep-expansion-tank-replacement/</link>
		<comments>http://myquickfix.co.uk/index.php/2009/07/fabia-vrs-temperature-beep-expansion-tank-replacement/#comments</comments>
		<pubDate>Thu, 16 Jul 2009 16:55:04 +0000</pubDate>
		<dc:creator>hutch</dc:creator>
				<category><![CDATA[Mechanics]]></category>
		<category><![CDATA[beep]]></category>
		<category><![CDATA[coolant]]></category>
		<category><![CDATA[expansion]]></category>
		<category><![CDATA[tank]]></category>
		<category><![CDATA[temperature]]></category>
		<category><![CDATA[vrs]]></category>

		<guid isPermaLink="false">http://www.myquickfix.co.uk/?p=519</guid>
		<description><![CDATA[Problem
My Fabia&#8217;s temperature indicator light started flashing and beeping at me a few minutes after the engine was started, each time I used the car. The coolant level was fine, and the car seemed to get up to temperature quickly and stay there, never overheating. A quick search of the Briskoda forum revealed that this is a common fault, caused by faulty terminals and/or electrodes in the expansion tank vessel.
Solution
On the VRS models, and possibly others, the electrodes that measure coolant level cannot be replaced or cleaned, so a complete ...]]></description>
			<content:encoded><![CDATA[<h2>Problem</h2>
<p>My Fabia&#8217;s temperature indicator light started flashing and beeping at me a few minutes after the engine was started, each time I used the car. The coolant level was fine, and the car seemed to get up to temperature quickly and stay there, never overheating. A quick search of the <a title="Link to the Briskoda forum" href="http://briskoda.net/fabia-i/">Briskoda</a> forum revealed that this is a common fault, caused by faulty terminals and/or electrodes in the expansion tank vessel.</p>
<h2>Solution</h2>
<p>On the VRS models, and possibly others, the electrodes that measure coolant level cannot be replaced or cleaned, so a complete expansion tank replacement is needed. Thankfully these are cheap (about a tenner) and easy to fit. Here is a fitting guide, with photos where necessary:</p>
<p><strong>1)</strong> Unhook the loom carrier from the two fixing holding the tank in place.</p>
<p><img class="alignnone size-full wp-image-510" title="Un clipping the loom thing from the tank." src="http://www.myquickfix.co.uk/wp-content/uploaded/2009/07/ex-tank-1.jpg" alt="Un clipping the loom thing from the tank." width="560" height="420" /></p>
<p><strong>2)</strong> Now disconnect the terminal on the rear of the expansion tank that connects the coolant level sensor to the loom. There are clips on the top AND the bottom of this clip. Don&#8217;t force it, if it doesn&#8217;t come off easily it&#8217;s likely because the lower clip is not being squeezed firmly enough.</p>
<p><img class="alignnone size-full wp-image-511" title="Disconnect the level sensor teminal" src="http://www.myquickfix.co.uk/wp-content/uploaded/2009/07/ex-tank-2.jpg" alt="Disconnect the level sensor teminal" width="560" height="420" /></p>
<p><strong>3)</strong> Remove the overflow pipe (or maybe it&#8217;s a return pipe) at the top rear of the tank. This is most easily done with parallel pliers or mole-grips, by squeezing the sprung hose clamp, then easing the pipe off. Make sure you don&#8217;t lose the hose clamp in the engine bay. I found it best to tuck the pipe backwards under the strut brace to keep it out of the way.</p>
<p><img class="alignnone size-full wp-image-512" title="Remove overflow pipe" src="http://www.myquickfix.co.uk/wp-content/uploaded/2009/07/ex-tank-3.jpg" alt="Remove overflow pipe" width="560" height="420" /></p>
<p><strong>4)</strong> Unclip the vacuum pipes from the vacuum thingy (if you know what this &#8216;thingy&#8217; is, please leave a comment below telling me, and I&#8217;ll put the right name in). The two sprung clips are easy to press by hand as shown in the photo. You might hear a little &#8216;hiss&#8217; (i did) when you do this. Doesn&#8217;t seem to be a problem.</p>
<p><img class="alignnone size-full wp-image-513" title="Remove vacuum hoses from vacuum unit" src="http://www.myquickfix.co.uk/wp-content/uploaded/2009/07/ex-tank-4.jpg" alt="Remove vacuum hoses from vacuum unit" width="560" height="420" /></p>
<p><strong>5)</strong> Remove the two  front nuts that hold the vacuum thingy frame in. The plastic loom support will probably be right in your way for this. If you&#8217;ve completely unhooked it (<strong>see step 1</strong>) you should be able to manhandle the wiring backwards for the right-hand nut, and pulled right forward for the left-hand nut. The nuts have captive washers which is nice, but be sure not to let them drop in the engine bay!</p>
<p><img class="alignnone size-full wp-image-514" title="Remove two front bolts for cage above turret" src="http://www.myquickfix.co.uk/wp-content/uploaded/2009/07/ex-tank-5.jpg" alt="Remove two front bolts for cage above turret" width="560" height="420" /></p>
<p><strong>6)</strong> Remove the 3rd frame bolt right by the bulkhead. The angle can be a bit tricky and I found that an extension was needed with the socket set.</p>
<p><img class="alignnone size-full wp-image-515" title="Remove the rear bolt from the frame" src="http://www.myquickfix.co.uk/wp-content/uploaded/2009/07/ex-tank-6.jpg" alt="Remove the rear bolt from the frame" width="560" height="420" /></p>
<p><strong>7)</strong> Now to get the frame out, you will need to pull the loom wiring and plastic support thing right out of the way forward. It hooks over the expansion tank socket quite nicely as you can see in the photo. Lift the frame gently off the two front fixings, then pull it towards the front of the car to get the frame off the rear fixing.</p>
<p><img class="alignnone size-full wp-image-516" title="Moving the loom over the tank" src="http://www.myquickfix.co.uk/wp-content/uploaded/2009/07/ex-tank-7.jpg" alt="Moving the loom over the tank" width="560" height="420" /></p>
<p><strong> <img src='http://myquickfix.co.uk/wp-includes/images/smilies/icon_cool.gif' alt='8)' class='wp-smiley' /> </strong> Lift the frame completely out of the way. I found that if you turn it 90 degrees it sits between the suspension turret and the rubber bonnet seal quite well.</p>
<p><img class="alignnone size-full wp-image-517" title="Moving frame out of the way" src="http://www.myquickfix.co.uk/wp-content/uploaded/2009/07/ex-tank-8.jpg" alt="Moving frame out of the way" width="560" height="420" /></p>
<p><strong>9)</strong> Now remove the 2 fixings that hold the tank in. As shown in the photo below, the fixing is a bolt, a captive washer, and a screw all in one. A 10mm socket removes the fixing. Once both are removed, the tank will stay where it is until you lift it out.</p>
<p><img class="alignnone size-full wp-image-518" title="Tank fixings" src="http://www.myquickfix.co.uk/wp-content/uploaded/2009/07/ex-tank-9.jpg" alt="Tank fixings" width="560" height="420" /></p>
<p><strong>10)</strong> Now the tank is ready to come out, clamp the bottom hose near as near to the tank as possible (<strong>see pic for step 11</strong>) with a pair of mole-grips.<br />
<strong>Caution:</strong> if you clamp it too right you risk damaging the hose, especially with the <a title="link to info about mechanical advantage" href="http://en.wikipedia.org/wiki/Mechanical_advantage">mechanical advantage</a> that mole-grips give. It&#8217;s soft hose, so only needs to be squeezed a bit.<br />
Then siphon the tank into a bottle or something with some tube. I&#8217;m not sure how corrosive G12 coolant is, but um.. don&#8217;t drink it.. or get it on your paintwork.. or eyes.. or sensitive bits.</p>
<p><img class="alignnone size-full wp-image-540" title="Siphon the tank" src="http://www.myquickfix.co.uk/wp-content/uploaded/2009/07/ex-tank-10.jpg" alt="Siphon the tank" width="560" height="420" /></p>
<p><strong>11)</strong> Now that the tank is empty (more or less) you can use some pliers (parallel or adjustable ones are best for this) to loosen the sprung hose clamp with one hand, while pulling the tank free with the other hand. I found that the hose came off easily once the sprung clamp was very loose. If the hose doesn&#8217;t want to come free, it might be best to use a second pair of mole-grips on the sprung clamp, thus leaving two hands free to wrestle the tank and hose apart.</p>
<p><img class="alignnone size-full wp-image-541" title="Unclamp the tank" src="http://www.myquickfix.co.uk/wp-content/uploaded/2009/07/ex-tank-11.jpg" alt="Unclamp the tank" width="560" height="420" /></p>
<p>12) If this is done carefully, there should be no spillage. The tiny amount of coolant left in the neck of the tank after it was siphoned should stay in the up-turned hose.</p>
<p><img class="alignnone size-full wp-image-539" title="No spills.." src="http://www.myquickfix.co.uk/wp-content/uploaded/2009/07/ex-tank-12.jpg" alt="No spills.." width="560" height="420" /></p>
<p>13) Now, fit the new expansion tank by reversing this process completely. <strong>Note:</strong> If G12 coolant is already in the system, G12 must be used when  the new tank is filled up. It&#8217;s best to use new coolant, and the OEM pink stuff is readily available for about £5-10 from any VAG dealer.</p>
<p>If you have any corrections, questions or thoughts, please leave a comment.</p>
]]></content:encoded>
			<wfw:commentRss>http://myquickfix.co.uk/index.php/2009/07/fabia-vrs-temperature-beep-expansion-tank-replacement/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Shorter links to eBay items</title>
		<link>http://myquickfix.co.uk/index.php/2009/07/shorter-links-to-ebay-items/</link>
		<comments>http://myquickfix.co.uk/index.php/2009/07/shorter-links-to-ebay-items/#comments</comments>
		<pubDate>Fri, 10 Jul 2009 09:27:45 +0000</pubDate>
		<dc:creator>hutch</dc:creator>
				<category><![CDATA[Day to Day]]></category>
		<category><![CDATA[Google Chrome]]></category>
		<category><![CDATA[Mozilla FireFox]]></category>
		<category><![CDATA[chrome]]></category>
		<category><![CDATA[custom search]]></category>
		<category><![CDATA[ebay]]></category>
		<category><![CDATA[firefox]]></category>
		<category><![CDATA[friendly url]]></category>
		<category><![CDATA[links]]></category>

		<guid isPermaLink="false">http://www.myquickfix.co.uk/?p=442</guid>
		<description><![CDATA[Problem
I need to send a mate a link to an item on eBay after breaking his strimmer. The nice people at eBay have reworked their URL structure recently to improve SEO, so a link to a single item now looks something like this:
http://cgi.ebay.co.uk/Medium-duty-bump-head-for-Kawasaki-brushcutter-strimmer_W0QQitemZ190302614007QQcmdZViewItemQQptZUK_Home_Garden_GardenPowerTools_CA?hash=item2c4eeb71f7&#38;_trksid=p3286.c0.m14&#38;_trkparms=65:12&#124;66:2&#124;39:1&#124;72:1686&#124;293:1&#124;294:50
..which is not exactly Twitter, Live Messenger or email friendly. Long URLs break often in email and instant messengers when they &#8216;wrap&#8217; at the end of a line (like the above is doing).
Solution
Here&#8217;s the old style linking system that still works: http://cgi.ebay.co.uk/ws/eBayISAPI.dll?ViewItem&#38;item=190302614007
So you can use that structure for a ...]]></description>
			<content:encoded><![CDATA[<h2>Problem</h2>
<p>I need to send a mate a link to an item on eBay after breaking his strimmer. The nice people at eBay have reworked their URL structure recently to improve SEO, so a link to a single item now looks something like this:</p>
<p><strong><em>http://cgi.ebay.co.uk/Medium-duty-bump-head-for-Kawasaki-brushcutter-strimmer_W0QQitemZ190302614007QQcmdZViewItemQQptZUK_Home_Garden_GardenPowerTools_CA?hash=item2c4eeb71f7&amp;_trksid=p3286.c0.m14&amp;_trkparms=65:12|66:2|39:1|72:1686|293:1|294:50</em></strong></p>
<p>..which is not exactly Twitter, Live Messenger or email friendly. Long URLs break often in email and instant messengers when they &#8216;wrap&#8217; at the end of a line (like the above is doing).</p>
<h2>Solution</h2>
<p>Here&#8217;s the old style linking system that still works: <strong><em>http://cgi.ebay.co.uk/ws/eBayISAPI.dll?ViewItem&amp;item=190302614007</em></strong></p>
<p>So you can use that structure for a link to any item. Just paste&#8230;</p>
<p><strong>http://cgi.ebay.co.uk/ws/eBayISAPI.dll?ViewItem&amp;item=</strong></p>
<p>&#8230;into your browser, email or anything followed by the item number, as above, and it&#8217;ll work.</p>
<p>If you can&#8217;t find the item number in the complicated URL, remember its on each item listing page here:</p>
<p><img class="size-full wp-image-447 alignnone" title="eBay item number" src="http://www.myquickfix.co.uk/wp-content/uploaded/2009/07/ebay-item-number.png" alt="eBay item number" width="433" height="299" /></p>
<h2>Bonus trick for Chrome or Firefox users:</h2>
<p>Chrome and Firefox both allow custom searches to be added easily via bookmarks. These allow you to type a &#8216;keyword&#8217; into the address bar, then a &#8216;search phrase&#8217;, and automatically search a specific site for it. This useful functionality is perfect for getting a link to an eBay item. What you do is create a custom search with the keyword &#8216;el&#8217; (for &#8216;eBay Link&#8217;, but use whatever you&#8217;ll remember, keep it short!) and point it to &#8216;http://cgi.ebay.co.uk/ws/eBayISAPI.dll?ViewItem&amp;item=%s&#8217;. <strong>Note:</strong> the &#8216;%s&#8217; is substituted for the search phrase &#8211; in this case an item number &#8211; when the search is done.</p>
<p><strong>Chrome Instructions</strong></p>
<p>Open the Chrome options:</p>
<p><img class="alignnone size-full wp-image-459" title="Chrome options" src="http://www.myquickfix.co.uk/wp-content/uploaded/2009/07/chrome-custom-search1.png" alt="Chrome options" width="281" height="287" /></p>
<p>Then follow this process:</p>
<ol>
<li>Click the  &#8217;Manage&#8217; button in the &#8216;Default Search&#8217; area.</li>
<li>In the &#8216;Search Engines&#8217; window, click &#8216;Add&#8217;.</li>
<li>Name the new custom search.</li>
<li>Give it an easy to remember keyword.</li>
<li>In URL enter: &#8220;http://cgi.ebay.co.uk/ws/eBayISAPI.dll?ViewItem&amp;item=%s&#8221;.</li>
<li>&#8216;Ok&#8217; the window, and &#8216;close&#8217; out of the others.</li>
</ol>
<p>Here&#8217;s the visual process:</p>
<p><img class="alignnone size-full wp-image-463" title="Adding custom eBay item number search" src="http://www.myquickfix.co.uk/wp-content/uploaded/2009/07/chrome-custom-search2.png" alt="Adding custom eBay item number search" width="581" height="539" /></p>
<p>Now to use your new custom eBay item linker, type &#8220;el [item number]&#8221; into the Chrome address bar, and hit &#8216;enter/return&#8217;. You&#8217;ll notice that as soon as you&#8217;ve typed &#8220;el&#8221; and a space and start to enter the item number, Chrome shows that you&#8217;re about to do a custom search:</p>
<p><img class="alignnone size-full wp-image-465" title="custom search in address bar" src="http://www.myquickfix.co.uk/wp-content/uploaded/2009/07/chrome-custom-search3.png" alt="custom search in address bar" width="581" height="114" /></p>
<p>great right? Yea I love it too.</p>
<p><strong>FireFox instructions</strong></p>
<p>In firefox it&#8217;s a very similar process:</p>
<ol>
<li>Open the &#8216;Organise Bookmarks&#8217; pane with <strong>Ctrl + Shift + B</strong> (on a dirty mac it&#8217;s <strong>Shift + Command + B</strong>).</li>
<li>Under &#8216;Unsorted Bookmarks&#8217; add a new Bookmark and name it &#8216;eBay Item Link&#8217; or whatever.</li>
<li>In Location enter &#8220;http://cgi.ebay.co.uk/ws/eBayISAPI.dll?ViewItem&amp;item=%s&#8221;.</li>
<li> Add an easy to remember keyword like &#8216;el&#8217;.</li>
<li>Click &#8216;Add&#8217; button then close out of the bookmarks pane.</li>
</ol>
<p>Here&#8217;s a visual prompt for the process:</p>
<p><img class="alignnone size-full wp-image-467" title="Firefox bookmark adding eBay item number search" src="http://www.myquickfix.co.uk/wp-content/uploaded/2009/07/firefox-custom-search1.png" alt="Firefox bookmark adding eBay item number search" width="540" height="372" /></p>
<p>And here&#8217;s what it looks like when you use it:</p>
<p><img class="alignnone size-full wp-image-468" title="Searching for item number in FireFox" src="http://www.myquickfix.co.uk/wp-content/uploaded/2009/07/firefox-custom-search2.png" alt="Searching for item number in FireFox" width="540" height="133" /></p>
<p>There, If you know a better or quicker way, or have an issues, please leave a comment below.</p>
]]></content:encoded>
			<wfw:commentRss>http://myquickfix.co.uk/index.php/2009/07/shorter-links-to-ebay-items/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Add domain (DNS) Wildcard/catchall (*) entries with Zoneedit</title>
		<link>http://myquickfix.co.uk/index.php/2009/07/domain-dns-wildcard-catchall-zoneedit/</link>
		<comments>http://myquickfix.co.uk/index.php/2009/07/domain-dns-wildcard-catchall-zoneedit/#comments</comments>
		<pubDate>Fri, 03 Jul 2009 11:41:13 +0000</pubDate>
		<dc:creator>hutch</dc:creator>
				<category><![CDATA[Networking]]></category>
		<category><![CDATA[catchall]]></category>
		<category><![CDATA[dns]]></category>
		<category><![CDATA[wildcard]]></category>
		<category><![CDATA[zoneedit]]></category>

		<guid isPermaLink="false">http://www.myquickfix.co.uk/?p=431</guid>
		<description><![CDATA[Problem
I&#8217;m now using ZoneEdit to handle the zone record for new domains. It gives far more control over the zone, and is very quick with updates etc.  I needed to setup one particular domain so that all traffic to that it &#8211; and any subdomains &#8211; went to one IP address. A &#8216;catchall&#8217; if you like.
For example: &#8216;myquickfix.co.uk&#8217; and &#8216;www.myquickfix.co.uk&#8217;  have A records pointing to 82.109.178.44. If I needed the subdomain &#8216;pants.myquickfix.co.uk&#8217; to point to that IP also, I could add a CNAME record, or another A record. But if ...]]></description>
			<content:encoded><![CDATA[<h2>Problem</h2>
<p>I&#8217;m now using <a title="Link to ZoneEdit " href="http://www.zoneedit.com/">ZoneEdit</a> to handle the zone record for new domains. It gives far more control over the zone, and is very quick with updates etc.  I needed to setup one particular domain so that all traffic to that it &#8211; and any subdomains &#8211; went to one IP address. A &#8216;catchall&#8217; if you like.</p>
<p><strong>For example:</strong> &#8216;myquickfix.co.uk&#8217; and &#8216;www.myquickfix.co.uk&#8217;  have A records pointing to 82.109.178.44. If I needed the subdomain &#8216;pants.myquickfix.co.uk&#8217; to point to that IP also, I could add a CNAME record, or another A record. But if I need lots of subdomains all pointing to the same IP, it&#8217;s far easier to add a wildcard A record.</p>
<h2>Solution</h2>
<p>Wildcard entries are represented by an asterisk (*) and will send all requests that aren&#8217;t covered by other entries, to the specified IP. Shown below are the relevant ZoneEdit screens where this can be setup:</p>
<div id="attachment_430" class="wp-caption alignnone" style="width: 448px"><img class="size-full wp-image-430" title="zoneedit-wildcard-1" src="http://www.myquickfix.co.uk/wp-content/uploaded/2009/07/zoneedit-wildcard-1.gif" alt="An asterisk is entered for Name, and the destination in Numperic IP" width="438" height="277" /><p class="wp-caption-text">An asterisk is entered for Name, and the destination in Numperic IP</p></div>
<p><strong>Note:</strong> There are already entries for the domain, &#8216;www&#8217; and &#8216;mail&#8217;. But we want to add the wildcard / catchall record in the fields above &#8216;Add New IP Address&#8217;. By the way, this is done in the &#8216;IP Addresses (A)&#8217;  screen.</p>
<div id="attachment_429" class="wp-caption alignnone" style="width: 448px"><img class="size-full wp-image-429" title="zoneedit-wildcard-2" src="http://www.myquickfix.co.uk/wp-content/uploaded/2009/07/zoneedit-wildcard-2.gif" alt="After the wildcard entry is added, it appears in the list" width="438" height="277" /><p class="wp-caption-text">After the wildcard entry is added, it appears in the list</p></div>
<p>The entry now appears in the list. If you wait for a few minutes and try to browse to a random subdomain of your domain, it should work. Woo!</p>
<p><strong>A few notes:</strong></p>
<p><strong> </strong>If you&#8217;ve tried the subdomain in your browser before adding the wildcard, you might get a 404 error or just a blank page because the browser has cached the result from lastime. To get around this, clear your browsers cache, and flush your DNS cache. In Windows this is done by opening a command prompt and typing: &#8220;ipconfig /flushdns&#8221;.</p>
<p>If you try and click on the link that appears with the asterisk in ZoneEdit, it is very unlikely to work. The browser will try and URL encode the address turning &#8216;*.domain.co.uk&#8217; into &#8216;%2A.domain.co.uk&#8217; and you&#8217;ll get an Invalid Hostname error (400).</p>
<p>Any thoughts? please comment.</p>
]]></content:encoded>
			<wfw:commentRss>http://myquickfix.co.uk/index.php/2009/07/domain-dns-wildcard-catchall-zoneedit/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Keyboard switching languages &#8211; Double quotes (&quot;) and &#039;at&#039; sign (@) reversed.</title>
		<link>http://myquickfix.co.uk/index.php/2009/06/keyboard-switching-languages-double-quotes-and-at-sign-reversed/</link>
		<comments>http://myquickfix.co.uk/index.php/2009/06/keyboard-switching-languages-double-quotes-and-at-sign-reversed/#comments</comments>
		<pubDate>Wed, 24 Jun 2009 15:14:24 +0000</pubDate>
		<dc:creator>hutch</dc:creator>
				<category><![CDATA[Windows]]></category>
		<category><![CDATA[input language]]></category>
		<category><![CDATA[keyboard]]></category>

		<guid isPermaLink="false">http://www.myquickfix.co.uk/?p=413</guid>
		<description><![CDATA[Problem
Every so often when I&#8217;m typing, usually when I&#8217;m coding because I use so many shortcuts, the at sign &#8216;@&#8217; and double quotes (&#8220;) get swapped. Annoying!
Solution
When this happens it&#8217;s because I&#8217;ve accidentally pressed &#8216;Shift + Alt&#8217;. THis key combo causes Windows to switch my keyboard (input) language to US. The easiest way to stop this happening, is disable the &#8216;Shift+Alt&#8217; shortcut:
1) From &#8216;Control Panel&#8217;, open the &#8216;Regional and Language Options&#8217;.
2) In &#8216;Regional and Language Options&#8217; window, select the &#8216;Languages&#8217; tab, and click the &#8216;Details&#8217; button inside the &#8216;Text services and ...]]></description>
			<content:encoded><![CDATA[<h2>Problem</h2>
<p>Every so often when I&#8217;m typing, usually when I&#8217;m coding because I use so many shortcuts, the at sign &#8216;@&#8217; and double quotes (&#8220;) get swapped. Annoying!</p>
<h2>Solution</h2>
<p>When this happens it&#8217;s because I&#8217;ve accidentally pressed &#8216;Shift + Alt&#8217;. THis key combo causes Windows to switch my keyboard (input) language to US. The easiest way to stop this happening, is disable the &#8216;Shift+Alt&#8217; shortcut:</p>
<p>1) From &#8216;Control Panel&#8217;, open the &#8216;Regional and Language Options&#8217;.</p>
<p>2) In &#8216;Regional and Language Options&#8217; window, select the &#8216;Languages&#8217; tab, and click the &#8216;Details&#8217; button inside the &#8216;Text services and input languages&#8217; section.</p>
<p><img class="size-full wp-image-418  alignnone" title="Regional and language options" src="http://www.myquickfix.co.uk/wp-content/uploaded/2009/06/key-lang-1.png" alt="Select the Details button under the Languages tab" width="404" height="326" /></p>
<p>3) In the &#8216;Settings&#8217; tab, click the &#8216;Key Settings&#8217; button.</p>
<p><img class="size-full wp-image-419   alignnone" title="Regional and language options" src="http://www.myquickfix.co.uk/wp-content/uploaded/2009/06/key-lang-2.png" alt="Selecting Key Settings" width="404" height="485" /></p>
<p>4) In the &#8216;Hot keys..&#8217; section, highlight the action &#8216;Switch between input languages&#8217; and then click the &#8216;Change Key Sequence&#8217; button.</p>
<p><img class="alignnone size-full wp-image-420" title="Selecting key settings" src="http://www.myquickfix.co.uk/wp-content/uploaded/2009/06/key-lang-3.png" alt="Selecting key settings" width="414" height="297" /></p>
<p>5) Un-tick BOTH tickboxes.</p>
<p><img class="alignnone size-full wp-image-417" title="Switch off shortcuts" src="http://www.myquickfix.co.uk/wp-content/uploaded/2009/06/key-lang-4.png" alt="Switch off shortcuts" width="434" height="152" /></p>
<p>6) Now just &#8216;OK&#8217; and &#8216;Apply&#8217; your way back out of the open windows and <strong><span style="color: #ff0000;">IMPORTANT</span></strong> you need to reboot for the changes to make effect.</p>
<p>Know of a quicker way? please post a comment&#8230;</p>
]]></content:encoded>
			<wfw:commentRss>http://myquickfix.co.uk/index.php/2009/06/keyboard-switching-languages-double-quotes-and-at-sign-reversed/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Set space between list item and bullet (HTML, CSS)&#8230;</title>
		<link>http://myquickfix.co.uk/index.php/2009/06/set-space-between-list-item-and-bullet-html-css/</link>
		<comments>http://myquickfix.co.uk/index.php/2009/06/set-space-between-list-item-and-bullet-html-css/#comments</comments>
		<pubDate>Fri, 19 Jun 2009 10:07:03 +0000</pubDate>
		<dc:creator>hutch</dc:creator>
				<category><![CDATA[CSS]]></category>

		<guid isPermaLink="false">http://www.myquickfix.co.uk/?p=372</guid>
		<description><![CDATA[Problem
I&#8217;ve just had to convert a photoshop visual to a wordpress template. The designer wanted a bulleted list where the bullets themselves were very close to the list items, and were small dashes. Cross browser support for list item and bullet styling is ropey at best, and to make things perfect I&#8217;d have to resort to browser specific styles.
Solution
The solution I think I&#8217;ll be using for the rest of my &#8216;web&#8217; career will be this. JUST FORGET THE BULLET ITEM, and use positioned background images instead.
In the stylesheet, add styles ...]]></description>
			<content:encoded><![CDATA[<h2>Problem</h2>
<p>I&#8217;ve just had to convert a photoshop visual to a wordpress template. The designer wanted a bulleted list where the bullets themselves were very close to the list items, and were small dashes. Cross browser support for list item and bullet styling is ropey at best, and to make things perfect I&#8217;d have to resort to browser specific styles.</p>
<h2>Solution</h2>
<p>The solution I think I&#8217;ll be using for the rest of my &#8216;web&#8217; career will be this. JUST FORGET THE BULLET ITEM, and use positioned background images instead.</p>
<p>In the stylesheet, add styles for both the &#8216;ul&#8217; tag, and the &#8216;li&#8217; tag like so (explanations inline):</p>
<pre class="css">ul {
margin-left:0px; /* Set the indenting back to far left. */
padding-left:0px; /* Set the indenting back to far left. */
}

ul li {
list-style-type:none; /* Switch the list bullet off altogether. */
background-image:url(dashbullet.gif); /* The replacement bullet image */
background-position:0px 4px; /* Place bullet 0px from left and 4px from top */
background-repeat:no-repeat; /* Stops bullet tiling, important */
padding-left:7px; /* separation from li txt and bullet */
}</pre>
<p>Then just create the list as you usually would, with &#8216;ul&#8217; and &#8216;li&#8217; tags. Here&#8217;s what it looks like in use:</p>
<div id="attachment_400" class="wp-caption aligncenter" style="width: 210px"><img class="size-full wp-image-400" title="Fixed css image bullets" src="http://www.myquickfix.co.uk/wp-content/uploaded/2009/06/list-fix.gif" alt="Example of image bullet in use" width="200" height="150" /><p class="wp-caption-text">Example of image bullet in use</p></div>
<p>Here&#8217;s a bit more detail so you can get your head around the spacing. It&#8217;s incredibly simple, but still, nice to have a diagram or two sometimes.</p>
<div id="attachment_401" class="wp-caption aligncenter" style="width: 410px"><img class="size-full wp-image-401" title="Fixed css image bullets - detail" src="http://www.myquickfix.co.uk/wp-content/uploaded/2009/06/list-fix-detail.gif" alt="Detail showing some dimensions and spacing" width="400" height="174" /><p class="wp-caption-text">Detail showing some dimensions and spacing</p></div>
<p>This style works perfectly (by my testing, but I&#8217;m not perfect) on:</p>
<ul>
<li>Internet Explorer 6, 7 &amp; 8+</li>
<li>Firefox 2.*+</li>
<li>Opera 9+ (not tested 8, but bet it works!</li>
<li>Google Chrome (all versions)</li>
<li>Safari (Mac and PC versions)</li>
</ul>
<div>Any problems, please post a question or comment below.</div>
]]></content:encoded>
			<wfw:commentRss>http://myquickfix.co.uk/index.php/2009/06/set-space-between-list-item-and-bullet-html-css/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Convert a VOB (DVD) movie, and import into Adobe Premiere</title>
		<link>http://myquickfix.co.uk/index.php/2009/06/convert-a-vob-dvd-movie-and-import-into-adobe-premiere/</link>
		<comments>http://myquickfix.co.uk/index.php/2009/06/convert-a-vob-dvd-movie-and-import-into-adobe-premiere/#comments</comments>
		<pubDate>Wed, 17 Jun 2009 09:27:00 +0000</pubDate>
		<dc:creator>hutch</dc:creator>
				<category><![CDATA[Adobe Premiere]]></category>
		<category><![CDATA[adobe premier]]></category>
		<category><![CDATA[dvd]]></category>
		<category><![CDATA[importing]]></category>
		<category><![CDATA[vob]]></category>

		<guid isPermaLink="false">http://www.myquickfix.co.uk/?p=385</guid>
		<description><![CDATA[Problem
A colleague was having trouble getting a DVD imported to Adobe Premier for some overlay edits etc and asked me to take a look.
Solution
VOB files are MPEG-2 files with a different coat on. Rename the .vob file to .mpg and it should work. This also works in Sony Vegas and probably other software. No idea how copy-protection on some disks might effect this?
That really WAS a quickfix and probably not worth posting. If you have any questions, thoughts or corrections please post a comment below.
]]></description>
			<content:encoded><![CDATA[<h2>Problem</h2>
<p>A colleague was having trouble getting a DVD imported to Adobe Premier for some overlay edits etc and asked me to take a look.</p>
<h2>Solution</h2>
<p>VOB files are MPEG-2 files with a different coat on. Rename the .vob file to .mpg and it should work. This also works in Sony Vegas and probably other software. No idea how copy-protection on some disks might effect this?</p>
<p>That really WAS a quickfix and probably not worth posting. If you have any questions, thoughts or corrections please post a comment below.</p>
]]></content:encoded>
			<wfw:commentRss>http://myquickfix.co.uk/index.php/2009/06/convert-a-vob-dvd-movie-and-import-into-adobe-premiere/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
