<?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>Vim, Cygwin, MySQL &#38; Zsh Tips by zzapper &#187; Uncategorized</title>
	<atom:link href="http://zzapper.co.uk/category/uncategorized/feed/" rel="self" type="application/rss+xml" />
	<link>http://zzapper.co.uk</link>
	<description></description>
	<lastBuildDate>Wed, 18 Jan 2012 23:15:31 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>In Demand Web Skills</title>
		<link>http://zzapper.co.uk/in-demand-web-skills/</link>
		<comments>http://zzapper.co.uk/in-demand-web-skills/#comments</comments>
		<pubDate>Tue, 12 Jul 2011 17:52:14 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://zzapper.co.uk/?p=178</guid>
		<description><![CDATA[What is currently in demand is PHP5 that means OOP, any framework eg CakePHP/Zend or CodeIgniter and Jquery (Javascript) or good enough or on its own the serious Drupal experience. If you&#8217;ve got these you are gold dust, if not you are &#8230; dust &#8230; any comments?]]></description>
			<content:encoded><![CDATA[<p>What is currently in demand is PHP5 that means OOP, any framework eg CakePHP/Zend or CodeIgniter and Jquery (Javascript) or good enough or on its own the serious Drupal experience.<br />
If you&#8217;ve got these you are gold dust, if not you are &#8230; dust &#8230;</p>
<p>any comments?</p>
]]></content:encoded>
			<wfw:commentRss>http://zzapper.co.uk/in-demand-web-skills/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Activate Windows 7 Recent Documents</title>
		<link>http://zzapper.co.uk/activate-windows-7-recent-documents/</link>
		<comments>http://zzapper.co.uk/activate-windows-7-recent-documents/#comments</comments>
		<pubDate>Mon, 03 Jan 2011 10:31:08 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[windows Tips]]></category>
		<category><![CDATA[windows tips]]></category>

		<guid isPermaLink="false">http://zzapper.co.uk/?p=129</guid>
		<description><![CDATA[Years ago Microsoft announced that Windows would be Data Driven rather than Application Driven. In your Start Menu you could see a list of recent documents worked on images, spreadsheets,databases. You just had to click on one of them to re-open it. Strangely hardly anyone used it, and Microsoft, as is their wont, forgot about [...]]]></description>
			<content:encoded><![CDATA[<p>Years ago Microsoft announced that Windows would be Data Driven rather than Application Driven. In your Start Menu you could see a list of recent documents worked on images, spreadsheets,databases. You just had to click on one of them to re-open it. Strangely hardly anyone used it, and Microsoft, as is their wont, forgot about it as well. It was however extremely useful, here is how to reenable it in Windows 7.</p>
<p>Right click the Start/Win button, select Properties<br />
Click the Start Menu tab (it should be select as default)<br />
Click the Customize button<br />
Scroll down and check the Recent Items check box<br />
Click Ok<br />
Click Apply<br />
Click Ok<br />
You should now have a &#8220;Recent&#8221; option in the start menu.</p>
]]></content:encoded>
			<wfw:commentRss>http://zzapper.co.uk/activate-windows-7-recent-documents/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>How to Tell How long Since a PC has Been Restarted</title>
		<link>http://zzapper.co.uk/how-to-tell-how-long-since-a-pc-has-been-restarted/</link>
		<comments>http://zzapper.co.uk/how-to-tell-how-long-since-a-pc-has-been-restarted/#comments</comments>
		<pubDate>Tue, 13 Jul 2010 22:45:24 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://zzapper.co.uk/?p=109</guid>
		<description><![CDATA[From A Dos Window net statistics workstation]]></description>
			<content:encoded><![CDATA[<p>From A Dos Window</p>
<p>net statistics workstation</p>
]]></content:encoded>
			<wfw:commentRss>http://zzapper.co.uk/how-to-tell-how-long-since-a-pc-has-been-restarted/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Perl: Regexp to filter out/match just the price/floating point number ie digits and dots</title>
		<link>http://zzapper.co.uk/perl-regexp-to-filter-outmatch-just-the-pricefloating-point-number-ie-digits-and-dots/</link>
		<comments>http://zzapper.co.uk/perl-regexp-to-filter-outmatch-just-the-pricefloating-point-number-ie-digits-and-dots/#comments</comments>
		<pubDate>Thu, 15 Apr 2010 11:05:59 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[perl]]></category>
		<category><![CDATA[price]]></category>
		<category><![CDATA[regex]]></category>
		<category><![CDATA[regexp]]></category>

		<guid isPermaLink="false">http://zzapper.co.uk/perl-regexp-to-filter-outmatch-just-the-pricefloating-pint-number-ie-digits-and-dots/</guid>
		<description><![CDATA[There are two ways:- $price=~tr/0-9.//cd; # delete anything but 0-9 and a real dot $row_array[6]=~s/[^0-9.]//g; # clean up price, remove pound/dollar sign etc]]></description>
			<content:encoded><![CDATA[<p>There are two ways:-</p>
<p>$price=~tr/0-9.//cd; # delete anything but 0-9 and a real dot</p>
<p>$row_array[6]=~s/[^0-9.]//g; # clean up price, remove pound/dollar sign etc</p>
]]></content:encoded>
			<wfw:commentRss>http://zzapper.co.uk/perl-regexp-to-filter-outmatch-just-the-pricefloating-point-number-ie-digits-and-dots/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Useful VIM Abbreviations for Debugging Perl</title>
		<link>http://zzapper.co.uk/useful-vim-abbreviations-for-debugging-perl/</link>
		<comments>http://zzapper.co.uk/useful-vim-abbreviations-for-debugging-perl/#comments</comments>
		<pubDate>Fri, 05 Mar 2010 21:51:44 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://zzapper.co.uk/?p=87</guid>
		<description><![CDATA[iab perlb print &#8220;&#60;p>debug ::: $_ :: $&#8217; :: $` line &#8220;.__LINE__.&#8221;\n&#8221;;exit; iab perlbb print &#8220;&#60;p>debug ::: &#60;C-R>a line &#8220;.__LINE__.&#8221;\n&#8221;;exit; iab perlbd do{print &#8220;&#60;p>debug :: &#60;C-R>a line &#8220;.__LINE__.&#8221;\n&#8221;;exit} if $_ =~ /\w\w/i; iab perld use Data::Dumper; print Dumper %ENV; the &#60;C-R>a automatically inserts whatever variable you had previously stored in register a]]></description>
			<content:encoded><![CDATA[<div class=box>
iab perlb  print &#8220;&lt;p>debug ::: $_ :: $&#8217; :: $`  line &#8220;.__LINE__.&#8221;\n&#8221;;exit;<br />
iab perlbb print &#8220;&lt;p>debug ::: &lt;C-R>a  line &#8220;.__LINE__.&#8221;\n&#8221;;exit;<br />
iab perlbd do{print &#8220;&lt;p>debug :: &lt;C-R>a  line &#8220;.__LINE__.&#8221;\n&#8221;;exit} if $_ =~ /\w\w/i;<br />
iab perld use Data::Dumper; print Dumper %ENV;</p>
<p>the &lt;C-R>a automatically inserts whatever variable you had previously stored in register a
</p></div>
]]></content:encoded>
			<wfw:commentRss>http://zzapper.co.uk/useful-vim-abbreviations-for-debugging-perl/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Copying all but today&#8217;s files</title>
		<link>http://zzapper.co.uk/copying-all-but-todays-files/</link>
		<comments>http://zzapper.co.uk/copying-all-but-todays-files/#comments</comments>
		<pubDate>Wed, 24 Feb 2010 23:23:55 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://zzapper.co.uk/?p=85</guid>
		<description><![CDATA[I&#8217;d put some new files into a folder before remembering to mothball all the old files:- Here is a zsh solution:- &#62;mv *.*(^m-1)   ./old]]></description>
			<content:encoded><![CDATA[<p>I&#8217;d put some new files into a folder before remembering to mothball all the old files:-</p>
<p>Here is a zsh solution:-</p>
<p>&gt;mv *.*(^m-1)   ./old</p>
]]></content:encoded>
			<wfw:commentRss>http://zzapper.co.uk/copying-all-but-todays-files/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Viewing Remembered Password in Firefox</title>
		<link>http://zzapper.co.uk/viewing-remembered-password-in-firefox/</link>
		<comments>http://zzapper.co.uk/viewing-remembered-password-in-firefox/#comments</comments>
		<pubDate>Mon, 18 Jan 2010 18:09:03 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[firefox]]></category>
		<category><![CDATA[password]]></category>
		<category><![CDATA[security]]></category>

		<guid isPermaLink="false">http://zzapper.co.uk/viewing-remembered-password-in-firefox/</guid>
		<description><![CDATA[You know the frustration of being able to log into a website because your browser has remembered the password but you have forgotten it and so cannot login from another pc. Well FireFox will show them to you options->security->Saved Passwords then click Show Passwords You may want to consider the security implications as well, to [...]]]></description>
			<content:encoded><![CDATA[<p>You know the frustration of being able to log into a website because your browser has<br />
remembered the password but you have forgotten it and so cannot login from another pc.<br />
Well FireFox will show them to you</p>
<p>options->security->Saved Passwords then click Show Passwords</p>
<p>You may want to consider the security implications as well, to disable this feature while<br />
retaining the ability of the browser to remember passwords</p>
<p>go to</p>
<p>options->security-set master password</p>
<p>I personally never let a browser remember say my PayPal password</p>
]]></content:encoded>
			<wfw:commentRss>http://zzapper.co.uk/viewing-remembered-password-in-firefox/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>copy a file while modifying a value inside it</title>
		<link>http://zzapper.co.uk/copy-a-file-while-modifying-a-value-inside-it/</link>
		<comments>http://zzapper.co.uk/copy-a-file-while-modifying-a-value-inside-it/#comments</comments>
		<pubDate>Thu, 14 Jan 2010 21:20:33 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://zzapper.co.uk/?p=68</guid>
		<description><![CDATA[The sed does the filtering, you should be able to see how to adapt this to your own requirements So I want to duplicate init.php while changing the value of a flag inside it for each copy cat init.php &#124; sed s/flag=2/flag=3/ &#62; dir3/init.php cat init.php &#124; sed s/flag=2/flag=4/ &#62; dir4/init.php If you see the [...]]]></description>
			<content:encoded><![CDATA[<p>The sed does the filtering, you should be able to see how to adapt this to your own requirements</p>
<p>So I want to duplicate init.php while changing the value of a flag inside it for each copy</p>
<p>cat init.php | sed s/flag=2/flag=3/ &gt; dir3/init.php<br />
cat init.php | sed s/flag=2/flag=4/ &gt; dir4/init.php</p>
<p>If you see the first comment Bawdo suggests rightly that this is a UUOC</p>
<p>sed &#8220;s/flag=2/flag=4/&#8221;  init.php &gt; dir4/init.php</p>
<p>I&#8217;ve always underused sed unfortunately</p>
<p>which then can written (zsh)</p>
<p>for i in {3,4}; sed s/flag=2/flag=$i/ init.php &gt; dir$i/init.php</p>
<p>sed stands for stream editor and therefore cannot do an in place edit this is where perl thrives</p>
<p>perl -p -i -e &#8216;s/\surname\b/form_surname/g&#8217;    *.php</p>
<p>or safer</p>
<p>perl -p -i.bak -e &#8216;s/\b23\b/34/g&#8217;  fred.php  (creates a backup of each file eg fred.bak)</p>
]]></content:encoded>
			<wfw:commentRss>http://zzapper.co.uk/copy-a-file-while-modifying-a-value-inside-it/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Forgetting How You Solved a Problem the First Time</title>
		<link>http://zzapper.co.uk/forgetting-how-you-solved-a-problem-the-first-time/</link>
		<comments>http://zzapper.co.uk/forgetting-how-you-solved-a-problem-the-first-time/#comments</comments>
		<pubDate>Wed, 13 Jan 2010 20:55:06 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://zzapper.co.uk/?p=65</guid>
		<description><![CDATA[Today I had to update a 12 year old Higgledy-piggledy Microsoft Access Database application to work with the year 2010 instead of 2009 amongst other things . The original designer had needlessly hard-coded the current year&#8217;s and previous year&#8217;s date anyway I had some notes from when I did it 12 months ago which described [...]]]></description>
			<content:encoded><![CDATA[<p>Today I had to update a 12 year old Higgledy-piggledy Microsoft Access Database application to work with the year 2010 instead of 2009 amongst other things . The original designer had needlessly hard-coded the current year&#8217;s and previous year&#8217;s date anyway I had some notes from when I did it 12 months ago which described what values need changing, but could I find where those values were defined? My notes were not specific enough. The REAL PROBLEM was that last year I must have altered these values without too much of a sweat and so not taken much trouble to note down exactly.</p>
<p>Fortunately I remembered the wonderful <a title="Stackoverflow solve technical problems" href="http://stackoverflow.com/users/94335/zzapper" target="_blank">stackoverflow.com</a> website. I posed my question and got several useful pointers in a few minutes and these helped me find the solution which was to set the option search whole project.</p>
<p>This is actually a generic problem in life when we realize that we&#8217;ve been doing something automatically and been unconscious of how we did it.</p>
]]></content:encoded>
			<wfw:commentRss>http://zzapper.co.uk/forgetting-how-you-solved-a-problem-the-first-time/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>PHP : Read XML File with simplexml_load_file Test Script</title>
		<link>http://zzapper.co.uk/php-read-xml-file-with-simplexml_load_file-test-script/</link>
		<comments>http://zzapper.co.uk/php-read-xml-file-with-simplexml_load_file-test-script/#comments</comments>
		<pubDate>Wed, 16 Dec 2009 13:41:25 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://zzapper.co.uk/?p=55</guid>
		<description><![CDATA[&#60;?php /* create test.xml from following lines &#60;?xml version="1.0" encoding="ISO-8859-1"?> &#60;note> &#60;to>Fred&#60;/to> &#60;from>Joe&#60;/from> &#60;heading>Reminder&#60;/heading> &#60;body>Meeting Tomorrow&#60;/body> &#60;/note> */ error_reporting(E_ALL); if (!function_exists('simplexml_load_file')) exit('&#60;br>function does not exist'); if (file_exists('test.xml')) { $xml = @simplexml_load_file('test.xml'); echo "&#60;pre>";var_dump($xml); } else { exit('&#60;br>Error could not locate XML file'); } ?>]]></description>
			<content:encoded><![CDATA[<p><code><br />
&lt;?php<br />
/* create test.xml from following lines<br />
&lt;?xml version="1.0" encoding="ISO-8859-1"?><br />
&lt;note><br />
&lt;to>Fred&lt;/to><br />
&lt;from>Joe&lt;/from><br />
&lt;heading>Reminder&lt;/heading><br />
&lt;body>Meeting Tomorrow&lt;/body><br />
&lt;/note><br />
*/<br />
error_reporting(E_ALL);<br />
if (!function_exists('simplexml_load_file')) exit('&lt;br>function does not exist');<br />
if (file_exists('test.xml'))<br />
  {<br />
  $xml = @simplexml_load_file('test.xml');<br />
  echo "&lt;pre>";var_dump($xml);<br />
  }<br />
else { exit('&lt;br>Error could not locate XML file'); }<br />
?> </p>
<p></code></p>
]]></content:encoded>
			<wfw:commentRss>http://zzapper.co.uk/php-read-xml-file-with-simplexml_load_file-test-script/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

