<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/rss2full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><rss 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/" version="2.0">

<channel>
	<title>unsignedint</title>
	
	<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>
			<atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" type="application/rss+xml" href="http://feeds.feedburner.com/unsignedint" /><feedburner:info xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" uri="unsignedint" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com/" /><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>O CDN da Google, jQuery e algumas implicações</title>
		<link>http://unsignedint.net/blog/2010/04/03/google-cdn-jquery/</link>
		<comments>http://unsignedint.net/blog/2010/04/03/google-cdn-jquery/#comments</comments>
		<pubDate>Sat, 03 Apr 2010 20:25:13 +0000</pubDate>
		<dc:creator>lmmendes</dc:creator>
				<category><![CDATA[Development]]></category>
		<category><![CDATA[Javascript]]></category>
		<category><![CDATA[Performance]]></category>
		<category><![CDATA[jQuery]]></category>
		<category><![CDATA[google cdn]]></category>

		<guid isPermaLink="false">http://www.unsignedint.net/blog/?p=370</guid>
		<description><![CDATA[Ultimamente tenho-me sentido tentado em usar a Content Delivery Network (CDN) da Google para servir algumas das bibliotecas javascript que utilizo, nomeadamente o jQuery e JQuery UI.
As vantagens de utilizar o CDN da Google são óbvias, os servidores deles são rápidos bem rápidos e outra vantagem prende-se com o facto se houver muita gente a [...]]]></description>
			<content:encoded><![CDATA[<p>Ultimamente tenho-me sentido tentado em usar a <a href="http://en.wikipedia.org/wiki/Content_delivery_network" target="_blank">Content Delivery Network</a> (CDN) da Google para servir algumas das bibliotecas javascript que utilizo, nomeadamente o <a href="http://jquery.com/" target="_blank">jQuery</a> e <a href="http://jqueryui.com/" target="_blank">JQuery UI</a>.</p>
<p>As vantagens de utilizar o CDN da Google são óbvias, os servidores deles são rápidos bem rápidos e outra vantagem prende-se com o facto se houver muita gente a utilizar o CDN deles provavelmente quando um utilizador chegar ao meu site o jQuery servido pelo Google já está em cache e ai o tempo de download é zero (ou muito perto disso pelo menos) entre outras vantagens que no final de contas resultam num carregamento mais rápido da pagina e uma redução na carga sobre a nossa maquina.<br />
<span id="more-370"></span><br />
Contudo não há bela sem senão e neste caso o senão é que estamos a confiar a terceiros para nos servirem um conteúdo directamente no nosso site (e no caso de javascript pode ser algo bastante perigoso), outro senão é o que acontece ao nosso site se o Google tiver problemas de rede e os ficheiros ficarem de alguma forma indisponíveis?</p>
<p>Pois bem, quanto ao problema de segurança que representa confiar na Google para servir  os nossos ficheiros isto é algo com que teremos que viver se quisermos utilizar qualquer CDN e para mais a maioria de nós já confia na Google para servir o javascript do Google Analytics.</p>
<p>Quanto para o caso da rede da Google falhar no que diz respeito ao jQuery a solução é bastante simples.<br />
Se tivermos em conta que um browser executa de ordem sequencial o carregamento de todo o javascript  e sabendo que o jQuery depois de carregado disponibiliza um objecto (variável) com o nome de jQuery  facilmente podemos construir algo que tenta carregar o jQuery a partir do CDN da Google e se depois o objecto jQuery não estiver disponível carrega então o jQuery a partir do repositorio do nosso site.</p>
<pre name="code" class="javascript">
<script type='text/javascript' src='http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js'></script>
</pre>
<pre name="code" class="javascript">
<script type="text/javascript">
if(  typeof jQuery === 'undefined' ){
  document.write('<scr'+'ipt src="/static/jquery/1.4.2/jquery.min.js" type="text/javascript"></script>');
}
</script>
</pre>
<p>Como podemos ver pelo código em cima é bastante simples aproveitar-nos das vantagem da utilização do CDN da Google e também conseguimos nos proteger contra qualquer problema de disponibilidade acabando por servir a nossa versão local em caso de algum problema.</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/04/03/google-cdn-jquery/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/04/03/google-cdn-jquery/&amp;title=O+CDN+da+Google%2C+jQuery+e+algumas+implica%C3%A7%C3%B5es" 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/04/03/google-cdn-jquery/&amp;title=O+CDN+da+Google%2C+jQuery+e+algumas+implica%C3%A7%C3%B5es" 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/04/03/google-cdn-jquery/&amp;t=O+CDN+da+Google%2C+jQuery+e+algumas+implica%C3%A7%C3%B5es" 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/04/03/google-cdn-jquery/&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/04/03/google-cdn-jquery/&amp;bm_description=O+CDN+da+Google%2C+jQuery+e+algumas+implica%C3%A7%C3%B5es&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/04/03/google-cdn-jquery/&amp;title=O+CDN+da+Google%2C+jQuery+e+algumas+implica%C3%A7%C3%B5es" 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/04/03/google-cdn-jquery/&amp;title=O+CDN+da+Google%2C+jQuery+e+algumas+implica%C3%A7%C3%B5es" 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/04/03/google-cdn-jquery/&amp;title=O+CDN+da+Google%2C+jQuery+e+algumas+implica%C3%A7%C3%B5es" 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/04/03/google-cdn-jquery/" 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=O+CDN+da+Google%2C+jQuery+e+algumas+implica%C3%A7%C3%B5es+-+http://b2l.me/m7hhc&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/04/03/google-cdn-jquery/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Como obter o ID de um post dentro e fora do Loop do WordPress</title>
		<link>http://unsignedint.net/blog/2010/01/16/obter-id-de-um-post-no-wordpress/</link>
		<comments>http://unsignedint.net/blog/2010/01/16/obter-id-de-um-post-no-wordpress/#comments</comments>
		<pubDate>Sat, 16 Jan 2010 11:46:29 +0000</pubDate>
		<dc:creator>lmmendes</dc:creator>
				<category><![CDATA[Development]]></category>
		<category><![CDATA[WordPress]]></category>
		<category><![CDATA[post_id]]></category>

		<guid isPermaLink="false">http://www.unsignedint.net/blog/?p=342</guid>
		<description><![CDATA[Ultimamente tenho andado a fazer algumas modificações ao meu blog e surgiu-me a necessidade de obter o ID de um post fora do loop (The Loop) do WordPress:

&#60;?php if ( have_posts() ) : while ( have_posts() ) : the_post(); ?&#62;

Dentro do loop para obter o ID basta fazer o seguinte:

$post->ID

Já fora do loop para termos [...]]]></description>
			<content:encoded><![CDATA[<p>Ultimamente tenho andado a fazer algumas modificações ao meu blog e surgiu-me a necessidade de obter o ID de um post fora do <a href="http://codex.wordpress.org/The_Loop">loop (The Loop)</a> do WordPress:</p>
<pre name="code" class="php">
&lt;?php if ( have_posts() ) : while ( have_posts() ) : the_post(); ?&gt;
</pre>
<p>Dentro do <em>loop </em>para obter o ID basta fazer o seguinte:</p>
<pre name="code" class="php">
$post->ID
</pre>
<p>Já fora do <em>loop</em> para termos acesso ao ID do post vamos ter que aceder á variável global <em>$wp_query</em>, ou seja, para obtermos acesso ao ID do post:</p>
<pre name="code" class="php">
global $wp_query;
$wp_query->post->ID
</pre>
<p>É tão simples como isso, para saberem mais informação sobre o <em>$wp_query</em> consultem o <a href="http://codex.wordpress.org/Function_Reference/WP_Query">Codex aqui.</a></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/01/16/obter-id-de-um-post-no-wordpress/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/01/16/obter-id-de-um-post-no-wordpress/&amp;title=Como+obter+o+ID+de+um+post+dentro+e+fora+do+Loop+do+WordPress" 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/01/16/obter-id-de-um-post-no-wordpress/&amp;title=Como+obter+o+ID+de+um+post+dentro+e+fora+do+Loop+do+WordPress" 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/01/16/obter-id-de-um-post-no-wordpress/&amp;t=Como+obter+o+ID+de+um+post+dentro+e+fora+do+Loop+do+WordPress" 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/01/16/obter-id-de-um-post-no-wordpress/&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/01/16/obter-id-de-um-post-no-wordpress/&amp;bm_description=Como+obter+o+ID+de+um+post+dentro+e+fora+do+Loop+do+WordPress&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/01/16/obter-id-de-um-post-no-wordpress/&amp;title=Como+obter+o+ID+de+um+post+dentro+e+fora+do+Loop+do+WordPress" 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/01/16/obter-id-de-um-post-no-wordpress/&amp;title=Como+obter+o+ID+de+um+post+dentro+e+fora+do+Loop+do+WordPress" 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/01/16/obter-id-de-um-post-no-wordpress/&amp;title=Como+obter+o+ID+de+um+post+dentro+e+fora+do+Loop+do+WordPress" 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/01/16/obter-id-de-um-post-no-wordpress/" 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+obter+o+ID+de+um+post+dentro+e+fora+do+Loop+do+WordPress+-+http://b2l.me/m7hhd&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/01/16/obter-id-de-um-post-no-wordpress/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Remove WordPress iNove theme sidebar using custom fields</title>
		<link>http://unsignedint.net/blog/2010/01/16/hide-inove-wordpress-theme-sidebar-using-custom-fields/</link>
		<comments>http://unsignedint.net/blog/2010/01/16/hide-inove-wordpress-theme-sidebar-using-custom-fields/#comments</comments>
		<pubDate>Sat, 16 Jan 2010 01:35:37 +0000</pubDate>
		<dc:creator>lmmendes</dc:creator>
				<category><![CDATA[Development]]></category>
		<category><![CDATA[WordPress]]></category>
		<category><![CDATA[inove wordpress nosidebar]]></category>

		<guid isPermaLink="false">http://www.unsignedint.net/blog/?p=295</guid>
		<description><![CDATA[I&#8217;m using WordPress iNove theme v.1.4.6 and i needed a way to hide the sidebar for a specific post so i dove in the iNove theme code and figured out how to do this with the minimum changes to the original theme code.
First open the iNove theme &#8216;header.php&#8217; file using your favorite editor, usually found [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;m using <a href="http://wordpress.org/extend/themes/inove">WordPress iNove theme</a> v.1.4.6 and i needed a way to hide the sidebar for a specific post so i dove in the iNove theme code and figured out how to do this with the minimum changes to the original theme code.</p>
<p>First open the iNove theme &#8216;header.php&#8217; file using your favorite editor, usually found at <em>&lt;wp install folder&gt;/wp-content/themes/inove/header.php</em>.</p>
<p>Now look for this piece of code (starting from the top of the file):</p>
<pre name="code" class="php">
... some code ...
			$feed = 'http://' . $options['feed_url'];
		}
	} else {
		$feed = get_bloginfo('rss2_url');
	}
?&gt;
</pre>
<p><span id="more-295"></span><br />
Now append at the end of that code the following snippet:</p>
<pre name="code" class="php">
&lt;?php
    global $wp_query;
    if( get_post_meta( $wp_query->post->ID, 'nosidebar', 'true') ){
        $inove_nosidebar = true;
    }
?&gt;
</pre>
<p>You should get some thing like this:</p>
<pre name="code" class="php">
... some code ...
			$feed = 'http://' . $options['feed_url'];
		}
	} else {
		$feed = get_bloginfo('rss2_url');
	}
?&gt;

&lt;?php
    global $wp_query;
    if( get_post_meta( $wp_query->post->ID, '', 'true') ){
        $inove_nosidebar = true;
    }
?&gt;

&lt;html xmlns="http://www.w3.org/1999/xhtml"&gt;
</pre>
<p>Now when you need to disable the sidebar in a post you simply add  a new &#8216;Custom Field&#8217; named &#8216;nosidebar&#8217; and set it&#8217;s value to &#8216;true&#8217; like you see in the figure.</p>
<p><a href="http://www.unsignedint.net/blog/wp-content/uploads/2010/01/wp_nosidebar_custom_fields.png"><img src="http://www.unsignedint.net/blog/wp-content/uploads/2010/01/wp_nosidebar_custom_fields.png" alt="Wordpress setting &#039;nosidebar&#039; custom field" title="Wordpress &#039;nosidebar&#039; Custom Fields" width="582" height="233" class="alignnone size-full wp-image-320" /></a></p>
<p>Et voilà, all done! </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/01/16/hide-inove-wordpress-theme-sidebar-using-custom-fields/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/01/16/hide-inove-wordpress-theme-sidebar-using-custom-fields/&amp;title=Remove+WordPress+iNove+theme+sidebar+using+custom+fields" 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/01/16/hide-inove-wordpress-theme-sidebar-using-custom-fields/&amp;title=Remove+WordPress+iNove+theme+sidebar+using+custom+fields" 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/01/16/hide-inove-wordpress-theme-sidebar-using-custom-fields/&amp;t=Remove+WordPress+iNove+theme+sidebar+using+custom+fields" 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/01/16/hide-inove-wordpress-theme-sidebar-using-custom-fields/&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/01/16/hide-inove-wordpress-theme-sidebar-using-custom-fields/&amp;bm_description=Remove+WordPress+iNove+theme+sidebar+using+custom+fields&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/01/16/hide-inove-wordpress-theme-sidebar-using-custom-fields/&amp;title=Remove+WordPress+iNove+theme+sidebar+using+custom+fields" 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/01/16/hide-inove-wordpress-theme-sidebar-using-custom-fields/&amp;title=Remove+WordPress+iNove+theme+sidebar+using+custom+fields" 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/01/16/hide-inove-wordpress-theme-sidebar-using-custom-fields/&amp;title=Remove+WordPress+iNove+theme+sidebar+using+custom+fields" 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/01/16/hide-inove-wordpress-theme-sidebar-using-custom-fields/" 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=Remove+WordPress+iNove+theme+sidebar+using+custom+fields+-+http://b2l.me/m7aas&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/01/16/hide-inove-wordpress-theme-sidebar-using-custom-fields/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>Instalar o Homebrew Channel na Wii</title>
		<link>http://unsignedint.net/blog/2009/12/26/installing-the-homebrew-channel/</link>
		<comments>http://unsignedint.net/blog/2009/12/26/installing-the-homebrew-channel/#comments</comments>
		<pubDate>Sat, 26 Dec 2009 11:46:23 +0000</pubDate>
		<dc:creator>lmmendes</dc:creator>
				<category><![CDATA[Wii]]></category>

		<guid isPermaLink="false">http://www.unsignedint.net/blog/?p=216</guid>
		<description><![CDATA[Como instalar o Homebrew Channel na Wii, DVDX e BootMii]]></description>
			<content:encoded><![CDATA[<p><strong>Uma breve introdução ao Homebrew Channel:</strong></p>
<p>O Homebrew Channel (HBC) é uma aplicação desenvolvida por terceiros (não licenciada pela Nintendo) capaz de se actualizar automaticamente, criada pela Team Twiizers que permite aos utilizadores da Wii executarem aplicações sem terem que estar a executar exploits sempre que desejam executar uma aplicação Homebrew.</p>
<p>A instalação do HBC envolve a execução de um dos seguintes exploits <a href="http://wiibrew.org/wiki/Twilight_Hack">Twilight Hack</a>, <a href="http://wiibrew.org/wiki/Smash_Stack">Smash Stack</a>, <a href="http://wiibrew.org/wiki/Indiana_Pwns">Indiana Pwns</a> ou <a href="http://wiibrew.org/wiki/Bannerbomb">Bannerbomb</a> que por sua vez vão permitir a instalação do HBC.</p>
<p>Este exploit só é necessário ser executado uma vez para instalar o HBC pois todos os restantes softwares Homebrew vão ser lançados pelo HBC evitando como se dizia no inicio deste artigo a execução do exploit por cada aplicação Homebrew que se pretende lançar.</p>
<p>Neste caso vamos recorrer ao exploit  Bannerbomb pois os restantes exploits requerem que se possua o jogo original e se execute um save modificado do mesmo de forma a se poder executar o exploit logo tornam-se pouco práticos.<br />
<span id="more-216"></span><br />
<strong>O objectivo deste tutorial:</strong></p>
<p>Com este tutorial vamos conseguir correr na Wii o <em>HackMii Installer</em> que vai instalar o HBC que nos permite correr código Homebrew, vai também instalar o DVDx que irá permitir ver filmes em DVD&#8217;s na Wii e também irá instalar o BootMii.</p>
<p><strong>Material necessário:</strong></p>
<ul>
<li>Wii</li>
<li>Cartão de memoria SD ou SDHC</li>
<li><a href="http://bannerbomb.qoid.us/index.new.php">Bannerbomb v2</a></li>
<li><a href="http://bootmii.org/download">HackMii Installer v0.6</a></li>
</ul>
<p><strong>Guia passo-a-passo:</strong></p>
<p><strong>1)</strong> Formate o cartão SD com FAT ou FAT32.</p>
<p><strong>2) Bannerbomb v2)</strong></p>
<p>Faça download do <em>Bannerbomb v2</em> (no momento em que este tutorial foi escrito o ficheiro chamava-se abd6a_v200.zip) descompacte o ficheiro e cópie a pasta &#8220;private&#8221; que obteve para a raiz do cartão. Ou seja, neste momento depois da pasta estar cópiada o único conteúdo do cartão será uma pasta com o nome de <em>private</em>.</p>
<p><strong>3) HackMii Installer</strong></p>
<p>Faça agora download do <em>HackMii Installer v0.6</em> descompacte o ficheiro e copie o ficheiro <em>boot.elf</em> para a raiz do cartão SD. Por fim o conteúdo do cartão SD deve ser idêntico ao que mostra a imagem que se segue:</p>
<p><a href="http://www.unsignedint.net/blog/wp-content/uploads/2009/12/SD_card_boot_and_private.jpg"><img class="alignnone size-medium wp-image-230" title="Cartão SD com pasta &quot;private&quot; e boot.&quot;elf&quot;" src="http://www.unsignedint.net/blog/wp-content/uploads/2009/12/SD_card_boot_and_private-300x188.jpg" alt="" width="300" height="188" /></a></p>
<p><strong>4) Instalar o HBC, DVDX e BootMii:</strong></p>
<p>Com a Wii desligada introduza o cartão de memoria. Ligue-a Wii e no menu principal clique no icone do cartão SD como mostra a figura em baixo.</p>
<p><a href="http://www.unsignedint.net/blog/wp-content/uploads/2009/12/wii_press_sd_card_main_menu.png"><img class="alignnone size-medium wp-image-248" title="Pressionar o icone do cartão SD está a direita do curso (mão)" src="http://www.unsignedint.net/blog/wp-content/uploads/2009/12/wii_press_sd_card_main_menu-300x167.png" alt="" width="300" height="167" /></a></p>
<p>Selecione &#8220;Yes&#8221; para iniciar o instalador do Hackmii que ira instalar o HBC, DVDx e boot2.</p>
<p><a href="http://www.unsignedint.net/blog/wp-content/uploads/2009/12/wii_load_boot_dol_elf.jpg"><img class="alignnone size-medium wp-image-234" title="Wii Bannerbomb v2 popup" src="http://www.unsignedint.net/blog/wp-content/uploads/2009/12/wii_load_boot_dol_elf-300x207.jpg" alt="" width="300" height="207" /></a></p>
<p>Quando vir um ecran idêntico ao de baixo, tome nota num papel se a seguir a BootMii aparece escrito &#8220;Can install BootMii&#8221;  ou pelo contrario aparece a rosa a seguinte frase &#8220;Can only be installed as an IOS&#8221; como é mostrada na figura. Agora pressione pressione <em>A</em> para continuar.</p>
<p><a href="http://www.unsignedint.net/blog/wp-content/uploads/2009/12/wii_hackmii_installer_step1.jpg"><img class="alignnone size-medium wp-image-236" title="wii hackmii installer step1" src="http://www.unsignedint.net/blog/wp-content/uploads/2009/12/wii_hackmii_installer_step1-300x176.jpg" alt="" width="300" height="176" /></a></p>
<p>No menu seguinte pressione &#8220;Install Homebrew Channel&#8221;, &#8220;Install DVDx&#8221;.</p>
<p><a href="http://www.unsignedint.net/blog/wp-content/uploads/2009/12/wii_install_hbc_dvdx_bootmii.jpg"><img class="alignnone size-medium wp-image-251" title="Instalar o HBC, DVDx e BootMii" src="http://www.unsignedint.net/blog/wp-content/uploads/2009/12/wii_install_hbc_dvdx_bootmii-300x183.jpg" alt="" width="300" height="183" /></a></p>
<p>Entre depois no menu do BootMii</p>
<p><a href="http://www.unsignedint.net/blog/wp-content/uploads/2009/12/wii_bootmii_install_menu.png"><img class="alignnone size-medium wp-image-253" title="Menu de instalação do BootMii" src="http://www.unsignedint.net/blog/wp-content/uploads/2009/12/wii_bootmii_install_menu-300x158.png" alt="" width="300" height="158" /></a></p>
<p>Agora no menu de instalação do BootMii selecione a opção mais indicada para si, se há pouco lhe apareceu &#8220;Can install BootMii&#8221; selecione &#8220;Prepare SD Card&#8221; primeiro (siga as instruções no ecran) e de seguinda selecione &#8220;Install BootMii as boot2&#8243; caso contrario se lhe apareceu um texto a rosa  há pouco a dizer &#8220;Can only be installed as an IOS&#8221; selecione &#8220;Install BootMii as a IOS&#8221;.<br />
Escolha agora voltar para o menu principal &#8220;Return to Main Menu&#8221; e de seguida &#8220;Exit&#8221;, reinicie a Wii.</p>
<p>Agora no System Menu da Wii vai aparecer se tudo correu bem um novo canal com o nome de &#8220;HomeBrew Channel&#8221; e pronto é tudo.</p>
<p>Nota: Se instalou o BootMii como boot2 cada vez que ligar a Wii esta vai entrar o BootMii primeiro em vez de entrar no System Menu (menu normal da Wii) para evitar que isto aconteça mude o nome da pasta &#8220;bootmii&#8221; no cartão SD para outra coisa qualquer (ex: bootyou ) ou mova a pasta para o seu pc.</p>
<p><strong>Referencias bibliográficas:</strong></p>
<ul>
<li><a href="http://en.wikipedia.org/wiki/Homebrew_Channel">http://en.wikipedia.org/wiki/Homebrew_Channel</a></li>
<li><a href="http://wiibrew.org/wiki/Homebrew_Channel">http://wiibrew.org/wiki/Homebrew_Channel</a></li>
<li><a href="http://wiibrew.org/wiki/Homebrew_setup">http://wiibrew.org/wiki/Homebrew_setup</a></li>
<li><a href="http://bannerbomb.qoid.us/index.new.php">http://bannerbomb.qoid.us/index.new.php</a></li>
</ul>


