<?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="https://myquickfix.co.uk/feed/" rel="self" type="application/rss+xml" />
	<link>https://myquickfix.co.uk</link>
	<description>Ben&#039;s quick fixes for little problems...</description>
	<lastBuildDate>Tue, 28 Aug 2018 19:53:55 +0000</lastBuildDate>
	<language>en-GB</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>https://wordpress.org/?v=4.9.8</generator>
	<item>
		<title>Vacuum hose tee and better routing on the GT6</title>
		<link>https://myquickfix.co.uk/2016/08/08/vacuum-hose-tee-and-better-routing-on-the-gt6/</link>
		<comments>https://myquickfix.co.uk/2016/08/08/vacuum-hose-tee-and-better-routing-on-the-gt6/#respond</comments>
		<pubDate>Mon, 08 Aug 2016 13:11:27 +0000</pubDate>
		<dc:creator><![CDATA[ben]]></dc:creator>
				<category><![CDATA[Triumph GT6]]></category>

		<guid isPermaLink="false">https://myquickfix.co.uk/?p=661</guid>
		<description><![CDATA[Problem: The routing of the vacuum hose on the GT6 is a bit poo. Actually I don&#8217;t know what it was like from the factory, but most engine bays I&#8217;ve seen recently have it draped around the rocker cover or across it, and that can lead to problems. Solution: I wanted to fix the hose to &#8230; <a href="https://myquickfix.co.uk/2016/08/08/vacuum-hose-tee-and-better-routing-on-the-gt6/" class="more-link">Continue reading<span class="screen-reader-text"> "Vacuum hose tee and better routing on the GT6"</span></a>]]></description>
				<content:encoded><![CDATA[<p><b>Problem: </b>The routing of the vacuum hose on the GT6 is a bit poo. Actually I don&#8217;t know what it was like from the factory, but most engine bays I&#8217;ve seen recently have it draped around the rocker cover or across it, and that can <a href="https://myquickfix.co.uk/2016/07/27/vacuum-advance-hose-fix-with-wd40-nozzle/">lead to problems</a>.</p>
<p><b>Solution: </b>I wanted to fix the hose to one of the rocker shaft studs as a more secure solution but couldn&#8217;t find a suitable hose clamp with an appropriate drilling. Hence this:</p>
<p><b>Step one:</b> Source a small brass tee, 4mm O.D, and some nitrile rubber hose to suit (eBay for both, £5 delivered).<br />
<a href="https://myquickfix.co.uk/wp/wp-content/uploads/2016/08/img_1500.jpg"><img class="alignnone size-large wp-image-655" title="Brass T piece (tee)" src="https://myquickfix.co.uk/wp/wp-content/uploads/2016/08/img_1500.jpg" alt="" width="1024" height="1024" srcset="https://myquickfix.co.uk/wp/wp-content/uploads/2016/08/img_1500.jpg 2233w, https://myquickfix.co.uk/wp/wp-content/uploads/2016/08/img_1500-150x150.jpg 150w, https://myquickfix.co.uk/wp/wp-content/uploads/2016/08/img_1500-300x300.jpg 300w, https://myquickfix.co.uk/wp/wp-content/uploads/2016/08/img_1500-768x767.jpg 768w, https://myquickfix.co.uk/wp/wp-content/uploads/2016/08/img_1500-1024x1024.jpg 1024w, https://myquickfix.co.uk/wp/wp-content/uploads/2016/08/img_1500-1200x1199.jpg 1200w" sizes="(max-width: 709px) 85vw, (max-width: 909px) 67vw, (max-width: 1362px) 62vw, 840px" /></a></p>
<p><b>Step two: </b>Find something to clamp to the stud that can be bonded to the tee. I found that a solder terminal for an earth strap worked quite well.<a href="https://myquickfix.co.uk/wp/wp-content/uploads/2016/08/img_1501.jpg"><img class="alignnone size-large wp-image-653" title="Zinc plated earth terminal solder tag" src="https://myquickfix.co.uk/wp/wp-content/uploads/2016/08/img_1501.jpg" alt="" width="1024" height="1024" srcset="https://myquickfix.co.uk/wp/wp-content/uploads/2016/08/img_1501.jpg 1935w, https://myquickfix.co.uk/wp/wp-content/uploads/2016/08/img_1501-150x150.jpg 150w, https://myquickfix.co.uk/wp/wp-content/uploads/2016/08/img_1501-300x300.jpg 300w, https://myquickfix.co.uk/wp/wp-content/uploads/2016/08/img_1501-768x768.jpg 768w, https://myquickfix.co.uk/wp/wp-content/uploads/2016/08/img_1501-1024x1024.jpg 1024w, https://myquickfix.co.uk/wp/wp-content/uploads/2016/08/img_1501-1200x1199.jpg 1200w" sizes="(max-width: 709px) 85vw, (max-width: 909px) 67vw, (max-width: 1362px) 62vw, 840px" /></a></p>
<p><b>Step three: </b>Some two-part epoxy adhesive like Araldite does the trick. Here I used their &#8216;Rapid Steel&#8217; offering which comes out looking a little like metal and is good for bonding most metals.<a href="https://myquickfix.co.uk/wp/wp-content/uploads/2016/08/img_1502.jpg"><img class="alignnone size-large wp-image-654" title="Two part epoxy adhesive resin" src="https://myquickfix.co.uk/wp/wp-content/uploads/2016/08/img_1502.jpg" alt="" width="1024" height="1024" srcset="https://myquickfix.co.uk/wp/wp-content/uploads/2016/08/img_1502.jpg 1993w, https://myquickfix.co.uk/wp/wp-content/uploads/2016/08/img_1502-150x150.jpg 150w, https://myquickfix.co.uk/wp/wp-content/uploads/2016/08/img_1502-300x300.jpg 300w, https://myquickfix.co.uk/wp/wp-content/uploads/2016/08/img_1502-768x768.jpg 768w, https://myquickfix.co.uk/wp/wp-content/uploads/2016/08/img_1502-1024x1024.jpg 1024w, https://myquickfix.co.uk/wp/wp-content/uploads/2016/08/img_1502-1200x1199.jpg 1200w" sizes="(max-width: 709px) 85vw, (max-width: 909px) 67vw, (max-width: 1362px) 62vw, 840px" /></a></p>
<p><b>Step four:</b> Fill the terminal with enough mixed-up adhesive to not spill out when the tee is pressed into it.<a href="https://myquickfix.co.uk/wp/wp-content/uploads/2016/08/img_1503.jpg"><img class="alignnone size-large wp-image-656" title="Glue in terminal" src="https://myquickfix.co.uk/wp/wp-content/uploads/2016/08/img_1503.jpg" alt="" width="1024" height="1024" srcset="https://myquickfix.co.uk/wp/wp-content/uploads/2016/08/img_1503.jpg 2061w, https://myquickfix.co.uk/wp/wp-content/uploads/2016/08/img_1503-150x150.jpg 150w, https://myquickfix.co.uk/wp/wp-content/uploads/2016/08/img_1503-300x300.jpg 300w, https://myquickfix.co.uk/wp/wp-content/uploads/2016/08/img_1503-768x768.jpg 768w, https://myquickfix.co.uk/wp/wp-content/uploads/2016/08/img_1503-1024x1024.jpg 1024w, https://myquickfix.co.uk/wp/wp-content/uploads/2016/08/img_1503-1200x1199.jpg 1200w" sizes="(max-width: 709px) 85vw, (max-width: 909px) 67vw, (max-width: 1362px) 62vw, 840px" /></a></p>
<p><b>Step five:</b> Press the tee into the terminal, making sure that it&#8217;s level and straight.<a href="https://myquickfix.co.uk/wp/wp-content/uploads/2016/08/img_1504.jpg"><img class="alignnone size-large wp-image-657" title="Tee glued to terminal level" src="https://myquickfix.co.uk/wp/wp-content/uploads/2016/08/img_1504.jpg" alt="" width="768" height="1024" srcset="https://myquickfix.co.uk/wp/wp-content/uploads/2016/08/img_1504.jpg 2448w, https://myquickfix.co.uk/wp/wp-content/uploads/2016/08/img_1504-225x300.jpg 225w, https://myquickfix.co.uk/wp/wp-content/uploads/2016/08/img_1504-768x1024.jpg 768w, https://myquickfix.co.uk/wp/wp-content/uploads/2016/08/img_1504-1200x1600.jpg 1200w" sizes="(max-width: 709px) 85vw, (max-width: 909px) 67vw, (max-width: 984px) 61vw, (max-width: 1362px) 45vw, 600px" /></a><a href="https://myquickfix.co.uk/wp/wp-content/uploads/2016/08/img_1505.jpg"><img class="alignnone size-large wp-image-660" title="attached straight and neat" src="https://myquickfix.co.uk/wp/wp-content/uploads/2016/08/img_1505.jpg" alt="" width="1024" height="1024" srcset="https://myquickfix.co.uk/wp/wp-content/uploads/2016/08/img_1505.jpg 1808w, https://myquickfix.co.uk/wp/wp-content/uploads/2016/08/img_1505-150x150.jpg 150w, https://myquickfix.co.uk/wp/wp-content/uploads/2016/08/img_1505-300x300.jpg 300w, https://myquickfix.co.uk/wp/wp-content/uploads/2016/08/img_1505-768x768.jpg 768w, https://myquickfix.co.uk/wp/wp-content/uploads/2016/08/img_1505-1024x1024.jpg 1024w, https://myquickfix.co.uk/wp/wp-content/uploads/2016/08/img_1505-1200x1199.jpg 1200w" sizes="(max-width: 709px) 85vw, (max-width: 909px) 67vw, (max-width: 1362px) 62vw, 840px" /></a></p>
<p><b>Step six:</b> Support the items until they set. For Araldite Rapid this needed 45 mins undisturbed. For non-rapid types I believe it&#8217;s 24h.<a href="https://myquickfix.co.uk/wp/wp-content/uploads/2016/08/img_1507.jpg"><img class="alignnone size-large wp-image-658" title="glued tee and terminal held to set" src="https://myquickfix.co.uk/wp/wp-content/uploads/2016/08/img_1507.jpg" alt="" width="1024" height="1024" srcset="https://myquickfix.co.uk/wp/wp-content/uploads/2016/08/img_1507.jpg 1963w, https://myquickfix.co.uk/wp/wp-content/uploads/2016/08/img_1507-150x150.jpg 150w, https://myquickfix.co.uk/wp/wp-content/uploads/2016/08/img_1507-300x300.jpg 300w, https://myquickfix.co.uk/wp/wp-content/uploads/2016/08/img_1507-768x768.jpg 768w, https://myquickfix.co.uk/wp/wp-content/uploads/2016/08/img_1507-1024x1024.jpg 1024w, https://myquickfix.co.uk/wp/wp-content/uploads/2016/08/img_1507-1200x1199.jpg 1200w" sizes="(max-width: 709px) 85vw, (max-width: 909px) 67vw, (max-width: 1362px) 62vw, 840px" /></a></p>
<p><b>Step seven: </b>Fit to the engine! Happy with this. The tee holds the hose just clear of the rocker cover, and the short hose lengths either side don&#8217;t allow it to droop on the manifolds.<a href="https://myquickfix.co.uk/wp/wp-content/uploads/2016/08/img_1512.jpg"><img class="alignnone wp-image-659 size-large" title="finished item attached to my GT6" src="https://myquickfix.co.uk/wp/wp-content/uploads/2016/08/img_1512.jpg" width="1023" height="1024" srcset="https://myquickfix.co.uk/wp/wp-content/uploads/2016/08/img_1512.jpg 2447w, https://myquickfix.co.uk/wp/wp-content/uploads/2016/08/img_1512-150x150.jpg 150w, https://myquickfix.co.uk/wp/wp-content/uploads/2016/08/img_1512-300x300.jpg 300w, https://myquickfix.co.uk/wp/wp-content/uploads/2016/08/img_1512-768x768.jpg 768w, https://myquickfix.co.uk/wp/wp-content/uploads/2016/08/img_1512-1024x1024.jpg 1024w, https://myquickfix.co.uk/wp/wp-content/uploads/2016/08/img_1512-1200x1200.jpg 1200w" sizes="(max-width: 709px) 85vw, (max-width: 909px) 67vw, (max-width: 1362px) 62vw, 840px" /></a></p>
<p>Was this useful?<br />
Note: There is a rating embedded within this post, please visit this post to rate it.</p>
]]></content:encoded>
			<wfw:commentRss>https://myquickfix.co.uk/2016/08/08/vacuum-hose-tee-and-better-routing-on-the-gt6/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Vacuum advance hose fix with WD40 nozzle</title>
		<link>https://myquickfix.co.uk/2016/07/27/vacuum-advance-hose-fix-with-wd40-nozzle/</link>
		<comments>https://myquickfix.co.uk/2016/07/27/vacuum-advance-hose-fix-with-wd40-nozzle/#respond</comments>
		<pubDate>Wed, 27 Jul 2016 20:20:57 +0000</pubDate>
		<dc:creator><![CDATA[ben]]></dc:creator>
				<category><![CDATA[SuperQuickFix]]></category>
		<category><![CDATA[Triumph GT6]]></category>

		<guid isPermaLink="false">https://myquickfix.co.uk/?p=649</guid>
		<description><![CDATA[Problem: On a trip home from North Wales, the vacuum hose in my GT6 came loose and fell on the exhaust, melting and fusing it. Nasty sluggish acceleration  resulted. Solution: I had no tools besides a knife and no spare hose, but DID have a small can of WD40 in the boot.  After cutting the &#8230; <a href="https://myquickfix.co.uk/2016/07/27/vacuum-advance-hose-fix-with-wd40-nozzle/" class="more-link">Continue reading<span class="screen-reader-text"> "Vacuum advance hose fix with WD40 nozzle"</span></a>]]></description>
				<content:encoded><![CDATA[<p><b>Problem</b>: On a trip home from North Wales, the vacuum hose in my GT6 came loose and fell on the exhaust, melting and fusing it. Nasty sluggish acceleration  resulted.</p>
<p><b>Solution</b>: I had no tools besides a knife and no spare hose, but DID have a small can of WD40 in the boot. <span id="more-649"></span></p>
<p>After cutting the melted ends off both pieces of the existing hose, and cutting a 30mm peice of the WD40 can nozzle, I softened the hose over the exhaust and pressed in the nozzle. A test blow though the spliced hose showed it would allow the vacuum advance to operate and all was well for the remaining 150miles home.</p>
<p>Was this useful?<br />
Note: There is a rating embedded within this post, please visit this post to rate it.</p>
]]></content:encoded>
			<wfw:commentRss>https://myquickfix.co.uk/2016/07/27/vacuum-advance-hose-fix-with-wd40-nozzle/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>GT6 / Spitfire DIY alternator bracket improvement</title>
		<link>https://myquickfix.co.uk/2016/07/10/gt6-spitfire-diy-alternator-bracket-improvement/</link>
		<comments>https://myquickfix.co.uk/2016/07/10/gt6-spitfire-diy-alternator-bracket-improvement/#comments</comments>
		<pubDate>Sun, 10 Jul 2016 15:00:14 +0000</pubDate>
		<dc:creator><![CDATA[ben]]></dc:creator>
				<category><![CDATA[Mechanics]]></category>
		<category><![CDATA[Triumph GT6]]></category>

		<guid isPermaLink="false">https://myquickfix.co.uk/?p=605</guid>
		<description><![CDATA[Problem: Years back when I first did an alternator conversion on the GT6 the very rudimentary &#8216;pull it hard and tighten the nut&#8217; fan belt tensioning method really annoyed me. It seemed there should be a way to achieve finite adjustment, and not risk noisy, slack or dangerously tight belt tension. Solution: I don&#8217;t remember &#8230; <a href="https://myquickfix.co.uk/2016/07/10/gt6-spitfire-diy-alternator-bracket-improvement/" class="more-link">Continue reading<span class="screen-reader-text"> "GT6 / Spitfire DIY alternator bracket improvement"</span></a>]]></description>
				<content:encoded><![CDATA[<p><b>Problem: </b>Years back when I first did an alternator conversion on the GT6 the very rudimentary &#8216;pull it hard and tighten the nut&#8217; fan belt tensioning method really annoyed me. It seemed there should be a way to achieve finite adjustment, and not risk noisy, slack or dangerously tight belt tension.</p>
<p><b>Solution: </b>I don&#8217;t remember where now, but somewhere I saw a rigging screw (sometimes called a Turnbuckle). They are available in a load of sizes, lengths and materials from chandlers (sailing suppliers). So I used one of these to solve the problem. I then went on to sell them for a while on eBay under the name Mere Components.<span id="more-606"></span></p>
<p><b>Type:</b> The type I chose for this job has two &#8216;jaw&#8217; ends which usually come with a removable pin. Other types of end available are hook, eye (round and oval) and swage, so be specific when ordering.</p>
<p><b>Size:</b> Rather fortunately there&#8217;s a commonly available 8mm size. It has M8 threads, 8mm pin and 8mm clearance drilling in the Jaw, and the Jaw gap is also 8mm which suits the flange on a Lucas A127 alternator which you&#8217;re probably using&#8230; right?</p>
<p><b>Material:</b> Given that Turnbuckles are used in sailing, many are available in marine-grade stainless steel. Galvanised steel is available but&#8230; nope.</p>
<p><b>Modifying  an &#8216;off the shelf&#8217; turnbuckle:</b> The alternator-end can be used as-is, bolted to the alternator with a stainless M8 bolt, nyloc nut and washers. See the following image:</p>
<p><a href="https://myquickfix.co.uk/wp/wp-content/uploads/2016/07/img_1380.jpg"><img class="alignnone size-large wp-image-632" title="Alternator end of turnbuckle adjuster" src="https://myquickfix.co.uk/wp/wp-content/uploads/2016/07/img_1380.jpg" alt="" width="1365" height="1024" srcset="https://myquickfix.co.uk/wp/wp-content/uploads/2016/07/img_1380.jpg 3264w, https://myquickfix.co.uk/wp/wp-content/uploads/2016/07/img_1380-300x225.jpg 300w, https://myquickfix.co.uk/wp/wp-content/uploads/2016/07/img_1380-768x576.jpg 768w, https://myquickfix.co.uk/wp/wp-content/uploads/2016/07/img_1380-1024x768.jpg 1024w, https://myquickfix.co.uk/wp/wp-content/uploads/2016/07/img_1380-1200x900.jpg 1200w" sizes="(max-width: 709px) 85vw, (max-width: 909px) 67vw, (max-width: 1362px) 62vw, 840px" /></a></p>
<p>The other end needs to attach to the head via one of the water pump housing bolts. This is a 5/16&#8243; bolt which is near-as-dammit 8mm, so perfect for the 8mm clearance hole in the Jaw. To avoid having to use a longer than standard bolt, and fouling the water temperature sender attachment, one half of the Jaw should be cut / ground off. I found that a new hacksaw blade, and several passes over a bench-grinder made a nice neat Job of it. See pic:</p>
<p><a href="https://myquickfix.co.uk/wp/wp-content/uploads/2016/07/img_1383.jpg"><img class="alignnone size-large wp-image-639" title="Water pump end of adjuster with cut and ground Jaw." src="https://myquickfix.co.uk/wp/wp-content/uploads/2016/07/img_1383.jpg" alt="" width="1365" height="1024" srcset="https://myquickfix.co.uk/wp/wp-content/uploads/2016/07/img_1383.jpg 3264w, https://myquickfix.co.uk/wp/wp-content/uploads/2016/07/img_1383-300x225.jpg 300w, https://myquickfix.co.uk/wp/wp-content/uploads/2016/07/img_1383-768x576.jpg 768w, https://myquickfix.co.uk/wp/wp-content/uploads/2016/07/img_1383-1024x768.jpg 1024w, https://myquickfix.co.uk/wp/wp-content/uploads/2016/07/img_1383-1200x900.jpg 1200w" sizes="(max-width: 709px) 85vw, (max-width: 909px) 67vw, (max-width: 1362px) 62vw, 840px" /></a><br />
Finally, the two nuts that came with the turnbuckle I bought were very weedy, so I found a &#8216;normal&#8217; sized stainless M8 nut, and a reverse-threaded one, to replace them with. There are not nylocs, so two 5/16 fibre washers are performing locking duty.</p>
<p>Here&#8217;s a pic showing the whole thing installed:</p>
<p><a href="https://myquickfix.co.uk/wp/wp-content/uploads/2016/07/img_1384.jpg"><img class="alignnone size-large wp-image-631" title="Stainless alternator bracket fitted to GT6 Mk1" src="https://myquickfix.co.uk/wp/wp-content/uploads/2016/07/img_1384.jpg" alt="" width="1365" height="1024" srcset="https://myquickfix.co.uk/wp/wp-content/uploads/2016/07/img_1384.jpg 2027w, https://myquickfix.co.uk/wp/wp-content/uploads/2016/07/img_1384-300x225.jpg 300w, https://myquickfix.co.uk/wp/wp-content/uploads/2016/07/img_1384-768x576.jpg 768w, https://myquickfix.co.uk/wp/wp-content/uploads/2016/07/img_1384-1024x768.jpg 1024w, https://myquickfix.co.uk/wp/wp-content/uploads/2016/07/img_1384-1200x900.jpg 1200w" sizes="(max-width: 709px) 85vw, (max-width: 909px) 67vw, (max-width: 1362px) 62vw, 840px" /></a></p>
<p>These pics are courtesy of Roy Lacey, showing the one I made for his GT6 as a prototype years back.</p>
<p>Side-note: I see that Quiller Triumph still have these listed as for sale at £32! Goodness&#8230; they used to buy them off me a few at a time for about£10 or something back in 2008, crazy. Here&#8217;s one of my old photos that they&#8217;ve &#8216;borrowed&#8217; it seems for their website:</p>
<p><img class="alignnone size-medium wp-image-645" src="https://myquickfix.co.uk/wp/wp-content/uploads/2016/07/alternator-adjustable-bracket-stainless-300x225.jpg" alt="alternator adjustable bracket stainless" width="300" height="225" srcset="https://myquickfix.co.uk/wp/wp-content/uploads/2016/07/alternator-adjustable-bracket-stainless-300x225.jpg 300w, https://myquickfix.co.uk/wp/wp-content/uploads/2016/07/alternator-adjustable-bracket-stainless.jpg 400w" sizes="(max-width: 300px) 85vw, 300px" /></p>
<p>&nbsp;</p>
<p>Was this useful?<br />
Note: There is a rating embedded within this post, please visit this post to rate it.</p>
]]></content:encoded>
			<wfw:commentRss>https://myquickfix.co.uk/2016/07/10/gt6-spitfire-diy-alternator-bracket-improvement/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Flush the DNS Cache on Mac OS El Capitan (using a nice quick alias)</title>
		<link>https://myquickfix.co.uk/2016/06/29/flush-the-dns-cache-on-el-capitan-using-a-nice-quick-alias/</link>
		<comments>https://myquickfix.co.uk/2016/06/29/flush-the-dns-cache-on-el-capitan-using-a-nice-quick-alias/#comments</comments>
		<pubDate>Wed, 29 Jun 2016 09:09:48 +0000</pubDate>
		<dc:creator><![CDATA[ben]]></dc:creator>
				<category><![CDATA[Computers]]></category>

		<guid isPermaLink="false">https://myquickfix.co.uk/?p=626</guid>
		<description><![CDATA[Updated June 2016: For OS X / 10.11 / El Capitan Problem: I&#8217;ve updated some Name Server records on a domain and I want to check they&#8217;ve propagated using Dig. When I dig mydomain.com ns I keep getting the old results. Solution: The local DNS cache on the machine needs to be cleared. As far as the &#8230; <a href="https://myquickfix.co.uk/2016/06/29/flush-the-dns-cache-on-el-capitan-using-a-nice-quick-alias/" class="more-link">Continue reading<span class="screen-reader-text"> "Flush the DNS Cache on Mac OS El Capitan (using a nice quick alias)"</span></a>]]></description>
				<content:encoded><![CDATA[<p><strong>Updated June 2016:</strong> For OS X / 10.11 / El Capitan</p>
<p><strong>Problem:</strong> I&#8217;ve updated some Name Server records on a domain and I want to check they&#8217;ve propagated using <a title="unix Dig man page" href="http://linux.die.net/man/1/dig">Dig</a>. When I <code>dig mydomain.com ns</code> I keep getting the old results.</p>
<p><strong>Solution:</strong> The local DNS cache on the machine needs to be cleared. As far as the OS is concerned, it&#8217;s already looked up that domain name and doesn&#8217;t need to do a fresh lookup until the domain record&#8217;s TTL (time to live) has expired.</p>
<p>On OS X 10.11 El Capitan there are two things needed. Firstly clearing the Directory Service cache and secondly forcing mDNSResponder to restart. This can be done using two commands in Terminal¹:</p>
<pre lang="bash" escaped="true">$ dscacheutil -flushcache
$ sudo killall -HUP mDNSResponder</pre>
<p><span id="more-626"></span></p>
<p><strong>A Nice Quick Alias:</strong> But really&#8230; who&#8217;s going to remember that? So I&#8217;ve added an alias to make it easier. Aliases are added (amongst other places) to your user&#8217;s <code>.bash_profile</code>² file. To edit your bash profile file, open it with the following command in terminal¹:</p>
<pre lang="bash" escaped="true">$ nano ~/.bash_profile</pre>
<p>Then once nano (the text editor) is open, add the following line to the file:</p>
<pre lang="bash" escaped="true">alias flushdns='dscacheutil -flushcache;sudo killall -HUP mDNSResponder;say -v Zarvox dee enn es flushed'</pre>
<p>To save the file, press <code>Control (ctrl)</code> + <code>x</code> and follow the prompts.<br />
Once this is saved, load the changes you&#8217;ve made into your current terminal session with the command:</p>
<pre lang="bash" escaped="true">$ source ~/.bash_profile</pre>
<p>Now when you type <code>flushdns</code> in terminal, your caches will be cleared! woo!</p>
<p><strong>Tips:</strong><br />
1. The quickest way to open Terminal (or anything actually) is to use Spotlight. Press the <code>Command (cmd)</code> + <code>Space</code> keys, and type &#8216;Terminal&#8217; in the resulting input, then press <code>Return / Enter</code>.<br />
2. If your bash profile doesn&#8217;t exist, it might be empty when you type the nano command above. This is ok, when you <code>Control (ctrl)</code> + <code>x</code> after adding the line, the new file will be created.<br />
3. When opening the bash profile file, I used <code>~/</code> before the file name. This is to ensure that it opens the profile file of the user you&#8217;re currently logged in as.<br />
4. You might notice the &#8216;say&#8217; command in the alias. This uses the built-in Mac OS text-to-voice engine to say &#8220;DNS flushed&#8221; in a robotic voice&#8230; just getting y&#8217;all used to it for the robot uprising <img src="https://s.w.org/images/core/emoji/11/72x72/1f642.png" alt="🙂" class="wp-smiley" style="height: 1em; max-height: 1em;" /></p>
<p>Please let me know if this post was useful with a click!<br />
Note: There is a rating embedded within this post, please visit this post to rate it.</p>
]]></content:encoded>
			<wfw:commentRss>https://myquickfix.co.uk/2016/06/29/flush-the-dns-cache-on-el-capitan-using-a-nice-quick-alias/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>DIY Torque Wrench recalibration (with another one)</title>
		<link>https://myquickfix.co.uk/2016/06/11/diy-torque-wrench-recalibration-with-another-one/</link>
		<comments>https://myquickfix.co.uk/2016/06/11/diy-torque-wrench-recalibration-with-another-one/#respond</comments>
		<pubDate>Sat, 11 Jun 2016 23:31:28 +0000</pubDate>
		<dc:creator><![CDATA[ben]]></dc:creator>
				<category><![CDATA[Mechanics]]></category>

		<guid isPermaLink="false">https://myquickfix.co.uk/?p=591</guid>
		<description><![CDATA[Problem: My old cheap Draper torque wrench was last used 7 years ago, and in that time I left it set to 40NM. Stoopid! Now I have no idea if it&#8217;s reading correctly and don&#8217;t want to risk snapping the studs on my head. Solution: I borrowed a good (Digital Snap-On&#8230; oh my&#8230;) Torque Wrench &#8230; <a href="https://myquickfix.co.uk/2016/06/11/diy-torque-wrench-recalibration-with-another-one/" class="more-link">Continue reading<span class="screen-reader-text"> "DIY Torque Wrench recalibration (with another one)"</span></a>]]></description>
				<content:encoded><![CDATA[<p><b>Problem:</b> My old cheap Draper torque wrench was last used 7 years ago, and in that time I left it set to 40NM. Stoopid! Now I have no idea if it&#8217;s reading correctly and don&#8217;t want to risk snapping the studs on my head.</p>
<p><b>Solution:</b> I borrowed a good (Digital Snap-On&#8230; oh my&#8230;) Torque Wrench from a mechanic mate to test mine against. Here&#8217;s the method that worked for me:<span id="more-591"></span></p>
<p><b>Step 1:</b> I set the Draper to 50NM. It&#8217;s a bit of a rubbish adjuster so had to make a best guess.<br />
<a href="https://myquickfix.co.uk/2016/06/11/diy-torque-wrench-recalibration-with-another-one/img_1226-jpg/"><img class="aligncenter wp-image-590 size-large" src="https://myquickfix.co.uk/wp/wp-content/uploads/2016/06/img_1226-1024x1024.jpg" width="840" height="840" srcset="https://myquickfix.co.uk/wp/wp-content/uploads/2016/06/img_1226-1024x1024.jpg 1024w, https://myquickfix.co.uk/wp/wp-content/uploads/2016/06/img_1226-150x150.jpg 150w, https://myquickfix.co.uk/wp/wp-content/uploads/2016/06/img_1226-300x300.jpg 300w, https://myquickfix.co.uk/wp/wp-content/uploads/2016/06/img_1226-768x767.jpg 768w, https://myquickfix.co.uk/wp/wp-content/uploads/2016/06/img_1226-1200x1199.jpg 1200w" sizes="(max-width: 709px) 85vw, (max-width: 909px) 67vw, (max-width: 1362px) 62vw, 840px" /></a></p>
<p><b>Step 2: </b>The Draper is 1/2&#8243; drive and Snap-On is 3/4&#8243;. I have more 3/4&#8243; sockets than 1/2&#8243;, so I looked for one that would fit the square end of the Draper as though it&#8217;s a bolt or nut. Turned out to be a 15mm 12-point one:<br />
<a href="https://myquickfix.co.uk/2016/06/11/diy-torque-wrench-recalibration-with-another-one/img_1228-jpg/"><img class="aligncenter wp-image-593 size-large" src="https://myquickfix.co.uk/wp/wp-content/uploads/2016/06/img_1228-1024x1024.jpg" width="840" height="840" srcset="https://myquickfix.co.uk/wp/wp-content/uploads/2016/06/img_1228-1024x1024.jpg 1024w, https://myquickfix.co.uk/wp/wp-content/uploads/2016/06/img_1228-150x150.jpg 150w, https://myquickfix.co.uk/wp/wp-content/uploads/2016/06/img_1228-300x300.jpg 300w, https://myquickfix.co.uk/wp/wp-content/uploads/2016/06/img_1228-768x768.jpg 768w, https://myquickfix.co.uk/wp/wp-content/uploads/2016/06/img_1228-1200x1200.jpg 1200w" sizes="(max-width: 709px) 85vw, (max-width: 909px) 67vw, (max-width: 1362px) 62vw, 840px" /></a></p>
<p>Might be a bit hard to imagine what I mean about using the 3/4&#8243; socket on the 1/2&#8243; drive, so here&#8217;s a pic: <a href="https://myquickfix.co.uk/2016/06/11/diy-torque-wrench-recalibration-with-another-one/img_1229-jpg/"><img class="aligncenter wp-image-594 size-large" src="https://myquickfix.co.uk/wp/wp-content/uploads/2016/06/img_1229-1024x1024.jpg" width="840" height="840" srcset="https://myquickfix.co.uk/wp/wp-content/uploads/2016/06/img_1229-1024x1024.jpg 1024w, https://myquickfix.co.uk/wp/wp-content/uploads/2016/06/img_1229-150x150.jpg 150w, https://myquickfix.co.uk/wp/wp-content/uploads/2016/06/img_1229-300x300.jpg 300w, https://myquickfix.co.uk/wp/wp-content/uploads/2016/06/img_1229-768x768.jpg 768w, https://myquickfix.co.uk/wp/wp-content/uploads/2016/06/img_1229-1200x1200.jpg 1200w" sizes="(max-width: 709px) 85vw, (max-width: 909px) 67vw, (max-width: 1362px) 62vw, 840px" /></a></p>
<p><b>Step 3: </b>Now I set both wrenches to &#8216;ratchet&#8217; anti-clockwise, i.e. The way it usually is to tighten stuff! I also set the Snap-On to 60NM so it would NOT beep/vibrate when the Draper clicked (hopefully) but would save the max torque measurement. I then placed the wrenches parallel to each other, offset slightly, and squeezed the two handles together until the Draper clicked. &#8216;Gripping&#8217; the two levers together like this allows for great control. As soon as the Draper clicked I slack off, and the Snap-On&#8217;s display stays on the highest torque reading. In my case it read 55NM, so my Draper was over-reading by 5NM!<br />
<a href="https://myquickfix.co.uk/2016/06/11/diy-torque-wrench-recalibration-with-another-one/img_1231-jpg/"><img class="aligncenter wp-image-597 size-large" src="https://myquickfix.co.uk/wp/wp-content/uploads/2016/06/img_1231-1024x1024.jpg" width="840" height="840" srcset="https://myquickfix.co.uk/wp/wp-content/uploads/2016/06/img_1231-1024x1024.jpg 1024w, https://myquickfix.co.uk/wp/wp-content/uploads/2016/06/img_1231-150x150.jpg 150w, https://myquickfix.co.uk/wp/wp-content/uploads/2016/06/img_1231-300x300.jpg 300w, https://myquickfix.co.uk/wp/wp-content/uploads/2016/06/img_1231-768x768.jpg 768w, https://myquickfix.co.uk/wp/wp-content/uploads/2016/06/img_1231-1200x1200.jpg 1200w" sizes="(max-width: 709px) 85vw, (max-width: 909px) 67vw, (max-width: 1362px) 62vw, 840px" /></a></p>
<p><b>Step 4: </b>To adjust the Draper a small brass cover screw had to be removed:<br />
<a href="https://myquickfix.co.uk/2016/06/11/diy-torque-wrench-recalibration-with-another-one/img_1225-jpg/" rel="attachment wp-att-603"><img class="aligncenter wp-image-603 size-large" src="https://myquickfix.co.uk/wp/wp-content/uploads/2016/06/img_1225-1024x1024.jpg" alt="img_1225.jpg" width="840" height="840" srcset="https://myquickfix.co.uk/wp/wp-content/uploads/2016/06/img_1225-1024x1024.jpg 1024w, https://myquickfix.co.uk/wp/wp-content/uploads/2016/06/img_1225-150x150.jpg 150w, https://myquickfix.co.uk/wp/wp-content/uploads/2016/06/img_1225-300x300.jpg 300w, https://myquickfix.co.uk/wp/wp-content/uploads/2016/06/img_1225-768x767.jpg 768w, https://myquickfix.co.uk/wp/wp-content/uploads/2016/06/img_1225-1200x1199.jpg 1200w" sizes="(max-width: 709px) 85vw, (max-width: 909px) 67vw, (max-width: 1362px) 62vw, 840px" /></a>&#8230; and under this is a hex/Allen head adjuster. Turning clockwise reduces the reading, anti-clockwise increases it. I found a 180° clockwise turn made the Draper read between about 49.5 to 50.5NM. Seemed about as accurate as I could get:<br />
<a href="https://myquickfix.co.uk/2016/06/11/diy-torque-wrench-recalibration-with-another-one/img_1227-jpg/" rel="attachment wp-att-604"><img class="aligncenter size-large wp-image-604" src="https://myquickfix.co.uk/wp/wp-content/uploads/2016/06/img_1227-1024x1024.jpg" alt="img_1227.jpg" width="840" height="840" srcset="https://myquickfix.co.uk/wp/wp-content/uploads/2016/06/img_1227-1024x1024.jpg 1024w, https://myquickfix.co.uk/wp/wp-content/uploads/2016/06/img_1227-150x150.jpg 150w, https://myquickfix.co.uk/wp/wp-content/uploads/2016/06/img_1227-300x300.jpg 300w, https://myquickfix.co.uk/wp/wp-content/uploads/2016/06/img_1227-768x768.jpg 768w, https://myquickfix.co.uk/wp/wp-content/uploads/2016/06/img_1227-1200x1200.jpg 1200w" sizes="(max-width: 709px) 85vw, (max-width: 909px) 67vw, (max-width: 1362px) 62vw, 840px" /></a>The end&#8230; done, I&#8217;m happy enough with that now. I tried several other settings and the draper is now reading about 1% over / under.</p>
<p><b>Notes: </b>This technique does work with a non-digital Torque Wrench as the test device. You just need to hope the &#8216;clicks&#8217; are quite distinctive <img src="https://s.w.org/images/core/emoji/11/72x72/1f642.png" alt="🙂" class="wp-smiley" style="height: 1em; max-height: 1em;" /></p>
<p>Please let me know if this post was useful with a click!<br />
Note: There is a rating embedded within this post, please visit this post to rate it.</p>
]]></content:encoded>
			<wfw:commentRss>https://myquickfix.co.uk/2016/06/11/diy-torque-wrench-recalibration-with-another-one/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Get terminal / bash prompt to show useful info</title>
		<link>https://myquickfix.co.uk/2016/06/08/get-terminal-bash-prompt-to-show-useful-info/</link>
		<comments>https://myquickfix.co.uk/2016/06/08/get-terminal-bash-prompt-to-show-useful-info/#respond</comments>
		<pubDate>Wed, 08 Jun 2016 11:30:30 +0000</pubDate>
		<dc:creator><![CDATA[ben]]></dc:creator>
				<category><![CDATA[OS X / Unix]]></category>
		<category><![CDATA[SuperQuickFix]]></category>

		<guid isPermaLink="false">https://myquickfix.co.uk/?p=570</guid>
		<description><![CDATA[Problem: Well it&#8217;s more of an irritation. My new hosting provider does allow SSH access, but when logged in the bash prompt looks like this, regardless of which account  I&#8217;m logged-in as, or where I am: -bash-4.2$ What I want is for it to show something like: username@server:/current/path$ Solution: The bash prompt can be customised &#8230; <a href="https://myquickfix.co.uk/2016/06/08/get-terminal-bash-prompt-to-show-useful-info/" class="more-link">Continue reading<span class="screen-reader-text"> "Get terminal / bash prompt to show useful info"</span></a>]]></description>
				<content:encoded><![CDATA[<p><strong>Problem:</strong> Well it&#8217;s more of an irritation. My new hosting provider does allow SSH access, but when logged in the bash prompt looks like this, regardless of which account  I&#8217;m logged-in as, or where I am:</p>
<pre lang="bash" escaped="true">-bash-4.2$</pre>
<p>What I want is for it to show something like:</p>
<pre lang="bash" escaped="true">username@server:/current/path$</pre>
<p><strong>Solution:</strong> The bash prompt can be customised via a profile script, ideally anything that loads when you log in like &#8216;.bash_profile&#8217;, &#8216;.bashrc&#8217; or &#8216;.profile&#8217;. If one of these files doesn&#8217;t already exist in your home directory (check with <code>ls -la ~</code> to list the contents) then create one. Here is an example of creating, editing and loading a login script to show a better prompt.</p>
<p><span id="more-570"></span></p>
<p><strong>Step 1:</strong> Create the file and open it for editing.</p>
<pre lang="bash" escaped="true">$ touch ~/.bash_profile
$ nano ~/.bash_profile</pre>
<p><em>Notes:</em><br />
<em> &#8211; Deciding which file to create probably depends on your OS flavour. Maybe Google it? I searched for &#8220;centos 6 user login script&#8221; and found that when using an &#8220;interactive login shell&#8221; these two files are read: &#8216;.bash_profile&#8217; and &#8216;.profile&#8217;.</em><br />
<em> &#8211; `touch` creates the file with owner and permissions given to the currently logged-in user.</em><br />
<em> &#8211; `nano` is a nice easy to use text editor. If it&#8217;s not available, try `vim`, or if you hate yourself use `vi` and spend 30 mins googling the correct commands to save and exit the file again.</em></p>
<p><strong>Step 2:</strong> Add the following to the file, then save it.</p>
<pre lang="bash" escaped="true">export PS1="\u@\h:\w$ "</pre>
<p><em>Notes:</em><br />
<em> &#8211; An explanation of the special characters that can be used with the prompt can be found under &#8216;PROMPTING&#8217; on <a href="http://linux.die.net/man/1/bash">the bash man page</a>. But for brevity:</em><br />
<em> &#8216;u&#8217; = username of current user.</em><br />
<em> &#8216;h&#8217; = the hostname up to the first &#8216;.&#8217;.</em><br />
<em> &#8216;w&#8217; = the current working directory, with $HOME abbreviated with a tilde.</em></p>
<p><strong>Step 3:</strong> Make the change take effect.<br />
Just logging-out and logging-in again should show your changes. Maybe a more solution is to load the script again with the following command:</p>
<pre lang="bash" escaped="true">$ source ~/.bash_profile</pre>
<p><em>Notes:</em><br />
<em> &#8211; If this has no effect, it might be that &#8216;.bashrc&#8217; or &#8216;.profile&#8217; should have been used for your server.</em></p>
<p><strong>Result:</strong> On my server, when logged in right now I get the following:</p>
<pre lang="bash" escaped="true">ben@myhost:~/httpdocs/wp$</pre>
<p>which is much better than:</p>
<pre lang="bash" escaped="true">-bash-4.2$</pre>
<p>Any questions?</p>
<p>Please let me know if this post was useful with a click!<br />
Note: There is a rating embedded within this post, please visit this post to rate it.</p>
]]></content:encoded>
			<wfw:commentRss>https://myquickfix.co.uk/2016/06/08/get-terminal-bash-prompt-to-show-useful-info/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Homemade Triumph GT6 seat base diaphragm</title>
		<link>https://myquickfix.co.uk/2016/06/08/homemade-triumph-gt6-seat-base-diaphragm/</link>
		<comments>https://myquickfix.co.uk/2016/06/08/homemade-triumph-gt6-seat-base-diaphragm/#respond</comments>
		<pubDate>Wed, 08 Jun 2016 00:41:27 +0000</pubDate>
		<dc:creator><![CDATA[ben]]></dc:creator>
				<category><![CDATA[Engineering]]></category>
		<category><![CDATA[Mechanics]]></category>
		<category><![CDATA[Triumph GT6]]></category>

		<guid isPermaLink="false">https://myquickfix.co.uk/?p=564</guid>
		<description><![CDATA[Problem: Both rubber diaphragms under my Triumph GT6 (mk1) seats were shot, no longer able to support the seat base cushion squab thing. &#160; Solution: Whilst these diaphragms are available (well, Mini ones are and they look pretty similar) I don&#8217;t want to spend £70 on a pair of new ones. Wife had an old summer &#8230; <a href="https://myquickfix.co.uk/2016/06/08/homemade-triumph-gt6-seat-base-diaphragm/" class="more-link">Continue reading<span class="screen-reader-text"> "Homemade Triumph GT6 seat base diaphragm"</span></a>]]></description>
				<content:encoded><![CDATA[<p><b>Problem: </b>Both rubber diaphragms under my Triumph GT6 (mk1) seats were shot, no longer able to support the seat base cushion squab thing.</p>
<p><a href="https://myquickfix.co.uk/2016/06/08/homemade-triumph-gt6-seat-base-diaphragm/img_1198-jpg/"><img class="aligncenter wp-image-566 size-large" src="https://myquickfix.co.uk/wp/wp-content/uploads/2016/06/img_1198-1024x1024.jpg" alt="Ripped and perished rubber seat diaphragm" width="840" height="840" srcset="https://myquickfix.co.uk/wp/wp-content/uploads/2016/06/img_1198-1024x1024.jpg 1024w, https://myquickfix.co.uk/wp/wp-content/uploads/2016/06/img_1198-150x150.jpg 150w, https://myquickfix.co.uk/wp/wp-content/uploads/2016/06/img_1198-300x300.jpg 300w, https://myquickfix.co.uk/wp/wp-content/uploads/2016/06/img_1198-768x768.jpg 768w, https://myquickfix.co.uk/wp/wp-content/uploads/2016/06/img_1198-1200x1200.jpg 1200w" sizes="(max-width: 709px) 85vw, (max-width: 909px) 67vw, (max-width: 1362px) 62vw, 840px" /></a></p>
<p>&nbsp;</p>
<p><b>Solution: </b>Whilst these diaphragms are available (well, Mini ones are and they look pretty similar) I don&#8217;t want to spend £70 on a pair of new ones. Wife had an old summer wetsuit she didn&#8217;t want which looked perfect!</p>
<p><span id="more-564"></span></p>
<p><strong>Step 1:</strong> Cut the wetsuit into several flat pieces (I advise cutting along the inner thigh; leg sections are quite wide when opened-out) then trace roughly around the old diaphragm with a sharpie. Thin neoprene is more stretchy than the original rubber so I cut two pieces to glue together, and also cut about 10mm inside the drawn outline to try and accommodate for the extra tension needed.</p>
<p><strong>Step 2:</strong> Using a contact adhesive, spread a thin covering of glue on both pieces and let it become touch-dry. Then press both pieces together and place some weight on the centre of the two glued-together pieces <strong>BUT </strong>don&#8217;t apply weight to the eight &#8216;lugs&#8217; at the edges where the holes will go. A large log worked here, but you might find a plant pot more suitable. Leave for a few hours, but not too long because&#8230;</p>
<p><strong>Step 3:</strong> gently peel the two sides of each of the eight lugs apart enough to insert a washer. If the previous glue application has been left too long to set, a scalpel might need to be used to encourage the sides to part. Once both sides are pulled apart and &#8211; neoprene being fairly floppy as it is &#8211; gaping open, apply glue to both inner sides again, and both sides of a washer. Let them air dry.</p>
<p><strong>Step 4:</strong> Place the washer in the sort-of pocket that&#8217;s been created by the two sides of the lug, and make sure it&#8217;s in deep enough to allow some neoprene to be stuck directly together all the way around it. Then when done for all eight lugs, <strong>DO</strong> apply weight to the whole surface, maybe with two gurt sheets of wood. Leave to set nicely for 24h.</p>
<p><strong>Step 5:</strong> Punch the holes out the middle of the washers. I literally used a 5mm parallel punch into a piece of hardwood.</p>
<p>Sorry for the lack of pictures, but at this stage the new diaphragm looks like this:<br />
<a href="https://myquickfix.co.uk/2016/06/08/homemade-triumph-gt6-seat-base-diaphragm/img_1223-jpg/"><img class="aligncenter wp-image-577 size-large" src="https://myquickfix.co.uk/wp/wp-content/uploads/2016/06/img_1223-1024x1024.jpg" width="840" height="840" srcset="https://myquickfix.co.uk/wp/wp-content/uploads/2016/06/img_1223-1024x1024.jpg 1024w, https://myquickfix.co.uk/wp/wp-content/uploads/2016/06/img_1223-150x150.jpg 150w, https://myquickfix.co.uk/wp/wp-content/uploads/2016/06/img_1223-300x300.jpg 300w, https://myquickfix.co.uk/wp/wp-content/uploads/2016/06/img_1223-768x768.jpg 768w, https://myquickfix.co.uk/wp/wp-content/uploads/2016/06/img_1223-1200x1200.jpg 1200w" sizes="(max-width: 709px) 85vw, (max-width: 909px) 67vw, (max-width: 1362px) 62vw, 840px" /></a></p>
<p><strong>Step 6:</strong> Fit it!</p>
<p><a href="https://myquickfix.co.uk/2016/06/08/homemade-triumph-gt6-seat-base-diaphragm/img_1224-jpg/"><img class="aligncenter wp-image-585 size-large" src="https://myquickfix.co.uk/wp/wp-content/uploads/2016/06/img_1224-1024x1024.jpg" width="840" height="840" srcset="https://myquickfix.co.uk/wp/wp-content/uploads/2016/06/img_1224-1024x1024.jpg 1024w, https://myquickfix.co.uk/wp/wp-content/uploads/2016/06/img_1224-150x150.jpg 150w, https://myquickfix.co.uk/wp/wp-content/uploads/2016/06/img_1224-300x300.jpg 300w, https://myquickfix.co.uk/wp/wp-content/uploads/2016/06/img_1224-768x768.jpg 768w, https://myquickfix.co.uk/wp/wp-content/uploads/2016/06/img_1224-1200x1199.jpg 1200w" sizes="(max-width: 709px) 85vw, (max-width: 909px) 67vw, (max-width: 1362px) 62vw, 840px" /></a></p>
<p>Please let me know if this post was useful with a click!<br />
Note: There is a rating embedded within this post, please visit this post to rate it.</p>
]]></content:encoded>
			<wfw:commentRss>https://myquickfix.co.uk/2016/06/08/homemade-triumph-gt6-seat-base-diaphragm/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Updated for 1.2 &#038; 1.3: Adding category depth tag to Shopp</title>
		<link>https://myquickfix.co.uk/2015/05/11/adding-category-depth-tag-to-shopp-1-1/</link>
		<comments>https://myquickfix.co.uk/2015/05/11/adding-category-depth-tag-to-shopp-1-1/#comments</comments>
		<pubDate>Mon, 11 May 2015 20:57:08 +0000</pubDate>
		<dc:creator><![CDATA[ben]]></dc:creator>
				<category><![CDATA[Shopp Plugin]]></category>

		<guid isPermaLink="false">https://myquickfix.co.uk/?p=206</guid>
		<description><![CDATA[Problem: I needed to display sub categories of a category in category.php but only one level deep. Using: &#60;?php if(shopp('category','hascategories')): ?&#62; &#60;?php while(shopp('category','subcategories')): ?&#62; //display stuff &#60;?php endwhile; ?&#62; &#60;?php endif; ?&#62; &#8230;displays all subcast AND their subcats. Fix: I decided to add a new tag, called shopp(&#8216;subcategory&#8217;, &#8216;depth&#8217;) that would return the category depth. &#8230; <a href="https://myquickfix.co.uk/2015/05/11/adding-category-depth-tag-to-shopp-1-1/" class="more-link">Continue reading<span class="screen-reader-text"> "Updated for 1.2 &#038; 1.3: Adding category depth tag to Shopp"</span></a>]]></description>
				<content:encoded><![CDATA[<p><strong>Problem:</strong> I needed to display sub categories of a category in category.php but only one level deep. Using:</p>
<pre lang="php" escaped="true">&lt;?php if(shopp('category','hascategories')): ?&gt;
  &lt;?php while(shopp('category','subcategories')): ?&gt;
    //display stuff
  &lt;?php endwhile; ?&gt;
&lt;?php endif; ?&gt;</pre>
<p>&#8230;displays all subcast AND their subcats.<span id="more-206"></span></p>
<p><strong>Fix:</strong> I decided to add a new tag, called shopp(&#8216;subcategory&#8217;, &#8216;depth&#8217;) that would return the category depth. That way in the loop above this would show only immediate children:</p>
<pre lang="php" escaped="true">&lt;?php if(shopp('category','hascategories')): ?&gt;
  &lt;?php while(shopp('category','subcategories')):
    $depth = shopp('subcategory', 'depth', 'return=true');
    if($depth!=0):
      continue;
    endif; ?&gt;
   //else display stuff
&lt;?php endwhile; ?&gt;
&lt;?php endif; ?&gt;</pre>
<p><strong>Adding the new tag in Shopp 1.1:</strong> Open the theme&#8217;s functions.php file and add this:</p>
<pre lang="php" escaped="true">add_filter('shopp_tag_category_depth','return_cat_depth',10, 3);
add_filter('shopp_tag_subcategory_depth','return_cat_depth',10, 3);
function return_cat_depth($result, $options, $Category) {
 return $Category-&gt;depth;
}</pre>
<p><strong>Adding the new tag in Shopp 1.2 and 1.3+:</strong> Open the theme&#8217;s functions.php file and add this:</p>
<pre lang="php" escaped="true">add_filter('shopp_themeapi_collection_depth','lookup_my_depth',10, 3);
function lookup_my_depth ($result, $options, $Category) {
 $ancestors = get_ancestors($Category-&gt;id, 'shopp_category' );
 return(count($ancestors));
}</pre>
<p>&#8230;once that&#8217;s added, shopp(&#8216;subcategory&#8217;, &#8216;depth&#8217;) can be used anywhere in the Shopp templates.</p>
]]></content:encoded>
			<wfw:commentRss>https://myquickfix.co.uk/2015/05/11/adding-category-depth-tag-to-shopp-1-1/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Flush the DNS Cache on Yosemite (using a nice quick alias)</title>
		<link>https://myquickfix.co.uk/2015/03/19/flush-the-dns-cache-on-yosemite-using-a-nice-quick-alias/</link>
		<comments>https://myquickfix.co.uk/2015/03/19/flush-the-dns-cache-on-yosemite-using-a-nice-quick-alias/#respond</comments>
		<pubDate>Thu, 19 Mar 2015 08:36:09 +0000</pubDate>
		<dc:creator><![CDATA[ben]]></dc:creator>
				<category><![CDATA[Computers]]></category>

		<guid isPermaLink="false">https://myquickfix.co.uk/?p=539</guid>
		<description><![CDATA[Problem: I&#8217;ve updated some Name Server records on a domain and I want to check they&#8217;ve propagated using Dig. When I dig mydomain.com ns I keep getting the old results. Solution: The local DNS cache on the machine needs to be cleared. As far as the OS is concerned, it&#8217;s already looked up that domain &#8230; <a href="https://myquickfix.co.uk/2015/03/19/flush-the-dns-cache-on-yosemite-using-a-nice-quick-alias/" class="more-link">Continue reading<span class="screen-reader-text"> "Flush the DNS Cache on Yosemite (using a nice quick alias)"</span></a>]]></description>
				<content:encoded><![CDATA[<p><strong>Problem:</strong> I&#8217;ve updated some Name Server records on a domain and I want to check they&#8217;ve propagated using <a href="http://linux.die.net/man/1/dig" title="unix Dig man page">Dig</a>. When I <code>dig mydomain.com ns</code> I keep getting the old results. </p>
<p><strong>Solution:</strong> The local DNS cache on the machine needs to be cleared. As far as the OS is concerned, it&#8217;s already looked up that domain name and doesn&#8217;t need to do a fresh lookup until the domain record&#8217;s TTL (time to live) has expired.</p>
<p>On OS X Yosemite there are two name resolution caches that need emptying, Multicast DNS and Unicast DNS. They can be cleared / emptied / flushed using two commands in Terminal:</p>
<pre escaped="true" lang="bash">
sudo discoveryutil mdnsflushcache
sudo discoveryutil udnsflushcaches</pre>
<p><span id="more-539"></span></p>
<p><strong>A Nice Quick Alias:</strong> But really&#8230; who&#8217;s going to remember that? So I&#8217;ve added an alias to make it easier. Aliases are added (amongst other places) to your user&#8217;s <code>.bash_profile</code> file. To edit your bash profile file, open it with the following command in terminal:</p>
<pre escaped="true" lang="bash">
nano ~/.bash_profile</pre>
<p>Then once nano (the text editor) is open, add the following line to the file:</p>
<pre escaped="true" lang="bash">
alias flushdns='sudo sh -c "discoveryutil mdnsflushcache; discoveryutil udnsflushcaches"'</pre>
<p>To save the file, press <code>Control (ctrl)</code> + <code>x</code> and follow the prompts.<br />
Once this is saved, load the changes you&#8217;ve made into your current terminal session with the command:</p>
<pre escaped="true" lang="bash">
source ~/.bash_profile</pre>
<p>Now when you type <code>flushdns</code> in terminal, your caches will be cleared! woo!</p>
<p><strong>Tips:</strong><br />
1. The quickest way to open Terminal (or anything actually) is to use Spotlight. Press the <code>Command (cmd)</code> + <code>Space</code> keys, and type &#8216;Terminal&#8217; in the resulting input, then press <code>Return / Enter</code>.<br />
2. If your bash profile doesn&#8217;t exist, it might be empty when you type the nano command above. This is ok, when you <code>Control (ctrl)</code> + <code>x</code> after adding the line, the new file will be created.<br />
3. When opening the bash profile file, I used <code>~/</code> before the file name. This is to ensure that it opens the profile file of the user you&#8217;re currently logged in as.</p>
<p>Please let me know if this post was useful with a click!<br />
Note: There is a rating embedded within this post, please visit this post to rate it.</p>
]]></content:encoded>
			<wfw:commentRss>https://myquickfix.co.uk/2015/03/19/flush-the-dns-cache-on-yosemite-using-a-nice-quick-alias/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Homemade 6v Conlog type alarm fob battery.</title>
		<link>https://myquickfix.co.uk/2014/12/19/homemade-6v-conlog-type-alarm-fob-battery/</link>
		<comments>https://myquickfix.co.uk/2014/12/19/homemade-6v-conlog-type-alarm-fob-battery/#respond</comments>
		<pubDate>Fri, 19 Dec 2014 17:02:25 +0000</pubDate>
		<dc:creator><![CDATA[ben]]></dc:creator>
				<category><![CDATA[SuperQuickFix]]></category>
		<category><![CDATA[VW Golf VR6]]></category>

		<guid isPermaLink="false">https://myquickfix.co.uk/?p=504</guid>
		<description><![CDATA[Problem: A few old 90&#8217;s alarm key fobs use 6 volt batteries made up of 4 separate 1.5v button cells. Last year I needed one quick-like &#8211; same day &#8211; for the Golf Mk3 I&#8217;d just bought. There are plenty online, eBay etc, for about £5 to £10 but I couldn&#8217;t wait 2 days for &#8230; <a href="https://myquickfix.co.uk/2014/12/19/homemade-6v-conlog-type-alarm-fob-battery/" class="more-link">Continue reading<span class="screen-reader-text"> "Homemade 6v Conlog type alarm fob battery."</span></a>]]></description>
				<content:encoded><![CDATA[<p><strong>Problem:</strong> A few old 90&#8217;s alarm key fobs use 6 volt batteries made up of 4 separate 1.5v button cells. Last year I needed one quick-like &#8211; same day &#8211; for the Golf Mk3 I&#8217;d just bought. There are plenty online, eBay etc, for about £5 to £10 but I couldn&#8217;t wait 2 days for one.</p>
<p><strong>Solution:</strong> Nipped down to the Pound Shop and bought an assorted selection of hearing-aid button cell batteries for a quid! Taping four AG3&#8217;s together with Sellotape or Electrical Tape didn&#8217;t make a good enough electrical connection between the cells. Turns out a piece of Heat Shrink tubing, placed over all 4, then gently shrank (shrunk?) with a lighter forces the cells together nicely! After this is done, trim the top and bottom of the tubing to make sure the battery contacts are able to make connection.<span id="more-504"></span></p>
<p><strong>Pics:</strong> Below you can see the homemade battery from top and bottom. Under there&#8217;s a pic of the &#8216;proper&#8217; one.<br />
<a href="https://myquickfix.co.uk/wp/wp-content/uploads/2014/12/IMG_2093.jpg"><img class="aligncenter size-large wp-image-501" src="https://myquickfix.co.uk/wp/wp-content/uploads/2014/12/IMG_2093-1024x768.jpg" alt="Homemade 6v conlog battery from AG3 button cells - negative" width="660" height="495" srcset="https://myquickfix.co.uk/wp/wp-content/uploads/2014/12/IMG_2093-1024x768.jpg 1024w, https://myquickfix.co.uk/wp/wp-content/uploads/2014/12/IMG_2093-300x225.jpg 300w, https://myquickfix.co.uk/wp/wp-content/uploads/2014/12/IMG_2093-768x576.jpg 768w, https://myquickfix.co.uk/wp/wp-content/uploads/2014/12/IMG_2093-1200x900.jpg 1200w" sizes="(max-width: 709px) 85vw, (max-width: 909px) 67vw, (max-width: 984px) 61vw, (max-width: 1362px) 45vw, 600px" /></a></p>
<p><a href="https://myquickfix.co.uk/wp/wp-content/uploads/2014/12/IMG_2095.jpg"><img class="aligncenter size-large wp-image-503" src="https://myquickfix.co.uk/wp/wp-content/uploads/2014/12/IMG_2095-1024x768.jpg" alt="Homemade 6v conlog battery from AG3 button cells - positive" width="660" height="495" srcset="https://myquickfix.co.uk/wp/wp-content/uploads/2014/12/IMG_2095-1024x768.jpg 1024w, https://myquickfix.co.uk/wp/wp-content/uploads/2014/12/IMG_2095-300x225.jpg 300w, https://myquickfix.co.uk/wp/wp-content/uploads/2014/12/IMG_2095-768x576.jpg 768w, https://myquickfix.co.uk/wp/wp-content/uploads/2014/12/IMG_2095-1200x900.jpg 1200w" sizes="(max-width: 709px) 85vw, (max-width: 909px) 67vw, (max-width: 984px) 61vw, (max-width: 1362px) 45vw, 600px" /></a></p>
<p><a href="https://myquickfix.co.uk/wp/wp-content/uploads/2014/12/IMG_2092.jpg"><img class="aligncenter size-large wp-image-502" src="https://myquickfix.co.uk/wp/wp-content/uploads/2014/12/IMG_2092-1024x768.jpg" alt="6v 4-393 type battery that was originally fitted" width="660" height="495" srcset="https://myquickfix.co.uk/wp/wp-content/uploads/2014/12/IMG_2092-1024x768.jpg 1024w, https://myquickfix.co.uk/wp/wp-content/uploads/2014/12/IMG_2092-300x225.jpg 300w, https://myquickfix.co.uk/wp/wp-content/uploads/2014/12/IMG_2092-768x576.jpg 768w, https://myquickfix.co.uk/wp/wp-content/uploads/2014/12/IMG_2092-1200x900.jpg 1200w" sizes="(max-width: 709px) 85vw, (max-width: 909px) 67vw, (max-width: 984px) 61vw, (max-width: 1362px) 45vw, 600px" /></a></p>
<p><strong>Longterm Use:</strong> I&#8217;ve been using this solution for a year and the batteries have just run out. I was using 4 AG3 type button cells, but any 1.5v types that are small enough to fit in the Key Fob case would be fine. This time around I&#8217;m using a &#8216;proper&#8217; one from eBay &#8211; part 4/393 &#8211; as I had more time to order it.</p>
<p>Please let me know if this post was useful with a click, be honest <img src="https://s.w.org/images/core/emoji/11/72x72/1f642.png" alt="🙂" class="wp-smiley" style="height: 1em; max-height: 1em;" /><br />
Note: There is a rating embedded within this post, please visit this post to rate it.</p>
]]></content:encoded>
			<wfw:commentRss>https://myquickfix.co.uk/2014/12/19/homemade-6v-conlog-type-alarm-fob-battery/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
