<?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>unsignedint &#187; How To</title>
	<atom:link href="http://unsignedint.net/blog/category/how-to/feed/" rel="self" type="application/rss+xml" />
	<link>http://unsignedint.net/blog</link>
	<description>adding noise to the signal</description>
	<lastBuildDate>Sat, 10 Jul 2010 10:32:57 +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>Como remover o softmod da Wii</title>
		<link>http://unsignedint.net/blog/2010/07/10/como-remover-o-softmod-da-wii/</link>
		<comments>http://unsignedint.net/blog/2010/07/10/como-remover-o-softmod-da-wii/#comments</comments>
		<pubDate>Sat, 10 Jul 2010 10:32:10 +0000</pubDate>
		<dc:creator>lmmendes</dc:creator>
				<category><![CDATA[How To]]></category>
		<category><![CDATA[Wii]]></category>

		<guid isPermaLink="false">http://unsignedint.net/blog/?p=428</guid>
		<description><![CDATA[Explica como remover o softmod de uma Wii devolvendo-a ao seu estado original idêntico ao dia em que foi comprada, este tuturial está preparado para todas as Wii's com System Menu 4.2 ou inferior.]]></description>
			<content:encoded><![CDATA[<p>&nbsp;</p>
<p>Este tutorial vai explicar como remover o softmod da Wii devolvendo-a ao seu estado original.</p>
<p>&nbsp;</p>
<blockquote><p>
<b>MUITO IMPORTANTE! LEIAM ISTO!</b><br />
Utilizadores que tenham comprado a Wii a partir de meados de 2009 (pessoal com uma Wii preta é certo que estou a falar para vocês) ou que tenham o número de serie começado em LU64+ (USA), LEH250+ (Europa), LAH113+ (o sinal de &#8216;+&#8217; significa igual ou superior) nunca mas NUNCA façam um downgrade da firmware da vossa consola!
</p></blockquote>
<p><span id="more-428"></span></p>
<p>&nbsp;</p>
<p>
Para tal vão necessitar do seguinte software, mas primeiro leiam o tutorial uma vez pelo menos para perceberem que software vão precisar realmente, nem todos precisam de todo o software da lista e para que é que ele serve.
</p>
<p><a href="http://filetrip.net/f3406-Custom-IOS-Downgrader-1-2.html" target="_blank">Custom IOS Downgrader 1.2</a><br />
<a href="http://filetrip.net/f4847-Firmware-Updater-4-0.html" target="_blank">Firmware Updater</a><br />
<a href="http://filetrip.net/f9529-NandClean-0-2.html" target="_blank">NAND Clean</a><br />
<a href="http://filetrip.net/file.php?id=8733" target="_blank">AnyTitle Deleter MOD</a><br />
<a href="http://bannerbomb.qoid.us/" target="_blank">BannerBomb</a><br />
<a href="http://filetrip.net/f11391-WAD-Manager-1-7.html" target="_blank">WAD Manager 1.7</a><br />
<a href="http://www.google.com/search?q=IOS60-64-v6174.wad" target="_blank">IOS60-64-v6174.wad</a> (Podem encontrar esta WAD facilmente utilizando o Google)</p>
<p>&nbsp;</p>
<p><strong>1)</strong> Se tiverem o System Menu 4.2 (SM42) instalado instalem este IOS (IOS60-64-v6174.wad) primeiro utilizando o  WAD Manager.</p>
<p>-  Se tiverem o System Menu 4.1 façam o downgrade para a versão 3.2 (SM32) utilizando o Custom IOS Downgrader 1.2 (cIOS Downgrader) depois instalem o System Menu 4.0 (SM40) utilizando o Firmware Updater do waninkoko (novamente não façam isto que compraram a vossa consola em meados de 2009, leiam a nota em cima).</p>
<p><strong>2) </strong> Se tiverem o preloader (ou priloader) / dvdx instalado corram o NAND Clean este programa vai percorrer todos os ficheiros instalados na NAND e remover cada um dos ficheiros instados por essas aplicações, assim sendo cada vez que o programa perguntar se querem remover algum ficheiro digam que sim. (Para os utilizadores que fizeram o downgrade corram este programa apenas depois de terem feito o upgrade novamente ao SM).</p>
<p><strong>3)</strong> De seguida corram o AnyTitle Deleter, selecionem a IOS36 quando o programa perguntar que ISOs querem usar, e apagem todas as IOS que tenham um numero superior a 200. NUNCA MAS NUNCA APAGUEM NENHUMA IOS A BAIXO DA 200 SEO O FIZEREM A VOSSA CONSOLA DEIXA DE FUNCIONAR!</p>
<p><strong>4)</strong> Quem tiver o BootMii instalado basta correr novamente o instalador e selecionar &#8216;unistall&#8217; para remover o BootMii. Se não tiverem o instalador do BootMii podem faze-lo utilizando o BannerBomb pois este exploit contém o instalador do BootMii e provavelmente vão acabar por utilizar o BannerBomb para reinstalar HBC mais tarde suponho.</p>
<p><strong>3)</strong> Novamente utilizando o AnyTitle Deleter vão aos &#8216;installed channels&#8217; e apaguem todos os &#8216;channels&#8217; que tenham instalado, todas os wiiware pirateados que tenham instalado. E por fim apaguem o Homebrew Channel e está feito, tecnicamente a vossa consola está como nova <img src='http://unsignedint.net/blog/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
<p>Qualquer dúvida deixem-na nos comentários do blog.</p>
<p>&nbsp;</p>
<p><em>NOTA: Não me responsabilizo por quaisquer estragos causados á vossa consola por seguirem este tutorial.</em></p>


