<?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>HB blog &#187; Fix</title>
	<atom:link href="http://blog.hbcom.info/archives/category/fix/feed" rel="self" type="application/rss+xml" />
	<link>http://blog.hbcom.info</link>
	<description>Just another weblog OR maybe not</description>
	<lastBuildDate>Tue, 29 Nov 2011 15:08:47 +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>Change timezone in CentOS &#8211; command line</title>
		<link>http://blog.hbcom.info/archives/572?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=change-timezone-in-centos-command-line</link>
		<comments>http://blog.hbcom.info/archives/572#comments</comments>
		<pubDate>Mon, 28 Nov 2011 15:55:42 +0000</pubDate>
		<dc:creator>hb</dc:creator>
				<category><![CDATA[Fix]]></category>
		<category><![CDATA[centos]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[timezone]]></category>

		<guid isPermaLink="false">http://blog.hbcom.info/?p=572</guid>
		<description><![CDATA[If you just got your new CentOS server. After a while you notice that timestamps in your logfiles are shifted with few hours. So what could be wrong? Actually is really simple &#8211; most probably your timezone is not correct. To check run &#8220;date&#8221; from command line, this will show what is the time for [...]]]></description>
			<content:encoded><![CDATA[<p>If you just got your new CentOS server.</p>
<p>After a while you notice that timestamps in your logfiles are shifted with few hours. So what could be wrong?<br />
Actually is really simple &#8211; most probably your timezone is not correct. To check run &#8220;date&#8221; from command line, this will show what is the time for your server.<br />
Then you find that the timezone is not correct?!</p>
<p>How do you set the correct one?</p>
<p>Unfortunately, this is not an easy thing to figure out. Official documentation states that you can use system-config-date, but it has a bunch of dependencies (when I ran yum install system-config-date on one of my servers it asked to install 84 packages).</p>
<p>So is there an alternative way to do it?</p>
<p>All timezone files are located in /usr/share/zoneinfo. To select the appropriate named timezone for your location. For my location, Montreal, Canada, I actually have to select: America/Montreal. For you it could be different so make note of the appropriate folder and file for your timezone.</p>
<p>The active timezone used on your system is in the /etc/localtime file.</p>
<p>The default will vary depending on your server host and it depends on the value that was provided during installation.<br />
We simply need to replace this file with the file we selected in the previous step.<br />
Even I say replace, actually is recommended to create a link to the pertinent file rather than actually replacing the file.</p>
<p>Here are the steps to follow:</p>
<p>First, backup the existing localtime file (it is always good practice to make backups of original config files).<br />
<code></code></p>
<p><code>mv /etc/localtime /etc/localtime.bak</code></p>
<p>Next, create the link:<br />
<code></code></p>
<p><code>ln -s /usr/share/zoneinfo/<strong></strong> /etc/localtime</code></p>
<p>Test your change.<br />
Run “date” from the command line, and ensure that the appropriate time, date, and timezone are reported.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.hbcom.info/archives/572/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Temporary license expired</title>
		<link>http://blog.hbcom.info/archives/372?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=temporary-license-expired</link>
		<comments>http://blog.hbcom.info/archives/372#comments</comments>
		<pubDate>Mon, 31 Oct 2011 13:51:39 +0000</pubDate>
		<dc:creator>hb</dc:creator>
				<category><![CDATA[Fix]]></category>
		<category><![CDATA[fix]]></category>
		<category><![CDATA[Howto]]></category>
		<category><![CDATA[terminal services]]></category>
		<category><![CDATA[windows]]></category>

		<guid isPermaLink="false">http://blog.hbcom.info/?p=372</guid>
		<description><![CDATA[It happens that sometimes when connecting to misconfigured Windows Terminal server (TS) client receives following error message: &#8220;Your temporary license about to expire in&#8230; days&#8221; This is usually dye to misconfiguration on the server side, but here is the trick to get additional 90 days temporary license: WARNING: This requires editing of Windows registry. Use [...]]]></description>
			<content:encoded><![CDATA[<p>It happens that sometimes when connecting to misconfigured Windows Terminal server (TS) client receives following error message:</p>
<p style="padding-left: 30px;"><em>&#8220;Your temporary license about to expire in&#8230; days&#8221;</em></p>
<p>This is usually dye to misconfiguration on the server side, but here is the trick to get additional 90 days temporary license:</p>
<p><strong>WARNING</strong>: This requires editing of Windows registry. Use it on your own risk.</p>
<ol>
<li>Launch regedit &#8211; Start -&gt; Run&#8230; -&gt; regedit</li>
<li>Go to HKLM\Software\Microsoft\MSLicensing\</li>
<li>Delete hardwareID entry.</li>
<li>Enjoy another 90 days, but not forget to plan for fixing the issue <img src='http://blog.hbcom.info/wp-includes/images/smilies/icon_rolleyes.gif' alt=':roll:' class='wp-smiley' /> </li>
</ol>
]]></content:encoded>
			<wfw:commentRss>http://blog.hbcom.info/archives/372/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Install dig in Debian</title>
		<link>http://blog.hbcom.info/archives/438?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=install-dig-in-debian</link>
		<comments>http://blog.hbcom.info/archives/438#comments</comments>
		<pubDate>Mon, 23 Aug 2010 00:27:42 +0000</pubDate>
		<dc:creator>hb</dc:creator>
				<category><![CDATA[Fix]]></category>
		<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://blog.hbcom.info/?p=438</guid>
		<description><![CDATA[Recently I had to check DNS records on specific server from Debian. Excellent tool for this job is dig &#8211; it allows you to see all DNS records like: A, MX, TXT&#8230; Unfortunately the tool was not installed. The proper way of installing it is: apt-get update &#038;&#038; apt-get install dnsutils In case you did [...]]]></description>
			<content:encoded><![CDATA[<p>Recently I had to check DNS records on specific server from Debian.<br />
Excellent tool for this job is dig &#8211; it allows you to see all DNS records like: A, MX, TXT&#8230;</p>
<p>Unfortunately the tool was not installed.<br />
The proper way of installing it is:</p>
<p><code>apt-get update &#038;&#038; apt-get install dnsutils</code></p>
<p>In case you did update recently you can skip the first command.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.hbcom.info/archives/438/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>screen -r : Cannot open your terminal &#8216;/dev/pts/0&#8242; &#8211; please check.</title>
		<link>http://blog.hbcom.info/archives/430?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=screen-r-cannot-open-your-terminal-devpts0-please-check</link>
		<comments>http://blog.hbcom.info/archives/430#comments</comments>
		<pubDate>Sat, 31 Jul 2010 23:37:08 +0000</pubDate>
		<dc:creator>hb</dc:creator>
				<category><![CDATA[Fix]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Unix]]></category>

		<guid isPermaLink="false">http://blog.hbcom.info/?p=430</guid>
		<description><![CDATA[I love screen &#8211; it allows you to detach you console and still have the program running. For more info: man screen Recently I experienced following error: $ screen -r Cannot open your terminal '/dev/pts/0' - please check. After searching for solution I found several instructing to change permissions etc. But different solution, almost &#8220;hack&#8221; [...]]]></description>
			<content:encoded><![CDATA[<p>I love screen &#8211; it allows you to detach you console and still have the program running.</p>
<p>For more info:<br />
<code>man screen</code></p>
<p>Recently I experienced following error:<br />
<code>$ screen -r<br />
Cannot open your terminal '/dev/pts/0' - please check.</code></p>
<p>After searching for solution I found several instructing to change permissions etc.</p>
<p>But different solution, almost &#8220;hack&#8221; is the one I like.<br />
Before starting screen type:<br />
<code>script /dev/null</code><br />
And after that you can type:<br />
<code>screen -r</code><br />
Only drawback is that you need to type one additional <em>exit</em> for <em>script</em> to terminate.</p>
<p>Credits for this to Harry Jackson. Unfortunately the resource was not  available so i did to put a link to the site.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.hbcom.info/archives/430/feed</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Fix Hibernate in Windows XP part 2</title>
		<link>http://blog.hbcom.info/archives/413?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=fix-hibernate-in-windows-xp-part-2</link>
		<comments>http://blog.hbcom.info/archives/413#comments</comments>
		<pubDate>Sat, 27 Mar 2010 21:13:12 +0000</pubDate>
		<dc:creator>hb</dc:creator>
				<category><![CDATA[Fix]]></category>
		<category><![CDATA[Howto]]></category>
		<category><![CDATA[Windows]]></category>

		<guid isPermaLink="false">http://blog.hbcom.info/?p=413</guid>
		<description><![CDATA[Hibernate shortcuts As addition to Fix Hibernate in Windows XP here is additional shortcut I discovered. To activate hibernate option I had to press &#60;shift&#62; every time I go to shutdown menu, but once I did not and it worked&#8230; So here is the full shortcut: &#60;WinKey&#62; -&#62; &#60;U&#62; -&#62; &#60;H&#62; What that means? - [...]]]></description>
			<content:encoded><![CDATA[<h3>Hibernate shortcuts</h3>
<p>As addition to <a title="Fix Hibernate in Windows XP" href="http://blog.hbcom.info/archives/405" target="_self">Fix Hibernate in Windows XP</a> here is additional shortcut I discovered.</p>
<p>To activate hibernate option I had to press &lt;shift&gt; every time I go to shutdown menu, but once I did not and it worked&#8230;</p>
<p>So here is the full shortcut:</p>
<pre>&lt;WinKey&gt; -&gt; &lt;U&gt; -&gt; &lt;H&gt;</pre>
<p>What that means?</p>
<p>- Start menu<br />
- Shutdown<br />
- Hibernate</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.hbcom.info/archives/413/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Fix Hibernate in Windows XP</title>
		<link>http://blog.hbcom.info/archives/405?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=fix-hibernate-in-windows-xp</link>
		<comments>http://blog.hbcom.info/archives/405#comments</comments>
		<pubDate>Sat, 26 Sep 2009 22:18:35 +0000</pubDate>
		<dc:creator>hb</dc:creator>
				<category><![CDATA[Fix]]></category>
		<category><![CDATA[Howto]]></category>
		<category><![CDATA[Windows]]></category>

		<guid isPermaLink="false">http://blog.hbcom.info/?p=405</guid>
		<description><![CDATA[Usually in Windows XP when you click Start -&#62; Turn off Computer you have following options: Stand by Turn off Restart But there is another option called Hibernate. As name suggests when you choose that option your computer goes in deep sleep. This is different from Stand by mode and Shutdown and actually is in [...]]]></description>
			<content:encoded><![CDATA[<p>Usually in Windows XP when you click Start -&gt; Turn off Computer you have following options:</p>
<ul>
<li>Stand by</li>
<li>Turn off</li>
<li>Restart</li>
</ul>
<p>But there is another option called Hibernate. As name suggests when you choose that option your computer goes in deep sleep. This is different from Stand by mode and Shutdown and actually is in between.<br />
In that mode Windows XP does the same as Stand by, but in addition writes memory dump on the hard drive and turns off the PC.<br />
After you power up the PC the memory dump is loaded in the memory and computer resumes operation as after stand by.<br />
It takes a bit more time for that operation, but is much less hat initial power up.</p>
<p>How to enable Hibernate?</p>
<ol>
<li>Make sure that you are logged in with administrator account. You can do that by going in Start -&gt; Control Panel -&gt; User account</li>
<li>Go to Power Options and choose Hibernate tab</li>
<li>Check Enable hibernation</li>
<li>Now you are able to hibernate your computer</li>
</ol>
<p>Troubleshooting:</p>
<ul>
<li><strong>I do not have hibernate icon</strong></li>
</ul>
<p><em>If on turn off menu you do not have hibernate icon it means that you have newer computer BIOS that supports Stand by by lower power option.<br />
If you want to hibernate you need to press Shift button until hibernate icon appears.</em></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.hbcom.info/archives/405/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to disable VLC Media player system tray popup</title>
		<link>http://blog.hbcom.info/archives/403?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=how-to-disable-vlc-media-player-system-tray-popup</link>
		<comments>http://blog.hbcom.info/archives/403#comments</comments>
		<pubDate>Thu, 10 Sep 2009 23:37:14 +0000</pubDate>
		<dc:creator>hb</dc:creator>
				<category><![CDATA[Fix]]></category>
		<category><![CDATA[Howto]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Windows]]></category>

		<guid isPermaLink="false">http://blog.hbcom.info/?p=403</guid>
		<description><![CDATA[Sometimes is annoying having all this popups when VLC is minimized and track changes. Here is how to disable them: Go to Tools-&#62; Preferences -&#62; All -&#62; Interfaces -&#62; Main Interfaces -&#62; Qt and uncheck Notify on track change.]]></description>
			<content:encoded><![CDATA[<p>Sometimes is annoying having all this popups when VLC is minimized and track changes.</p>
<p>Here is how to disable them:<br />
Go to Tools-&gt; Preferences -&gt; All -&gt; Interfaces -&gt; Main Interfaces -&gt; Qt<br />
and uncheck Notify on track change.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.hbcom.info/archives/403/feed</wfw:commentRss>
		<slash:comments>26</slash:comments>
		</item>
		<item>
		<title>Acrobat and arrow keys (fix)</title>
		<link>http://blog.hbcom.info/archives/401?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=acrobat-and-arrow-keys-fix</link>
		<comments>http://blog.hbcom.info/archives/401#comments</comments>
		<pubDate>Sat, 08 Aug 2009 15:07:06 +0000</pubDate>
		<dc:creator>hb</dc:creator>
				<category><![CDATA[Fix]]></category>
		<category><![CDATA[Howto]]></category>

		<guid isPermaLink="false">http://blog.hbcom.info/?p=401</guid>
		<description><![CDATA[For long time I was frustrated form inability to use arrow keys in Adobe acrobat reader to move up and down the page. Instead of that the cursor was moving in the text. Finally I realized that this is used to select text. And surprisingly enough I was in Select mode. Right click and change [...]]]></description>
			<content:encoded><![CDATA[<p>For long time I was frustrated form inability to use arrow keys in Adobe acrobat reader to move up and down the page.</p>
<p>Instead of that the cursor was moving in the text.</p>
<p>Finally I realized that this is used to select text. And surprisingly enough I was in Select mode.</p>
<p>Right click and change to Hand tool and I now have the desired behavior.</p>
<p>Hope this will help someone.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.hbcom.info/archives/401/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Random name folders in Windows</title>
		<link>http://blog.hbcom.info/archives/386?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=random-name-folders-in-windows</link>
		<comments>http://blog.hbcom.info/archives/386#comments</comments>
		<pubDate>Sat, 28 Mar 2009 15:25:30 +0000</pubDate>
		<dc:creator>hb</dc:creator>
				<category><![CDATA[Fix]]></category>
		<category><![CDATA[Windows]]></category>

		<guid isPermaLink="false">http://blog.hbcom.info/?p=386</guid>
		<description><![CDATA[After updating my Windows machine I found that few folders with cryptic names are created in root directory. They look like this: 28/12/2006Â  07:33 PMÂ Â Â  &#60;DIR&#62;Â Â Â Â Â Â Â Â Â  1822a56c32dc8dbcf5 11/02/2009Â  09:42 PMÂ Â Â  &#60;DIR&#62;Â Â Â Â Â Â Â Â Â  89b3b50a7b1b96838a89 30/08/2007Â  06:19 PMÂ Â Â  &#60;DIR&#62;Â Â Â Â Â Â Â Â Â  a8ccd1e2d466bc402f I&#8217;m used to the folders created after update in \WINDOWS and after I&#8217;m sure that there is no [...]]]></description>
			<content:encoded><![CDATA[<p>After updating my Windows machine I found that few folders with cryptic names are created in root directory.</p>
<p>They look like this:</p>
<pre>28/12/2006Â  07:33 PMÂ Â Â  &lt;DIR&gt;Â Â Â Â Â Â Â Â Â  1822a56c32dc8dbcf5
11/02/2009Â  09:42 PMÂ Â Â  &lt;DIR&gt;Â Â Â Â Â Â Â Â Â  89b3b50a7b1b96838a89
30/08/2007Â  06:19 PMÂ Â Â  &lt;DIR&gt;Â Â Â Â Â Â Â Â Â  a8ccd1e2d466bc402f</pre>
<p>I&#8217;m used to the folders created after update in \WINDOWS and after I&#8217;m sure that there is no problems with the update they could be safely erase, but this was something new.</p>
<p>After browsing the contens my initial thougths were confirmed those were temporary folders from windows update.</p>
<p>So I erased them&#8230;</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.hbcom.info/archives/386/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>-bash: /usr/bin/find: Argument list too long &#8211; Fix</title>
		<link>http://blog.hbcom.info/archives/376?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=bash-usrbinfind-argument-list-too-long-fix</link>
		<comments>http://blog.hbcom.info/archives/376#comments</comments>
		<pubDate>Wed, 28 Jan 2009 14:46:15 +0000</pubDate>
		<dc:creator>hb</dc:creator>
				<category><![CDATA[error]]></category>
		<category><![CDATA[Fix]]></category>
		<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://blog.hbcom.info/?p=376</guid>
		<description><![CDATA[I had a strange problem when trying to list all files i a folder. I typed: find . *.gz And received: -bash: /usr/bin/find: Argument list too long After searching on internet I saw a lot of similar problems, but then I remembered one of my old posts bash: /bin/rm: Argument list too long &#8211; How [...]]]></description>
			<content:encoded><![CDATA[<p>I had a strange problem when trying to list all files i a folder.</p>
<p>I typed:</p>
<pre> find . *.gz</pre>
<p>And received:</p>
<pre>-bash: /usr/bin/find: Argument list too long</pre>
<p>After searching on internet I saw a lot of similar problems, but then I remembered one of my old posts</p>
<p><a rel="bookmark" href="../archives/4">bash: /bin/rm: Argument list too long &#8211; How to fix it</a></p>
<p>After reviewing it for on more time I found my mistake</p>
<p>Correct syntax is:</p>
<pre>find . -name "*.gz"</pre>
]]></content:encoded>
			<wfw:commentRss>http://blog.hbcom.info/archives/376/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

<!-- Dynamic Page Served (once) in 0.530 seconds -->

