<?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>Reaper-X</title>
	<atom:link href="http://www.reaper-x.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.reaper-x.com</link>
	<description>- If at first you don&#039;t succeed; call it version 1.0</description>
	<lastBuildDate>Wed, 16 May 2012 14:41:23 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	
<atom:link rel="hub" href="http://pubsubhubbub.appspot.com"/><atom:link rel="hub" href="http://superfeedr.com/hubbub"/>		<item>
		<title>How to block TOR on Apache and Nginx</title>
		<link>http://www.reaper-x.com/2012/05/15/how-to-block-tor-on-apache-and-nginx/</link>
		<comments>http://www.reaper-x.com/2012/05/15/how-to-block-tor-on-apache-and-nginx/#comments</comments>
		<pubDate>Tue, 15 May 2012 08:56:51 +0000</pubDate>
		<dc:creator>Reaper-X</dc:creator>
				<category><![CDATA[How To]]></category>
		<category><![CDATA[Apache]]></category>
		<category><![CDATA[htaccess]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[nginx]]></category>
		<category><![CDATA[tor]]></category>
		<category><![CDATA[web server]]></category>

		<guid isPermaLink="false">http://www.reaper-x.com/?p=873</guid>
		<description><![CDATA[How to block TOR users from accessing your site, or specific files or directories only on Apache and Nginx]]></description>
			<content:encoded><![CDATA[<p>If you ever want to block TOR users from your accessing website completely or block them from accessing specific file(s) / location(s) only for any reasons you may have and you&#8217;re running Nginx or Apache, hopefully this post can help you with that</p>
<h2>Getting a list of TOR IP Addresses</h2>
<p>First thing first is we need to get a list of TOR IP Address, and to do that we have two options:</p>
<ul>
<li>Use TOR Bulk Exit List from <a href="https://check.torproject.org/cgi-bin/TorBulkExitList.py">Torproject</a></li>
<li>Use an external sites that list TOR IP Address such as from <a href="https://www.dan.me.uk/tornodes">dan.me.uk</a> or from <a href="http://torstatus.blutmagie.de/">torstatus.blutmagie.de</a></li>
</ul>
<p>Note: dan.me.uk website only allow you to fetch it every 1 hour only (even if you accidentally clicked it), i choose to not link to the ip address url directly because of that reason and so you have to copy the url directly</p>
<p>For example purpose, here i&#8217;m going to use the list from dan.me.uk website and i obviously would like to thank him first for providing tor ip list</p>
<h2>Blocking TOR on Nginx</h2>
<p>I assume that:</p>
<ul>
<li>Nginx is located at /usr/local/nginx</li>
<li>The conf directory is at /usr/local/nginx/conf</li>
</ul>
<p>1. Edit your vhost configuration let&#8217;s say it&#8217;s called mydomain.conf</p>
<pre>
# Example configuration on blocking tor on Nginx for a specific server block
# /usr/local/nginx/conf/mydomain.conf

server {

	[...] # your access_log, error_log, etc

	# include tor ip list for a whole vhost
	include tor-ip.conf;

	location / {
		[...] # root configuration
	}

}

# And here's an example if you want to block it for specific location / file only

server {

	[...] # your access_log, error_log, etc

	location ~ "/no-tor-allowed/" {

		# include tor ip list for a whole vhost
		include tor-ip.conf;

	}

	location / {
		[...] # root other configuration
	}

}
</pre>
<p>But don&#8217;t go reloading your nginx configuration just yet</p>
<p>2. Downloading the ip list and automatically reload nginx</p>
<pre>
# this is a one liner, the output file is /usr/local/nginx/conf/tor-ip.conf
# make sure to adjust the nginx location if you put Nginx in different directory

wget -q https://www.dan.me.uk/torlist/ -O - | sed 's/^/deny /g' | sed 's/$/;/g' &gt; /usr/local/nginx/conf/tor-ip.conf; /usr/local/nginx/sbin/nginx -s reload
</pre>
<p>And done for the Nginx part</p>
<h2>Blocking TOR on Apache</h2>
<p>Depending on whether you have access to your Apache configuration file or not, the configuration will be different. But i&#8217;ll cover them both just in case you prefer to do it directly on Apache configuration file</p>
<h3>If you have access to Apache configuration</h3>
<p>The steps are pretty much the same like Nginx with the only difference is the location and the syntax of the block directive, anyway:</p>
<p>I assume that:</p>
<ul>
<li>Apache is at /usr/local/apache</li>
<li>The conf file is at /usr/local/apache/conf</li>
</ul>
<p>1. Open your vhost configuration file (if you put your vhost configuration file in httpd.conf then edit that file) and then locate your desired virtualhost (e.g mydomain.com)</p>
<pre>
# Example configuration on blocking tor on Apache for a specific virtualhost block
&lt;VirtualHost 1.2.3.4:80&gt;

	[...] # other stuff such as server name and so on

	# Adjust the directory if you want to block tor for specific directory only
	# The example below will block access from TOR users completely
	&lt;Directory /&gt;
		# Include tor ip
		Include conf/tor-ip.conf
	&lt;/Directory&gt;

	# Or you can also use location directive
	# in this example TOR users is not allowed to visit /no-tor-allowed url and its contents
	&lt;Location /no-tor-allowed&gt;
		# Include tor ip
		Include conf/tor-ip.conf
	&lt;/Location&gt;

	# Or use this to block specific file only
	&lt;Files my-files.html&gt;
		# Include tor ip
		Include conf/tor-ip.conf
	&lt;/Files&gt;

&lt;/VirtualHost&gt;
</pre>
<p>And don&#8217;t restart Apache just yet or else it&#8217;ll fail</p>
<p>2. Downloading the ip list and automatically restart Apache</p>
<h4>If you&#8217;re running Apache 2.2 and below</h4>
<pre>
# This will save the output tor ip to /usr/local/apache/conf/tor-ip.conf

wget -q https://www.dan.me.uk/torlist/ -O - | sed 's/^/deny from /g' &gt; /usr/local/apache/conf/tor-ip.conf; /usr/local/apache/bin/apachectl graceful
</pre>
<h4>If you&#8217;re running Apache 2.4</h4>
<pre>
# This will save the output tor ip to /usr/local/apache/conf/tor-ip.conf

wget -q https://www.dan.me.uk/torlist/ -O - | sed 's/^/Require not ip /g' | sed "1i\&lt;RequireAll\&gt;\nRequire all granted" | sed '$a\&lt;\/RequireAll\&gt;' &gt; /usr/local/apache/conf/tor-ip.conf; /usr/local/apache/bin/apachectl graceful
</pre>
<p>Note: Actually as long as you have mod_access_compat compiled into Apache 2.4 (if i remember it correctly it&#8217;s included by default if you compile Apache yourself) you can still use the old <strong>allow deny</strong> directives but for future proof using <strong>Require</strong> would be better</p>
<h3>If you only have access to .htaccess file</h3>
<p>You are still able to use this but make sure to change <strong>/your/www/directory/.htaccess</strong> into the full path to your .htaccess file but please note that i&#8217;m not sure about the performance penalty for blocking many ip addresses in a .htaccess file</p>
<h4>If you&#8217;re on Apache 2.2 and below</h4>
<pre>
# Note: this will block all access from TOR by default.
# If you need to block for specific file, you need to modify the command below
# Also make sure to backup your .htaccess file first

sed -in '/#\ REAPER-TOR/,/#\ END-REAPER-TOR/d' /your/www/directory/.htaccess ; wget -q https://www.dan.me.uk/torlist/ -O - | sed 's/^/deny from /g' | sed "1i# REAPER-TOR" | sed '$a# END-REAPER-TOR' &gt;&gt; /your/www/directory/.htaccess
</pre>
<p>If you&#8217;re on CPanel Shared Hosting there&#8217;s a high chance that you&#8217;re on Apache 2.2</p>
<h4>If you&#8217;re on Apache 2.4</h4>
<pre>
# Note: this will block all access from TOR by default.
# If you need to block for specific file, you need to modify the command below
# Also make sure to backup your .htaccess file first

sed -in '/#\ REAPER-TOR/,/#\ END-REAPER-TOR/d' /your/www/directory/.htaccess ; wget -q https://www.dan.me.uk/torlist/ -O - | sed 's/^/Require not ip /g' | sed "1i#\ REAPER-TOR\n\&lt;RequireAll\&gt;\nRequire all granted" | sed '$a\&lt;\/RequireAll\&gt;\n# END-REAPER-TOR' &gt;&gt; /your/www/directory/.htaccess
</pre>
<p>And that&#8217;s it. Hopefully i didn&#8217;t forget anything and as a final note, if you&#8217;re going to use it in cron (obviously otherwise your tor ip data won&#8217;t be accurate), make sure that it&#8217;s scheduled for 1 hour at minimum to respect those that gives you free service to lookup tor ip =)</p>
	<p></p>
	<p><em>Copyright &copy; <a href="http://www.reaper-x.com" title="Reaper-X Technology">Reaper-X Technology</a> &ndash; www.reaper-x.com | <a href="http://www.reaper-x.com/2012/05/15/how-to-block-tor-on-apache-and-nginx/" title="How to block TOR on Apache and Nginx">Permalink</a> | <a href="http://www.reaper-x.com/2012/05/15/how-to-block-tor-on-apache-and-nginx/#comments" title="Add a comment">Add a comment</a></em></p>
	<p><em><a href="http://www.reaper-x.com">0x87485B96</a> | Tags : <a href="http://www.reaper-x.com/category/how-to/" title="View all posts in How To" rel="category tag nofollow" class="xcats">How To</a></em></p>]]></content:encoded>
			<wfw:commentRss>http://www.reaper-x.com/2012/05/15/how-to-block-tor-on-apache-and-nginx/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to remove index files from URL on Nginx</title>
		<link>http://www.reaper-x.com/2012/04/30/how-to-remove-index-files-from-url-on-nginx/</link>
		<comments>http://www.reaper-x.com/2012/04/30/how-to-remove-index-files-from-url-on-nginx/#comments</comments>
		<pubDate>Mon, 30 Apr 2012 01:15:55 +0000</pubDate>
		<dc:creator>Reaper-X</dc:creator>
				<category><![CDATA[How To]]></category>
		<category><![CDATA[nginx]]></category>
		<category><![CDATA[nginx rewrite]]></category>
		<category><![CDATA[web server]]></category>

		<guid isPermaLink="false">http://www.reaper-x.com/?p=870</guid>
		<description><![CDATA[How to remove index files such as index.php index.html from the URL on Nginx]]></description>
			<content:encoded><![CDATA[<p>So yesterday while i was idling on Freenode i saw someone asking in Nginx channel that he basically wants to remove the index.php file from the url or in other words he wants to redirect http://www.mydomain.com/index.php into http://www.mydomain.com/ &#8230; which is probably for canonicalization purpose (canonical url) and/or perhaps SEO purpose. He had tried this:</p>
<pre>
# And it causes redirect loop (also tested on my local box)
# Note the | is for illustration
location =|~ /index.php {
	rewrite ^ http://www.domain.com/|/ permanent;
}
</pre>
<p>And being curious, i&#8217;m doing a test on my local box to remove that index.php thing from the URL and found a way to do it and it was simple. So if you&#8217;re currently looking for a way to remove your index file from the URL and you&#8217;re using Nginx perhaps this simple tips can help you with that</p>
<p>First thing first is open your nginx configuration files that hold your virtual hosts configuration and then add this line inside the server directive:</p>
<pre>
# This will redirect index.php index.htm to /
# Feel free to add other extension you need
if ( $request_uri ~ "/index.(php|html?)" ) {
	rewrite ^ / permanent;
}
</pre>
<p>And an example just in case you want to see where it should be placed</p>
<pre>
server {

	[...] # other stuff such as server_name, access_log, etc

	# Here goes the code
	if ( $request_uri ~ "/index.(php|html?)" ) {
		rewrite ^ / permanent;
	}

	location / {
		[...] # your root configuration
	}

	location ~ "\.php$" {
		[...] # your fastcgi configuration
	}

}
</pre>
<p>Then reload your nginx configuration. Now every request for /index.php or /index.html file will be displayed as http://www.mydomain.com/. And if there&#8217;s a query string in your URL it&#8217;ll be displayed as http://www.mydomain.com/?q=abc instead of http://www.mydomain.com/index.php?q=abc</p>
	<p></p>
	<p><em>Copyright &copy; <a href="http://www.reaper-x.com" title="Reaper-X Technology">Reaper-X Technology</a> &ndash; www.reaper-x.com | <a href="http://www.reaper-x.com/2012/04/30/how-to-remove-index-files-from-url-on-nginx/" title="How to remove index files from URL on Nginx">Permalink</a> | <a href="http://www.reaper-x.com/2012/04/30/how-to-remove-index-files-from-url-on-nginx/#comments" title="2 comments">2 comments</a></em></p>
	<p><em><a href="http://www.reaper-x.com">0x87485B96</a> | Tags : <a href="http://www.reaper-x.com/category/how-to/" title="View all posts in How To" rel="category tag nofollow" class="xcats">How To</a></em></p>]]></content:encoded>
			<wfw:commentRss>http://www.reaper-x.com/2012/04/30/how-to-remove-index-files-from-url-on-nginx/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>How to remap / retasking Realtek onboard jacks / ports</title>
		<link>http://www.reaper-x.com/2012/02/13/how-to-remap-retasking-realtek-onboard-jacks-ports/</link>
		<comments>http://www.reaper-x.com/2012/02/13/how-to-remap-retasking-realtek-onboard-jacks-ports/#comments</comments>
		<pubDate>Mon, 13 Feb 2012 06:31:49 +0000</pubDate>
		<dc:creator>Reaper-X</dc:creator>
				<category><![CDATA[How To]]></category>
		<category><![CDATA[realtek]]></category>
		<category><![CDATA[realtek hd audio]]></category>
		<category><![CDATA[registry]]></category>
		<category><![CDATA[sound card]]></category>

		<guid isPermaLink="false">http://www.reaper-x.com/?p=864</guid>
		<description><![CDATA[If you&#8217;re using Realtek onboard soundcard and for whatever reasons wants to remap / retask the rear jacks or front panel jacks to anything you want perhaps you might find this useful For example, in my case, because i&#8217;m not using a computer case (in other words, i just left my motherboard open) and i [...]]]></description>
			<content:encoded><![CDATA[<p>If you&#8217;re using Realtek onboard soundcard and for whatever reasons wants to remap / retask the rear jacks or front panel jacks to anything you want perhaps you might find this useful</p>
<p>For example, in my case, because i&#8217;m not using a computer case (in other words, i just left my motherboard open) and i don&#8217;t have a standalone front panel and at the same time i want to connect my headphone to the rear grey jack / side speakers jack (by default headphone can be connected only to the front panel jack) while also connecting a 5.1 analog speakers setup to the rear jacks (green, black, and orange)</p>
<p>Anyway to make thing short, here&#8217;s the steps:</p>
<p>0. Download the latest driver available because there are differences between the pin numbers used if you&#8217;re using old drivers, uninstall the old driver, restart your system, install the new driver and then restart your system once again (at the time i wrote this, the latest version is R267, and i&#8217;m using their driver for the 64-bit systems)</p>
<p>1. Make sure that you&#8217;ve plugged everything that you need first into your Realtek Jacks (whether front panel jacks if you have it or rear jacks). For example, in my case, i already connected the headphone to the side speakers jack (grey colored jack)</p>
<p>2. Open regedit by typing regedit at the run command (press Windows Key + R and then type regedit) and then locate the following registry key</p>
<p><code><strong>HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Class\{4D36E96C-E325-11CE-BFC1-08002BE10318}\0000\Settings\</strong>DrvXXXX_DevType_XXXX_SSXXXXXXXX</code></p>
<p>Note that, XXXX is random numbers</p>
<p>3. Create a new Binary registry key(s) using below Pin Numbers and Binary Values</p>
<p>The Old Pin Numbers (just in case)</p>
<pre>
"Pin00" = Front speakers (rear green)
"Pin01" = Rear speakers (rear black)
"Pin02" = Center / Sub-woofer (rear orange)
"Pin03" = Side speakers (rear gray)
"Pin04" = Mic-in (rear pink)
"Pin05" = Front Mic-In (front pink)
"Pin06" = Line-in (rear blue)
"Pin07" = Front Headphone (front green)
</pre>
<p>The New Pin Numbers</p>
<pre>
"Pin10" = Line-in (rear blue)
"Pin11" = Mic-in (rear pink)
"Pin14" = Front speakers (rear green)
"Pin15" = Rear speakers (rear black)
"Pin16" = Center / Sub-woofer (rear orange)
"Pin17" = Side speakers (rear gray)
"Pin19" = Front Mic-In (front pink)
"Pin1b" = Front Headphone (front green)
</pre>
<p>Binary Values</p>
<pre>
"00 00 00 00" = Line-in
"01 00 00 00" = Mic-in
"02 00 00 00" = Headphones
"04 00 00 00" = Front speakers
"05 00 00 00" = Rear speakers
"06 00 00 00" = Center / sub-woofer
"07 00 00 00" = Side speakers
</pre>
<p>For example if you want to map the rear side speakers jack into a front headphone jack, all you have to do is just write <strong>Pin17 binary key with a binary value of 02 00 00 00</strong> as you can see below</p>
<p><a href="http://img.reaper-x.com/blogs/2012/02/remap-realtek-jacks-registry.png"><img src="http://img.reaper-x.com/blogs/2012/02/remap-realtek-jacks-registry-468x245.png" alt="Remapping / Retasking Realtek jacks by editing registry" title="Remapping / Retasking Realtek jacks by editing registry" width="468" height="245" class="alignnone size-large wp-image-866" /></a></p>
<p>Note that i didn&#8217;t test any other Pin Numbers besides Pin17 (because what i want is remapping / retasking the side speakers jack into headphone jack and it work right away)</p>
<p>4. Restart your system when you&#8217;re done adjusting it and after logging into Windows, try testing your new remapped jack(s).</p>
<p>As a side note, the remapped / retasked jack(s) can also be seen on Realtek HD Audio Manager as you can see below</p>
<p><a href="http://img.reaper-x.com/blogs/2012/02/realtek-hd-audio-manager-remapped.png"><img src="http://img.reaper-x.com/blogs/2012/02/realtek-hd-audio-manager-remapped-468x361.png" alt="Remapped / Retasked Realtek HD Audio Manager" title="Remapped / Retasked Realtek HD Audio Manager" width="468" height="361" class="alignnone size-large wp-image-865" /></a></p>
<p>Credits goes to Ulti for finding the method and Tnitro21 and Eliah_ for finding the values (<a href="http://www.overclock.net/t/378475/realtek-hd-audio-manager-universal-jack-retasking-ip35-pro-xe">link</a>)</p>
	<p></p>
	<p><em>Copyright &copy; <a href="http://www.reaper-x.com" title="Reaper-X Technology">Reaper-X Technology</a> &ndash; www.reaper-x.com | <a href="http://www.reaper-x.com/2012/02/13/how-to-remap-retasking-realtek-onboard-jacks-ports/" title="How to remap / retasking Realtek onboard jacks / ports">Permalink</a> | <a href="http://www.reaper-x.com/2012/02/13/how-to-remap-retasking-realtek-onboard-jacks-ports/#comments" title="3 comments">3 comments</a></em></p>
	<p><em><a href="http://www.reaper-x.com">0x87485B96</a> | Tags : <a href="http://www.reaper-x.com/category/how-to/" title="View all posts in How To" rel="category tag nofollow" class="xcats">How To</a></em></p>]]></content:encoded>
			<wfw:commentRss>http://www.reaper-x.com/2012/02/13/how-to-remap-retasking-realtek-onboard-jacks-ports/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Create RSS feed from any web page using Yahoo Pipes</title>
		<link>http://www.reaper-x.com/2011/12/27/create-rss-feed-from-any-web-page-using-yahoo-pipes/</link>
		<comments>http://www.reaper-x.com/2011/12/27/create-rss-feed-from-any-web-page-using-yahoo-pipes/#comments</comments>
		<pubDate>Tue, 27 Dec 2011 05:37:41 +0000</pubDate>
		<dc:creator>Reaper-X</dc:creator>
				<category><![CDATA[How To]]></category>
		<category><![CDATA[rss feed]]></category>
		<category><![CDATA[scraping]]></category>
		<category><![CDATA[yahoo pipes]]></category>

		<guid isPermaLink="false">http://www.reaper-x.com/?p=855</guid>
		<description><![CDATA[A simple example on using Yahoo Pipes to create RSS Feed from any website]]></description>
			<content:encoded><![CDATA[<p>In this post, i&#8217;m going to write a simple explanation / basic example about using Yahoo Pipes to fetch a webpage (you are free to use any pages you want assuming they allow Yahoo Pipes) and then create a RSS Feed from it so you can read it on your favorite rss reader</p>
<p>As an example, in this post i&#8217;m going to give an example of creating RSS Feed from HorribleSubs website (horriblesubs.org) that i&#8217;ve been using (for myself only) so i can keep track on their Gintama release easily (i read that they&#8217;re planning on doing a total makeover of their site so i guess it&#8217;s okay to use them as an example)</p>
<p><a href="http://img.reaper-x.com/blogs/2011/12/pipes-rss-output.png"><img src="http://img.reaper-x.com/blogs/2011/12/pipes-rss-output.png" alt="Yahoo Pipes HorribleSubs RSS Output example using Fetch Page module" title="Yahoo Pipes HorribleSubs RSS Output example using Fetch Page module" width="440" height="168" class="alignnone size-full wp-image-860" /></a></p>
<p>Before anything else, please see <a href="http://pipes.yahoo.com/pipes/pipe.info?_id=f6be9368f336e63babbf0ec53738ded5">the source of the pipe used in this example</a> (you need to log in to Yahoo first) because the screenshots used in this example is not a screenshot of the pipe itself but from the output debugger because the process itself is simple. And with that said, here are the description on each process</p>
<p><strong>Update</strong>: <a href="http://pipes.yahoo.com/pipes/pipe.info?_id=aa89e803a5b91055e4f87bde7b8103fa">Here&#8217;s the updated version of the pipe which is used for their new domain</a> (horriblesubs.info) and their new site design. The old pipe is left there in case you want to compare the old pipe with the updated pipe. And as you can see by yourself, the process itself is still the same as before but with some adjustments</p>
<p>1. First thing you need to do is obviously examine the page source you&#8217;re going to fetch to see where you should start cutting and how the items separated</p>
<p>For example, in this case the content i&#8217;m going to pick is wrapped within a div ( &lt;div id=&quot;tab3&quot; class=&quot;boxcontent&quot;&gt; ) and the items is separated by &lt;br/&gt; tag. And so i just need to write that into the <strong>fetch page module</strong></p>
<p><a href="http://img.reaper-x.com/blogs/2011/12/pipes-fetch-page-target-source.png"><img src="http://img.reaper-x.com/blogs/2011/12/pipes-fetch-page-target-source-468x90.png" alt="Target HTML Source" title="Target HTML Source" width="468" height="90" class="alignnone size-large wp-image-861" /></a></p>
<p>When you&#8217;re done with this step, the rest (perhaps) can be considered as cosmetic because you can use it without doing the rest but while at it, i might as well make it pretty even i&#8217;m the only person that use it</p>
<p>2. At this part, i&#8217;m filtering the content from unneded html tags and content that i deemed unnecessary by using the regex / regular expression module as you can see on the pipe source. But because there&#8217;s no single regex rule to rule them all (because it depends on your needs), you&#8217;ll need to experiment by yourself at the regex parts</p>
<p>3. And now, so i can process each item separately, i&#8217;m mapping the previously cleaned up content as title, description, and link which is going to be used for the RSS Feed title, description and link respectively by using the <strong>rename module</strong> so the output look like below image</p>
<p><a href="http://img.reaper-x.com/blogs/2011/12/pipes-mapping-debug.png"><img src="http://img.reaper-x.com/blogs/2011/12/pipes-mapping-debug-468x149.png" alt="Yahoo Pipes items mapping" title="Yahoo Pipes items mapping" width="468" height="149" class="alignnone size-large wp-image-857" /></a></p>
<p>4. Once again the <strong>regex module</strong> is used and this time i&#8217;m using it to clean-up the html tags in the title (to differentiate it from the description) and the link so it gives you the target url only (in this case it is the torrent link) so when you click on the title from your RSS Reader you&#8217;ll go to the target url directly (note: see the output difference between below output image and the above image)</p>
<p><a href="http://img.reaper-x.com/blogs/2011/12/pipes-mapping-cleaned.png"><img src="http://img.reaper-x.com/blogs/2011/12/pipes-mapping-cleaned-468x87.png" alt="Yahoo Pipes mapping cleaned up" title="Yahoo Pipes mapping cleaned up" width="468" height="87" class="alignnone size-large wp-image-858" /></a></p>
<p>5. Finally connect it to the <strong>pipe output</strong> and to get it as RSS, you just need to copy the <strong>Get as RSS</strong> link from your pipe to display it as RSS Feed and done</p>
<p><a href="http://img.reaper-x.com/blogs/2011/12/pipes-final.png"><img src="http://img.reaper-x.com/blogs/2011/12/pipes-final-468x170.png" alt="Yahoo Pipes Fetch Page example" title="Yahoo Pipes Fetch Page example" width="468" height="170" class="alignnone size-large wp-image-856" /></a></p>
<p>Also because there&#8217;s a usage limits imposed by Yahoo Pipes as quoted below</p>
<blockquote><p>
200 runs (of a given Pipe) in 10 minutes<br />
200 runs (of any Pipe) from an IP in 10 minutes<br />
If you exceed the 200 runs in a 10 minute block, your Pipe will be 999&#8242;ed for a hour.
</p></blockquote>
<p>You should make sure to cache your output before using it (unless perhaps you&#8217;re the only person that use the pipe you&#8217;ve created though it&#8217;s still better to cache it)</p>
	<p></p>
	<p><em>Copyright &copy; <a href="http://www.reaper-x.com" title="Reaper-X Technology">Reaper-X Technology</a> &ndash; www.reaper-x.com | <a href="http://www.reaper-x.com/2011/12/27/create-rss-feed-from-any-web-page-using-yahoo-pipes/" title="Create RSS feed from any web page using Yahoo Pipes">Permalink</a> | <a href="http://www.reaper-x.com/2011/12/27/create-rss-feed-from-any-web-page-using-yahoo-pipes/#comments" title="Add a comment">Add a comment</a></em></p>
	<p><em><a href="http://www.reaper-x.com">0x87485B96</a> | Tags : <a href="http://www.reaper-x.com/category/how-to/" title="View all posts in How To" rel="category tag nofollow" class="xcats">How To</a></em></p>]]></content:encoded>
			<wfw:commentRss>http://www.reaper-x.com/2011/12/27/create-rss-feed-from-any-web-page-using-yahoo-pipes/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to boot Clonezilla and GParted from HDD on Windows</title>
		<link>http://www.reaper-x.com/2011/10/22/how-to-boot-clonezilla-and-gparted-from-hdd-on-windows/</link>
		<comments>http://www.reaper-x.com/2011/10/22/how-to-boot-clonezilla-and-gparted-from-hdd-on-windows/#comments</comments>
		<pubDate>Sat, 22 Oct 2011 06:30:14 +0000</pubDate>
		<dc:creator>Reaper-X</dc:creator>
				<category><![CDATA[How To]]></category>
		<category><![CDATA[clonezilla]]></category>
		<category><![CDATA[gparted]]></category>
		<category><![CDATA[grub4dos]]></category>
		<category><![CDATA[live cd]]></category>
		<category><![CDATA[neogrub]]></category>

		<guid isPermaLink="false">http://www.reaper-x.com/?p=849</guid>
		<description><![CDATA[How to boot Clonezilla and GParted from HDD on Windows using EasyBCD NeoGRUB / Grub4DOS]]></description>
			<content:encoded><![CDATA[<p>I&#8217;m pretty sure most of you already know about Clonezilla and GParted, and the usefulness of those two tools. But to those that don&#8217;t, Clonezilla can help you clone your partition easily while GParted can help you manage your disk partition. And if you&#8217;ve been wondering on how to run Clonezilla and GParted directly from your HDD (frugal install) instead booting from a CD or a USB Flashdisk on Windows, perhaps this simple guide can help you with that</p>
<p>Before we get started, i have to mention that there are two ways to run Clonezilla and GParted on Windows although they both use the same thing, the first one is by installing / adding Grub4DOS manually and the other one is by using EasyBCD a GUI to install NeoGRUB / Grub4DOS. And in this post i&#8217;ll focus on the later and that is using NeoGRUB which is easier for some people if you don&#8217;t want to add Grub4DOS manually. And beside if you came here looking to run Clonezilla and / or Gparted using Grub4DOS, i assume that you have Grub4DOS installed and just want to see the configuration file :)</p>
<h2>Prerequisite</h2>
<ol>
<li>EasyBCD [<a href="http://neosmart.net/dl.php?id=1">download</a>]</li>
<li>Clonezilla Live [<a href="http://clonezilla.org/downloads.php">download</a>]: You are free to choose between the ISO version or ZIP version. For me, i choose the AMD64-ISO version</li>
<li>GParted Live [<a href="http://gparted.sourceforge.net/download.php">download</a>]: Same goes here too, you are free to choose between ISO or ZIP</li>
<li>7-Zip / Winrar / etc: This is used to extract the file inside the ISO or ZIP</li>
</ol>
<h2>Boot Clonezilla and GParted with NeoGRUB / Grub4DOS</h2>
<p>1. Install EasyBCD or Grub4DOS (<a href="http://diddy.boot-land.net/grub4dos/files/install.htm">instruction here</a> if you prefer to use Grub4DOS rather than NeoGRUB), run and at the add new entry section choose NeoGRUB and install it</p>
<p><a href="http://img.reaper-x.com/blogs/2011/10/easybcd-neogrub.jpg"><img src="http://img.reaper-x.com/blogs/2011/10/easybcd-neogrub.jpg" alt="NeoGRUB" title="EasyBCD NeoGRUB" width="468" height="384" class="alignnone size-full wp-image-850" /></a></p>
<p>2. Extract live directory inside Clonezilla and GParted somewhere one by one and rename it before extracting the other one. For me i choose to extract it and rename it into <strong>clonezilla-live</strong> and <strong>gparted-live</strong> (if you use different name than listed here, make sure to adjust the code below to your clonezilla and gparted directory name)</p>
<p>3. Now open C:\NST\menu.lst with your favorite text editor and then add this lines</p>
<pre>
# CLONEZILLA
title Clonezilla 1.2.10-14 AMD64
find --set-root /clonezilla-live/vmlinuz
kernel /clonezilla-live/vmlinuz boot=live config noswap nolocales edd=on nomodeset noprompt ocs_live_run="ocs-live-general" ocs_live_extra_param="" ocs_live_keymap="" ocs_live_batch="no" ocs_lang="" vga=788 live-media-path=/clonezilla-live toram=filesystem.squashfs ip=frommedia  nosplash
initrd /clonezilla-live/initrd.img

# GPARTED
title GParted 0.9.1.1
find --set-root /gparted-live/vmlinuz
kernel /gparted-live/vmlinuz boot=live config noswap noprompt live-media-path=/gparted-live toram=filesystem.squashfs ip=frommedia nosplash
initrd /gparted-live/initrd.img
</pre>
<p>4. Restart your computer and choose NeoGRUB and then choose either Clonezilla or GParted and your done :)</p>
	<p></p>
	<p><em>Copyright &copy; <a href="http://www.reaper-x.com" title="Reaper-X Technology">Reaper-X Technology</a> &ndash; www.reaper-x.com | <a href="http://www.reaper-x.com/2011/10/22/how-to-boot-clonezilla-and-gparted-from-hdd-on-windows/" title="How to boot Clonezilla and GParted from HDD on Windows">Permalink</a> | <a href="http://www.reaper-x.com/2011/10/22/how-to-boot-clonezilla-and-gparted-from-hdd-on-windows/#comments" title="Add a comment">Add a comment</a></em></p>
	<p><em><a href="http://www.reaper-x.com">0x87485B96</a> | Tags : <a href="http://www.reaper-x.com/category/how-to/" title="View all posts in How To" rel="category tag nofollow" class="xcats">How To</a></em></p>]]></content:encoded>
			<wfw:commentRss>http://www.reaper-x.com/2011/10/22/how-to-boot-clonezilla-and-gparted-from-hdd-on-windows/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to Install Squid Proxy on Windows</title>
		<link>http://www.reaper-x.com/2011/10/17/how-to-install-squid-proxy-on-windows/</link>
		<comments>http://www.reaper-x.com/2011/10/17/how-to-install-squid-proxy-on-windows/#comments</comments>
		<pubDate>Mon, 17 Oct 2011 09:12:09 +0000</pubDate>
		<dc:creator>Reaper-X</dc:creator>
				<category><![CDATA[How To]]></category>
		<category><![CDATA[adzapper]]></category>
		<category><![CDATA[privoxy]]></category>
		<category><![CDATA[proxy]]></category>
		<category><![CDATA[Squid]]></category>
		<category><![CDATA[squid proxy]]></category>
		<category><![CDATA[tor]]></category>

		<guid isPermaLink="false">http://www.reaper-x.com/?p=848</guid>
		<description><![CDATA[How to install Squid on Windows and optionally chaining it with Privoxy and Tor to filter and anonymize your connection]]></description>
			<content:encoded><![CDATA[<p>Back in 2006 or in the early days after i started this blog. I wrote about Installing Squid Cache on Windows. And i think i should rewrite it again because some parts in the old post is missing (back when this blog started, this blog is hosted at Wordpress.com and when i moved to a self hosted solution there are some errors in the importing process and although i know about that since a long time ago i&#8217;m just too lazy to rewrite it again lol). But well &#8230; what&#8217;s done is done :)</p>
<p>Anyway, before we begin, make sure that you have downloaded <strong>Squid Windows Binary Package / Squid for Windows</strong> that can be downloaded from <a href="http://squid.acmeconsulting.it/">Acmeconsulting</a>. And you have extracted it somewhere on your hard drive. In this post, i choose to extract it to <strong>&#8220;C:\Squid&#8221;</strong> due to hardcoded path and beside most people don&#8217;t like to read long post. So if you changed Squid location, make sure to adjust it accordingly. And don&#8217;t worry the actual installation process is fast. The other steps described here are optional unless you need it</p>
<p>And as a note, i wrote this post (tested) on Windows 7 x64 with UAC Enabled using Squid 2.7 Stable 8 and i&#8217;m pretty sure as it will work with earlier version of Windows as well. And No! you don&#8217;t need to turn off UAC because turning UAC off isn&#8217;t a good solution</p>
<p>And now let&#8217;s get started</p>
<h2 id="squid-initial-setup">Initial Setup</h2>
<p>First thing you need to do is, open command prompt as Administrator (if you&#8217;re on Windows Vista or Windows 7 and have UAC enabled) and then type below command to copy the default configuration files and install squid as windows service:</p>
<pre>
cd /d c:\squid
copy etc\*.default etc\*.
sbin\squid.exe -i
</pre>
<p>For the sake of completion, if you choose to put Squid.conf (or the entire Squid files) not at Drive C, replace the last command with this one (where x is your drive letter):</p>
<pre>
sbin\squid.exe -i -f "x:/squid/etc/squid.conf"
</pre>
<p>What the above code do:</p>
<ol>
<li>Change directory to your Squid directory</li>
<li>Create the default configuration file for Squid which is a copy from the default configuration file</li>
<li>Install Squid Cache as Windows Service so it&#8217;ll start Squid Service automatically</li>
</ol>
<p>And now we&#8217;re going to edit the main configuration for Squid Proxy Cache, and that is <strong>squid.conf</strong>. But obviously not everything is going to be covered here (you should go to the squid official site for this purpose). So i&#8217;m just going to list all the recommended options you should be aware / change</p>
<h2>Restricting access to your Squid Proxy Server</h2>
<p>To limit on who are allowed to connect to your Proxy Server, you should change / add the allowed IP Address that is allowed to connect to your squid proxy at below section</p>
<pre>
acl localnet src 10.0.0.0/8	# RFC1918 possible internal network
acl localnet src 172.16.0.0/12	# RFC1918 possible internal network
acl localnet src 192.168.0.0/16	# RFC1918 possible internal network
</pre>
<p>By using the same format as the above code for example, <strong>acl localnet src 123.456.789.0</strong></p>
<p>And then right before <strong>http_access allow localnet</strong>, add <strong>http_access allow localhost</strong> so it looks like:</p>
<pre>
http_access allow localhost
http_access allow localnet
</pre>
<p>And finally if you don&#8217;t want Squid to bind to all adapters (which is the default) you might want to change Squid Listen Address and Port to your LAN IP Address or if you&#8217;re just going to use Squid for yourself only then you should use below</p>
<pre>
# Default http_port 3128
# Bind to localhost at port 3128 only
http_port 127.0.0.1:3128
</pre>
<h2 id="squid-limit">Limiting access to specific ports only</h2>
<p>If you need to limit on which ports your Squid proxy clients are allowed to connect to, then you need to adjust this</p>
<pre>
acl Safe_ports port 80		# http
acl Safe_ports port 21		# ftp
acl Safe_ports port 443		# https
acl Safe_ports port 70		# gopher
acl Safe_ports port 210		# wais
acl Safe_ports port 1025-65535	# unregistered ports
acl Safe_ports port 280		# http-mgmt
acl Safe_ports port 488		# gss-http
acl Safe_ports port 591		# filemaker
acl Safe_ports port 777		# multiling http
</pre>
<p>For example if you want to limit your clients to HTTP and HTTPS only, then you can remove / comment all the other lines beside 80 and 443</p>
<h2 id="squid-cache-directory">Changing disk cache location and size</h2>
<p>For better performance, it&#8217;s better to put the Squid cache directory into another partition (in other words, not your system partition) and even better on different hard drive. So find this line:</p>
<pre>
cache_dir ufs c:/squid/var/cache <strong>100</strong> 16 256
</pre>
<p>And then change it to any directory you want, and also adjust the disk cache size to your liking, for example to put your squid cache directory at X:\squid-data\cache with a maximum capacity of 1500 MB</p>
<pre>
cache_dir ufs x:/squid-data/cache 1500 16 256
</pre>
<p>Also it&#8217;d better to put all squid logs into different partition too</p>
<h2 id="squid-cache-data-directory">Creating Squid cache data directory</h2>
<p>Now back at the command prompt again, and this time type:</p>
<pre>c:\squid\sbin\squid.exe -z</pre>
<p>To create Squid Swap Directories which is used to store cached objects</p>
<h2 id="start-squid-service">Starting Squid Service</h2>
<p>Now we need to start Squid service for the first time (the next time it&#8217;d start automatically), and there are two ways to achieve this, you are free to choose either the command prompt method or the GUI method</p>
<p>If you choose command prompt method then you need to type (run command prompt as administrator if you&#8217;re on vista or 7):</p>
<pre>net start squid</pre>
<p>If you choose the GUI way then, press <strong>Windows Key (on your keyboard) + R</strong>, and then type <strong>services.msc</strong>, search for and right click on Squid service and choose Start to start Squid Service</p>
<p>And that&#8217;s it you&#8217;re done Installing / Configuring Squid on Windows</p>
<p>But if you still want more, then please continue reading :)</p>
<p><strong>Special Note: If you placed squid not at C:\Squid, make sure to change anything in squid.conf that point towards C:\ into where you put Squid</strong></p>
<h2 id="squid-tweak">Minimal Squid Configuration Tweaking</h2>
<p>While the default configuration included with Squid is optimal for many, but sometimes you want more from your Squid installation and so we&#8217;re going to tweak several options i think necessary but obviously this is designed for a really small network, for other purpose or larger network, please consult your nearest squid experts :)</p>
<h3 id="creating-custom-conf">Creating custom.conf file</h3>
<p>Create a new text file and save it as custom.conf file inside your squid/etc directory so it&#8217;ll looks like <strong>c:/squid/etc/custom.conf</strong> so we don&#8217;t need to modify the original squid.conf directly just to override default values</p>
<p>And the next step would be, opening squid.conf and find this line</p>
<pre>refresh_pattern .		0	20%	4320</pre>
<p>and comment it (by placing #) at the beginning of the line. Then place below line at the bottom of squid.conf</p>
<pre>include "c:/squid/etc/custom.conf"</pre>
<p>And now paste this into the custom.conf file you just created:</p>
<pre>
#######
# ACL #
#######

# to allow purging cache from localhost only
acl PURGE method PURGE
http_access allow PURGE localhost
http_access deny PURGE

# always direct all ftp request
acl FTP proto FTP
always_direct allow FTP

########
# TUNE #
########

# enable pipeline
pipeline_prefetch on

# shutdown timeout
shutdown_lifetime 5 seconds

# no half closed
half_closed_clients off

##############
# CACHE SIZE #
##############

# maximum object size
maximum_object_size 64 MB
cache_mem 96 MB
maximum_object_size_in_memory 256 KB

###################
# REFRESH_PATTERN #
###################

# ============= #
# GENERAL USAGE #
# ============= #

# Note: This is some of the refresh_pattern i'm using, and of course feel free to adjust it to your liking
# The refresh_pattern for wikipedia is an example for site specific

# static files for websites
refresh_pattern -i \.(j|cs)s$ 10080 100% 10081

# static images
refresh_pattern -i \.(jpe?g|gif|png|bmp|ico|svg)$ 10080 100% 10081 ignore-reload

# static a/v
refresh_pattern -i \.(wm(a|v)|mp[0-9]?a?|mpe?g|avi|mk(a|v)|og(g|m)|flv|swf|rmvb|m2?ts)$ 4320 100% 4321 ignore-reload

# static archive type
refresh_pattern -i \.(exe|zip|r(ar|[0-9]+)|7z|ace|gz|tar|bz2)$ 4320 100% 4321 ignore-reload

# static document type
refresh_pattern -i \.((doc|xls|ppt)x?|pdf|txt)$ 4320 100% 4321 ignore-reload

# wikipedia
refresh_pattern -i wikipedia\.org\/wiki\/.* 4320 50% 4321 override-expire ignore-private

# =============== #
# DEFAULT PATTERN #
# =============== #

# default pattern
refresh_pattern . 0	20%	4320

########
# MISC #
########

# use specific dns server
dns_nameservers 8.8.8.8 8.8.4.4

# disable htcp icp because we aren't going to use it
htcp_port 0
icp_port 0

# block displaying specific headers
header_access Via deny all
header_access X-Forwarded-For deny all

# hide version number
httpd_suppress_version_string on

# change hostname
visible_hostname Reaper-X-Cache

###########
# THE END #
###########
</pre>
<p>I believe the Squid config file already tells you on what the above directives do, but just in case:</p>
<h3 id="access-rule">ACL Section</h3>
<p>There are two items here, the first one is an access rule to allow you to purge squid cache manually from the command line while the other one is for directing all ftp requests directly</p>
<p>And to purge your Squid Cache Object manually, you can type this at the command prompt:</p>
<pre>c:\squid\bin\squidclient.exe -m PURGE full-url</pre>
<p>Where full-url replaced by the full address of the object you&#8217;re trying to purge. Here&#8217;s an example of what it&#8217;ll looks like when you purge a cached object successfully (assume it&#8217;s already cached first)</p>
<pre>
C:\squid\bin\squidclient.exe -m PURGE http://farm1.static.flickr.com/55/136797856_bb683d8f22.jpg
HTTP/1.0 200 OK
Server: squid
Date: Sun, 16 Oct 2011 06:01:48 GMT
Content-Length: 0
Expires: Sun, 16 Oct 2011 06:01:48 GMT
X-Cache: MISS from Reaper-X-Cache
X-Cache-Lookup: NONE from Reaper-X-Cache:3128
Connection: close
</pre>
<p>Note: if you want to look at what url has been cached by Squid (as long as you didn&#8217;t restart the squid process), you can type this:</p>
<pre>c:\squid\bin\squidclient.exe mgr:objects | find /i "site url"</pre>
<h3 id="squid-cache-size">Cache Size Section</h3>
<p>If you want Squid to cache larger objects then you should increase <strong>maximum_object_size</strong> from the default of 4 MB into bigger value. And if you frequently access that objects, it&#8217;d be better to increase the Memory Cache Options such as <strong>cache_mem</strong> and <strong>maximum_object_size_in_memory</strong> to serve that object directly from Memory. And depending on your hardware configuration, i&#8217;d suggest you to adjust it to your hardware setup to find the best configuration for you :)</p>
<h3 id="squid-refresh-pattern">Refresh Pattern Section</h3>
<p>The refresh_pattern is used so you can fine tune caching specific file type or page. In this guide i have included caching for common static content such as images, static content that is used for website, audio videos, documents, and archives. With most of them using <strong>ignore-reload</strong> so even if your client do a hard refresh it&#8217;ll still serve the static files from the squid cache. As for the wikipedia part, i believe you can guess what that&#8217;s used for :)</p>
<h3 id="squid-misc">Misc. Section</h3>
<p>There are 5 items here:</p>
<p><strong>dns_nameservers</strong>: This basically tells squid on what DNS server to use. So make sure to change this to your DNS Server (you can use Google public DNS, OpenDNS, Comodo Secure DNS, etc)</p>
<p><strong>Disabling htcp and icp port</strong>: Since we&#8217;re not going to use this, we&#8217;re better off disabling it but if you think you&#8217;re going to use it then feel free to change it :)</p>
<p><strong>headers_access</strong>: By default Squid will display various HTTP Headers that is indicating that you&#8217;re behind a proxy. Some people (including me) don&#8217;t like this especially if you&#8217;re just in a small network</p>
<p><strong>visible_hostname and httpd_suppress_version_string</strong>: While we&#8217;re at it, we might as well make a good name for our Squid cache and hide the squid version used :)</p>
<h3 id="reload-squid-config">Reload Squid configuration file</h3>
<p>Now since we&#8217;re done configuring Squid, we need to tell Squid to reload it&#8217;s configuration file, and to do that you need to open Command Prompt (admin mode as usual if in 7 / Vista) and then type:</p>
<pre>c:\squid\sbin\squid.exe -k reconfigure -n Squid</pre>
<p>And done &#8230; the next step would be configuring your browser to use your Proxy by pointing it to your <strong>[proxy server address]:[port]</strong></p>
<p>But what if you want your Windows Squid server to be able to filter ads, and probably more? then please continue reading :)</p>
<h2 id="squid-ads-filtering">Filtering Ads on Squid</h2>
<p>There are three ways to use Ads Filtering for Squid on Windows (at least there are only three that i&#8217;m aware of, so if you know more, i&#8217;d be grateful if you could mention them here. Because i&#8217;m not sure on whether SquidGuard or DansGuardian can be used on Windows)</p>
<p>1. The first one is using the a pre-made list of various ad servers created by <a href="http://pgl.yoyo.org/as/">http://pgl.yoyo.org/as/</a> and the instructions on how to use it with Squid can be found there and it&#8217;s straight forward</p>
<p>2. While the second method is by using a redirector program called adzapper that involves installing perl (well there&#8217;s a portable version too if you prefer portable perl). But you could use them both if you want. And to use it you just need to:</p>
<ol>
<li>Go to <a href="http://adzapper.sf.net">adzapper website</a> and <a title="Direct Link to Adzapper Script" href="http://adzapper.sourceforge.net/scripts/squid_redirect">download the script</a>, rename it to <strong>squid_redirect.pl</strong> and place it into C:\squid\etc</li>
<li>Download Perl if you haven&#8217;t already. And if you&#8217;re looking for a portable version of Perl that doesn&#8217;t need to be installed, you can use <a href="http://strawberryperl.com/">Strawberry Perl</a>. Just make sure to go to their releases archive page</li>
<li>Put this line at the <strong>custom.conf</strong> our custom config file for squid</li>
</ol>
<pre>
# Make sure to change the directory to where perl.exe located
redirect_program "x:/strawberry-perl-directory/perl/bin/perl.exe" "c:/squid/etc/squid_redirector.pl"
</pre>
<p>3. And finally the third method is involving chaining Squid Proxy with Privoxy that is described below because it deserves a new section :P</p>
<h2 id="squid-proxy-chaining">Chaining Squid to other Proxy Server / Proxy Chain</h2>
<p>This part deals with chaining Squid that is designed to handle caching to other proxy server designed for specific purpose. And in this case we&#8217;re going to chain squid with privoxy that is going to be used for various filtering purpose. But i&#8217;m not going into a much detail about Privoxy (like how to add new rules into Privoxy for example) because it&#8217;s already listed on their Documentation :)</p>
<h3 id="squid-privoxy-chain">Using Squid with Privoxy</h3>
<p>First thing first. Put below lines in <strong>custom.conf</strong> right after the ACL section:</p>
<pre>
# don't cache privoxy config
acl privoxy-config dstdomain config.privoxy.org
cache deny privoxy-config

# forward request to privoxy
cache_peer 127.0.0.1 parent 8118 7 no-query no-digest

# force all requests to go to the proxy chain
never_direct allow all
</pre>
<p>And then if you haven&#8217;t downloaded <a href="http://privoxy.org">Privoxy</a> yet, download and extract it somewhere and then run privoxy.exe and finally <a href="#reload-squid-config">reload squid configuration</a> again and then open your browser and point your browser to <a rel="nofollow" href="http://config.privoxy.org" title="Privoxy Configuration Page from Browser">http://config.privoxy.org</a></p>
<p>If you do everything correctly, you&#8217;ll see this message <strong>This is Privoxy X.Y.Z on hostname.com (127.0.0.1), port 8118, enabled</strong></p>
<p>Pssst &#8230; To make editing Privoxy configuration much easier, you can use the included web-based editor (although for some items you need to edit the files directly). And to enable it, find and change <strong>enable-edit-actions</strong> to 1 in <strong>config.txt</strong>. But please <em>read the reason on why it is disabled by default</em></p>
<p>And now we&#8217;re done with chaining Squid to Privoxy. But what if you want more? like for example chaining Squid to Privoxy and then to other proxy server or perhaps <a href="https://www.torproject.org/">Tor</a> or <a href="http://anon.inf.tu-dresden.de/index_en.html">JAP</a>? all you have to do is just put this line:</p>
<p>If you&#8217;re planning on chaining to Tor</p>
<pre>
# connecting to Tor
forward-socks5 / 127.0.0.1:9050 .
</pre>
<p>or if you want to connect to your local JAP setup</p>
<pre>
# for JAP
forward / 127.0.0.1:4001 .
</pre>
<p>Into <strong>Privoxy config.txt</strong>. To forward all requests to Tor (assuming that you have configured Tor correctly and it is running</p>
<p>And that is all &#8230; i hope this post isn&#8217;t to long, but if you did read it until the end, the reason i choose to rewrite the Squid Windows Guide is because the old one looks like a total mess for me (not that the new one is not messy but i think it&#8217;s a little bit better). Anyway I hope you find this guide useful and it helps you on installing Squid on Windows :)</p>
	<p></p>
	<p><em>Copyright &copy; <a href="http://www.reaper-x.com" title="Reaper-X Technology">Reaper-X Technology</a> &ndash; www.reaper-x.com | <a href="http://www.reaper-x.com/2011/10/17/how-to-install-squid-proxy-on-windows/" title="How to Install Squid Proxy on Windows">Permalink</a> | <a href="http://www.reaper-x.com/2011/10/17/how-to-install-squid-proxy-on-windows/#comments" title="9 comments">9 comments</a></em></p>
	<p><em><a href="http://www.reaper-x.com">0x87485B96</a> | Tags : <a href="http://www.reaper-x.com/category/how-to/" title="View all posts in How To" rel="category tag nofollow" class="xcats">How To</a></em></p>]]></content:encoded>
			<wfw:commentRss>http://www.reaper-x.com/2011/10/17/how-to-install-squid-proxy-on-windows/feed/</wfw:commentRss>
		<slash:comments>9</slash:comments>
		</item>
		<item>
		<title>Dead Island the buggiest game i’ve ever played</title>
		<link>http://www.reaper-x.com/2011/09/28/dead-island-the-buggiest-game-ive-ever-played/</link>
		<comments>http://www.reaper-x.com/2011/09/28/dead-island-the-buggiest-game-ive-ever-played/#comments</comments>
		<pubDate>Wed, 28 Sep 2011 10:28:38 +0000</pubDate>
		<dc:creator>Reaper-X</dc:creator>
				<category><![CDATA[Gaming]]></category>
		<category><![CDATA[dead island]]></category>
		<category><![CDATA[pc games]]></category>
		<category><![CDATA[techland]]></category>

		<guid isPermaLink="false">http://www.reaper-x.com/?p=841</guid>
		<description><![CDATA[Bugs are common on every software and that&#8217;s including games, but a bug that caused me to not be able to load my saved game? this is the first time ever i experienced such thing. The reason for this, after i looked around the web, is apparently caused by &#8230; the game impose a limit [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://img.reaper-x.com/blogs/2011/09/deadislandgame.jpg"><img src="http://img.reaper-x.com/blogs/2011/09/deadislandgame-468x263.jpg" alt="" title="Dead Island" width="468" height="263" class="alignnone size-large wp-image-842" /></a></p>
<p>Bugs are common on every software and that&#8217;s including games, but a bug that caused me to not be able to load my saved game? this is the first time ever i experienced such thing. The reason for this, after i looked around the web, is apparently caused by &#8230; the game impose a limit of an unbelievable size of <strong>10,260 bytes</strong> for your saved game (that&#8217;s what i think after reading through various forums posts)</p>
<p>I have no idea on why the developers impose such restriction to a sandbox style game where you can loot anything you want and in fact you should. And even if they should limit it, they should make sure that the limit can be seen directly in-game (i&#8217;m talking about the loot items in your inventory and also storage items)</p>
<p>I found this first, right after i finished the game with Xian (level 50), and when i tried to start a new game plus (or load the same save after finished), the game crashed when loading the save game. And after several retries, i&#8217;m thinking i&#8217;m experiencing a gamebreaking bug in this game (minor bugs are ignored) and so i searched the web and found the solution by running a tool made by KNR from Steam forums that can restore your saved games if you don&#8217;t mind on losing all the sidequests progress, and also knows why the save game caused the game to crash.</p>
<p>But because it&#8217;s a new game plus, obviously i didn&#8217;t lost any sidequests at all. And so i continue playing without picking up loots and also dropped any loot i think useless, although i still can&#8217;t resist the temptation to pick when i saw Purple / Orange colored items :P &#8230; and &#8230; anyway everything goes well until i hit Chapter 8 (second playthrough) and decided to take a break and when i try to continue my game &#8230; BAM &#8230; i got Crash to Desktop for the second time which is caused by <strong>game_x86_rwdi.dll</strong> (which is also the same error that happened when i tried to start new game plus) and obviously if i use the tool made by KNR, i&#8217;m going to lost all the sidequests progress and my last backup is when i&#8217;m going to rescue someone at the helicopter crash site and i guess you know the rest</p>
<p>Personally, i never experienced a single crash when playing the game (not even slowdown) other than this even with just a single ATI Radeon 4830 512MB card with all settings set to high (video.scr tweaked to add vsync only). But unfortunately with all the beautiful graphics Dead Island has to offer, there&#8217;s one gamebreaking bug that makes the games look bad</p>
<p><strong>And anyway in case someone else also looking for a fix to Dead Island save load crash,<br />
<a href="http://www.mediafire.com/?fy3uh58x4dlicm9" rel="nofollow external">here&#8217;s the KNR Dead Island Save Fixer Tool</a></strong></p>
	<p></p>
	<p><em>Copyright &copy; <a href="http://www.reaper-x.com" title="Reaper-X Technology">Reaper-X Technology</a> &ndash; www.reaper-x.com | <a href="http://www.reaper-x.com/2011/09/28/dead-island-the-buggiest-game-ive-ever-played/" title="Dead Island the buggiest game i’ve ever played">Permalink</a> | <a href="http://www.reaper-x.com/2011/09/28/dead-island-the-buggiest-game-ive-ever-played/#comments" title="5 comments">5 comments</a></em></p>
	<p><em><a href="http://www.reaper-x.com">0x87485B96</a> | Tags : <a href="http://www.reaper-x.com/category/gaming/" title="View all posts in Gaming" rel="category tag nofollow" class="xcats">Gaming</a></em></p>]]></content:encoded>
			<wfw:commentRss>http://www.reaper-x.com/2011/09/28/dead-island-the-buggiest-game-ive-ever-played/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>11 Weeks and 1 day later …</title>
		<link>http://www.reaper-x.com/2011/08/10/11-weeks-and-1-day-later/</link>
		<comments>http://www.reaper-x.com/2011/08/10/11-weeks-and-1-day-later/#comments</comments>
		<pubDate>Wed, 10 Aug 2011 02:51:13 +0000</pubDate>
		<dc:creator>Reaper-X</dc:creator>
				<category><![CDATA[Personal]]></category>
		<category><![CDATA[cigarette]]></category>
		<category><![CDATA[quit smoking]]></category>
		<category><![CDATA[smoking]]></category>
		<category><![CDATA[stop smoking]]></category>
		<category><![CDATA[tobacco]]></category>

		<guid isPermaLink="false">http://www.reaper-x.com/?p=838</guid>
		<description><![CDATA[After i decided to quit smoking (tobacco obviously because that&#8217;s the only thing i smoke). I must say that, so far the only thing noticeable after i stopped smoking is &#8230; it feels that i can breathe more air while at the same time i feel tightness in my chest and throat and i feels [...]]]></description>
			<content:encoded><![CDATA[<p>After i decided to quit smoking (tobacco obviously because that&#8217;s the only thing i smoke). I must say that, so far the only thing noticeable after i stopped smoking is &#8230; it feels that i can breathe more air while at the same time i feel tightness in my chest and throat and i feels like i&#8217;m having shortness of breath (strange isn&#8217;t it?)</p>
<p>Anyway for the past 2 months, what i&#8217;ve been doing is basically consist of going back to see a doctor again and again from:</p>
<ol>
<li>Going to the ER Room because i&#8217;m having breathing difficulties and this is when i decided to stop smoking. And the ER room doctor said that (after looking at the EKG/ECG result and asking me whether i have gastro problem) it was caused by GERD</li>
<li>Then go to a Pulmonologists (just to make sure that the breathing difficulties is caused by GERD, although he didn&#8217;t ask for X-Ray)</li>
<li>And then staying in the hospital for about 3 / 4 days due to infection</li>
<li>Then go to an Internist for a check-up a few days after i returned from the hospital</li>
<li>Then to a Dermatologist</li>
<li>And back to Internist once again</li>
<li>And then goes to a Dermatologist for about 3 times and next week i&#8217;m going to go see the Dermatologist once again so make it 5</li>
</ol>
<p>Now if only money grows on trees &#8230;</p>
<p>p.s I was diagnosed with GERD in 2009 (long before this)</p>
	<p></p>
	<p><em>Copyright &copy; <a href="http://www.reaper-x.com" title="Reaper-X Technology">Reaper-X Technology</a> &ndash; www.reaper-x.com | <a href="http://www.reaper-x.com/2011/08/10/11-weeks-and-1-day-later/" title="11 Weeks and 1 day later …">Permalink</a> | <a href="http://www.reaper-x.com/2011/08/10/11-weeks-and-1-day-later/#comments" title="5 comments">5 comments</a></em></p>
	<p><em><a href="http://www.reaper-x.com">0x87485B96</a> | Tags : <a href="http://www.reaper-x.com/category/personal/" title="View all posts in Personal" rel="category tag nofollow" class="xcats">Personal</a></em></p>]]></content:encoded>
			<wfw:commentRss>http://www.reaper-x.com/2011/08/10/11-weeks-and-1-day-later/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>How To: Realtime AC3 / Dolby Digital Encoding for Games</title>
		<link>http://www.reaper-x.com/2011/04/25/how-to-realtime-ac3-or-dolby-digital-encoding-for-games/</link>
		<comments>http://www.reaper-x.com/2011/04/25/how-to-realtime-ac3-or-dolby-digital-encoding-for-games/#comments</comments>
		<pubDate>Mon, 25 Apr 2011 10:26:18 +0000</pubDate>
		<dc:creator>Reaper-X</dc:creator>
				<category><![CDATA[How To]]></category>
		<category><![CDATA[ac3]]></category>
		<category><![CDATA[ac3filter]]></category>
		<category><![CDATA[dolby digital]]></category>
		<category><![CDATA[graphstudio]]></category>
		<category><![CDATA[virtual audio cable]]></category>

		<guid isPermaLink="false">http://www.reaper-x.com/?p=837</guid>
		<description><![CDATA[This simple how perhaps might be useful to those who are connecting their sound card to a receiver that doesn&#8217;t have analog input (like me for example) and using the Matrix Decoder on your receiver doesn&#8217;t sounds as good as using a Dolby Digital / AC3 encoded files. So what this simple how to trying [...]]]></description>
			<content:encoded><![CDATA[<p>This simple how perhaps might be useful to those who are connecting their sound card to a receiver that doesn&#8217;t have analog input (like me for example) and using the Matrix Decoder on your receiver doesn&#8217;t sounds as good as using a Dolby Digital / AC3 encoded files. So what this simple how to trying to achieve is to do a realtime AC3 Encoding using software (in other word, using your CPU power to perform realtime Dolby Digital encoding) and then deliver that Dolby Digital / AC3 encoded material to your receiver. <strong>Although unfortunately it doesn&#8217;t come for free</strong></p>
<p>Before i begin, please note that this tips is intended for use in Gaming only (or perhaps listening through your MP3/MP4s collection if you&#8217;re not using a music player that support realtime Dolby Digital Encoding from a plugin, like Winamp for example). Because for movie and music listening purpose the process is much simpler plus there&#8217;s no latency problem like this and you don&#8217;t need to spend money (unless you want to donate for the project) .. but i&#8217;m not going to describe the process for movie and music listening purpose here because as the title says this is for games :)</p>
<p>If you&#8217;re currently using below setup, then chances are you don&#8217;t need to spend $30 USD to get a realtime AC3 Encoder / Dolby Digital Encoder. But i haven&#8217;t tested it yet because i don&#8217;t have the required hardware</p>
<ul>
<li>
<h2>If your sound card belong to the Creative Audigy Series</h2>
<div>Then you can try using <a href="http://pages.globetrotter.net/samaust/Files/redocneXk_v1.10.7z">redocneXk</a> combined with Creative ASIO Driver or KX Driver. As the documentation itself can be found <a href="http://www.hardwareheaven.com/general-discussion/90887-redocnexk-released-realtime-5-1-ac3-encoder.html">here</a></div>
</li>
<li>
<h2>If you have the new Creative X-Fi Series (a much better option for X-Fi series)</h2>
<div>Then you can spend $4.72 USD, and get the Dolby Digital Live and DTS Connect Pack from <a href="http://buy.soundblaster.com/_creativelabsstore/cgi-bin/pd.cgi?page=product_detail&#038;category=Software&#038;pid=F2222DDN6Z2H2ADDEZD">Creative Store</a></div>
</li>
</ul>
<p>Otherwise, if your setup doesn&#8217;t match above configuration then unfortunately you&#8217;ll need to spend $30 USD for a software that is required for this purpose BUT if you don&#8217;t mind on spending more money and prefer to skip all this together, you can just buy <a href="http://www.amazon.com/gp/product/B000CFUP9Y/ref=as_li_qf_sp_asin_il_tl?ie=UTF8&#038;tag=9915280-20&#038;linkCode=as2&#038;camp=1789&#038;creative=9325&#038;creativeASIN=B000CFUP9Y">Diamond Multimedia Xtreme Sound 7.1 DDL (equipped with Dolby Digital Live feature, which is unfortunately not available on where i live because there are no distributor for it here according to the official website)</a> if you prefer a cheaper alternative to X-Fi (at least for me)</p>
<p>Anyway here are the steps:</p>
<h2>Required Software</h2>
<ol>
<li>
		Virtual Audio Cable ($30 USD): <a href="http://software.muzychenko.net/eng/vac.htm">Link</a></p>
<p>Trial version available with some limitation like female voice reminder each several seconds
	</li>
<li>AC3Filter (freeware and open source): <a href="http://ac3filter.net/">Link</a></li>
<li>GraphStudio (freeware and open source): <a href="http://blog.monogram.sk/janos/tools/monogram-graphstudio/">Link</a></li>
</ol>
<h2>Let&#8217;s begin</h2>
<ol>
<li>Install VAC (Virtual Audio Cable) and AC3Filter (GraphStudio don&#8217;t need to be installed, you can place it anywhere you like)</li>
<li>
		Run VAC Control Panel from Start Menu and make it look like this</p>
<div><a href="http://img.reaper-x.com/blogs/2011/04/virtual-audio-cable-control-panel.jpg"><img src="http://img.reaper-x.com/blogs/2011/04/virtual-audio-cable-control-panel-small.jpg" alt="Virtual Audio Cable Control Panel" /></a>
<p>You&#8217;re free to adjust the sample rate and also bps. As for the Number of channels, read the special note at the bottom</p></div>
</li>
<li>
		Now run AC3Filter Config from Start Menu and make it look like below</p>
<div><a href="http://img.reaper-x.com/blogs/2011/04/ac3filter-config-main.jpg"><img src="http://img.reaper-x.com/blogs/2011/04/ac3filter-config-main-small.jpg" alt="AC3Filter Configuration - Main Tab" /></a>
<p>If your source sample rate isn&#8217;t 48000 you need to set the Output Format rate to 48000 (i already configured it to always deliver 48000Hz so i don&#8217;t need to set it in AC3Filter) or you can just set the AC3Filter sample rate to 48000</p>
</div>
<div><a href="http://img.reaper-x.com/blogs/2011/04/ac3filter-config-mixer.jpg"><img src="http://img.reaper-x.com/blogs/2011/04/ac3filter-config-mixer-small.jpg" alt="AC3Filter Configuration - Main Tab" /></a>
<p>Note: You should adjust the bass redirection frequency according to your Sub Woofer capability as described in the manual and feel free to adjust everything on this section to your liking</p>
</div>
<div><a href="http://img.reaper-x.com/blogs/2011/04/ac3filter-config-spdif.jpg"><img src="http://img.reaper-x.com/blogs/2011/04/ac3filter-config-spdif-small.jpg" alt="AC3Filter Configuration - SPDIF Tab" /></a></div>
</li>
<li>Now make sure that Virtual Cable is configured as default Playback Device in Windows ( open Windows Control Panel and then choose sound )</li>
<li>
		And then run GraphStudio and then choose to add new filter (you can press CTRL+F for shortcut) and add:</p>
<ol>
<li>Virtual Cable 1 from <em>WDM Streaming Rendering Device</em> because it provides much better latency instead of the normal Virtual Cable Line that needs to be adjusted everytime before you connect it to AC3Filter</li>
<li>AC3Filter from <em>DirectShow Filters</em> to upmix the stereo channel into 5.1 AC3 / Dolby Digital</li>
<li>DirectSound: [ Your Sound Card Name Digital Output ] from <em>Audio Renderers</em>. Where your sound card name is your physical Sound Card Name (mine is Realtek Digital Output)</li>
</ol>
</li>
<li>
		Finally connect each filter so it&#8217;ll look like below image for an example ( Virtual Cable 1 ADC &rsquo; AC3Filter &rsquo; DirectSound: [ Your Sound Card Name ] )</p>
<div><a href="http://img.reaper-x.com/blogs/2011/04/graphstudio.jpg"><img src="http://img.reaper-x.com/blogs/2011/04/graphstudio-small.jpg" alt="GraphStudio" /></a></div>
</li>
<li>Now to make things easier for future access, you should save the graph you&#8217;ve created in GraphStudio so you can just load your graph in the future for easy access</li>
<li>Now click the Play button on GraphStudio &#8230; and see whether the Dolby Digital indicator on your receiver is activated. If you can see Dolby Digital indicator on your receiver that mean everything is done. So try playing one of your game to test it</li>
</ol>
<p>But please keep this in mind, in order to use this realtime ac3 encoding in the future, you&#8217;ll always need to launch GraphStudio first and then choose the play button on GraphStudio, or else it&#8217;s not going to work</p>
<p>Credits goes to the <a href="http://ac3filter.net/forum/index.php?topic=1435.msg3277#msg3277">poster at AC3Filter Forum</a> because without his post, i would have to get a X-Fi card which is &#8230; well &#8230; i&#8217;m not sure on when i can get it :)</p>
<h2>Special Note</h2>
<p>As a side note, upmixing like this may result in lower sound quality (perhaps if you can notice it). Also there&#8217;ll be latency problem (noticeable). So for certain games (such as Pro Evolution Soccer 2011) i choose to disable realtime ac3 encoding. But for games like Assassin&#8217;s Creed Brotherhood and Need for Speed Shift 2 Unleashed, it sounds great to me :D</p>
<p>And to those who are wondering, on why i didn&#8217;t set the number of channel to 5.1 (6 Channel) in Virtual Audio Cable Control Panel and Virtual Audio Speakers Configuration in Windows Sound Control Panel under Playback Device and Recording Device. The reasons are:</p>
<ol>
<li>If i set the VAC Number of Channels to 6 in VAC Control Panel (and configure VAC Speakers Configuration under Windows Sound Playback Device to Stereo plus change the Windows Sound Recording Device for VAC to 6 channels). All the sound levels outputted are equal which means Front Left (FL), Front Right (FR), Front Center (FC), Back Left (BL), Back Right (BR), and Subwoofer (SW) at the same level (can be seen in AC3Filter) which is wrong (i think, but since i&#8217;m not audio professional, please ask your nearest audio professional). But if you prefer it that way you can just change the Recording Device in Windows Control Panel for your VAC device to 6 channels and keep the Playback Device for your VAC device to Stereo</li>
<li>If i set VAC Number of Channels to 6 and change both Playback and Recording device under Windows Control Panel to 6 channels &#8230; i get an error message about DirectShow Problem (can&#8217;t create buffers, when tested using Winamp)</li>
</ol>
<p>And because of that reason, i guess it&#8217;s better to upmix it from Stereo to 5.1 AC3 / Dolby Digital :)</p>
	<p></p>
	<p><em>Copyright &copy; <a href="http://www.reaper-x.com" title="Reaper-X Technology">Reaper-X Technology</a> &ndash; www.reaper-x.com | <a href="http://www.reaper-x.com/2011/04/25/how-to-realtime-ac3-or-dolby-digital-encoding-for-games/" title="How To: Realtime AC3 / Dolby Digital Encoding for Games">Permalink</a> | <a href="http://www.reaper-x.com/2011/04/25/how-to-realtime-ac3-or-dolby-digital-encoding-for-games/#comments" title="23 comments">23 comments</a></em></p>
	<p><em><a href="http://www.reaper-x.com">0x87485B96</a> | Tags : <a href="http://www.reaper-x.com/category/how-to/" title="View all posts in How To" rel="category tag nofollow" class="xcats">How To</a></em></p>]]></content:encoded>
			<wfw:commentRss>http://www.reaper-x.com/2011/04/25/how-to-realtime-ac3-or-dolby-digital-encoding-for-games/feed/</wfw:commentRss>
		<slash:comments>23</slash:comments>
		</item>
		<item>
		<title>Why you should create backup and recovery cds</title>
		<link>http://www.reaper-x.com/2010/12/06/why-you-should-create-backup-and-recovery-cds/</link>
		<comments>http://www.reaper-x.com/2010/12/06/why-you-should-create-backup-and-recovery-cds/#comments</comments>
		<pubDate>Mon, 06 Dec 2010 03:49:03 +0000</pubDate>
		<dc:creator>Reaper-X</dc:creator>
				<category><![CDATA[Personal]]></category>
		<category><![CDATA[backup]]></category>
		<category><![CDATA[rescue cd]]></category>

		<guid isPermaLink="false">http://www.reaper-x.com/?p=833</guid>
		<description><![CDATA[And obviously this apply to me also. Because last week i lost all my partitions on one of my disk drive which is unfortunately contains all my important files from projects to important documents and also include a not so important mp3 files. And to make things worse, the last backup i created is more [...]]]></description>
			<content:encoded><![CDATA[<p>And obviously this apply to me also. Because last week i lost all my partitions on one of my disk drive which is unfortunately contains all my important files from projects to important documents and also include a not so important mp3 files. And to make things worse, the last backup i created is more than a year ago (mp3 and other not important files are excluded) so recovering from that backup is a no go for me. And the only thing i can do is try to recover it first by myself and if i can&#8217;t recover it, i&#8217;ve been thinking on taking the HDD to recovery experts (although i prefer to avoid this because i don&#8217;t have the money to pay for experts hdd recovery which cost more than 90 USD)</p>
<p>p.s. if you just want to know on what tools i used to do the recovery process and similar stuff, just scroll down</p>
<p>And here&#8217;s what happens last week:</p>
<ol>
<li>I started my computer, to continue working for my new project. And just right after i booted into Windows Vista (x86) (i have Vista x86 and Windows 7 x64 in Dual Booting). Windows stopped responding and forced me to reboot my computer using the reset button</li>
<li>Computer restarted and then stuck on Windows Booting Logo (that progress bar thing), and force me to push the reset button again. This continue for about 2 &#8211; 4 times</li>
<li>After several times restarting finally i can get into Windows Vista and to my surprise i was greeted with a message that is basically saying One of the partition is corrupted (the corrupted partition is where i stored the my documents and such, because i moved the my documents into another partition located at different physical drive from the OS partition). And so i run this command at the command prompt
<pre>fsutil dirty set x: &#038;&#038; fsutil dirty set y: &#038;&#038; fsutil dirty set z:</pre>
<p> to mark all the partitions (just to make sure) on that particular drive as dirty and then restart windows to make windows scan and hopefully able to fix it</li>
<li>At the scanning process, windows was able to locate and i guess fixing one partition, and when trying to fix another partition the chkdsk process stuck at 6% even after waiting for more than 1 and a half hour, so i decided to press the reset button once again</li>
<li>What happens next is really surprising for me &#8230; although i can boot into Windows Vista, but Windows Vista can&#8217;t recognize that particular drive (with 3 partitions on it). And obviously this shocked me. So i tried restarting several times but still it won&#8217;t recognize that particular drive</li>
<li>Then i tried running Recuva with hope that it&#8217;ll be at least recover my important files, but nope &#8230; instead it gives me a message saying something about partition (i can&#8217;t remember it unfortunately) but i guess that&#8217;s because the partition table (NTFS) got corrupted it can&#8217;t recognized it although the HDD can be recognized without problem in BIOS, so i have to resort to different tools, and fortunately i have several recovery cd&#8217;s which is based on Linux</li>
<li>So I booted using the recovery cd&#8217;s, and Linux was able to recognize the drive although it still basically says corrupted partition (or unformatted partition but of course i&#8217;m not going to format it because it&#8217;s just going to make things worse), and tried running several tools (can&#8217;t remember the order exactly) and tried using TestDisk to rewrite the NTFS partition</li>
<li>After using TestDisk to rewrite the partition table (all 3 partitions), i decided to restart to Windows .. but still Windows won&#8217;t recognize it, and so i booted again using the recovery cd and then found out that the NTFS partition is corrupted again and so i run TestDisk</li>
<li>Instead of restarting to windows, this time i decided to stick on TestDisk after the rewrite partition table process completed, and choose to browse the corrupted partition using TestDisk, and voila &#8230; i can access all my files inside all 3 partitions via TestDisk without problem, and obviously the next step would be &#8230;. copying all the important files to another harddrive and thanks to NTFS-3G i was able to copy it later to my NTFS formatted partition</li>
<li>And so after i have copied all the important files, i tried restarting again using different recovery cd&#8217;s, this time the recovery cd&#8217;s contain Mini Windows XP and run chkdsk /f via the command prompt on the corrupted partitions from Mini Windows XP to fix all those corrupted NTFS MFT and such and Thanks God, chkdsk was able to finish the job this time</li>
<li>Then after i&#8217;m done with chkdsk i choose to copy all files to another HDD without even choosing the files first :D</li>
</ol>
<h2>Aftermath</h2>
<p>Because i&#8217;m curious on what caused that problem after seeing:</p>
<ol>
<li>CHKDSK report no bad sector / error</li>
<li>Data LifeGuard Diagnostic report no error</li>
<li>SmartMonTools report no error</li>
</ol>
<p>I&#8217;m thinking it&#8217;s probably IDE Controller issue or probably the SATA Socket that is being used on that particular HDD is dying &#8230; or there are too many dust on Motherboard + HDD (well i don&#8217;t use a case for my computer so it is left open, consider it as open source lol) but still i don&#8217;t have any idea on what caused such problems</p>
<p>And because i have no idea, i decided to clean everything after 6 months (including replacing thermalpaste for VGA, Chipset and Processor) :D</p>
<p>And for safety measure in the future, just in case my DVDROM Broke, i installed NeoGrub (basically Grub4DOS) to allow booting Knoppix, and other recovery tools directly from HDD (in other words frugal install or poor man install) to create backup for important files to other internal physical drives. And when i got enough money, obviously i&#8217;m planning on getting an External HDD for backup purpose, but for now i&#8217;m stuck with this option only</p>
<h2>Tools Used</h2>
<p>If you experienced similar problem like me, i&#8217;d recommend these tools that saved my life</p>
<p>
Data Recovery Tools Used:</p>
<p>- <a href="http://www.cgsecurity.org/wiki/TestDisk">TestDisk</a>: TestDisk saved my live by recovering the partition table, and also recovering my files (it&#8217;s included with most linux live)</p>
<p>- Portable Windows: I think this is important if you want to check and fix your NTFS disk if you can&#8217;t boot into Windows and if you want to run Windows Programs. You can use <a href="http://www.nu2.nu/pebuilder/">PEBuilder</a> to create one for you</p>
<p>- Live Linux CD/USB that is designed for recovery purpose: You are free to choose between:
</p>
<ul>
<li><a href="http://www.knopper.net/knoppix/index-en.html">Knoppix</a></li>
<li><a href="http://www.sysresccd.org/">System Rescue CD</a></li>
<li><a href="http://partedmagic.com/">Parted Magic</a></li>
<li><a href="http://www.puppylinux.org/">Puppy Linux</a></li>
<li><a href="http://ubuntu-rescue-remix.org/">Ubuntu Rescue Remix</a></li>
<li>And so on</li>
</ul>
<p>
And if you want to combine them all into one CD/DVD, you can also use <a href="http://multicd.tuxfamily.org/">MultiCD</a> or if you want to also boot the live cd directly from your HDD instead of CD/DVD, you can use <a href="http://code.google.com/p/grub4dos-chenall/">Grub4DOS</a> or <a href="http://neosmart.net/dl.php?id=1">NeoGrub from EasyBCD</a> (p.s i&#8217;m using NeoGrub)
</p>
<p>
Testing Tools Used:</p>
<p>- Data LifeGuard Diagnostic</br><br />
- SmartMonTools
</p>
<p>
Other Tools Used:</p>
<p>- CHKDSK and DISKPart (it&#8217;s included with Windows)</p>
<p>- <a href="http://www.educ.umu.se/~cobian/cobianbackup.htm">Cobian Backup</a>: This is my current backup tool. It offers incremental, differential, or full backup option and also offer Volume Shadow Copy to be able to copy locked/used files when backup process started</p>
	<p></p>
	<p><em>Copyright &copy; <a href="http://www.reaper-x.com" title="Reaper-X Technology">Reaper-X Technology</a> &ndash; www.reaper-x.com | <a href="http://www.reaper-x.com/2010/12/06/why-you-should-create-backup-and-recovery-cds/" title="Why you should create backup and recovery cds">Permalink</a> | <a href="http://www.reaper-x.com/2010/12/06/why-you-should-create-backup-and-recovery-cds/#comments" title="Add a comment">Add a comment</a></em></p>
	<p><em><a href="http://www.reaper-x.com">0x87485B96</a> | Tags : <a href="http://www.reaper-x.com/category/personal/" title="View all posts in Personal" rel="category tag nofollow" class="xcats">Personal</a></em></p>]]></content:encoded>
			<wfw:commentRss>http://www.reaper-x.com/2010/12/06/why-you-should-create-backup-and-recovery-cds/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