<div class="shr-bookmarks shr-bookmarks-expand shr-bookmarks-center shr-bookmarks-bg-love">
<ul class="socials">
		<li class="shr-comfeed">
			<a href="http://unsignedint.net/blog/2010/07/10/como-remover-o-softmod-da-wii/feed" rel="nofollow" class="external" title="Subscribe to the comments for this post?">Subscribe to the comments for this post?</a>
		</li>
		<li class="shr-delicious">
			<a href="http://delicious.com/post?url=http://unsignedint.net/blog/2010/07/10/como-remover-o-softmod-da-wii/&amp;title=Como+remover+o+softmod+da+Wii" rel="nofollow" class="external" title="Share this on del.icio.us">Share this on del.icio.us</a>
		</li>
		<li class="shr-digg">
			<a href="http://digg.com/submit?phase=2&amp;url=http://unsignedint.net/blog/2010/07/10/como-remover-o-softmod-da-wii/&amp;title=Como+remover+o+softmod+da+Wii" rel="nofollow" class="external" title="Digg this!">Digg this!</a>
		</li>
		<li class="shr-facebook">
			<a href="http://www.facebook.com/share.php?v=4&amp;src=bm&amp;u=http://unsignedint.net/blog/2010/07/10/como-remover-o-softmod-da-wii/&amp;t=Como+remover+o+softmod+da+Wii" rel="nofollow" class="external" title="Share this on Facebook">Share this on Facebook</a>
		</li>
		<li class="shr-googlebuzz">
			<a href="http://www.google.com/buzz/post?url=http://unsignedint.net/blog/2010/07/10/como-remover-o-softmod-da-wii/&amp;imageurl=" rel="nofollow" class="external" title="Post on Google Buzz">Post on Google Buzz</a>
		</li>
		<li class="shr-misterwong">
			<a href="http://www.mister-wong.com/addurl/?bm_url=http://unsignedint.net/blog/2010/07/10/como-remover-o-softmod-da-wii/&amp;bm_description=Como+remover+o+softmod+da+Wii&amp;plugin=sexybookmarks" rel="nofollow" class="external" title="Add this to Mister Wong">Add this to Mister Wong</a>
		</li>
		<li class="shr-mixx">
			<a href="http://www.mixx.com/submit?page_url=http://unsignedint.net/blog/2010/07/10/como-remover-o-softmod-da-wii/&amp;title=Como+remover+o+softmod+da+Wii" rel="nofollow" class="external" title="Share this on Mixx">Share this on Mixx</a>
		</li>
		<li class="shr-reddit">
			<a href="http://reddit.com/submit?url=http://unsignedint.net/blog/2010/07/10/como-remover-o-softmod-da-wii/&amp;title=Como+remover+o+softmod+da+Wii" rel="nofollow" class="external" title="Share this on Reddit">Share this on Reddit</a>
		</li>
		<li class="shr-stumbleupon">
			<a href="http://www.stumbleupon.com/submit?url=http://unsignedint.net/blog/2010/07/10/como-remover-o-softmod-da-wii/&amp;title=Como+remover+o+softmod+da+Wii" rel="nofollow" class="external" title="Stumble upon something good? Share it on StumbleUpon">Stumble upon something good? Share it on StumbleUpon</a>
		</li>
		<li class="shr-technorati">
			<a href="http://technorati.com/faves?add=http://unsignedint.net/blog/2010/07/10/como-remover-o-softmod-da-wii/" rel="nofollow" class="external" title="Share this on Technorati">Share this on Technorati</a>
		</li>
		<li class="shr-twitter">
			<a href="http://twitter.com/home?status=Como+remover+o+softmod+da+Wii+-+http://b2l.me/95bvq&amp;source=shareaholic" rel="nofollow" class="external" title="Tweet This!">Tweet This!</a>
		</li>
