<?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>Kirrus' Blog &#187; tips</title>
	<atom:link href="http://kirrus.co.uk/tag/tips/feed/" rel="self" type="application/rss+xml" />
	<link>http://kirrus.co.uk</link>
	<description>MindDump. Photos. And random ramblings.</description>
	<lastBuildDate>Wed, 25 Aug 2010 00:17:44 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>Windows Command Line Ping Replacement</title>
		<link>http://kirrus.co.uk/2010/08/windows-command-line-ping-replacement/</link>
		<comments>http://kirrus.co.uk/2010/08/windows-command-line-ping-replacement/#comments</comments>
		<pubDate>Wed, 25 Aug 2010 00:17:44 +0000</pubDate>
		<dc:creator>garreth</dc:creator>
				<category><![CDATA[Internet]]></category>
		<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[software]]></category>
		<category><![CDATA[tips]]></category>
		<category><![CDATA[tools]]></category>

		<guid isPermaLink="false">http://kirrus.co.uk/2010/08/windows-command-line-ping-replacement/</guid>
		<description><![CDATA[So the windows version of ping is really stupid. I was writing a batch script to mount up a network share that involved checking to ensure my NAS unit was turned on. The script is scheduled to run after the computer resumes. What I found out is that the built in version of Ping.exe is [...]]]></description>
			<content:encoded><![CDATA[<p>So the windows version of ping is really stupid. </p>
<p>I was writing a batch script to mount up a network share that involved checking to ensure my NAS unit was turned on. The script is scheduled to run after the computer resumes.</p>
<p>What I found out is that the built in version of Ping.exe is terrible at telling you whether the ping has returned successfully or not. I was checking the ERRORLEVEL &#8211; %ERRORLEVEL% variable to find out what ping was returning. It should be 0 for success and 1 or higher for a failure. </p>
<p>What I found was, i was getting replies from the local pc (dunno why, leave me a comment if you know) and ping was reporting a success even though the correct pc failed to reply. The solution?   <br />Replace the Windows ping.exe with <strong><a href="http://www.kwakkelflap.com/fping.html">Fping.</a></strong> It has a lot more options and appears – from some initial quick tests – to correctly report the errorlevel. </p>
<p>Kudos to Wouter Dhondt for developing it. I’ll update this post with any more news!</p>
<p>&#160;</p>
<p align="center"><a href="http://kirrus.co.uk/wp-content/uploads/2010/08/image.png"><img style="border-bottom: 0px; border-left: 0px; display: block; float: none; margin-left: auto; border-top: 0px; margin-right: auto; border-right: 0px" title="image" border="0" alt="image" src="http://kirrus.co.uk/wp-content/uploads/2010/08/image_thumb.png" width="496" height="484" /></a> Fping vs Ping errorlevel return values</p>
]]></content:encoded>
			<wfw:commentRss>http://kirrus.co.uk/2010/08/windows-command-line-ping-replacement/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Hidden Ubuntu Gems: Window Selection, Always on Top &amp; Password Gen</title>
		<link>http://kirrus.co.uk/2008/05/hidden-ubuntu-gems_1/</link>
		<comments>http://kirrus.co.uk/2008/05/hidden-ubuntu-gems_1/#comments</comments>
		<pubDate>Sat, 31 May 2008 11:01:28 +0000</pubDate>
		<dc:creator>Kirrus</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Remember This]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[pwgen]]></category>
		<category><![CDATA[tips]]></category>

		<guid isPermaLink="false">http://kirrus.co.uk/?p=35</guid>
		<description><![CDATA[I thought it was probably a good time for another Ubuntu-related post, so here we go. Window Selection Something I found on one of my explorations, is this really handy feature (handy for me at least), which allows you to give a window &#8220;focus&#8221; (or selection) merely by putting your mouse over it. To activate [...]]]></description>
			<content:encoded><![CDATA[<p>I thought it was probably a good time for another Ubuntu-related post, so here we go.</p>
<h4>Window Selection</h4>
<p><a href="http://kirrus.co.uk/wp-content/uploads/2008/05/window-preferences.png"><img class="alignright size-medium wp-image-36" title="Window Preferences" src="http://kirrus.co.uk/wp-content/uploads/2008/05/window-preferences-300x278.png" alt="Window controls, selection raising etc" width="300" height="278" /></a></p>
<p>Something I found on one of my explorations, is this really handy feature (handy for me at least), which allows you to give a window &#8220;focus&#8221; (or selection) merely by putting your mouse over it. To activate it, click on &#8220;System&#8221;, go to &#8220;Preferences&#8221;, and then click on &#8220;Window&#8221;. Up pops a small selection window.</p>
<p>As you can see, I&#8217;ve ticked &#8220;Select windows when the mouse moves over them&#8221;. You can also have windows be raised to the top of the screen if you hold your mouse over them for a certain length of time. As my collegue at work found, setting the interval to &#8220;0&#8243; is not very useful&#8230;</p>
<p>There are a couple of other tweaks you can make here. I&#8217;ll let you explore them on your own <img src='http://kirrus.co.uk/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<h4>Always on Top</h4>
<p>&#8220;Always on Top&#8221; allows you to basically tell the system that you want a window to be the upper-most on the screen, no matter what else you do. You can&#8217;t &#8220;Raise&#8221; anything above it. I tend to use this little gem with my next tip.</p>
<p>Set a window to be always on top by right clicking on the title bar (the big orange bar at the top of the window, which contains the minimize, maximize and close buttons). Click the &#8220;Always on Top&#8221; option. That  window will now stick on top of your screen. Undo it, by right clicking again on the title bar, and clicking &#8220;Always on Top&#8221; again.</p>
<h4>Password Gen (pwgen)</h4>
<p>pwgen is a small, neat, command-line program to quickly generate fairly easy-to-remember, fairly secure passwords. You can <a href="apt://pwgen">install it by clicking here</a>, or going to whichever package manager you prefer (synaptic, Add-Remove Programs, apt-get or aptitude) and installing &#8220;pwgen&#8221;.<img class="alignright size-full wp-image-37" title="Password Generator" src="http://kirrus.co.uk/wp-content/uploads/2008/05/pwgen.png" alt="a screenshot of pwgen with my preferred settings in use" width="267" height="83" /></p>
<p>Use it simply by typing &#8220;pwgen&#8221; in a terminal (&#8220;Applications&#8221; &gt; &#8220;Accessories&#8221; &gt; &#8220;Terminal&#8221;). I tend to run it with the command &#8220;pwgen 8 1&#8243;, which generates one 8 character password.</p>
<p>Now, if you&#8217;re adding a lot of users to a system or something (I am currently at work), using a combination of these tips will save you time&#8230; I&#8217;ll leave it up to you to work out how to combine them. (Hint: resizing a terminal window like I did above is a good starting point.)</p>
]]></content:encoded>
			<wfw:commentRss>http://kirrus.co.uk/2008/05/hidden-ubuntu-gems_1/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
