<?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>Mauricio de Amorim &#187; Dicas</title>
	<atom:link href="http://mauriciodeamorim.com.br/tag/dicas/feed/" rel="self" type="application/rss+xml" />
	<link>http://mauriciodeamorim.com.br</link>
	<description>Tecnologia e desenvolvimento web</description>
	<lastBuildDate>Tue, 21 Feb 2012 22:09:22 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Ordenando conteúdo de arquivo via bash unix</title>
		<link>http://mauriciodeamorim.com.br/2011/08/31/ordenando-conteudo-de-arquivo-via-bash/</link>
		<comments>http://mauriciodeamorim.com.br/2011/08/31/ordenando-conteudo-de-arquivo-via-bash/#comments</comments>
		<pubDate>Wed, 31 Aug 2011 23:58:02 +0000</pubDate>
		<dc:creator>Mauricio de Amorim</dc:creator>
				<category><![CDATA[Dicas rápidas]]></category>
		<category><![CDATA[bash]]></category>
		<category><![CDATA[Dicas]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[ordenação]]></category>

		<guid isPermaLink="false">http://mauriciodeamorim.com.br/?p=824</guid>
		<description><![CDATA[O comando sort ajuda muito quando precisamos fazer ordenações simples de palavras, números ou datas dentro de arquivos texto, cvs, etc. Existem muitas outras maneiras, mas nenhuma tão rápida como esta. Fica a dica: Listando os arquivos e exibindo o conteúdo do arquivo lista_de_clientes.txt > ls -la -rw-r--r-- 1 amorim staff 58 Aug 31 19:11 [...]]]></description>
			<content:encoded><![CDATA[<p>O comando <b>sort</b> ajuda muito quando precisamos fazer ordenações simples de palavras, números ou datas dentro de arquivos texto, cvs, etc. Existem muitas outras maneiras, mas nenhuma tão rápida como esta. <br/> Fica a dica:</p>
<p>Listando os arquivos e exibindo o conteúdo do arquivo lista_de_clientes.txt</p>
<pre style="background-color: black; color: white" >
<span style="color: green" >> </span>ls -la
-rw-r--r--   1 amorim  staff      58 Aug 31 19:11 lista_de_clientes.txt
<span style="color: green" >> </span>cat lista_de_clientes.txt
mauricio
amorim
wordpress
wordpress
wordpress
linux
bash
</pre>
<p>Usando o comando <b>sort</b> com o parâmetro <b> -u</b> para eliminar itens duplicados e usando <b> >> </b> para atribuir o resultado ao arquivo lista_de_clientes_ordenada.txt</p>
<pre style="background-color: black; color: white">
<span style="color: green" >> </span> <span style="color: yellow" >sort -u </span>lista_de_clientes.txt <span style="color: yellow" >>> </span>lista_de_clientes_ordenada.txt
<span style="color: green" >> </span> cat lista_de_clientes_ordenada.txt
amorim
bash
linux
mauricio
wordpress
</pre>
<p>Referência:<br />
<a href="http://solinux.gcf.eti.br/classificacao-ordenacao-e-eliminacao-de-palavras-repetidas-usando-sort/" "target_blank">Só Linux</a></p>
]]></content:encoded>
			<wfw:commentRss>http://mauriciodeamorim.com.br/2011/08/31/ordenando-conteudo-de-arquivo-via-bash/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Downgrade Firefox no Mac para rodar Cucumber com Selenium Webdriver</title>
		<link>http://mauriciodeamorim.com.br/2011/08/23/downgrade-firefox-no-mac-para-rodar-cucumber-com-selenium-webdriver/</link>
		<comments>http://mauriciodeamorim.com.br/2011/08/23/downgrade-firefox-no-mac-para-rodar-cucumber-com-selenium-webdriver/#comments</comments>
		<pubDate>Tue, 23 Aug 2011 17:46:39 +0000</pubDate>
		<dc:creator>Mauricio de Amorim</dc:creator>
				<category><![CDATA[Configuração]]></category>
		<category><![CDATA[Dicas rápidas]]></category>
		<category><![CDATA[Erros]]></category>
		<category><![CDATA[cucumber]]></category>
		<category><![CDATA[Dicas]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[MacOS]]></category>
		<category><![CDATA[QA]]></category>
		<category><![CDATA[selenium]]></category>
		<category><![CDATA[Ubuntu]]></category>

		<guid isPermaLink="false">http://mauriciodeamorim.com.br/?p=813</guid>
		<description><![CDATA[Se você atualizou o Firefox para as versões 4, 5 ou 6 provavelmente está tendo problemas para rodar testes de Cucumber com o Selenium Webdriver, obtendo o erro abaixo: unable to obtain stable firefox connection in 60 seconds ( ) (Selenium::WebDriver::Error::WebDriverError) Para corrigir &#8220;paliativamente&#8221; e continuar a rodar meus testes fiz o downgrade do Firefox [...]]]></description>
			<content:encoded><![CDATA[<p>Se você atualizou o Firefox para as versões 4, 5 ou 6 provavelmente está tendo problemas para rodar testes de Cucumber com o Selenium Webdriver, obtendo o erro abaixo:</p>
<pre style="background-color: black; color: red">
unable to obtain stable firefox connection in 60 seconds ( )
(Selenium::WebDriver::Error::WebDriverError)
</pre>
<p>Para corrigir &#8220;paliativamente&#8221; e continuar a rodar meus testes fiz o downgrade do Firefox para versão 3.6.19 executando os passos abaixo:</p>
<p>1) Precisei limpar completamente a versão anterior do Firefox usando o <a href="http://freemacsoft.net/#" target="_blank">AppCleaner</a> que é free;</p>
<p>2) Encontrei as versões anteriores do FF no <a href="http://mac.oldapps.com/firefox.php" target="_blank">OldApps.com</a>;</p>
<p>3) Desabilitei o update de versões do FF em Preferences/Advanced/Update</p>
<p>Quem estiver como este mesmo problema no Ubuntu pode resolver com ajuda deste dois posts:</p>
<p><a href="http://code.dblock.org/unable-to-obtain-stable-firefox-connection-in-60-seconds-downgrading-firefox-on-ubuntu" target="_blank">http://code.dblock.org/unable-to-obtain-stable-firefox-connection-in-60-seconds-downgrading-firefox-on-ubuntu</a> </p>
<p><a href="http://blog.troyastle.com/2011/06/downgrade-to-firefox-36-on-ubuntu-natty.html" target="_blank">http://blog.troyastle.com/2011/06/downgrade-to-firefox-36-on-ubuntu-natty.html</a></p>
]]></content:encoded>
			<wfw:commentRss>http://mauriciodeamorim.com.br/2011/08/23/downgrade-firefox-no-mac-para-rodar-cucumber-com-selenium-webdriver/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>Dicas sobre podcasts e apresentações</title>
		<link>http://mauriciodeamorim.com.br/2011/04/11/dicas-sobre-podcasts-e-apresentacoes/</link>
		<comments>http://mauriciodeamorim.com.br/2011/04/11/dicas-sobre-podcasts-e-apresentacoes/#comments</comments>
		<pubDate>Mon, 11 Apr 2011 09:42:04 +0000</pubDate>
		<dc:creator>Mauricio de Amorim</dc:creator>
				<category><![CDATA[Dicas rápidas]]></category>
		<category><![CDATA[colaboração]]></category>
		<category><![CDATA[Dicas]]></category>
		<category><![CDATA[empreendedorismo]]></category>
		<category><![CDATA[iphone]]></category>
		<category><![CDATA[MacOS]]></category>
		<category><![CDATA[podcast]]></category>

		<guid isPermaLink="false">http://mauriciodeamorim.com.br/?p=788</guid>
		<description><![CDATA[Alguns dias atrás fiz uma apresentação sobre empreendedorismo chamada &#8220;Empreendedorismo, o pontapé inicial &#8211; Como gerar ideias&#8221; baseada nos podcast do empreendecast, blog saia do lugar e minhas experiências pessoais. Durante o tempo de pesquisa utilizei algumas ferramentas e uma forma talvez não muito convencional de estudar e expor as ideias que compartilho aqui. Para [...]]]></description>
			<content:encoded><![CDATA[<p>Alguns dias atrás fiz uma apresentação sobre empreendedorismo chamada &#8220;Empreendedorismo, o pontapé inicial &#8211; Como gerar ideias&#8221; baseada nos podcast do <a href="http://empreendecast.com.br" target="_blank">empreendecast</a>, blog <a href="http://saiadolugar.com.br" target="_blank">saia do lugar</a> e minhas experiências pessoais. Durante o tempo de pesquisa utilizei algumas ferramentas e uma forma talvez não muito convencional de estudar e expor as ideias que compartilho aqui.</p>
<div style="padding-left:30px;">
<a href="http://itunes.apple.com/us/app/speedup-player-lite/id386748371?mt=8" target="_blank"><img height="80" width="80" style="float: left;" class=" size-full wp-image-794" title="SpeedUp" alt="SpeedUp" src="http://mauriciodeamorim.com.br/wp-content/uploads/2011/04/speedup_ico.jpg"></a></p>
<p><a href="http://support.apple.com/kb/HT3325?viewlocale=pt_BR" target="_blank"><img height="80" width="80" style="float: left;padding-left:30px;" class=" size-full wp-image-793" title="Keynote" alt="Keynote" src="http://mauriciodeamorim.com.br/wp-content/uploads/2011/04/keynote_ico-e1302348159814.jpg"></a></p>
<p><a href="http://www.digitalsirup.com/jfcontrol/" target="_blank"><img height="80" width="80" style="float: left;padding-left:30px;" class="size-full wp-image-792" title="jfcontrol" alt="jfcontrol" src="http://mauriciodeamorim.com.br/wp-content/uploads/2011/04/jfcontrol-e1302348263658.png"></a></p>
<p><a target="_blank" href="http://evernote.com"><img height="80" width="80" style="float: left; padding-left:30px;" class="size-full wp-image-791" title="Evernote" alt="Evernote" src="http://mauriciodeamorim.com.br/wp-content/uploads/2011/04/evernote_ico-e1302348300665.jpg"></a>
</div>
<p><br style="clear:both"/></p>
<p>Para estudar, como meu trajeto casa/trabalho e vice-versa não demora menos de uma hora, passei a ouvir podcasts e dentre eles destaco: </p>
<p><a href="http://www.cinemacomrapadura.com.br/rapaduracast/" target="_blank">Rapaduracast</a> &#8211; que fala sobre cinema, mas no episódio #200 eles falam como fazer um podcast, isto me ajudou a ter algumas ideiais;<br />
<a href="http://falafreela.com.br/" target="_blank">FalaFreela</a> &#8211; trata de dicas para quem é freelancer, mas também é um repositório de ideias e empreendedorismo.<br />
<a href="http://empreendecast.com.br" target="_blank">Empreendecast</a> &#8211; aborda vários tópicos sobre empreendedorismo, este foi a minha base.</p>
<p>Ferramentas que passei a usar e ou conhecer:</p>
<p>Deixando claro que não fiz uma pesquisa mais ampla para saber quais as plataformas que estas ferramentas atendem pois sou usário de Mac, então tudo que usei e cito aqui foi para Mac e Iphone.</p>
<p>- Para guardar minhas ideias utilizei o <a href="http://evernote.com" target="_blank">Evernote</a>, onde eu podia gravar um audio, incluir uma foto ou digitar um texto tudo no mesmo arquivo, com isto eu ia armazenando pequenos insights diariamente.<br />
- A apresentação foi feita em 20 slides no Keynote, todos os slides eram desenhos, praticamente sem palavras então utilizei o <a href="http://pixelmator.com" target="_blank">Pixelmator</a> para desenhar e tratar as imagens procurando deixar todas em preto e branco.<br />
- Para apresentar utilizei o <a href="http://support.apple.com/kb/HT3325?viewlocale=pt_BR" target="_blank">Keynote</a> para Iphone, destaque para este pois de qualquer lugar da sala via Wi-Fi consegui mudar meus slides e acompanhar as anotações no próprio Iphone. Também pesquisei um outro chamado <a href="http://www.digitalsirup.com/jfcontrol/" target="_blank">JFControl</a> que também é bastante interessante e dá para controlar bastante coisa no Mac remotamente através do Iphone.<br />
- Para ouvir os podcast, como eu não tenho muita paciência em ouvir na velocidade normal, utilizei o <a href="http://itunes.apple.com/us/app/speedup-player-lite/id386748371?mt=8" target="_blank">SpeedUp Lite</a> assim um podcast de 30 minutos eu ouvia em 20.</p>
<p>Infelizmente a palestra não foi gravada, então acho não faz sentido colocar os slides aqui porque são meros desenhos e sem contexto não tem significado.</p>
]]></content:encoded>
			<wfw:commentRss>http://mauriciodeamorim.com.br/2011/04/11/dicas-sobre-podcasts-e-apresentacoes/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Imagemagick com Homebrew no MacOs</title>
		<link>http://mauriciodeamorim.com.br/2010/11/06/imagemagick-com-homebrew-no-macos/</link>
		<comments>http://mauriciodeamorim.com.br/2010/11/06/imagemagick-com-homebrew-no-macos/#comments</comments>
		<pubDate>Sat, 06 Nov 2010 14:01:58 +0000</pubDate>
		<dc:creator>Mauricio de Amorim</dc:creator>
				<category><![CDATA[Dicas rápidas]]></category>
		<category><![CDATA[Dicas]]></category>
		<category><![CDATA[homebrew]]></category>
		<category><![CDATA[ImageMagick]]></category>
		<category><![CDATA[RMagick]]></category>

		<guid isPermaLink="false">http://mauriciodeamorim.com.br/?p=774</guid>
		<description><![CDATA[Faz algum tempo que deixei de usar o MacPorts para usar Homebrew como gerenciador de pacotes para MacOs, mas não tinha me dado conta de como este projeto tinha evoluído, lembro das dificuldades para utilizar a RMagick uma interface em Ruby para manipular imagens com ImageMagick. Hoje com três linhas, uma boa conexão e um [...]]]></description>
			<content:encoded><![CDATA[<p>Faz algum tempo que deixei de usar o MacPorts para usar <a href="https://github.com/mxcl/homebrew/wiki" target="_blank">Homebrew</a> como gerenciador de pacotes para MacOs, mas não tinha me dado conta de como este projeto tinha evoluído, lembro das dificuldades para utilizar a <a href="http://rmagick.rubyforge.org/" target="_blank">RMagick</a> uma interface em Ruby para manipular imagens com <a href="http://www.imagemagick.org/script/index.php" target="_blank">ImageMagick</a>. Hoje com três linhas, uma boa conexão e um pouco de paciência para aguardar a instalação automática de algumas dependências temos tudo funcionando em alguns minutos.</p>
<pre style="background-color: black; color: white">
brew install ghostscript 
brew install imagemagick
gem i rmagick
</pre>
]]></content:encoded>
			<wfw:commentRss>http://mauriciodeamorim.com.br/2010/11/06/imagemagick-com-homebrew-no-macos/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Resolvendo problema com Bundler – snapshot (Gemfile.lock)</title>
		<link>http://mauriciodeamorim.com.br/2010/10/19/resolvendo-problema-com-bundler-snapshot-gemfile-lock/</link>
		<comments>http://mauriciodeamorim.com.br/2010/10/19/resolvendo-problema-com-bundler-snapshot-gemfile-lock/#comments</comments>
		<pubDate>Tue, 19 Oct 2010 09:44:43 +0000</pubDate>
		<dc:creator>Mauricio de Amorim</dc:creator>
				<category><![CDATA[Dicas]]></category>
		<category><![CDATA[Dicas rápidas]]></category>
		<category><![CDATA[Erros]]></category>
		<category><![CDATA[bundle]]></category>
		<category><![CDATA[bundler]]></category>

		<guid isPermaLink="false">http://mauriciodeamorim.com.br/?p=766</guid>
		<description><![CDATA[Esses dias me deparei com um problema ao utilizar o Bundler com Rails 3, erroneamente eu rodei comando: bundle install --deployment Com isso obtive o seguinte erro: You have modified your Gemfile in development but did not check the resulting snapshot (Gemfile.lock) into version control Isto é um bug que foi reportado esses dias no [...]]]></description>
			<content:encoded><![CDATA[<p>Esses dias me deparei com um problema ao utilizar o <a href="http://gembundler.com/" target="_blank">Bundler</a> com Rails 3, erroneamente eu rodei comando:</p>
<pre> bundle install --deployment </pre>
<p>Com isso obtive o seguinte erro: </p>
<pre style="background-color: black; color: red">
You have modified your Gemfile in development but did not check
the resulting snapshot (Gemfile.lock) into version control
</pre>
<p>Isto é um <a href="http://github.com/carlhuda/bundler/issues/issue/749" target="_blank">bug</a> que foi reportado esses dias no projeto do <a href="http://gembundler.com/" target="_blank"">Bundler</a> que pode ser resolvido com este fix:</p>
<pre>rm -rf .bundle &#038;&#038; bundle install</pre>
<p></p>
]]></content:encoded>
			<wfw:commentRss>http://mauriciodeamorim.com.br/2010/10/19/resolvendo-problema-com-bundler-snapshot-gemfile-lock/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
	</channel>
</rss>