<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/12/26/installing-the-homebrew-channel/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/12/26/installing-the-homebrew-channel/&amp;title=Instalar+o+Homebrew+Channel+na+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/2009/12/26/installing-the-homebrew-channel/&amp;title=Instalar+o+Homebrew+Channel+na+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/2009/12/26/installing-the-homebrew-channel/&amp;t=Instalar+o+Homebrew+Channel+na+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/2009/12/26/installing-the-homebrew-channel/&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/12/26/installing-the-homebrew-channel/&amp;bm_description=Instalar+o+Homebrew+Channel+na+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/2009/12/26/installing-the-homebrew-channel/&amp;title=Instalar+o+Homebrew+Channel+na+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/2009/12/26/installing-the-homebrew-channel/&amp;title=Instalar+o+Homebrew+Channel+na+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/2009/12/26/installing-the-homebrew-channel/&amp;title=Instalar+o+Homebrew+Channel+na+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/2009/12/26/installing-the-homebrew-channel/" 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=Instalar+o+Homebrew+Channel+na+Wii+-+http://b2l.me/m63e8&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/12/26/installing-the-homebrew-channel/feed/</wfw:commentRss>
		<slash:comments>37</slash:comments>
		</item>
		<item>
		<title>O Linux é um SO mau e sem compaixão</title>
		<link>http://unsignedint.net/blog/2009/10/22/o-linux-e-um-so-mau-e-sem-compaixao/</link>
		<comments>http://unsignedint.net/blog/2009/10/22/o-linux-e-um-so-mau-e-sem-compaixao/#comments</comments>
		<pubDate>Thu, 22 Oct 2009 20:57:19 +0000</pubDate>
		<dc:creator>lmmendes</dc:creator>
				<category><![CDATA[Funny]]></category>
		<category><![CDATA[linux funny]]></category>

		<guid isPermaLink="false">http://www.unsignedint.net/blog/?p=190</guid>
		<description><![CDATA[
&#8220;Roubado&#8221; de Geeks are Sexy




		
			Subscribe to the comments for this post?
		
		
			Share this on del.icio.us
		
		
			Digg this!
		
		
			Share this on Facebook
		
		
			Post on Google Buzz
		
		
			Add this to Mister Wong
		
		
			Share this on Mixx
		
		
			Share this on Reddit
		
		
			Stumble upon something good? Share it on StumbleUpon
		
		
			Share this on Technorati
		
		
			Tweet This!
		




]]></description>
			<content:encoded><![CDATA[<p><img src="http://www.unsignedint.net/blog/wp-content/uploads/2009/10/linux-evil.png" alt="linux-evil" title="linux-evil" width="314" height="145" class="alignnone size-full wp-image-189" /></p>
<p>&#8220;Roubado&#8221; de <a href="http://www.geeksaresexy.net/2009/10/09/linux-is-an-evil-and-uncompassionate-os/">Geeks are Sexy</a></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/22/o-linux-e-um-so-mau-e-sem-compaixao/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/22/o-linux-e-um-so-mau-e-sem-compaixao/&amp;title=O+Linux+%C3%A9+um+SO+mau+e+sem+compaix%C3%A3o" 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/22/o-linux-e-um-so-mau-e-sem-compaixao/&amp;title=O+Linux+%C3%A9+um+SO+mau+e+sem+compaix%C3%A3o" 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/22/o-linux-e-um-so-mau-e-sem-compaixao/&amp;t=O+Linux+%C3%A9+um+SO+mau+e+sem+compaix%C3%A3o" 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/22/o-linux-e-um-so-mau-e-sem-compaixao/&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/22/o-linux-e-um-so-mau-e-sem-compaixao/&amp;bm_description=O+Linux+%C3%A9+um+SO+mau+e+sem+compaix%C3%A3o&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/22/o-linux-e-um-so-mau-e-sem-compaixao/&amp;title=O+Linux+%C3%A9+um+SO+mau+e+sem+compaix%C3%A3o" 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/22/o-linux-e-um-so-mau-e-sem-compaixao/&amp;title=O+Linux+%C3%A9+um+SO+mau+e+sem+compaix%C3%A3o" 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/22/o-linux-e-um-so-mau-e-sem-compaixao/&amp;title=O+Linux+%C3%A9+um+SO+mau+e+sem+compaix%C3%A3o" 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/22/o-linux-e-um-so-mau-e-sem-compaixao/" 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=O+Linux+%C3%A9+um+SO+mau+e+sem+compaix%C3%A3o+-+http://b2l.me/m7hhe&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/22/o-linux-e-um-so-mau-e-sem-compaixao/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>Social Media Revolution</title>
		<link>http://unsignedint.net/blog/2009/08/24/social-media-revolution/</link>
		<comments>http://unsignedint.net/blog/2009/08/24/social-media-revolution/#comments</comments>
		<pubDate>Mon, 24 Aug 2009 07:27:27 +0000</pubDate>
		<dc:creator>unsignedint</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[info]]></category>
		<category><![CDATA[social]]></category>

		<guid isPermaLink="false">http://unsignedint.net/blog/?p=162</guid>
		<description><![CDATA[




		
			Subscribe to the comments for this post?
		
		
			Share this on del.icio.us
		
		
			Digg this!
		
		
			Share this on Facebook
		
		
			Post on Google Buzz
		
		
			Add this to Mister Wong
		
		
			Share this on Mixx
		
		
			Share this on Reddit
		
		
			Stumble upon something good? Share it on StumbleUpon
		
		
			Share this on Technorati
		
		
			Tweet This!
		




]]></description>
			<content:encoded><![CDATA[<p><object width="560" height="340"><param name="movie" value="http://www.youtube.com/v/sIFYPQjYhv8&#038;hl=en&#038;fs=1&#038;"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.youtube.com/v/sIFYPQjYhv8&#038;hl=en&#038;fs=1&#038;" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="560" height="340"></embed></object></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/24/social-media-revolution/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/24/social-media-revolution/&amp;title=Social+Media+Revolution" 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/24/social-media-revolution/&amp;title=Social+Media+Revolution" 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/24/social-media-revolution/&amp;t=Social+Media+Revolution" 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/24/social-media-revolution/&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/24/social-media-revolution/&amp;bm_description=Social+Media+Revolution&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/24/social-media-revolution/&amp;title=Social+Media+Revolution" 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/24/social-media-revolution/&amp;title=Social+Media+Revolution" 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/24/social-media-revolution/&amp;title=Social+Media+Revolution" 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/24/social-media-revolution/" 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=Social+Media+Revolution+-+http://b2l.me/m7hhf&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/24/social-media-revolution/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Abrir links "mailto" 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><!-- Dynamic page generated in 0.485 seconds. --><!-- Cached page generated by WP-Super-Cache on 2010-07-22 11:50:35 -->
