<?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>Pavel Chuchuva</title>
	<atom:link href="http://chuchuva.com/pavel/feed/" rel="self" type="application/rss+xml" />
	<link>http://chuchuva.com/pavel</link>
	<description>Blog about software</description>
	<lastBuildDate>Mon, 10 May 2010 12:44:06 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>How to safely remove USB flash drive with Far Manager</title>
		<link>http://chuchuva.com/pavel/2010/05/how-to-safely-remove-usb-flash-drive-with-far-manager/</link>
		<comments>http://chuchuva.com/pavel/2010/05/how-to-safely-remove-usb-flash-drive-with-far-manager/#comments</comments>
		<pubDate>Mon, 10 May 2010 12:44:06 +0000</pubDate>
		<dc:creator>Pavel Chuchuva</dc:creator>
				<category><![CDATA[Software]]></category>
		<category><![CDATA[far-manager]]></category>

		<guid isPermaLink="false">http://chuchuva.com/pavel/?p=186</guid>
		<description><![CDATA[Do you have one of these:

When you finish copying files from and to your USB flash drive you need to safely remove it, otherwise you risk losing data. Normally you do this by clicking icon with green arrow in system tray:

You can do the same with Far Manager. Open drive menu (Alt+F1 or Alt+F2), select [...]]]></description>
			<content:encoded><![CDATA[<p>Do you have one of these:<br />
<img class="alignnone size-full wp-image-187" src="http://chuchuva.com/pavel/images/2010/05/usb-flash-drive.jpg" alt="USB flash drive" width="500" height="340" /><br />
When you finish copying files from and to your USB flash drive you need to safely remove it, otherwise you risk losing data. Normally you do this by clicking icon with green arrow in system tray:<br />
<img class="alignnone size-full wp-image-189" src="http://chuchuva.com/pavel/images/2010/05/safely-remove-hardware.png" alt="" width="159" height="53" /></p>
<p>You can do the same with Far Manager. Open drive menu (Alt+F1 or Alt+F2), select your flash drive and press Shift+Del. You should get this confirmation:<br />
<img class="alignnone size-full wp-image-190" src="http://chuchuva.com/pavel/images/2010/05/far-device-removal.png" alt="" width="440" height="180" /><br />
Select &#8220;Remove&#8221; and you&#8217;re done. Note that the key combo (Shift+Del) is different from <a href="http://chuchuva.com/pavel/2010/01/trick-eject-cd-dvd-from-far-manager/">ejecting CD/DVD</a> (Del).</p>
]]></content:encoded>
			<wfw:commentRss>http://chuchuva.com/pavel/2010/05/how-to-safely-remove-usb-flash-drive-with-far-manager/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>jQuery BBQ plugin and Internet Explorer 7</title>
		<link>http://chuchuva.com/pavel/2010/04/jquery-bbq-plugin-and-internet-explorer-7/</link>
		<comments>http://chuchuva.com/pavel/2010/04/jquery-bbq-plugin-and-internet-explorer-7/#comments</comments>
		<pubDate>Fri, 30 Apr 2010 10:40:06 +0000</pubDate>
		<dc:creator>Pavel Chuchuva</dc:creator>
				<category><![CDATA[Develop]]></category>
		<category><![CDATA[jquery]]></category>

		<guid isPermaLink="false">http://chuchuva.com/pavel/?p=174</guid>
		<description><![CDATA[Remember the problem with jQuery BBQ plugin in Internet Explorer 7? It&#8217;s not really a problem, just a minor glitch but let&#8217;s fix it anyway.
Steps to reproduce:

Open BBQ demo in Internet Explorer
Click Next button few times
Open history menu

Observe:

No page titles, just URLs. Definitely it would be nice to see photo numbers there.
First, let&#8217;s see how [...]]]></description>
			<content:encoded><![CDATA[<p>Remember the problem with jQuery BBQ plugin in Internet Explorer 7? It&#8217;s not really a problem, just a minor glitch but let&#8217;s fix it anyway.</p>
<p>Steps to reproduce:</p>
<ol>
<li>Open <a href="http://chuchuva.com/demo/jquery-bbq/">BBQ demo</a> in Internet Explorer</li>
<li>Click Next button few times</li>
<li>Open history menu</li>
</ol>
<p>Observe:<br />
<img class="alignnone size-full wp-image-170" src="http://chuchuva.com/pavel/images/2010/04/bbq-ie7.png" alt="" width="336" height="231" /></p>
<p>No page titles, just URLs. Definitely it would be nice to see photo numbers there.</p>
<p>First, let&#8217;s see how <a href="http://www.asual.com/jquery/address/">Asual jQuery Address</a> fix this problem:</p>
<pre><code class="prettyprint">_title = _d.title = value;
if (_juststart &#038;&#038; _frame &#038;&#038; _frame.contentWindow &#038;&#038;
    _frame.contentWindow.document) {
    _frame.contentWindow.document.title = value;
    _juststart = FALSE;
}
</code></pre>
<p>Aha! For IE7 you need to set title of the hidden iframe in addition to setting document title. So this is how you set page title:</p>
<pre><code class="prettyprint">document.title = "New title";
var iframe = $("iframe:hidden");
if (iframe.length > 0 &#038;&#038; iframe[0].contentWindow &#038;&#038; iframe[0].contentWindow.document)
  iframe[0].contentWindow.document.title = "New title";
</code></pre>
<p><a href="http://chuchuva.com/demo/jquery-bbq/fix-for-ie7.html">Updated demo</a> should work correctly in Internet Explorer 7.</p>
]]></content:encoded>
			<wfw:commentRss>http://chuchuva.com/pavel/2010/04/jquery-bbq-plugin-and-internet-explorer-7/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Using jQuery BBQ plugin for photo gallery</title>
		<link>http://chuchuva.com/pavel/2010/04/using-jquery-bbq-plugin-for-photo-gallery/</link>
		<comments>http://chuchuva.com/pavel/2010/04/using-jquery-bbq-plugin-for-photo-gallery/#comments</comments>
		<pubDate>Tue, 27 Apr 2010 11:41:59 +0000</pubDate>
		<dc:creator>Pavel Chuchuva</dc:creator>
				<category><![CDATA[Develop]]></category>
		<category><![CDATA[jquery]]></category>

		<guid isPermaLink="false">http://chuchuva.com/pavel/?p=167</guid>
		<description><![CDATA[Click here to view demo
Let&#8217;s take previous demo and use jQuery BBQ plugin instead. Our goal is Ajax photo gallery that supports browser&#8217;s back button. We will display numbers instead of actual photos for now.
$(function ()
{
  $(window).bind('hashchange', function(e) {
    var i = parseInt(e.fragment, 10);
    if (!isNaN(i))
   [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://chuchuva.com/demo/jquery-bbq/">Click here to view demo</a></p>
<p>Let&#8217;s take <a href="http://chuchuva.com/pavel/2010/04/using-asual-jquery-address-plugin-for-photo-gallery/">previous demo</a> and use <a href="http://benalman.com/projects/jquery-bbq-plugin/">jQuery BBQ plugin</a> instead. Our goal is Ajax photo gallery that supports browser&#8217;s back button. We will display numbers instead of actual photos for now.</p>
<pre><code class="prettyprint">$(function ()
{
  $(window).bind('hashchange', function(e) {
    var i = parseInt(e.fragment, 10);
    if (!isNaN(i))
      switchTo(i);
  });
  $(window).trigger('hashchange');
});

function switchTo(i)
{
  if ($("#number").text() == i)
    return;
  $("#number").text(i);
  document.title = i;
  if (i > 1)
    $("#lnk_prev").attr("href", "#" + (i - 1)).removeClass("disabled");
  else
    $("#lnk_prev").removeAttr("href").addClass("disabled");
  if (i < 20)
    $("#lnk_next").attr("href", "#" + (i + 1)).removeClass("disabled");
  else
    $("#lnk_next").removeAttr("href").addClass("disabled");
}
</code></pre>
<p>Instead of handling click event we modify href attribute of the links. BBQ will fire hashchange event whenever we "navigate" to a new page. No need to prevent default processing – simple!</p>
<p>One gotcha to watch out for is changing page title. If you take naive approach and simply use document.title (like I did) to set page title you won't see your titles in the history menu in Internet Explorer 7:<br />
<img src="http://chuchuva.com/pavel/images/2010/04/bbq-ie7.png" alt="" width="336" height="231" class="alignnone size-full wp-image-170" /></p>
<p>Compare with Internet Explorer 8:<br />
<img src="http://chuchuva.com/pavel/images/2010/04/bbq-ie8.png" alt="" width="336" height="232" class="alignnone size-full wp-image-171" /></p>
]]></content:encoded>
			<wfw:commentRss>http://chuchuva.com/pavel/2010/04/using-jquery-bbq-plugin-for-photo-gallery/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Using Asual jQuery Address plugin for photo gallery</title>
		<link>http://chuchuva.com/pavel/2010/04/using-asual-jquery-address-plugin-for-photo-gallery/</link>
		<comments>http://chuchuva.com/pavel/2010/04/using-asual-jquery-address-plugin-for-photo-gallery/#comments</comments>
		<pubDate>Fri, 09 Apr 2010 10:42:20 +0000</pubDate>
		<dc:creator>Pavel Chuchuva</dc:creator>
				<category><![CDATA[Develop]]></category>
		<category><![CDATA[jquery]]></category>

		<guid isPermaLink="false">http://chuchuva.com/pavel/?p=151</guid>
		<description><![CDATA[Click here to view demo
Let&#8217;s say you want to build photo gallery. Something like this:

You want to open next and previous photos without page reload, using Ajax. One problem with this is that browser&#8217;s back button stop working. Fortunately, it&#8217;s easy to fix with jQuery Address plugin from Asual. I tried using this plugin and [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://chuchuva.com/demo/asual-jquery-address/">Click here to view demo</a></p>
<p>Let&#8217;s say you want to build photo gallery. Something like this:<br />
<img src="http://chuchuva.com/pavel/images/2010/04/gallery-mockup.gif" alt="" width="270" height="251" class="alignnone size-full wp-image-153" /></p>
<p>You want to open next and previous photos without page reload, using Ajax. One problem with this is that browser&#8217;s back button stop working. Fortunately, it&#8217;s easy to fix with <a href="http://www.asual.com/jquery/address/">jQuery Address plugin</a> from Asual. I tried using this plugin and it worked very well. I&#8217;ve put together a simple <a href="http://chuchuva.com/demo/asual-jquery-address/">demo</a>.</p>
<p>For simplicity, let&#8217;s display just a number instead of actual photo:<br />
<img src="http://chuchuva.com/pavel/images/2010/04/gallery-mockup2.gif" alt="" width="261" height="216" class="alignnone size-full wp-image-154" /></p>
<p>Every time you click right arrow the number increases; left arrow decrements the number by one. Simple! Back and forward buttons should work. Also, it would be nice to have different titles in the history:</p>
<p><img src="http://chuchuva.com/pavel/images/2010/04/browser-history.png" alt="" width="181" height="173" class="alignnone size-full wp-image-155" /></p>
<p>The code:</p>
<pre><code class="prettyprint">$(function ()
{
  $.address.strict(false);
  $.address.externalChange(function(e)
  {
    switchTo(e.value);
  });

  $("#lnk_prev").click(function(e)
  {
    e.preventDefault();
    var i = $("#number").text() * 1 - 1;
    switchTo(i);
    $.address.value(i);
  });

  $("#lnk_next").click(function(e)
  {
    e.preventDefault();
    var i = $("#number").text() * 1 + 1;
    switchTo(i);
    $.address.value(i);
  });
});

function switchTo(i)
{
  $("#number").text(i);
  $.address.title(i);
}
</code></pre>
<p>The magic happens in click handler. $.address.value method changes page address and adds browser history point. You need to cancel navigation by calling e.preventDefault() – otherwise browser would follow the link and two history entries would get created.</p>
<p><a href="http://chuchuva.com/demo/asual-jquery-address/"><img src="http://chuchuva.com/pavel/images/2010/04/gallery-demo.png" alt="" width="499" height="450" class="alignnone size-full wp-image-158" /></a></p>
<p>Note that you need to disable plugin&#8217;s strict option, otherwise it would add slash symbol immediately after hash symbol, like this: /#11.</p>
]]></content:encoded>
			<wfw:commentRss>http://chuchuva.com/pavel/2010/04/using-asual-jquery-address-plugin-for-photo-gallery/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Enhancement to launching PowerShell scripts from Far Manager</title>
		<link>http://chuchuva.com/pavel/2010/03/enhancement-to-launching-powershell-scripts-from-far-manager/</link>
		<comments>http://chuchuva.com/pavel/2010/03/enhancement-to-launching-powershell-scripts-from-far-manager/#comments</comments>
		<pubDate>Fri, 26 Mar 2010 10:16:56 +0000</pubDate>
		<dc:creator>Pavel Chuchuva</dc:creator>
				<category><![CDATA[Software]]></category>
		<category><![CDATA[far-manager]]></category>
		<category><![CDATA[powershell]]></category>

		<guid isPermaLink="false">http://chuchuva.com/pavel/?p=144</guid>
		<description><![CDATA[The method of launching PowerShell scripts from Far Manager I have described previously has 2 important drawbacks:

You can&#8217;t pass arguments to the script, and
You can&#8217;t launch script in a separate window

Here&#8217;s how to fix this:

Start regedit, open HKCR\Microsoft.PowerShellScript.1\shell\Open\command key
Set it to
"C:\WINDOWS\system32\WindowsPowerShell\v1.0\powershell.exe" "-file" "%1" %*

Now you can press Shift+Enter to start PowerShell script in a new [...]]]></description>
			<content:encoded><![CDATA[<p>The method of <a href="http://chuchuva.com/pavel/2009/08/how-to-run-powershell-scripts-from-far-manager/">launching PowerShell scripts from Far Manager</a> I have described previously has 2 important drawbacks:</p>
<ol>
<li>You can&#8217;t pass arguments to the script, and</li>
<li>You can&#8217;t launch script in a separate window</li>
</ol>
<p>Here&#8217;s how to fix this:</p>
<ol>
<li>Start regedit, open HKCR\Microsoft.PowerShellScript.1\shell\Open\command key</li>
<li>Set it to<br />
<code>"C:\WINDOWS\system32\WindowsPowerShell\v1.0\powershell.exe" "-file" "%1" %*</code></li>
</ol>
<p>Now you can press Shift+Enter to start PowerShell script in a new window.</p>
<p>As a bonus, you can now double-click .ps1 files in Windows Explorer to launch them. Why is this not a default behaviour? Most likely Microsoft decided to be extra cautious here.</p>
<p>Make sure you have Powershell version 2.0 or higher for this to work. <a href="http://powershell.com/cs/blogs/tips/archive/2009/09/11/which-powershell-version-am-i-running.aspx">How to check Powershell version</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://chuchuva.com/pavel/2010/03/enhancement-to-launching-powershell-scripts-from-far-manager/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>How to redirect output of console program to a file in PowerShell</title>
		<link>http://chuchuva.com/pavel/2010/03/how-to-redirect-output-of-console-program-to-a-file-in-powershell/</link>
		<comments>http://chuchuva.com/pavel/2010/03/how-to-redirect-output-of-console-program-to-a-file-in-powershell/#comments</comments>
		<pubDate>Fri, 05 Mar 2010 09:10:44 +0000</pubDate>
		<dc:creator>Pavel Chuchuva</dc:creator>
				<category><![CDATA[Software]]></category>
		<category><![CDATA[powershell]]></category>

		<guid isPermaLink="false">http://chuchuva.com/pavel/?p=134</guid>
		<description><![CDATA[At some stage I decided I need backup plan for my virtual server. After some intensive web surfing I found brilliant command line tool &#8211; s3.exe. The next step was to schedule to run it periodically, every night, when everybody is sleeping.

I decided to use PowerShell. It&#8217;s new, it&#8217;s powerful, it comes pre-installed with Windows [...]]]></description>
			<content:encoded><![CDATA[<p>At some stage I decided I need backup plan for my virtual server. After some intensive web surfing I found brilliant command line tool &#8211; <a href="http://s3.codeplex.com/">s3.exe</a>. The next step was to schedule to run it periodically, every night, when everybody is sleeping.</p>
<p><img src="http://chuchuva.com/pavel/images/2010/03/night-mystery.jpg" alt="Night" title="" width="500" height="375" class="alignnone size-full wp-image-140" /></p>
<p>I decided to use PowerShell. It&#8217;s new, it&#8217;s powerful, it comes pre-installed with Windows Server 2008. PowerShell is very popular among system administrators.</p>
<p>Also, I got an idea to save output of backup application to log file so that I could see results later. And this is where things didn&#8217;t work as I expected. Here&#8217;s how to redirect console program output to a file:</p>
<pre><code>s3.exe &gt; log.txt</code></pre>
<p>If you run this you will be surprised to find that log.txt is empty. As it turns out s3.exe, being a good Windows citizen, writes errors to STDERR stream. To redirect error output to the same file you need to add magic string 2&gt;&amp;1:</p>
<pre><code>s3.exe 2&gt;&amp;1 &gt; log.txt</code></pre>
<p>Two new problems appear. First, errors appear as exceptions in log file:</p>
<pre><code>s3.exe : s3.exe version 1.6 - check for updates at http://s3.codeplex.com
At PS Logging.ps1:4 char:43
+ s3.exe &lt;&lt;&lt;&lt;  2&gt;&amp;1 &gt; log.txt
    + CategoryInfo          : NotSpecified: (s3.exe version ...s3.codeplex.com
   :String) [], RemoteException
    + FullyQualifiedErrorId : NativeCommandError</code></pre>
<p>PowerShell helpfully wraps STDERR output <a href="http://halr9000.com/article/837">into exceptions</a>. This is nice but I don&#8217;t need it! All I want is to see how a program worked by examining log file. Do this to unwrap exceptions and show plain text:</p>
<pre><code>s3.exe 2&gt;&amp;1 | foreach-object {$_.ToString()} | Out-File log.txt</code></pre>
<p>And second, errors are out of order with normal output. They could appear before or after normal lines emitted by a program, making it hard to diagnose problem. To confirm that, I created a simple console program:</p>
<pre><code class="prettyprint">static void Main(string[] args)
{
   for (int i = 0; i < 10; i++)
   {
      Console.WriteLine("Hello");
   }
   Console.Error.WriteLine("Bah bah");
   for (int i = 0; i < 10; i++)
   {
      Console.WriteLine("2");
   }
}
</code></pre>
<p>If you run this program from PowerShell and redirect output to a file, error message (bah bah) could appear anywhere in the log file:</p>
<pre><code>Hello
<strong>Bah bah</strong>
Hello
Hello
Hello
Hello
Hello
Hello
Hello
Hello
Hello
2
2
2
2
2
2
2
2
2
2</code></pre>
<p> The solution I came up with is to let old reliable cmd.exe to do the work:</p>
<pre><code>cmd /c s3.exe `>log.txt 2`>`&#038;1</code></pre>
<p>Note backsticks – I use them to prevent PowerShell from parsing redirect operators.</p>
<h4>Links</h4>
<p><a href="http://devcentral.f5.com/weblogs/Joe/archive/2009/01/09/powershell-abcs---o-is-for-output.aspx">PowerShell ABC's - O is for Output</a><br />
<a href="http://groups.google.com.au/group/microsoft.public.windows.powershell/browse_thread/thread/41c84d2b76785329/228e5ee428392294">How to capture exe output to a PowerShell variable</a><br />
Another approach to unwrap exceptions: <a href="http://knowbody.livejournal.com/11406.html">use add-content cmdlet</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://chuchuva.com/pavel/2010/03/how-to-redirect-output-of-console-program-to-a-file-in-powershell/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>How to open .docx and .xlsx files from Far Manager</title>
		<link>http://chuchuva.com/pavel/2010/01/how-to-open-docx-and-xlsx-files-from-far-manager/</link>
		<comments>http://chuchuva.com/pavel/2010/01/how-to-open-docx-and-xlsx-files-from-far-manager/#comments</comments>
		<pubDate>Fri, 08 Jan 2010 09:34:01 +0000</pubDate>
		<dc:creator>Pavel Chuchuva</dc:creator>
				<category><![CDATA[Software]]></category>
		<category><![CDATA[far-manager]]></category>

		<guid isPermaLink="false">http://chuchuva.com/pavel/?p=117</guid>
		<description><![CDATA[If you try to open Office 2007 document (.docx or .xlsx) in Far Manager it will simply open them as a ZIP archive. Clearly, that&#8217;s not what you want. Here&#8217;s how to fix it:

Go to Commands › File association.
Create a new association by pressing Ins.
Enter *.doc;*.docx;*.xlsx;*.pptx as a mask.
Enter @"!.!" as Execute command (used for [...]]]></description>
			<content:encoded><![CDATA[<p>If you try to open Office 2007 document (.docx or .xlsx) in Far Manager it will simply open them as a ZIP archive. Clearly, that&#8217;s not what you want. Here&#8217;s how to fix it:</p>
<ol>
<li>Go to Commands › File association.</li>
<li>Create a new association by pressing Ins.</li>
<li>Enter <code>*.doc;*.docx;*.xlsx;*.pptx</code> as a mask.</li>
<li>Enter <code>@"!.!"</code> as Execute command (used for Enter).</li>
</ol>
<p><img class="alignnone size-full wp-image-118" src="http://chuchuva.com/pavel/images/2010/01/far-file-associations.png" alt="File associations in Far Manager" width="483" height="216" /></p>
<p>You can still open docx file as an archive by pressing Ctrl+PgDn.</p>
]]></content:encoded>
			<wfw:commentRss>http://chuchuva.com/pavel/2010/01/how-to-open-docx-and-xlsx-files-from-far-manager/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Idea for my business</title>
		<link>http://chuchuva.com/pavel/2010/01/idea-for-my-business/</link>
		<comments>http://chuchuva.com/pavel/2010/01/idea-for-my-business/#comments</comments>
		<pubDate>Wed, 06 Jan 2010 19:59:36 +0000</pubDate>
		<dc:creator>Pavel Chuchuva</dc:creator>
				<category><![CDATA[Business]]></category>

		<guid isPermaLink="false">http://chuchuva.com/pavel/?p=103</guid>
		<description><![CDATA[Idea for my business is quite simple: web gallery for wedding photographers. Here&#8217;s how it works:

Photographer uploads photos after the wedding.
Friends and relatives view photos. Some of them order reprints generating extra money for photographer.
Photographer pays me a monthly fee.

How did I come up with this idea? I was looking for an idea for my own [...]]]></description>
			<content:encoded><![CDATA[<p>Idea for my business is quite simple: web gallery for wedding photographers. Here&#8217;s how it works:</p>
<ol>
<li>Photographer uploads photos after the wedding.</li>
<li>Friends and relatives view photos. Some of them order reprints generating extra money for photographer.</li>
<li>Photographer pays me a monthly fee.</li>
</ol>
<p>How did I come up with this idea? I was looking for an idea for my own software product for a long a time. Then, in one of the books I read an interview with <a href="http://www.joelonsoftware.com/">Joel Spolsky</a> where he recommended creating a niche product. As an example he suggested creating a photo manager specifically for wedding photographers instead of photo manager for everybody. And I thought to myself: heck, that&#8217;s not a bad idea, I&#8217;ll try to execute it.</p>
<p>Surely, there are other products that do the same thing. This doesn&#8217;t stop me. If my execution is at least half-good, I should get some clients. I&#8217;m aiming at creating a small Italian restaurant on the web, not a global chain of fast food franchises.</p>
]]></content:encoded>
			<wfw:commentRss>http://chuchuva.com/pavel/2010/01/idea-for-my-business/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Trick: eject CD/DVD from Far Manager</title>
		<link>http://chuchuva.com/pavel/2010/01/trick-eject-cd-dvd-from-far-manager/</link>
		<comments>http://chuchuva.com/pavel/2010/01/trick-eject-cd-dvd-from-far-manager/#comments</comments>
		<pubDate>Tue, 05 Jan 2010 09:41:21 +0000</pubDate>
		<dc:creator>Pavel Chuchuva</dc:creator>
				<category><![CDATA[Software]]></category>
		<category><![CDATA[far-manager]]></category>

		<guid isPermaLink="false">http://chuchuva.com/pavel/?p=105</guid>
		<description><![CDATA[This is a nice trick: in Far Manager, invoke drive menu by pressing Alt+F1:

Select CD-ROM and press Delete. CD/DVD will get ejected.
You can also press Del key on network drives to unmap them.
]]></description>
			<content:encoded><![CDATA[<p>This is a nice trick: in Far Manager, invoke drive menu by pressing Alt+F1:</p>
<p><img class="alignnone size-full wp-image-106" title="far-drive-menu" src="http://chuchuva.com/pavel/images/2010/01/far-drive-menu.png" alt="far-drive-menu" width="240" height="234" /></p>
<p>Select CD-ROM and press Delete. CD/DVD will get ejected.</p>
<p>You can also press Del key on network drives to unmap them.</p>
]]></content:encoded>
			<wfw:commentRss>http://chuchuva.com/pavel/2010/01/trick-eject-cd-dvd-from-far-manager/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Middle-click in Far Manager 2</title>
		<link>http://chuchuva.com/pavel/2009/12/middle-click-in-far-manager-2/</link>
		<comments>http://chuchuva.com/pavel/2009/12/middle-click-in-far-manager-2/#comments</comments>
		<pubDate>Thu, 17 Dec 2009 10:44:26 +0000</pubDate>
		<dc:creator>Pavel Chuchuva</dc:creator>
				<category><![CDATA[Software]]></category>
		<category><![CDATA[far-manager]]></category>

		<guid isPermaLink="false">http://chuchuva.com/pavel/?p=98</guid>
		<description><![CDATA[In Far Manager 1.70 you could browse folders with mouse wheel. Rotating wheel would scroll up and down. Middle-click would open a folder. But version 2.0 disables middle-click. Boo! Never take away features from users.

Fortunately it&#8217;s very easy to restore this functionality:

Launch [C:\Program Files\Far2\Addons\Macros\MiddleClickAsEnter.reg]. If you don&#8217;t have this folder re-install Far and add Addons [...]]]></description>
			<content:encoded><![CDATA[<p>In Far Manager 1.70 you could browse folders with mouse wheel. Rotating wheel would scroll up and down. Middle-click would open a folder. But version 2.0 disables middle-click. Boo! Never take away features from users.</p>
<p><img class="alignnone size-full wp-image-99" src="http://chuchuva.com/pavel/images/2009/12/mouse-wheel.jpg" alt="Mouse wheel" width="500" height="333" /></p>
<p>Fortunately it&#8217;s very easy to restore this functionality:</p>
<ol>
<li>Launch [C:\Program Files\Far2\Addons\Macros\MiddleClickAsEnter.reg]. If you don&#8217;t have this folder re-install Far and add Addons » Macros feature.</li>
<li>Restart Far Manager.</li>
</ol>
]]></content:encoded>
			<wfw:commentRss>http://chuchuva.com/pavel/2009/12/middle-click-in-far-manager-2/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
