<?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>Experimental Coding, Photography, Blog and Art of Aryo Pinandito / A-Works, Inc</title>
	<atom:link href="http://aryo.info/blog/feed" rel="self" type="application/rss+xml" />
	<link>http://aryo.info/blog</link>
	<description>Aryo Pinandito&#039;s Experimental Coding, Photography, Blog, and Art - A-Works, Inc</description>
	<lastBuildDate>Sun, 14 Feb 2010 14:15:48 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Remove Uneeded Windows Explorer Context Menu Item</title>
		<link>http://aryo.info/blog/2010/02/remove-uneeded-windows-explorer-context-menu-item.html</link>
		<comments>http://aryo.info/blog/2010/02/remove-uneeded-windows-explorer-context-menu-item.html#comments</comments>
		<pubDate>Sun, 14 Feb 2010 14:14:09 +0000</pubDate>
		<dc:creator>Aryo Pinandito</dc:creator>
				<category><![CDATA[Experimental]]></category>
		<category><![CDATA[Tutorial]]></category>
		<category><![CDATA[Registry]]></category>
		<category><![CDATA[Windows]]></category>

		<guid isPermaLink="false">http://aryo.info/blog/?p=565</guid>
		<description><![CDATA[Do you recently installing/uninstalling a new program and noticed that the program add some link/shortcut on Explorer context menu that you don&#8217;t like? If the program doesn&#8217;t have a preferences option to remove the context menu, you can remove it manually using Windows registry editor (regedit.exe).

First, make sure you login as an administrator or you [...]]]></description>
			<content:encoded><![CDATA[<div id="attachment_499" class="wp-caption alignleft" style="width: 90px"><a href="http://aryo.info/wp-content/uploads/2009/02/windows-logo.jpg"><img class="size-thumbnail wp-image-499" title="windows-logo" src="http://aryo.info/wp-content/uploads/2009/02/windows-logo-150x150.jpg" alt="Windows Logo" width="80" height="80" /></a><p class="wp-caption-text">Windows Logo</p></div>
<p>Do you recently installing/uninstalling a new program and noticed that the program add some link/shortcut on Explorer context menu that you don&#8217;t like? If the program doesn&#8217;t have a preferences option to remove the context menu, you can remove it manually using Windows registry editor (regedit.exe).</p>
<p><span id="more-565"></span></p>
<p>First, make sure you login as an administrator or you have Administrative access to run Windows registry editor (regedit.exe).</p>
<ul>
<li>Start Windows registry editor (regedit.exe) from Start Menu | Run&#8230; and type regedit.exe</li>
<li>Point the registry to:<br />
HKEY_CLASSES_ROOT\*\shellex\ContextMenuHandlers</li>
<li>For example, I would like to remove WinZip from Windows Explorer context menu, right click on WinZip key and choose Delete.<br />
<a href="http://aryo.info/wp-content/uploads/2010/02/Delete-WinZip.gif"><img class="alignnone size-full wp-image-566" title="Delete-WinZip" src="http://aryo.info/wp-content/uploads/2010/02/Delete-WinZip.gif" alt="Delete-WinZip" width="330" height="547" /></a></li>
<li>Confirm it and voila! the WinZip context menu is now disappear from Windows Explorer context menu.</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://aryo.info/blog/2010/02/remove-uneeded-windows-explorer-context-menu-item.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Solving DownThemAll File Access Error on Windows 7</title>
		<link>http://aryo.info/blog/2009/10/solving-downthemall-file-access-error-on-windows-7.html</link>
		<comments>http://aryo.info/blog/2009/10/solving-downthemall-file-access-error-on-windows-7.html#comments</comments>
		<pubDate>Thu, 29 Oct 2009 13:20:55 +0000</pubDate>
		<dc:creator>Aryo Pinandito</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Internet]]></category>
		<category><![CDATA[Tutorial]]></category>
		<category><![CDATA[Windows]]></category>

		<guid isPermaLink="false">http://aryo.info/blog/?p=555</guid>
		<description><![CDATA[If you are using Mozilla Firefox browser on the latest of Microsoft Windows OS, Windows 7, you may encounter File Access Error while downloading files using DownThemAll plugin. I am using Mozilla Firefox v3.5.4 with DownThemAll v1.1.7.

This is not a DownThemAll bug. This problem occur because of User Access Control in Windows 7 that prevent [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://aryo.info/wp-content/uploads/2009/10/firefox_icon2.png"><img class="alignleft size-full wp-image-558" style="padding:0px 10px 10px 0px;" title="Mozilla Firefox" src="http://aryo.info/wp-content/uploads/2009/10/firefox_icon2.png" alt="Mozilla Firefox" width="128" height="128" /></a>If you are using Mozilla Firefox browser on the latest of Microsoft Windows OS, Windows 7, you may encounter File Access Error while downloading files using DownThemAll plugin. I am using Mozilla Firefox v3.5.4 with DownThemAll v1.1.7.</p>
<p><a href="http://aryo.info/wp-content/uploads/2009/10/vbxfaerr.gif"><span id="more-555"></span><img class="alignnone size-full wp-image-562" title="File Access Error" src="http://aryo.info/wp-content/uploads/2009/10/vbxfaerr.gif" alt="File Access Error" width="530" height="92" /></a></p>
<p>This is not a DownThemAll bug. This problem occur because of User Access Control in Windows 7 that prevent creating and/or modifying files (including newly created downloaded files) on some directory without Administrator access.</p>
<p><a href="http://aryo.info/wp-content/uploads/2009/10/ffrunasadmin.gif"><img class="alignleft size-full wp-image-559" style="padding-right:10px;" title="Run Mozilla Firefox as administrator" src="http://aryo.info/wp-content/uploads/2009/10/ffrunasadmin.gif" alt="Run Mozilla Firefox as administrator" width="326" height="228" /></a></p>
<p>To solve this problem, you either need to start the Mozilla Firefox browser as Administrator or disable Microsoft Windows 7 User Access Control (UAC) completely. I prefer the first option, because it is only affect to the browser, not to the entire running application.</p>
<p>Hope this helps!</p>
]]></content:encoded>
			<wfw:commentRss>http://aryo.info/blog/2009/10/solving-downthemall-file-access-error-on-windows-7.html/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Open With Notepad++ Context Menu on Windows 7</title>
		<link>http://aryo.info/blog/2009/10/open-with-notepad-context-menu.html</link>
		<comments>http://aryo.info/blog/2009/10/open-with-notepad-context-menu.html#comments</comments>
		<pubDate>Tue, 27 Oct 2009 01:48:50 +0000</pubDate>
		<dc:creator>Aryo Pinandito</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Scripting]]></category>
		<category><![CDATA[Tutorial]]></category>
		<category><![CDATA[Windows]]></category>

		<guid isPermaLink="false">http://aryo.info/blog/?p=550</guid>
		<description><![CDATA[I just installed a fresh copy of Windows 7, and almost all of my  previously installed program on Windows Vista is working perfectly. One of them is Notepad++.
But there&#8217;s one thing missed: there is no Open with Notepad++ option on Windows Explorer context menu when I try to right-clicking on text files. I guess this [...]]]></description>
			<content:encoded><![CDATA[<p>I just installed a fresh copy of Windows 7, and almost all of my  previously installed program on Windows Vista is working perfectly. One of them is Notepad++.</p>
<p>But there&#8217;s one thing missed: there is no Open with Notepad++ option on Windows Explorer context menu when I try to right-clicking on text files. I guess this is a bug from Notepad++. I am using Notepad++ v5.5.1 Unicode.</p>
<p><span id="more-550"></span></p>
<p>Try Googling about this problem and I found one working solution using Registry patch. Just copy and paste the following code to Notepad, save it as patch.reg file, and execute it. Voila!</p>
<p><code>Windows Registry Editor Version 5.00<br />
[HKEY_CLASSES_ROOT\*\shell\Open with Notepad++\command]<br />
@="\"C:\\Program Files (x86)\\Notepad++\\notepad++.exe\" \"%1\""</code></p>
]]></content:encoded>
			<wfw:commentRss>http://aryo.info/blog/2009/10/open-with-notepad-context-menu.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Greedy and Non-Greedy Matching using Perl Regular Expression</title>
		<link>http://aryo.info/blog/2009/06/greedy-and-non-greedy-matching-using-perl-regex.html</link>
		<comments>http://aryo.info/blog/2009/06/greedy-and-non-greedy-matching-using-perl-regex.html#comments</comments>
		<pubDate>Mon, 29 Jun 2009 07:17:40 +0000</pubDate>
		<dc:creator>Aryo Pinandito</dc:creator>
				<category><![CDATA[Experimental]]></category>
		<category><![CDATA[Tutorial]]></category>
		<category><![CDATA[Perl]]></category>
		<category><![CDATA[Regular Expression]]></category>
		<category><![CDATA[Scripting]]></category>

		<guid isPermaLink="false">http://aryo.info/blog/?p=547</guid>
		<description><![CDATA[In this article I will show the difference between the default greedy (.+ and .*) and non-greedy matching using Perl-compatible regular expression.
For example, I have a string in a line:
$line= "Seq[03] Command : CREATE("A") Seq[04] Command : CREATE("B") Seq[04] error: 5006 Seq[03] error: 5006 Seq[05] Command : DELETE("A") Seq[05] error: 5006 ";
And I could capture [...]]]></description>
			<content:encoded><![CDATA[<p>In this article I will show the difference between the default greedy (.+ and .*) and non-greedy matching using Perl-compatible regular expression.</p>
<p><span id="more-547"></span>For example, I have a string in a line:</p>
<pre>$line= "Seq[03] Command : CREATE("A") Seq[04] Command : CREATE("B") Seq[04] error: 5006 Seq[03] error: 5006 Seq[05] Command : DELETE("A") Seq[05] error: 5006 ";</pre>
<p>And I could capture all the Command without the error code using the following regular expression:</p>
<pre>m/Seq\[[0-9]{2}\].+Command.+\(.+\)/gi</pre>
<p>and the Perl code to show all string matching string:</p>
<pre>while( $line =~  m/Seq\[[0-9]{2}\].+Command.+\(.+\)/gi ) {
       print $&amp; . "\n";
}</pre>
<p>But it doesn&#8217;t work as I expected because of the &#8220;greediness&#8221; of .+ and/or .*. The above code will match:</p>
<pre>Seq[03] Command : CREATE("A") Seq[04] Command :
CREATE("B") Seq[04] error: 5006 Seq[03] error: 5006 Seq[05] Command : DELETE("A")</pre>
<p>I expect the following output:</p>
<pre>Seq[03] Command : CREATE("A")
Seq[03] Command : CREATE("B")
Seq[03] Command : DELETE("A")</pre>
<p>To get the matching output as I expected, I need to modify the greedines the regular expression to a non-greedy one. How? After .+ and/or .* you need to add a question mark ? so the regular expression is now become:</p>
<pre>m/Seq\[[0-9]{2}\].+?Command.+?\(.+?\)/gi</pre>
<p>The following code is the full Perl code:</p>
<pre>#!/bin/perl
$line= "Seq[03] Command : CREATE("A") Seq[04] Command : CREATE("B") Seq[04] error: 5006 Seq[03] error: 5006 Seq[05] Command : DELETE("A") Seq[05] error: 5006 ";
while( $line =~  m/Seq\[[0-9]{2}\].+?Command.+?\(.+?\)/gi ) {
       print $&amp; . "\n";
}</pre>
]]></content:encoded>
			<wfw:commentRss>http://aryo.info/blog/2009/06/greedy-and-non-greedy-matching-using-perl-regex.html/feed</wfw:commentRss>
		<slash:comments>8</slash:comments>
		</item>
		<item>
		<title>Binary String Conversion to Decimal and Hex Using C#</title>
		<link>http://aryo.info/blog/2009/04/binary-to-decimal-hex.html</link>
		<comments>http://aryo.info/blog/2009/04/binary-to-decimal-hex.html#comments</comments>
		<pubDate>Thu, 30 Apr 2009 01:59:25 +0000</pubDate>
		<dc:creator>Aryo Pinandito</dc:creator>
				<category><![CDATA[Experimental]]></category>
		<category><![CDATA[Tutorial]]></category>
		<category><![CDATA[.NET Compact Framework 2.0]]></category>
		<category><![CDATA[.net Framework 2.0]]></category>
		<category><![CDATA[C#]]></category>
		<category><![CDATA[Windows]]></category>

		<guid isPermaLink="false">http://aryo.info/blog/?p=544</guid>
		<description><![CDATA[If you need to convert Binary String to Decimal (Integer) and Hexadecimal, .NET Framework has conversion methods in Convert class to make numeric conversion easier. This class is located in Microsoft.VisualBasic library.

To use Convert class in Microsoft.VisualBasic library, you need to include the following code at the top of your code:
using Microsoft.VisualBasic;
Converting binary String value [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://aryo.info/wp-content/uploads/2009/04/microsoftnet-logo.jpg"><img class="alignleft size-full wp-image-545" style="padding-right:10px;" title="microsoftnet-logo" src="http://aryo.info/wp-content/uploads/2009/04/microsoftnet-logo.jpg" alt="microsoftnet-logo" width="150" height="82" /></a>If you need to convert Binary String to Decimal (Integer) and Hexadecimal, .NET Framework has conversion methods in <code>Convert</code> class to make numeric conversion easier. This class is located in <code>Microsoft.VisualBasic</code> library.</p>
<p><span id="more-544"></span></p>
<p>To use <code>Convert </code>class in <code>Microsoft.VisualBasic</code> library, you need to include the following code at the top of your code:</p>
<pre>using Microsoft.VisualBasic;</pre>
<p>Converting binary <code>String </code>value to <code>Int32 </code>use <code>Convert.ToInt32(String value, Int fromBase)</code> method. <code>value </code>is the binary <code>String </code>value to convert, and <code>formBase </code>is <code>2 </code>to indicate that <code>value </code>is binary.</p>
<pre>String value = "00000010";
Int32 decimal = Convert.ToInt32(value, 2);</pre>
<p>Converting decimal (Int32) value to hexadecimal is as easy as converting binary String to Int32 by using <code>Convert.ToString(Int32 value, toBase)</code> method. <code>value </code>is the decimal value to convert to hexadecimal, and <code>toBase </code>is <code>16 </code>to indicate that value is converted to 16-base (hex).</p>
<pre>Int32 value = 13;
String hex = Convert.ToString(value, 16);</pre>
<p>You can combine both method to do binary to hex conversion like the following example:</p>
<pre>String binary = "00000010";
String hex = Convert.ToString(Convert.ToInt32(binary, 2), 16);</pre>
]]></content:encoded>
			<wfw:commentRss>http://aryo.info/blog/2009/04/binary-to-decimal-hex.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Change IP Address Using netsh from Command Prompt</title>
		<link>http://aryo.info/blog/2009/04/change-ip-address-using-netsh-from-command-prompt.html</link>
		<comments>http://aryo.info/blog/2009/04/change-ip-address-using-netsh-from-command-prompt.html#comments</comments>
		<pubDate>Fri, 24 Apr 2009 04:15:04 +0000</pubDate>
		<dc:creator>Aryo Pinandito</dc:creator>
				<category><![CDATA[Experimental]]></category>
		<category><![CDATA[Tutorial]]></category>
		<category><![CDATA[IPChanger]]></category>
		<category><![CDATA[Networking]]></category>
		<category><![CDATA[Windows]]></category>

		<guid isPermaLink="false">http://aryo.info/blog/?p=539</guid>
		<description><![CDATA[Network interface can be changed manually by using netsh command (netsh.exe) from Command Prompt. To change the IP to static IP, use the following command format:
netsh interface ip set address [Connection Name] [Source] [IP] [Netmask] [Gateway] [Metric]


[Connection Name] is the connection name which the network adapter is assigned to. You can see the name in [...]]]></description>
			<content:encoded><![CDATA[<p>Network interface can be changed manually by using <code>netsh </code>command (<code>netsh.exe</code>) from Command Prompt. To change the IP to static IP, use the following command format:</p>
<pre>netsh interface ip set address [Connection Name] [Source] [IP] [Netmask] [Gateway] [Metric]
<span id="more-539"></span></pre>
<ul>
<li><code>[Connection Name]</code> is the connection name which the network adapter is assigned to. You can see the name in the Control Panel Network Connections panel or by using the <code>ipconfig /all</code> command from the command prompt.</li>
<li><code>[Source]</code> is the source of IP address, whether it is static or dhcp. If you set to dhcp. You can ignore all other remaining parameter.</li>
<li><code>[IP]</code> is the IP address you set.</li>
<li><code>[Netmask]</code> is the network mask for the IP address.</li>
<li><code>[Gateway]</code> is the the gateway IP address.</li>
<li><code>[Metric]</code> is the metric for the gateway.</li>
</ul>
<p>for example:</p>
<pre>netsh interface ip set address "Local Area Connection" static 192.168.1.10 255.255.255.0 192.168.1.1 1</pre>
<p>The above command will set your &#8220;Local Area Connection&#8221; network adapter IP to static IP <code>192.168.1.10</code> with netmask <code>255.255.255.0</code>, gateway <code>192.168.1.1</code>, and gateway metric <code>1</code>.</p>
<p>To set DNS server for the network connection use the following command:</p>
<pre>netsh interface ip set dns "Local Area Connection" static 202.134.1.10</pre>
<p>To add a second DNS server, use the following command:</p>
<pre><span class="article">netsh interface ip add dns "Local Area Connection" 202.134.0.155 index=2
</span></pre>
<p><span class="article">OK, have a good try.<br />
</span></p>
]]></content:encoded>
			<wfw:commentRss>http://aryo.info/blog/2009/04/change-ip-address-using-netsh-from-command-prompt.html/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>