</ul>
<div style="clear:both;"></div>
</div>

]]></content:encoded>
			<wfw:commentRss>http://unsignedint.net/blog/2010/07/10/como-remover-o-softmod-da-wii/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Installing nginx and rails passenger on Mac OS X Snow Leopard</title>
		<link>http://unsignedint.net/blog/2009/10/17/installing-nginx-and-rails-passenger-on-mac-os-x-snow-leopard/</link>
		<comments>http://unsignedint.net/blog/2009/10/17/installing-nginx-and-rails-passenger-on-mac-os-x-snow-leopard/#comments</comments>
		<pubDate>Sat, 17 Oct 2009 11:07:50 +0000</pubDate>
		<dc:creator>lmmendes</dc:creator>
				<category><![CDATA[Development]]></category>
		<category><![CDATA[English]]></category>
		<category><![CDATA[How To]]></category>
		<category><![CDATA[Mac OS X]]></category>
		<category><![CDATA[nginx]]></category>
		<category><![CDATA[rails]]></category>
		<category><![CDATA[ruby]]></category>

		<guid isPermaLink="false">http://www.unsignedint.net/blog/?p=170</guid>
		<description><![CDATA[I&#8217;m new to Mac OS X, nginx and rails so after much goggling i finally got everything to work so i resolved to compile the list of instructions that i followed.
First we need to download, compile and install PRE (Perl Compatible Regular Expressions) it&#8217;s required for nginx. You can find the most recent version here [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;m new to Mac OS X, nginx and rails so after much goggling i finally got everything to work so i resolved to compile the list of instructions that i followed.</p>
<p>First we need to download, compile and install PRE (Perl Compatible Regular Expressions) it&#8217;s required for nginx. You can find the most recent version here http://www.pcre.org/ , at time of writing this post the most recent version is 7.9</p>
<p>Compiling and installing PRE</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
5
6
7
8
</pre></td><td class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">mkdir</span> ~<span style="color: #000000; font-weight: bold;">/</span>apps<span style="color: #000000; font-weight: bold;">/</span>src
<span style="color: #7a0874; font-weight: bold;">cd</span> ~<span style="color: #000000; font-weight: bold;">/</span>apps<span style="color: #000000; font-weight: bold;">/</span>src
curl <span style="color: #660033;">-O</span> <span style="color: #c20cb9; font-weight: bold;">ftp</span>:<span style="color: #000000; font-weight: bold;">//</span>ftp.csx.cam.ac.uk<span style="color: #000000; font-weight: bold;">/</span>pub<span style="color: #000000; font-weight: bold;">/</span>software<span style="color: #000000; font-weight: bold;">/</span>programming<span style="color: #000000; font-weight: bold;">/</span>pcre<span style="color: #000000; font-weight: bold;">/</span>pcre-7.9.tar.gz
<span style="color: #c20cb9; font-weight: bold;">tar</span> <span style="color: #660033;">-xvzf</span> pcre-7.9.tar.gz
<span style="color: #7a0874; font-weight: bold;">cd</span> pre-<span style="color: #000000;">7.9</span>
.<span style="color: #000000; font-weight: bold;">/</span>configure <span style="color: #660033;">--prefix</span>=<span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span><span style="color: #7a0874; font-weight: bold;">local</span>
<span style="color: #c20cb9; font-weight: bold;">make</span>
<span style="color: #c20cb9; font-weight: bold;">sudo</span> <span style="color: #c20cb9; font-weight: bold;">make</span> <span style="color: #c20cb9; font-weight: bold;">install</span></pre></td></tr></table></div>

<p>Installing Phusion Passenger via gem</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
</pre></td><td class="code"><pre class="bash" style="font-family:monospace;">gem <span style="color: #c20cb9; font-weight: bold;">install</span> passenger</pre></td></tr></table></div>

<p>Now that you have Phusion Passenger installed you can install and configure nginx and passenger using a bundled script from passenger called &#8220;passenger-install-nginx-module&#8221; but that is no fun and usually don&#8217;t install the lasted stable version of nginx, so you can run the script and follow it&#8217;s instructions (that include auto-downloading and installing of nginx) or do it my way&#8230; the hard way.</p>
<p>So now we need to find where &#8220;gem&#8221; installed the nginx module so we can refer to it&#8217;s during the nginx configuration, so to get the module path you just need to run this:</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
</pre></td><td class="code"><pre class="bash" style="font-family:monospace;">passenger-config <span style="color: #660033;">--root</span></pre></td></tr></table></div>

<p>In my case the command output is</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
</pre></td><td class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #000000; font-weight: bold;">/</span>Users<span style="color: #000000; font-weight: bold;">/&lt;</span>usename<span style="color: #000000; font-weight: bold;">&gt;/</span>.gem<span style="color: #000000; font-weight: bold;">/</span>ruby<span style="color: #000000; font-weight: bold;">/</span><span style="color: #000000;">1.8</span><span style="color: #000000; font-weight: bold;">/</span>gems<span style="color: #000000; font-weight: bold;">/</span>passenger-2.2.5</pre></td></tr></table></div>

<p>You need to write down this output, you will need it in the next step.</p>
<p>Now it&#8217;s time do download and install nginx we will be installing version 0.7.62 (stable).</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
</pre></td><td class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #7a0874; font-weight: bold;">cd</span> ~<span style="color: #000000; font-weight: bold;">/</span>apps<span style="color: #000000; font-weight: bold;">/</span>src
curl <span style="color: #660033;">-O</span> http:<span style="color: #000000; font-weight: bold;">//</span>sysoev.ru<span style="color: #000000; font-weight: bold;">/</span>nginx<span style="color: #000000; font-weight: bold;">/</span>nginx-0.7.62.tar.gz
<span style="color: #c20cb9; font-weight: bold;">tar</span> <span style="color: #660033;">-xvzf</span> nginx-0.7.62.tar.gz
<span style="color: #7a0874; font-weight: bold;">cd</span> nginx-0.7.62
.<span style="color: #000000; font-weight: bold;">/</span>configure \
<span style="color: #660033;">--prefix</span>=<span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span><span style="color: #7a0874; font-weight: bold;">local</span> \
<span style="color: #660033;">--conf-path</span>=<span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>nginx<span style="color: #000000; font-weight: bold;">/</span>nginx.conf \
<span style="color: #660033;">--http-log-path</span>=<span style="color: #000000; font-weight: bold;">/</span>var<span style="color: #000000; font-weight: bold;">/</span>log<span style="color: #000000; font-weight: bold;">/</span>nginx<span style="color: #000000; font-weight: bold;">/</span>access_log \
<span style="color: #660033;">--error-log-path</span>=<span style="color: #000000; font-weight: bold;">/</span>var<span style="color: #000000; font-weight: bold;">/</span>log<span style="color: #000000; font-weight: bold;">/</span>nginx<span style="color: #000000; font-weight: bold;">/</span>error_log \
<span style="color: #660033;">--pid-path</span>=<span style="color: #000000; font-weight: bold;">/</span>var<span style="color: #000000; font-weight: bold;">/</span>run<span style="color: #000000; font-weight: bold;">/</span>nginx.pid \
<span style="color: #660033;">--http-client-body-temp-path</span>=<span style="color: #000000; font-weight: bold;">/</span>var<span style="color: #000000; font-weight: bold;">/</span>tmp<span style="color: #000000; font-weight: bold;">/</span>nginx<span style="color: #000000; font-weight: bold;">/</span>client \
<span style="color: #660033;">--http-proxy-temp-path</span>=<span style="color: #000000; font-weight: bold;">/</span>var<span style="color: #000000; font-weight: bold;">/</span>tmp<span style="color: #000000; font-weight: bold;">/</span>nginx<span style="color: #000000; font-weight: bold;">/</span>proxy \
<span style="color: #660033;">--http-fastcgi-temp-path</span>=<span style="color: #000000; font-weight: bold;">/</span>var<span style="color: #000000; font-weight: bold;">/</span>tmp<span style="color: #000000; font-weight: bold;">/</span>nginx<span style="color: #000000; font-weight: bold;">/</span>fastcgi \
<span style="color: #660033;">--with-md5-asm</span> <span style="color: #660033;">--with-md5</span>=<span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>include \
<span style="color: #660033;">--with-sha1-asm</span> \
<span style="color: #660033;">--with-sha1</span>=<span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>include \
--with-http_realip_module \
--with-http_ssl_module \
--with-http_stub_status_module \
<span style="color: #660033;">--add-module</span>=<span style="color: #ff0000;">'/Users/&lt;username&gt;/.gem/ruby/1.8/gems/passenger-2.2.5/ext/nginx'</span>
<span style="color: #c20cb9; font-weight: bold;">make</span>
<span style="color: #c20cb9; font-weight: bold;">sudo</span> <span style="color: #c20cb9; font-weight: bold;">make</span> <span style="color: #c20cb9; font-weight: bold;">install</span></pre></td></tr></table></div>

<p>Has you can see in line <strong>20</strong> you need to add the previous output that i told you to write down.</p>
<p>The nginx install path&#8217;s, bin, etc&#8230; :</p>
<p>bin: /usr/local/sbin/nginx<br />
etc: /etc/nginx/<br />
pid: /var/run/nginx.pid<br />
document root: /usr/local/html/<br />
error log: /var/log/nginx/error_log</p>
<p>Now let&#8217;s create a demo rails application to show things working</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
</pre></td><td class="code"><pre class="bash" style="font-family:monospace;">rails ~<span style="color: #000000; font-weight: bold;">/</span>Sites<span style="color: #000000; font-weight: bold;">/</span>blog</pre></td></tr></table></div>

<p>Edit /etc/nginx/nginx.conf (you can use your favorit text editor, i will be using vi)</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
</pre></td><td class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">sudo</span> <span style="color: #c20cb9; font-weight: bold;">vi</span> <span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>nginx<span style="color: #000000; font-weight: bold;">/</span>nginx.conf</pre></td></tr></table></div>

<p>Find the &#8220;http&#8221; section and add this lines</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
</pre></td><td class="code"><pre class="bash" style="font-family:monospace;">passenger_root <span style="color: #000000; font-weight: bold;">/</span>Users<span style="color: #000000; font-weight: bold;">/&lt;</span>username<span style="color: #000000; font-weight: bold;">&gt;/</span>.gem<span style="color: #000000; font-weight: bold;">/</span>ruby<span style="color: #000000; font-weight: bold;">/</span><span style="color: #000000;">1.8</span><span style="color: #000000; font-weight: bold;">/</span>gems<span style="color: #000000; font-weight: bold;">/</span>passenger-2.2.5;
passenger_ruby <span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>bin<span style="color: #000000; font-weight: bold;">/</span>ruby;</pre></td></tr></table></div>

<p>You should get something like this:</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
5
6
7
</pre></td><td class="code"><pre class="bash" style="font-family:monospace;">http <span style="color: #7a0874; font-weight: bold;">&#123;</span>
    include       mime.types;
    default_type  application<span style="color: #000000; font-weight: bold;">/</span>octet-stream;
&nbsp;
    passenger_root <span style="color: #000000; font-weight: bold;">/</span>Users<span style="color: #000000; font-weight: bold;">/&lt;</span>username<span style="color: #000000; font-weight: bold;">&gt;/</span>.gem<span style="color: #000000; font-weight: bold;">/</span>ruby<span style="color: #000000; font-weight: bold;">/</span><span style="color: #000000;">1.8</span><span style="color: #000000; font-weight: bold;">/</span>gems<span style="color: #000000; font-weight: bold;">/</span>passenger-2.2.5;
    passenger_ruby <span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>bin<span style="color: #000000; font-weight: bold;">/</span>ruby;
. . . .</pre></td></tr></table></div>

<p>Now adding the virtual host to nginx.conf to run ~/Sites/blog app ( /Users/<username>/Sites/blog )</p>
<p>Add a new server configuration (vhost) inside the http section of the nginx.conf file like this:</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
5
6
7
</pre></td><td class="code"><pre class="bash" style="font-family:monospace;">  server <span style="color: #7a0874; font-weight: bold;">&#123;</span>
          passenger_enabled on;
          listen <span style="color: #000000;">80</span>;
          server_name blog;
          root <span style="color: #000000; font-weight: bold;">/</span>Users<span style="color: #000000; font-weight: bold;">/&lt;</span>username<span style="color: #000000; font-weight: bold;">&gt;/</span>Sites<span style="color: #000000; font-weight: bold;">/</span>blog<span style="color: #000000; font-weight: bold;">/</span>public;
          rails_env development;
  <span style="color: #7a0874; font-weight: bold;">&#125;</span></pre></td></tr></table></div>

<p>Now save the file and let&#8217;s se if it&#8217;s all working.</p>
<p>Start the nginx like this:</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
</pre></td><td class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">sudo</span> <span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>local<span style="color: #000000; font-weight: bold;">/</span>sbin<span style="color: #000000; font-weight: bold;">/</span>nginx</pre></td></tr></table></div>

<p>Let&#8217;s edit the /etc/host file to add the new vhost name ( blog )</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
</pre></td><td class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">vi</span> <span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>hosts</pre></td></tr></table></div>

<p>add this to the bottom of the file, save and exit</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
</pre></td><td class="code"><pre class="bash" style="font-family:monospace;">127.0.0.1       blog</pre></td></tr></table></div>

<p>Now point your browser to <strong>http://blog</strong> and you should the the standard rails app page if you experince any problem starting nginx use this command to see nginx error log</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
</pre></td><td class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">tail</span> <span style="color: #660033;">-f</span> <span style="color: #000000; font-weight: bold;">/</span>var<span style="color: #000000; font-weight: bold;">/</span>log<span style="color: #000000; font-weight: bold;">/</span>nginx<span style="color: #000000; font-weight: bold;">/</span>error_log</pre></td></tr></table></div>

<p>All done, i hope it helps you.</p>


<div class="shr-bookmarks shr-bookmarks-expand shr-bookmarks-center shr-bookmarks-bg-love">
<ul class="socials">
		<li class="shr-comfeed">
			<a href="http://unsignedint.net/blog/2009/10/17/installing-nginx-and-rails-passenger-on-mac-os-x-snow-leopard/feed" rel="nofollow" class="external" title="Subscribe to the comments for this post?">Subscribe to the comments for this post?</a>
		</li>
		<li class="shr-delicious">
			<a href="http://delicious.com/post?url=http://unsignedint.net/blog/2009/10/17/installing-nginx-and-rails-passenger-on-mac-os-x-snow-leopard/&amp;title=Installing+nginx+and+rails+passenger+on+Mac+OS+X+Snow+Leopard" rel="nofollow" class="external" title="Share this on del.icio.us">Share this on del.icio.us</a>
		</li>
		<li class="shr-digg">
			<a href="http://digg.com/submit?phase=2&amp;url=http://unsignedint.net/blog/2009/10/17/installing-nginx-and-rails-passenger-on-mac-os-x-snow-leopard/&amp;title=Installing+nginx+and+rails+passenger+on+Mac+OS+X+Snow+Leopard" rel="nofollow" class="external" title="Digg this!">Digg this!</a>
		</li>
		<li class="shr-facebook">
			<a href="http://www.facebook.com/share.php?v=4&amp;src=bm&amp;u=http://unsignedint.net/blog/2009/10/17/installing-nginx-and-rails-passenger-on-mac-os-x-snow-leopard/&amp;t=Installing+nginx+and+rails+passenger+on+Mac+OS+X+Snow+Leopard" rel="nofollow" class="external" title="Share this on Facebook">Share this on Facebook</a>
		</li>
		<li class="shr-googlebuzz">
			<a href="http://www.google.com/buzz/post?url=http://unsignedint.net/blog/2009/10/17/installing-nginx-and-rails-passenger-on-mac-os-x-snow-leopard/&amp;imageurl=" rel="nofollow" class="external" title="Post on Google Buzz">Post on Google Buzz</a>
		</li>
		<li class="shr-misterwong">
			<a href="http://www.mister-wong.com/addurl/?bm_url=http://unsignedint.net/blog/2009/10/17/installing-nginx-and-rails-passenger-on-mac-os-x-snow-leopard/&amp;bm_description=Installing+nginx+and+rails+passenger+on+Mac+OS+X+Snow+Leopard&amp;plugin=sexybookmarks" rel="nofollow" class="external" title="Add this to Mister Wong">Add this to Mister Wong</a>
		</li>
		<li class="shr-mixx">
			<a href="http://www.mixx.com/submit?page_url=http://unsignedint.net/blog/2009/10/17/installing-nginx-and-rails-passenger-on-mac-os-x-snow-leopard/&amp;title=Installing+nginx+and+rails+passenger+on+Mac+OS+X+Snow+Leopard" rel="nofollow" class="external" title="Share this on Mixx">Share this on Mixx</a>
		</li>
		<li class="shr-reddit">
			<a href="http://reddit.com/submit?url=http://unsignedint.net/blog/2009/10/17/installing-nginx-and-rails-passenger-on-mac-os-x-snow-leopard/&amp;title=Installing+nginx+and+rails+passenger+on+Mac+OS+X+Snow+Leopard" rel="nofollow" class="external" title="Share this on Reddit">Share this on Reddit</a>
		</li>
		<li class="shr-stumbleupon">
			<a href="http://www.stumbleupon.com/submit?url=http://unsignedint.net/blog/2009/10/17/installing-nginx-and-rails-passenger-on-mac-os-x-snow-leopard/&amp;title=Installing+nginx+and+rails+passenger+on+Mac+OS+X+Snow+Leopard" rel="nofollow" class="external" title="Stumble upon something good? Share it on StumbleUpon">Stumble upon something good? Share it on StumbleUpon</a>
		</li>
		<li class="shr-technorati">
			<a href="http://technorati.com/faves?add=http://unsignedint.net/blog/2009/10/17/installing-nginx-and-rails-passenger-on-mac-os-x-snow-leopard/" rel="nofollow" class="external" title="Share this on Technorati">Share this on Technorati</a>
		</li>
		<li class="shr-twitter">
			<a href="http://twitter.com/home?status=Installing+nginx+and+rails+passenger+on+Mac+OS+X+Snow+Leopard+-+http://b2l.me/m6966&amp;source=shareaholic" rel="nofollow" class="external" title="Tweet This!">Tweet This!</a>
		</li>
</ul>
<div style="clear:both;"></div>
</div>

]]></content:encoded>
			<wfw:commentRss>http://unsignedint.net/blog/2009/10/17/installing-nginx-and-rails-passenger-on-mac-os-x-snow-leopard/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Activar o suporte para escrita NTFS no Mac OS X Snow Leopard</title>
		<link>http://unsignedint.net/blog/2009/10/07/activar-o-suporte-para-escrita-ntfs-no-mac-os-x-snow-leopard/</link>
		<comments>http://unsignedint.net/blog/2009/10/07/activar-o-suporte-para-escrita-ntfs-no-mac-os-x-snow-leopard/#comments</comments>
		<pubDate>Tue, 06 Oct 2009 23:18:39 +0000</pubDate>
		<dc:creator>lmmendes</dc:creator>
				<category><![CDATA[How To]]></category>
		<category><![CDATA[Mac OS X]]></category>
		<category><![CDATA[ntfs]]></category>

		<guid isPermaLink="false">http://www.unsignedint.net/blog/?p=163</guid>
		<description><![CDATA[O Snow Leopard possui nativamente suporte para escrita em partições NTFS contudo este vem desactivado por omissão. Sendo necessario por isso activar o suporte de escrita em partições NTFS explicitamente para uma dada partição.

No Terminal escreva diskutil info /Volume/nome_do_volume onde nome_do_volume é o nome da drive/unidade que aparece montada no Ambiente de Trabalho (Desktop). Da [...]]]></description>
			<content:encoded><![CDATA[<p>O Snow Leopard possui nativamente suporte para escrita em partições NTFS contudo este vem desactivado por omissão. Sendo necessario por isso activar o suporte de escrita em partições NTFS explicitamente para uma dada partição.</p>
<ol>
<li>No Terminal escreva <em>diskutil info /Volume/nome_do_volume onde nome_do_volume</em> é o nome da drive/unidade que aparece montada no Ambiente de Trabalho (Desktop). Da informação retornada pelo comando copie a string (sequência de caracteres) que se segue a UUID.</li>
<li>Faça o uma cópia de segurança do ficheiro /etc/fstab (por omissão este ficheiro não existe por isso não se preocupe se não o encontrar). Caso exista para fazer uma cópia digite <em>sudo cp /etc/fstab /etc/fstab.bak</em></li>
<li>Digite <em>sudo nano /etc/fstab</em> ( ou use o &#8216;vi&#8217; se preferir <img src='http://unsignedint.net/blog/wp-includes/images/smilies/icon_razz.gif' alt=':P' class='wp-smiley' />  )</li>
<li>Digite no editor <em>UUID=string_copiada_anteriormente none ntfs rw</em></li>
<li>E pronto salve o ficheiro e reinicie o computardor, a partir deste momento o suporte de escrita para NTFS para a sua unidade já esta activado. Repira a operação para as restantes unidades que deseje activar o suporte para escrita.</li>
</ol>


<div class="shr-bookmarks shr-bookmarks-expand shr-bookmarks-center shr-bookmarks-bg-love">
<ul class="socials">
		<li class="shr-comfeed">
			<a href="http://unsignedint.net/blog/2009/10/07/activar-o-suporte-para-escrita-ntfs-no-mac-os-x-snow-leopard/feed" rel="nofollow" class="external" title="Subscribe to the comments for this post?">Subscribe to the comments for this post?</a>
		</li>
		<li class="shr-delicious">
			<a href="http://delicious.com/post?url=http://unsignedint.net/blog/2009/10/07/activar-o-suporte-para-escrita-ntfs-no-mac-os-x-snow-leopard/&amp;title=Activar+o+suporte+para+escrita+NTFS+no+Mac+OS+X+Snow+Leopard" rel="nofollow" class="external" title="Share this on del.icio.us">Share this on del.icio.us</a>
		</li>
		<li class="shr-digg">
			<a href="http://digg.com/submit?phase=2&amp;url=http://unsignedint.net/blog/2009/10/07/activar-o-suporte-para-escrita-ntfs-no-mac-os-x-snow-leopard/&amp;title=Activar+o+suporte+para+escrita+NTFS+no+Mac+OS+X+Snow+Leopard" rel="nofollow" class="external" title="Digg this!">Digg this!</a>
		</li>
		<li class="shr-facebook">
			<a href="http://www.facebook.com/share.php?v=4&amp;src=bm&amp;u=http://unsignedint.net/blog/2009/10/07/activar-o-suporte-para-escrita-ntfs-no-mac-os-x-snow-leopard/&amp;t=Activar+o+suporte+para+escrita+NTFS+no+Mac+OS+X+Snow+Leopard" rel="nofollow" class="external" title="Share this on Facebook">Share this on Facebook</a>
		</li>
		<li class="shr-googlebuzz">
			<a href="http://www.google.com/buzz/post?url=http://unsignedint.net/blog/2009/10/07/activar-o-suporte-para-escrita-ntfs-no-mac-os-x-snow-leopard/&amp;imageurl=" rel="nofollow" class="external" title="Post on Google Buzz">Post on Google Buzz</a>
		</li>
		<li class="shr-misterwong">
			<a href="http://www.mister-wong.com/addurl/?bm_url=http://unsignedint.net/blog/2009/10/07/activar-o-suporte-para-escrita-ntfs-no-mac-os-x-snow-leopard/&amp;bm_description=Activar+o+suporte+para+escrita+NTFS+no+Mac+OS+X+Snow+Leopard&amp;plugin=sexybookmarks" rel="nofollow" class="external" title="Add this to Mister Wong">Add this to Mister Wong</a>
		</li>
		<li class="shr-mixx">
			<a href="http://www.mixx.com/submit?page_url=http://unsignedint.net/blog/2009/10/07/activar-o-suporte-para-escrita-ntfs-no-mac-os-x-snow-leopard/&amp;title=Activar+o+suporte+para+escrita+NTFS+no+Mac+OS+X+Snow+Leopard" rel="nofollow" class="external" title="Share this on Mixx">Share this on Mixx</a>
		</li>
		<li class="shr-reddit">
			<a href="http://reddit.com/submit?url=http://unsignedint.net/blog/2009/10/07/activar-o-suporte-para-escrita-ntfs-no-mac-os-x-snow-leopard/&amp;title=Activar+o+suporte+para+escrita+NTFS+no+Mac+OS+X+Snow+Leopard" rel="nofollow" class="external" title="Share this on Reddit">Share this on Reddit</a>
		</li>
		<li class="shr-stumbleupon">
			<a href="http://www.stumbleupon.com/submit?url=http://unsignedint.net/blog/2009/10/07/activar-o-suporte-para-escrita-ntfs-no-mac-os-x-snow-leopard/&amp;title=Activar+o+suporte+para+escrita+NTFS+no+Mac+OS+X+Snow+Leopard" rel="nofollow" class="external" title="Stumble upon something good? Share it on StumbleUpon">Stumble upon something good? Share it on StumbleUpon</a>
		</li>
		<li class="shr-technorati">
			<a href="http://technorati.com/faves?add=http://unsignedint.net/blog/2009/10/07/activar-o-suporte-para-escrita-ntfs-no-mac-os-x-snow-leopard/" rel="nofollow" class="external" title="Share this on Technorati">Share this on Technorati</a>
		</li>
		<li class="shr-twitter">
			<a href="http://twitter.com/home?status=Activar+o+suporte+para+escrita+NTFS+no+Mac+OS+X+Snow+Leopard+-+http://b2l.me/m7acW&amp;source=shareaholic" rel="nofollow" class="external" title="Tweet This!">Tweet This!</a>
		</li>
</ul>
<div style="clear:both;"></div>
</div>

]]></content:encoded>
			<wfw:commentRss>http://unsignedint.net/blog/2009/10/07/activar-o-suporte-para-escrita-ntfs-no-mac-os-x-snow-leopard/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Abrir links &quot;mailto&quot; no GMail usando Firefox</title>
		<link>http://unsignedint.net/blog/2009/08/09/abrir-links-mailto-no-gmail-usando-firefox/</link>
		<comments>http://unsignedint.net/blog/2009/08/09/abrir-links-mailto-no-gmail-usando-firefox/#comments</comments>
		<pubDate>Sun, 09 Aug 2009 20:57:14 +0000</pubDate>
		<dc:creator>unsignedint</dc:creator>
				<category><![CDATA[Firefox]]></category>
		<category><![CDATA[How To]]></category>
		<category><![CDATA[GMail]]></category>
		<category><![CDATA[Mailto]]></category>

		<guid isPermaLink="false">http://unsignedint.net/blog/?p=103</guid>
		<description><![CDATA[Há uns dias estava a discutir com uns colegas meus a parvoíce de nós terem pedido no desenvolvimento de um projecto que colocássemos um endereço de e-mail de uma pagina web &#8220;um link para um e-mail de forma este abrir directamente no outlook dos visitantes&#8221;&#8230; é escusado dizer que deu assunto para uns valentes minutos [...]]]></description>
			<content:encoded><![CDATA[<p>Há uns dias estava a discutir com uns colegas meus a parvoíce de nós terem pedido no desenvolvimento de um projecto que colocássemos um endereço de e-mail de uma pagina web &#8220;um link para um e-mail de forma este abrir directamente no outlook dos visitantes&#8221;&#8230; é escusado dizer que deu assunto para uns valentes minutos de gozo&#8230;</p>
<p>Mas historias a parte andei a então a pesquisar como mudar o evento/protocolo utilizado no Firefox 3 de forma a que ele abri-se o GMail sempre que alguém clica-se num link com &#8220;mailto:&#8221;  e foi assim que descobri <a href='http://gmailblog.blogspot.com/2008/07/power-tip-set-gmail-as-your-default.html'>esta</a> dica no blog do GMail contudo não funcionou logo comigo, assim sendo seguem-se os passos que segui para conseguir a por a dica a funcionar como deve ser.<br />
<span id="more-103"></span><br />
<strong>1)</strong> Entre na sua conta de GMail</p>
<p><strong>2)</strong> Na barra de endereço do browser digite o seguinte, substituindo por completo o endereço que lá se encontra por:</p>
<pre>
javascript:window.navigator.registerProtocolHandler("mailto","https://
mail.google.com/mail/?extsrc=mailto&#038;url=%s","Gmail")
</pre>
<p>E pressione &#8220;<em>Enter</em>&#8220;.</p>
<p><strong>3)</strong> O Firefox vai pedir para adicionar o GMail como o gestor de e-mail por omissão como mostra a figura, adicione a aplicação.</p>
<p><img src="http://www.unsignedint.net/blog/wp-content/uploads/2009/08/gmailhandlerbuttonwin.png" alt="gmailhandlerbuttonwin" title="gmailhandlerbuttonwin" width="494" height="118" class="alignnone size-full wp-image-113" /></p>
<p><strong>4)</strong> Agora para testar se ficou tudo a funcionar clique no link em baixo para teste, é e-mail fictício:</p>
<p><a href="mailto:sapo.cocas@sapo.pt">mailto:sapo.cocas@sapo.pt</a> <img src='http://unsignedint.net/blog/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
<p>Agora se nada aconteceu, ou se o seu programa por omissão continuou a abrir como por exemplo ou Outlook ou Firebird invés do GMail como seria suposto siga para o passo 5 caso contrario, se foi redireccionado com sucesso para o GMail fique por aqui.</p>
<p><strong>5)</strong> Na barra de endereço do Firefox digite <code>about:config</code> e verifique se o campo: <em><code>network.protocol-handler.external.mailto</code></em> esta definido com o seu valor por omissão <code>true</code> como mostra a figura:</p>
<p><img src="http://www.unsignedint.net/blog/wp-content/uploads/2009/08/firefox_about_config_external_mailto.png" alt="firefox_about_config_external_mailto" title="firefox_about_config_external_mailto" width="561" height="198" class="alignnone size-full wp-image-120" /></p>
<p><strong>6)</strong> Agora para terminar vá ao menu do Firefox, Ferramentas (Tools) -> Opções (Options) -> Applications (Aplicações) e digite na janela no campo de pesquisa <code>mailto</code> como mostra a figura.</p>
<p><img src="http://www.unsignedint.net/blog/wp-content/uploads/2009/08/firefox_tools_options_applications_mailto.png" alt="Firefox Tools -&gt; Options -&gt; Applications -&gt; Filter: mailto" title="Firefox Tools -&gt; Options -&gt; Applications -&gt; Filter: mailto" width="469" height="440" class="alignnone size-full wp-image-124" /></p>
<p>Na coluna da acção (Action) a executar seleccione do menu o GMail e pressione OK.</p>
<p>E prontos é tudo, repita o passo <em>4</em> para testar se tudo ficou a funcionar como deve ser.</p>


<div class="shr-bookmarks shr-bookmarks-expand shr-bookmarks-center shr-bookmarks-bg-love">
<ul class="socials">
		<li class="shr-comfeed">
			<a href="http://unsignedint.net/blog/2009/08/09/abrir-links-mailto-no-gmail-usando-firefox/feed" rel="nofollow" class="external" title="Subscribe to the comments for this post?">Subscribe to the comments for this post?</a>
		</li>
		<li class="shr-delicious">
			<a href="http://delicious.com/post?url=http://unsignedint.net/blog/2009/08/09/abrir-links-mailto-no-gmail-usando-firefox/&amp;title=Abrir+links+%26quot%3Bmailto%26quot%3B+no+GMail+usando+Firefox" rel="nofollow" class="external" title="Share this on del.icio.us">Share this on del.icio.us</a>
		</li>
		<li class="shr-digg">
			<a href="http://digg.com/submit?phase=2&amp;url=http://unsignedint.net/blog/2009/08/09/abrir-links-mailto-no-gmail-usando-firefox/&amp;title=Abrir+links+%26quot%3Bmailto%26quot%3B+no+GMail+usando+Firefox" rel="nofollow" class="external" title="Digg this!">Digg this!</a>
		</li>
		<li class="shr-facebook">
			<a href="http://www.facebook.com/share.php?v=4&amp;src=bm&amp;u=http://unsignedint.net/blog/2009/08/09/abrir-links-mailto-no-gmail-usando-firefox/&amp;t=Abrir+links+%26quot%3Bmailto%26quot%3B+no+GMail+usando+Firefox" rel="nofollow" class="external" title="Share this on Facebook">Share this on Facebook</a>
		</li>
		<li class="shr-googlebuzz">
			<a href="http://www.google.com/buzz/post?url=http://unsignedint.net/blog/2009/08/09/abrir-links-mailto-no-gmail-usando-firefox/&amp;imageurl=" rel="nofollow" class="external" title="Post on Google Buzz">Post on Google Buzz</a>
		</li>
		<li class="shr-misterwong">
			<a href="http://www.mister-wong.com/addurl/?bm_url=http://unsignedint.net/blog/2009/08/09/abrir-links-mailto-no-gmail-usando-firefox/&amp;bm_description=Abrir+links+%26quot%3Bmailto%26quot%3B+no+GMail+usando+Firefox&amp;plugin=sexybookmarks" rel="nofollow" class="external" title="Add this to Mister Wong">Add this to Mister Wong</a>
		</li>
		<li class="shr-mixx">
			<a href="http://www.mixx.com/submit?page_url=http://unsignedint.net/blog/2009/08/09/abrir-links-mailto-no-gmail-usando-firefox/&amp;title=Abrir+links+%26quot%3Bmailto%26quot%3B+no+GMail+usando+Firefox" rel="nofollow" class="external" title="Share this on Mixx">Share this on Mixx</a>
		</li>
		<li class="shr-reddit">
			<a href="http://reddit.com/submit?url=http://unsignedint.net/blog/2009/08/09/abrir-links-mailto-no-gmail-usando-firefox/&amp;title=Abrir+links+%26quot%3Bmailto%26quot%3B+no+GMail+usando+Firefox" rel="nofollow" class="external" title="Share this on Reddit">Share this on Reddit</a>
		</li>
		<li class="shr-stumbleupon">
			<a href="http://www.stumbleupon.com/submit?url=http://unsignedint.net/blog/2009/08/09/abrir-links-mailto-no-gmail-usando-firefox/&amp;title=Abrir+links+%26quot%3Bmailto%26quot%3B+no+GMail+usando+Firefox" rel="nofollow" class="external" title="Stumble upon something good? Share it on StumbleUpon">Stumble upon something good? Share it on StumbleUpon</a>
		</li>
		<li class="shr-technorati">
			<a href="http://technorati.com/faves?add=http://unsignedint.net/blog/2009/08/09/abrir-links-mailto-no-gmail-usando-firefox/" rel="nofollow" class="external" title="Share this on Technorati">Share this on Technorati</a>
		</li>
		<li class="shr-twitter">
			<a href="http://twitter.com/home?status=Abrir+links+%26quot%3Bmailto%26quot%3B+no+GMail+usando+Firefox+-+http://b2l.me/m69nq&amp;source=shareaholic" rel="nofollow" class="external" title="Tweet This!">Tweet This!</a>
		</li>
</ul>
<div style="clear:both;"></div>
</div>

]]></content:encoded>
			<wfw:commentRss>http://unsignedint.net/blog/2009/08/09/abrir-links-mailto-no-gmail-usando-firefox/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>
