<?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>La Miscela</title>
	<atom:link href="http://www.lamiscela.net/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.lamiscela.net</link>
	<description>Everything joined and mixed</description>
	<lastBuildDate>Tue, 17 Aug 2010 00:59:29 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Padrino</title>
		<link>http://www.lamiscela.net/2010/08/16/padrino/</link>
		<comments>http://www.lamiscela.net/2010/08/16/padrino/#comments</comments>
		<pubDate>Tue, 17 Aug 2010 00:48:23 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Ruby]]></category>
		<category><![CDATA[Sinatra]]></category>

		<guid isPermaLink="false">http://www.lamiscela.net/?p=541</guid>
		<description><![CDATA[Olá pessoal, estive esse final de semana estudando um pouco de Sinatra e vendo se ele seria uma boa opção para um projetinho rápido que estou para desenvolver. Desenvolvi uma pequena aplicação extremamente simples (já, já um screencast dela), e também desenvolvida bem rápido (2h ~=) usando Sinatra e DataMapper. Ao passo que eu desenvolvia, [...]]]></description>
			<content:encoded><![CDATA[<p>Olá pessoal, estive esse final de semana estudando um pouco de <a href="http://www.sinatrarb.com/" target="_blank">Sinatra</a> e vendo se ele seria uma boa opção para um projetinho rápido que estou para desenvolver. Desenvolvi uma <a href="http://github.com/juniovitorino/FirstSinatraApp" target="_blank">pequena aplicação</a> extremamente simples (já, já um screencast dela), e também desenvolvida bem rápido (2h ~=) usando <a href="http://www.sinatrarb.com/" target="_blank">Sinatra</a> e <a href="http://datamapper.org/" target="_blank">DataMapper</a>. Ao passo que eu desenvolvia, eu senti uma falta de um mvc mais expressivo, onde eu pudesse ter controllers e models mais bem definidos. (Eu sei, eu sei que <a href="http://www.sinatrarb.com/" target="_blank">Sinatra</a> não é <a href="http://rubyonrails.org/" target="_blank">Rails</a>, hehehe). Pesquisando um pouco mais eu encontrei um meio termo entre esses dois belos frameworks; e ele se chama <a href="http://www.padrinorb.com/" target="_blank">Padrino</a>.</p>
<p>Tem um screencast sobre ele que eu acho que vai explicar melhor do que poderia esse humilde lacáio. Confira!</p>
<p><object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="608" height="330" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"><param name="src" value="http://blip.tv/play/AYHS23AC" /><param name="allowfullscreen" value="true" /><embed type="application/x-shockwave-flash" width="608" height="330" src="http://blip.tv/play/AYHS23AC" allowfullscreen="true"></embed></object></p>
]]></content:encoded>
			<wfw:commentRss>http://www.lamiscela.net/2010/08/16/padrino/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Curso básico de Objective-C</title>
		<link>http://www.lamiscela.net/2010/07/19/curso-basico-de-objective-c/</link>
		<comments>http://www.lamiscela.net/2010/07/19/curso-basico-de-objective-c/#comments</comments>
		<pubDate>Mon, 19 Jul 2010 19:52:04 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[objective_c]]></category>

		<guid isPermaLink="false">http://www.lamiscela.net/?p=533</guid>
		<description><![CDATA[
Há um bom tempo venho estudando Objective-C e com isso percebi que artigos, tutoriais, livros e screencasts em português quase não existem. Muitos dos programadores que conheço não acham isso um problema e reprovam a atitude de traduzir ou adaptar conteúdo para aqueles que não dominam o inglês, pois na opinião deles e minha também, [...]]]></description>
			<content:encoded><![CDATA[<p><img class="aligncenter size-full wp-image-534" title="Curso básido de Objective-c" src="http://www.lamiscela.net/wp-content/uploads/2010/07/objectivec.jpg" alt="Curso básido de Objective-c" width="608" height="250" /></p>
<p>Há um bom tempo venho estudando Objective-C e com isso percebi que artigos, tutoriais, livros e screencasts em português quase não existem. Muitos dos programadores que conheço não acham isso um problema e reprovam a atitude de traduzir ou adaptar conteúdo para aqueles que não dominam o inglês, pois na opinião deles e minha também, todo programador que se preze deve obrigatoriamente saber pelo menos o inglês técnico.</p>
<p>Eu concordo que o idioma não deve ser nunca um problema na vida de um programador, ainda mais quando falamos de inglês; nesse ponto eu ainda vou além, acho que o inglês deve ser a primeira coisa que um programador deve aprender ao decidir que realmente é isso que quer fazer da vida, mas isso vai de cada um, e não é por isso que vou deixar de fazer as coisas que acredito -  a seleção natural cuida disso por mim.</p>
<p>Pensando nisso, estou a um bom tempo planejando gravar uma série de vídeos que farão parte de um curso básico/introdutório sobre Objective-C.</p>
<p>Se você gostaria de ter esse tipo de conteúdo por aqui, deixe um comentário, pois é com base neles que eu vou avaliar se essa série terá ou não prioridade sobre as outras que estou preparando.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.lamiscela.net/2010/07/19/curso-basico-de-objective-c/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>New setup with zsh + iTerm</title>
		<link>http://www.lamiscela.net/2010/06/21/new-setup-with-zsh-iterm/</link>
		<comments>http://www.lamiscela.net/2010/06/21/new-setup-with-zsh-iterm/#comments</comments>
		<pubDate>Mon, 21 Jun 2010 16:14:38 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[English]]></category>
		<category><![CDATA[Ruby]]></category>
		<category><![CDATA[bash]]></category>
		<category><![CDATA[zsh]]></category>

		<guid isPermaLink="false">http://www.lamiscela.net/?p=513</guid>
		<description><![CDATA[This sunday i needed reinstall my OS X system and i take this opportunity to change some tools that i use to develop.
The first thing to do was move of terminal emulator. The choosen was the iTerm. iTerm is a full featured terminal emulator fully written in Cocoa with some cool features that aren't present [...]]]></description>
			<content:encoded><![CDATA[<p>This sunday i needed reinstall my OS X system and i take this opportunity to change some tools that i use to develop.</p>
<p>The first thing to do was move of terminal emulator. The choosen was the <a href="http://iterm.sourceforge.net/" target="_blank">iTerm</a>. iTerm is a full featured terminal emulator fully written in Cocoa with some cool features that aren't present in default Terminal.</p>
<p><a href="http://iterm.sourceforge.net/" target="_blank">iTerm</a> have a lot of nice things, but mine favorite is your capability of open in fullscreen by default, this is amazing because, as i've a second display and i can open the <a href="http://iterm.sourceforge.net/" target="_blank">iTerm</a> in fullscreen in one display and use the other to browse and make other things.</p>
<p>Other thing that i'm dating to a long time is the <a href="http://www.zsh.org/" target="_blank">ZSH</a>. <a href="http://www.zsh.org/" target="_blank">ZSH</a> is in short words a interactive unix command prompt, that is a evolution of old <a href="http://en.wikipedia.org/wiki/Bash_%28Unix_shell%29" target="_blank">Bash</a> and that brings a lot of new features that doing your day to day in front of one black screen much more pleasant. Snow Leopard (not know if Leopard also have) already coming with the <a href="http://www.zsh.org/" target="_blank">ZSH</a> and you don't need install anything to start to use it.</p>
<p>Together with <a href="http://www.zsh.org/" target="_blank">ZSH</a>, i'm using a package created by Robby Russell called <a href="http://github.com/robbyrussell/oh-my-zsh" target="_blank">oh-my-zsh</a>. This package of scripts (and themes) have everything you'd probably write manually in the next days using the your new shell.</p>
<p>One other change that i did was use <a href="http://mxcl.github.com/homebrew/" target="_blank">Homebrew</a> in replacement to <a href="http://www.macports.org/" target="_blank">Macports</a> how my official package manager and it use exclusively the <a href="http://rvm.beginrescueend.com/" target="_blank">RVM</a> to manage all <a href="http://www.ruby-lang.org/en/" target="_blank">Ruby</a> versions at my system.</p>
<p>This are some screenshots of <a href="http://iterm.sourceforge.net/" target="_blank">iTerm</a> with <a href="http://www.zsh.org/" target="_blank">ZSH</a> and the <a href="http://github.com/robbyrussell/oh-my-zsh" target="_blank">oh-my-zsh</a>.</p>
<p><a href="http://www.lamiscela.net/wp-content/uploads/2010/06/Screen-shot-2010-06-21-at-1.35.51-PM.png" rel="lightbox[513]"><img class="aligncenter size-medium wp-image-515" title="Colors profile" src="http://www.lamiscela.net/wp-content/uploads/2010/06/Screen-shot-2010-06-21-at-1.35.51-PM-300x206.png" alt="" width="300" height="206" /></a></p>
<p><a href="http://www.lamiscela.net/wp-content/uploads/2010/06/Screen-shot-2010-06-21-at-1.39.15-PM.png" rel="lightbox[513]"><img class="aligncenter size-medium wp-image-518" title="My custom theme with dark colors" src="http://www.lamiscela.net/wp-content/uploads/2010/06/Screen-shot-2010-06-21-at-1.39.15-PM-300x176.png" alt="" width="300" height="176" /></a></p>
<p><a href="http://www.lamiscela.net/wp-content/uploads/2010/06/Screen-shot-2010-06-21-at-1.36.02-PM.png" rel="lightbox[513]"><img class="aligncenter size-medium wp-image-516" title="Bookmarkers window" src="http://www.lamiscela.net/wp-content/uploads/2010/06/Screen-shot-2010-06-21-at-1.36.02-PM-300x186.png" alt="" width="300" height="186" /></a></p>
<p>A little trick to enable <a href="http://www.zsh.org/" target="_blank">ZSH</a> only in iTerm is create a new bookmark (cmd+shift+b) and add the "/bin/zsh" in the end of command as shown in image bellow.</p>
<p><a href="http://www.lamiscela.net/wp-content/uploads/2010/06/Screen-shot-2010-06-21-at-1.36.24-PM.png" rel="lightbox[513]"><img class="aligncenter size-medium wp-image-517" title="ZSH setup in iTerm" src="http://www.lamiscela.net/wp-content/uploads/2010/06/Screen-shot-2010-06-21-at-1.36.24-PM-300x177.png" alt="" width="300" height="177" /></a></p>
<p>For more info about <a href="http://www.zsh.org/" target="_blank">ZSH</a> follow the <a href="http://twitter.com/zshtips" target="_blank">@zshtips</a> in Twitter or give a look in the screencasts series (<a href="http://fosscasts.com/screencasts/tag/zsh" target="_blank">Hello ZSH</a>) in <a href="http://fosscasts.com" target="_blank">Fosscasts</a> (free) or in <a href="http://peepcode.com/" target="_blank">PeepCode</a> (paid) screencasts about <a href="http://peepcode.com/products/advanced-command-line" target="_blank">Advanced Command Line</a>.</p>
<p>Happy hacking.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.lamiscela.net/2010/06/21/new-setup-with-zsh-iterm/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Rails MG &#8211; Junho 2010</title>
		<link>http://www.lamiscela.net/2010/06/15/rails-mg-junho-2010/</link>
		<comments>http://www.lamiscela.net/2010/06/15/rails-mg-junho-2010/#comments</comments>
		<pubDate>Tue, 15 Jun 2010 09:42:12 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Português]]></category>
		<category><![CDATA[RailsMG]]></category>
		<category><![CDATA[Ruby]]></category>
		<category><![CDATA[Ruby on Rails]]></category>

		<guid isPermaLink="false">http://www.lamiscela.net/?p=493</guid>
		<description><![CDATA[Olá queridos leitores, gostaria de convidar a todos para os próximos encontros do nosso grupo de Railers aqui de Minas Gerais que ocorrerão nesse mês de Junho. Este mês excepcionalmente teremos duas reuniões. A primeira irá falar sobre a experiência da galera da Dito Internet com escalabilidade de servidores em projetos como o Dengue Ville [...]]]></description>
			<content:encoded><![CDATA[<p>Olá queridos leitores, gostaria de convidar a todos para os próximos encontros do nosso <a href="http://www.railsmg.org/">grupo de Railers aqui de Minas Gerais</a> que ocorrerão nesse mês de Junho. Este mês excepcionalmente teremos duas reuniões. A primeira irá falar sobre a experiência da galera da <a href="http://www.dito.com.br/">Dito Internet</a> com escalabilidade de servidores em projetos como o <a href="http://dengue.nu/orkut">Dengue Ville</a> e <a href="http://www.odrible.com/">O Drible</a> com o sócio fundador da empresa Bruno Andrade no dia 16/06. A outra será com Antônio Roberto Silva que atualmente é funcionário da <a title="Portaltrack" href="http://www.portaltrack.com.br/controltrack/site/index.html" target="_blank">Portaltrack</a>. O Antônio irá falar sobre o framework <a href="http://github.com/lifo/cramp">CRAMP</a> e sobre <a href="http://en.wikipedia.org/wiki/WebSockets">WebSockets</a> no dia 29/06 no mesmo bat horário (19:00h) e no mesmo bat local (<a title="Restaurante Takê" href="http://www.takebh.com.br/" target="_blank">Restaurante Takê</a> vide mapa-abaixo).</p>
<p>Tenho certeza que serão reuniões incrivelmente ricas com muito bate-bato, troca de experiências e choop. Espero ver todos vocês lá.</p>
<p><iframe width="608" height="350" frameborder="0" scrolling="no" marginheight="0" marginwidth="0" src="http://maps.google.com/maps?f=q&amp;source=embed&amp;hl=en&amp;geocode=&amp;q=Rua+Professor+Morais+659,+Funcion%C3%A1rios,+Belo+Horizonte,+MG&amp;sll=-19.926574,-43.939335&amp;sspn=0.062456,0.132093&amp;ie=UTF8&amp;hq=&amp;hnear=R.+Prof.+Morais,+659+-+Savassi,+Belo+Horizonte+-+Minas+Gerais,+30150-370,+Brazil&amp;ll=-19.930347,-43.929949&amp;spn=0.028242,0.052185&amp;z=14&amp;iwloc=lyrftr:m,12018039332956938942,-19.938902,-43.931563&amp;output=embed"></iframe></p>
<p>Para mais informações sobre os próximos encontros ou os que já se passaram, visitem o site do <a href="http://www.railsmg.org/">RailsMG</a> e confira a <a href="http://www.railsmg.org/meetings">agenda de reuniões</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.lamiscela.net/2010/06/15/rails-mg-junho-2010/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Ruby on Rails no Mundo Real 2010</title>
		<link>http://www.lamiscela.net/2010/05/27/ruby-on-rails-no-mundo-real-2010/</link>
		<comments>http://www.lamiscela.net/2010/05/27/ruby-on-rails-no-mundo-real-2010/#comments</comments>
		<pubDate>Thu, 27 May 2010 21:02:08 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Português]]></category>
		<category><![CDATA[Ruby]]></category>
		<category><![CDATA[Ruby on Rails]]></category>

		<guid isPermaLink="false">http://www.lamiscela.net/?p=489</guid>
		<description><![CDATA[
Está chegando a hora de botar o pé na estrada (mesmo que seja só até o aeroporto  ), para quem não sabe, sábado acontece o Ruby + Rails no Mundo Real 2010, um evento promovido pelo Guru-SP em conjunto com a Tempo Real eventos. Esse ano o  evento promete, pois conta com vários palestrantes [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://guru-sp.com/evento/" target="_blank"><img class="aligncenter size-full wp-image-490" title="Screen shot 2010-05-27 at 10.48.34 PM" src="http://www.lamiscela.net/wp-content/uploads/2010/05/Screen-shot-2010-05-27-at-10.48.34-PM.png" alt="" width="608" height="208" /></a></p>
<p>Está chegando a hora de botar o pé na estrada (mesmo que seja só até o aeroporto <img src='http://www.lamiscela.net/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' /> ), para quem não sabe, sábado acontece o <a href="http://guru-sp.com/evento/" target="_blank">Ruby + Rails no Mundo Real 2010</a>, um evento promovido pelo <a href="http://guru-sp.com/index.php/Página_principal" target="_blank">Guru-SP</a> em conjunto com a <a href="http://www.temporealeventos.com.br/" target="_blank">Tempo Real</a> eventos. Esse ano o  evento promete, pois conta com vários palestrantes atuantes na comunidade Ruby brasileira, que conhecem não só de tecnologia, mas também de mercado.</p>
<p>Além de participar do evento espero poder visitar alguns amigos e jogar uma boa conversa fora. Se você vai nos vemos lá.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.lamiscela.net/2010/05/27/ruby-on-rails-no-mundo-real-2010/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>BitmapByte Class</title>
		<link>http://www.lamiscela.net/2010/05/26/bitmapbyte-class/</link>
		<comments>http://www.lamiscela.net/2010/05/26/bitmapbyte-class/#comments</comments>
		<pubDate>Wed, 26 May 2010 21:27:50 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Actionscript 3]]></category>
		<category><![CDATA[Flash 10]]></category>

		<guid isPermaLink="false">http://www.lamiscela.net/?p=471</guid>
		<description><![CDATA[Today I wrote a class in ActionScript to load a image from user machine without a server-side intervention and this only is possible because Flash Player 10 implements this feature. The result is the source bellow that is a quite simple code, but that initially does your job graciously. Fell free to improve it if [...]]]></description>
			<content:encoded><![CDATA[<p>Today I wrote a class in ActionScript to load a image from user machine without a server-side intervention and this only is possible because Flash Player 10 implements this feature. The result is the source bellow that is a quite simple code, but that initially does your job graciously. Fell free to improve it if you believe that be necessary.</p>
<p>They're just 2 files. One for the FileEvent class and other one to the BitmapByte class.</p>
<p>All the source files can be download from my <a href="http://www.github.com/juniovitorino" target="_blank">GitHub account</a>, check it out.</p>
<p><span id="more-471"></span></p>
<pre class="actionscript"><span style="color: #808080; font-style: italic;">/**
 *
 * @author: Junio Vitorino - jgvitorino@gmail.com
 * @date: May, 26 2010
 * @package: com.lamiscela.display.bitmap
 * @description: A bitmap object that have the function of load a image from binary data
 *
 **/</span>
&nbsp;
package com.<span style="color: #006600;">lamiscela</span>.<span style="color: #006600;">display</span>.<span style="color: #006600;">bitmap</span>
<span style="color: #66cc66;">&#123;</span>
&nbsp;
	<span style="color: #0066CC;">import</span> com.<span style="color: #006600;">lamiscela</span>.<span style="color: #006600;">events</span>.<span style="color: #006600;">file</span>.<span style="color: #006600;">FileEvent</span>;
&nbsp;
	<span style="color: #0066CC;">import</span> flash.<span style="color: #006600;">display</span>.<span style="color: #006600;">Bitmap</span>;
	<span style="color: #0066CC;">import</span> flash.<span style="color: #006600;">display</span>.<span style="color: #006600;">Loader</span>;
	<span style="color: #0066CC;">import</span> flash.<span style="color: #006600;">events</span>.<span style="color: #006600;">Event</span>;
	<span style="color: #0066CC;">import</span> flash.<span style="color: #006600;">net</span>.<span style="color: #006600;">FileFilter</span>;
	<span style="color: #0066CC;">import</span> flash.<span style="color: #006600;">net</span>.<span style="color: #006600;">FileReference</span>;
&nbsp;
	<span style="color: #0066CC;">public</span> <span style="color: #000000; font-weight: bold;">class</span> BitmapByte <span style="color: #0066CC;">extends</span> Bitmap
	<span style="color: #66cc66;">&#123;</span>
&nbsp;
		<span style="color: #0066CC;">private</span> <span style="color: #000000; font-weight: bold;">var</span> _fileReference:FileReference = <span style="color: #000000; font-weight: bold;">null</span>;
		<span style="color: #0066CC;">private</span> <span style="color: #000000; font-weight: bold;">var</span> _loader:Loader = <span style="color: #000000; font-weight: bold;">null</span>;
		<span style="color: #0066CC;">private</span> <span style="color: #000000; font-weight: bold;">var</span> _new_width:<span style="color: #0066CC;">int</span> = <span style="color: #cc66cc;">0</span>;
		<span style="color: #0066CC;">private</span> <span style="color: #000000; font-weight: bold;">var</span> _new_height:<span style="color: #0066CC;">int</span> = <span style="color: #cc66cc;">0</span>;
		<span style="color: #0066CC;">private</span> const IMAGE_FILTER:FileFilter = <span style="color: #000000; font-weight: bold;">new</span> FileFilter<span style="color: #66cc66;">&#40;</span><span style="color: #ff0000;">&quot;Formats *.jpg, *.jpeg, *.gif, *.png&quot;</span>, <span style="color: #ff0000;">&quot;*.jpg;*.jpeg;*.gif;*.png&quot;</span><span style="color: #66cc66;">&#41;</span>;
&nbsp;
		<span style="color: #808080; font-style: italic;">/**
		 * @param width 	- New width to loaded image
		 * @param height 	- New height to loaded image
		 **/</span>
&nbsp;
		<span style="color: #0066CC;">public</span> <span style="color: #000000; font-weight: bold;">function</span> BitmapByte<span style="color: #66cc66;">&#40;</span><span style="color: #0066CC;">width</span>:<span style="color: #0066CC;">int</span>, <span style="color: #0066CC;">height</span>:<span style="color: #0066CC;">int</span><span style="color: #66cc66;">&#41;</span>
		<span style="color: #66cc66;">&#123;</span>
			_fileReference = <span style="color: #000000; font-weight: bold;">new</span> FileReference<span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span>;
			_fileReference.<span style="color: #006600;">addEventListener</span><span style="color: #66cc66;">&#40;</span>Event.<span style="color: #006600;">SELECT</span>, onFileSelected<span style="color: #66cc66;">&#41;</span>;
&nbsp;
			_new_width 	= <span style="color: #0066CC;">width</span>;
			_new_height 	= <span style="color: #0066CC;">height</span>;
&nbsp;
			addEventListener<span style="color: #66cc66;">&#40;</span>FileEvent.<span style="color: #006600;">BROWSE</span>, openBrowseHandler<span style="color: #66cc66;">&#41;</span>
		<span style="color: #66cc66;">&#125;</span>
&nbsp;
		<span style="color: #0066CC;">private</span> <span style="color: #000000; font-weight: bold;">function</span> onFileSelected<span style="color: #66cc66;">&#40;</span><span style="color: #0066CC;">e</span>:Event<span style="color: #66cc66;">&#41;</span>:<span style="color: #0066CC;">void</span>
		<span style="color: #66cc66;">&#123;</span>
			_fileReference.<span style="color: #006600;">addEventListener</span><span style="color: #66cc66;">&#40;</span>Event.<span style="color: #006600;">COMPLETE</span>, onFileLoaded<span style="color: #66cc66;">&#41;</span>;
			_fileReference.<span style="color: #0066CC;">load</span><span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span>;
		<span style="color: #66cc66;">&#125;</span>
&nbsp;
		<span style="color: #0066CC;">private</span> <span style="color: #000000; font-weight: bold;">function</span> onFileLoaded<span style="color: #66cc66;">&#40;</span><span style="color: #0066CC;">e</span>:Event<span style="color: #66cc66;">&#41;</span>:<span style="color: #0066CC;">void</span>
		<span style="color: #66cc66;">&#123;</span>
			_loader = <span style="color: #000000; font-weight: bold;">new</span> Loader<span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span>;
			_loader.<span style="color: #006600;">contentLoaderInfo</span>.<span style="color: #006600;">addEventListener</span><span style="color: #66cc66;">&#40;</span>Event.<span style="color: #006600;">COMPLETE</span>, onLoaderComplete<span style="color: #66cc66;">&#41;</span>;
			_loader.<span style="color: #006600;">loadBytes</span><span style="color: #66cc66;">&#40;</span>_fileReference.<span style="color: #0066CC;">data</span><span style="color: #66cc66;">&#41;</span>;
&nbsp;
			_fileReference.<span style="color: #006600;">removeEventListener</span><span style="color: #66cc66;">&#40;</span>Event.<span style="color: #006600;">COMPLETE</span>, onFileLoaded<span style="color: #66cc66;">&#41;</span>;
		<span style="color: #66cc66;">&#125;</span>
&nbsp;
		<span style="color: #0066CC;">private</span> <span style="color: #000000; font-weight: bold;">function</span> onLoaderComplete<span style="color: #66cc66;">&#40;</span><span style="color: #0066CC;">e</span>:Event<span style="color: #66cc66;">&#41;</span>:<span style="color: #0066CC;">void</span>
		<span style="color: #66cc66;">&#123;</span>
			bitmapData = Bitmap<span style="color: #66cc66;">&#40;</span>_loader.<span style="color: #006600;">content</span><span style="color: #66cc66;">&#41;</span>.<span style="color: #006600;">bitmapData</span>;
&nbsp;
			<span style="color: #0066CC;">width</span> 	= _new_width;
			<span style="color: #0066CC;">height</span> 	= _new_height;
&nbsp;
			dispatchEvent<span style="color: #66cc66;">&#40;</span><span style="color: #000000; font-weight: bold;">new</span> FileEvent<span style="color: #66cc66;">&#40;</span>FileEvent.<span style="color: #0066CC;">LOADED</span><span style="color: #66cc66;">&#41;</span><span style="color: #66cc66;">&#41;</span>;
		<span style="color: #66cc66;">&#125;</span>
&nbsp;
		<span style="color: #0066CC;">private</span> <span style="color: #000000; font-weight: bold;">function</span> openBrowseHandler<span style="color: #66cc66;">&#40;</span><span style="color: #0066CC;">e</span>:FileEvent<span style="color: #66cc66;">&#41;</span>:<span style="color: #0066CC;">void</span>
		<span style="color: #66cc66;">&#123;</span>
			_fileReference.<span style="color: #006600;">browse</span><span style="color: #66cc66;">&#40;</span> <span style="color: #66cc66;">&#91;</span> IMAGE_FILTER <span style="color: #66cc66;">&#93;</span> <span style="color: #66cc66;">&#41;</span>;
		<span style="color: #66cc66;">&#125;</span>
&nbsp;
		<span style="color: #0066CC;">public</span> <span style="color: #000000; font-weight: bold;">function</span> destroy<span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span>:<span style="color: #0066CC;">void</span>
		<span style="color: #66cc66;">&#123;</span>
			destroyEvents<span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span>;
&nbsp;
			_loader = <span style="color: #000000; font-weight: bold;">null</span>;
			_fileReference = <span style="color: #000000; font-weight: bold;">null</span>;
			bitmapData = <span style="color: #000000; font-weight: bold;">null</span>;
		<span style="color: #66cc66;">&#125;</span>
&nbsp;
		<span style="color: #0066CC;">public</span> <span style="color: #000000; font-weight: bold;">function</span> destroyEvents<span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span>:<span style="color: #0066CC;">void</span>
		<span style="color: #66cc66;">&#123;</span>
			removeEventListener<span style="color: #66cc66;">&#40;</span>FileEvent.<span style="color: #006600;">BROWSE</span>, openBrowseHandler<span style="color: #66cc66;">&#41;</span>;
			_loader.<span style="color: #006600;">contentLoaderInfo</span>.<span style="color: #006600;">removeEventListener</span><span style="color: #66cc66;">&#40;</span>Event.<span style="color: #006600;">COMPLETE</span>, onLoaderComplete<span style="color: #66cc66;">&#41;</span>;
			_fileReference.<span style="color: #006600;">removeEventListener</span><span style="color: #66cc66;">&#40;</span>Event.<span style="color: #006600;">COMPLETE</span>, onFileLoaded<span style="color: #66cc66;">&#41;</span>;
		<span style="color: #66cc66;">&#125;</span>
	<span style="color: #66cc66;">&#125;</span>
<span style="color: #66cc66;">&#125;</span></pre>
<pre class="actionscript"><span style="color: #808080; font-style: italic;">/**
 *
 * @author: Junio Vitorino - jgvitorino@gmail.com
 * @date: May, 26 2010
 * @package: com.lamiscela.events.file
 * @description: Events to File behaviors
 *
 **/</span>
&nbsp;
package com.<span style="color: #006600;">lamiscela</span>.<span style="color: #006600;">events</span>.<span style="color: #006600;">file</span>
<span style="color: #66cc66;">&#123;</span>
&nbsp;
	<span style="color: #0066CC;">import</span> flash.<span style="color: #006600;">events</span>.<span style="color: #006600;">Event</span>;
&nbsp;
	<span style="color: #0066CC;">public</span> <span style="color: #000000; font-weight: bold;">class</span> FileEvent <span style="color: #0066CC;">extends</span> Event
	<span style="color: #66cc66;">&#123;</span>
		<span style="color: #0066CC;">public</span> <span style="color: #0066CC;">static</span> const BROWSE:<span style="color: #0066CC;">String</span> = <span style="color: #ff0000;">&quot;browse&quot;</span>;
		<span style="color: #0066CC;">public</span> <span style="color: #0066CC;">static</span> const <span style="color: #0066CC;">LOADED</span>:<span style="color: #0066CC;">String</span> = <span style="color: #ff0000;">&quot;loaded&quot;</span>;
		<span style="color: #0066CC;">private</span> <span style="color: #000000; font-weight: bold;">var</span> _params:<span style="color: #0066CC;">Object</span> = <span style="color: #000000; font-weight: bold;">null</span>;
&nbsp;
		<span style="color: #0066CC;">public</span> <span style="color: #000000; font-weight: bold;">function</span> FileEvent<span style="color: #66cc66;">&#40;</span><span style="color: #0066CC;">type</span>:<span style="color: #0066CC;">String</span>, p_params:<span style="color: #0066CC;">Object</span> = <span style="color: #000000; font-weight: bold;">null</span>, bubbles:<span style="color: #0066CC;">Boolean</span>=<span style="color: #000000; font-weight: bold;">false</span>, cancelable:<span style="color: #0066CC;">Boolean</span>=<span style="color: #000000; font-weight: bold;">false</span><span style="color: #66cc66;">&#41;</span>
		<span style="color: #66cc66;">&#123;</span>
			<span style="color: #0066CC;">super</span><span style="color: #66cc66;">&#40;</span><span style="color: #0066CC;">type</span>, bubbles, cancelable<span style="color: #66cc66;">&#41;</span>;
			_params = p_params;
		<span style="color: #66cc66;">&#125;</span> 
&nbsp;
		<span style="color: #0066CC;">public</span> override <span style="color: #000000; font-weight: bold;">function</span> clone<span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span>:Event
		<span style="color: #66cc66;">&#123;</span>
			<span style="color: #b1b100;">return</span> <span style="color: #000000; font-weight: bold;">new</span> FileEvent<span style="color: #66cc66;">&#40;</span><span style="color: #0066CC;">type</span>, <span style="color: #0066CC;">this</span>.<span style="color: #006600;">params</span>, bubbles, cancelable<span style="color: #66cc66;">&#41;</span>;
		<span style="color: #66cc66;">&#125;</span> 
&nbsp;
		<span style="color: #0066CC;">public</span> override <span style="color: #000000; font-weight: bold;">function</span> <span style="color: #0066CC;">toString</span><span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span>:<span style="color: #0066CC;">String</span>
		<span style="color: #66cc66;">&#123;</span>
			<span style="color: #b1b100;">return</span> formatToString<span style="color: #66cc66;">&#40;</span><span style="color: #ff0000;">&quot;FileEvent&quot;</span>, <span style="color: #ff0000;">&quot;type&quot;</span>, <span style="color: #ff0000;">&quot;params&quot;</span>, <span style="color: #ff0000;">&quot;bubbles&quot;</span>, <span style="color: #ff0000;">&quot;cancelable&quot;</span>, <span style="color: #ff0000;">&quot;eventPhase&quot;</span><span style="color: #66cc66;">&#41;</span>;
		<span style="color: #66cc66;">&#125;</span>
&nbsp;
		<span style="color: #0066CC;">public</span> <span style="color: #000000; font-weight: bold;">function</span> <span style="color: #0066CC;">get</span> params<span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span>:<span style="color: #0066CC;">Object</span> <span style="color: #66cc66;">&#123;</span> <span style="color: #b1b100;">return</span> _params; <span style="color: #66cc66;">&#125;</span>
	<span style="color: #66cc66;">&#125;</span>
<span style="color: #66cc66;">&#125;</span></pre>
]]></content:encoded>
			<wfw:commentRss>http://www.lamiscela.net/2010/05/26/bitmapbyte-class/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Installing GUFW on Ubuntu 10.04</title>
		<link>http://www.lamiscela.net/2010/05/23/installing-ufw-on-ubuntu-10-04/</link>
		<comments>http://www.lamiscela.net/2010/05/23/installing-ufw-on-ubuntu-10-04/#comments</comments>
		<pubDate>Sun, 23 May 2010 18:40:32 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[sysadmin]]></category>

		<guid isPermaLink="false">http://www.lamiscela.net/?p=466</guid>
		<description><![CDATA[This short video show how you can easily install GUFW to manage your iptables firewall on ubuntu 10.04.

]]></description>
			<content:encoded><![CDATA[<p>This short video show how you can easily install GUFW to manage your iptables firewall on ubuntu 10.04.</p>
<p><object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="608" height="400" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"><param name="allowfullscreen" value="true" /><param name="allowscriptaccess" value="always" /><param name="src" value="http://vimeo.com/moogaloop.swf?clip_id=11974950&amp;server=vimeo.com&amp;show_title=1&amp;show_byline=1&amp;show_portrait=0&amp;color=&amp;fullscreen=1" /><embed type="application/x-shockwave-flash" width="608" height="400" src="http://vimeo.com/moogaloop.swf?clip_id=11974950&amp;server=vimeo.com&amp;show_title=1&amp;show_byline=1&amp;show_portrait=0&amp;color=&amp;fullscreen=1" allowscriptaccess="always" allowfullscreen="true"></embed></object></p>
]]></content:encoded>
			<wfw:commentRss>http://www.lamiscela.net/2010/05/23/installing-ufw-on-ubuntu-10-04/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>[Off-Topic] Ó meu canto aí</title>
		<link>http://www.lamiscela.net/2010/05/23/o-meu-canto-ai/</link>
		<comments>http://www.lamiscela.net/2010/05/23/o-meu-canto-ai/#comments</comments>
		<pubDate>Sun, 23 May 2010 10:56:09 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Português]]></category>
		<category><![CDATA[off-topic]]></category>
		<category><![CDATA[offtopic]]></category>

		<guid isPermaLink="false">http://www.lamiscela.net/?p=451</guid>
		<description><![CDATA[A algum tempo venho procurando uma forma de montar um cantinho em casa para estudar, trabalhar e vagar. O primeiro passo geralmente é escolher o lugar, um quarto abandonado ou um canto mesmo para que você possa se instalar. Como somos só eu e minha esposa aqui em casa e moramos em uma casa pequena [...]]]></description>
			<content:encoded><![CDATA[<p>A algum tempo venho procurando uma forma de montar um cantinho em casa para estudar, trabalhar e vagar. O primeiro passo geralmente é escolher o lugar, um quarto abandonado ou um canto mesmo para que você possa se instalar. Como somos só eu e minha esposa aqui em casa e moramos em uma casa pequena (leia-se minúscula), optei por me aconchegar em um cantinho da sala.</p>
<p>Escolhido o lugar, você começa a escolher a decoração do lugar, móveis, quadros e afins; isso é a parte mais chata. Passei por lojas como Tok &amp; Stok a Desmobilia, e não encontrei nada me me agradava($$). Pensei então em mandar fazer sob medida tudo, mas se você é um maldito perfeccionista e um eterno insatisfeito (leia-se chato pra caralho), esqueça essa opção. Eu por exemplo rascunhei uns 10 modelos para escolher com o marceneiro e nenhum havia ficado "bom o suficiente".<span id="more-451"></span></p>
<p>Novamente me veio a idéia de comprar algo pronto e me adptar a ele, em uma busca por "homeoffice" no Google, me feio alí nos links patrocinados (<span style="text-decoration: line-through;">nunca imaginei que compraria algo em um link que apareceu pra mim sem que eu pedisse</span>), um link para a loja <a title="Meu Móvel de Madeira" href="http://www.meumóveldemadeira.com.br" target="_blank">Meu Móvel de Madeira</a>, uma loja virtual com várias linhas de móveis para escritório, sala, quarto e etc. Procurei, procurei e lá encontrei a minha escolhida a linha Vienna que somava tudo que eu queria, móveis com aparência antiga + bom preço.</p>
<p>Pesquisei sobre a loja na internet e encontrei algumas reclamações sobre a loja, mas nada que me fizesse desistir de comprar. Assim feito a compra foi só aguardar a entrega que aconteceu antes do prazo diga-se de passagem.</p>
<p>O resultado de tudo isso você pode ver nas fotos abaixo, o "meu cantinho" aqui em casa tomou forma, mas ainda falta alguns acertos como, alguns quadros e dar um tapa na pintura, que está meio morta.</p>
<p><object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="608" height="400" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"><param name="flashvars" value="offsite=true&amp;lang=en-us&amp;page_show_url=%2Fphotos%2Fjuniovitorino%2Fshow%2F&amp;page_show_back_url=%2Fphotos%2Fjuniovitorino%2F&amp;user_id=41145860@N00&amp;jump_to=" /><param name="allowFullScreen" value="true" /><param name="src" value="http://www.flickr.com/apps/slideshow/show.swf?v=71649" /><param name="allowfullscreen" value="true" /><embed type="application/x-shockwave-flash" width="608" height="400" src="http://www.flickr.com/apps/slideshow/show.swf?v=71649" allowfullscreen="true" flashvars="offsite=true&amp;lang=en-us&amp;page_show_url=%2Fphotos%2Fjuniovitorino%2Fshow%2F&amp;page_show_back_url=%2Fphotos%2Fjuniovitorino%2F&amp;user_id=41145860@N00&amp;jump_to="></embed></object></p>
<p>Abraço galera e chega de Off-Topic por hoje.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.lamiscela.net/2010/05/23/o-meu-canto-ai/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>[Off-Topic] Show Repensadores + La Carne no Nafta Pub</title>
		<link>http://www.lamiscela.net/2010/05/23/off-topic-show-repensadores-la-carne-no-nafta-pub/</link>
		<comments>http://www.lamiscela.net/2010/05/23/off-topic-show-repensadores-la-carne-no-nafta-pub/#comments</comments>
		<pubDate>Sun, 23 May 2010 07:11:48 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Português]]></category>
		<category><![CDATA[off-topic]]></category>

		<guid isPermaLink="false">http://www.lamiscela.net/?p=442</guid>
		<description><![CDATA[
Olá pessoal queria comentar com vocês o ótimo som que eu ouvi ontem a noite ao ir ao show dos Repensadores e do La Carne no Studio Nafta aqui em Belo Horizonte. Conheço o trampo do pessoal dos Repensadores pois um amigo o Wagner Lúcio que além de ser um puta diretor de arte é [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.repensadores.com.br"><img class="aligncenter size-full wp-image-444" title="Repensadores e La Carne" src="http://www.lamiscela.net/wp-content/uploads/2010/05/repensadores-lacarne.jpg" alt="Repensadores e La Carne" width="608" height="352" /></a></p>
<p>Olá pessoal queria comentar com vocês o ótimo som que eu ouvi ontem a noite ao ir ao show dos <a title="Repensadores" href="http://www.repensadores.com.br" target="_blank">Repensadores</a> e do <a title="La Carne" href="http://www.lacarne.com.br" target="_blank">La Carne</a> no <a title="Studio Nafta" href="http://www.studionafta.com.br/" target="_blank">Studio Nafta</a> aqui em Belo Horizonte. Conheço o trampo do pessoal dos Repensadores pois um amigo o <a title="Wagner Lúcio - Portfolio" href="http://cargocollective.com/wlucio">Wagner Lúcio</a> que além de ser um puta diretor de arte é integrante da banda e me presenteou com um CD.</p>
<p>Os <a title="Repensadores" href="http://www.repensadores.com.br" target="_blank">Repensadores</a> são uma banda de improviso, isto é, os caras fazem a música na hora, eu acho isso muita responsa e por isso boto fé nos caras, pois mesmo as músicas sendo feitas na hora (ontem rolou uma ou duas feitas na hora), a afinação dos caras é sensacional. A outra banda é o pessoal do <a title="La Carne" href="http://www.lacarne.com.br" target="_blank">La Carne</a>, uma banda de São Paulo que eu não conhecia e passei a gostar.</p>
<p>Se você quer também conheçer o som dos caras, acessa os sites deles aí tem video, músicas free para baixar e muito mais.</p>
<p>Aquele abraço.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.lamiscela.net/2010/05/23/off-topic-show-repensadores-la-carne-no-nafta-pub/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Installing ufw in Debian 5</title>
		<link>http://www.lamiscela.net/2010/04/03/installing-ufw-in-debian-5/</link>
		<comments>http://www.lamiscela.net/2010/04/03/installing-ufw-in-debian-5/#comments</comments>
		<pubDate>Sat, 03 Apr 2010 22:43:57 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[English]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[sysadmin]]></category>

		<guid isPermaLink="false">http://www.lamiscela.net/?p=429</guid>
		<description><![CDATA[Hi people that's a short article to help you install UFW in your Debian machine. UFW is a shorthand to setup rules in your iptables firewall of a ease way.
UFW originally was built to Ubuntu where have even a gui and isn't present in default Debian 5 repositories, so apt-get ufw doesn't will work. For install [...]]]></description>
			<content:encoded><![CDATA[<p>Hi people that's a short article to help you install <a href="http://en.wikipedia.org/wiki/Uncomplicated_Firewall" target="_blank">UFW</a> in your Debian machine. UFW is a shorthand to setup rules in your <a href="http://en.wikipedia.org/wiki/Iptables">iptables</a> firewall of a ease way.<br />
UFW originally was built to Ubuntu where have even a gui and isn't present in default Debian 5 repositories, so apt-get ufw doesn't will work. For install UFW in your Debian machine follow the steps that follows.</p>
<p>Go to /srv folder and does download of UFW (ufw_0.29.3-1_all.deb) deb package from http://packages.debian.org/sid/all/UFW/download, pick a link or just copy the line bellow:</p>
<blockquote><p>wget http://ftp.us.debian.org/debian/pool/main/u/UFW/UFW_0.29.3-1_all.deb</p></blockquote>
<p>UFW has some dependencies that should be satisfied before install it, they're: python2.5 or greater, python-central 0.6.11 or greater and ucf. Generally python and python-central are installed when you perform your first apt-get dist-upgrade. In case of python-central already is installed, uninstall it and download other version with the latest python-central package (python-central_0.6.14 nmu2_all.deb):</p>
<blockquote><p># first uninstall the current python-central</p>
<p>sudo apt-get purge python-central</p>
<p># now pick up the latest package from debian sid repositories</p>
<p>wget http://http.us.debian.org/debian/pool/main/p/python-central/python-central_0.6.14 nmu2_all.deb</p>
<p># now install python-central_0.6.14 nmu2_all.deb with</p>
<p>sudo dpkg -i python-central_0.6.14 nmu2_all.deb</p>
<p># install ucf</p>
<p>sudo apt-get install ucf</p></blockquote>
<p>Made this you already have all necessary dependencies to instal UFW, now just type the lines bellow:</p>
<blockquote><p>sudo dpkg -i ufw_0.29.3-1_all.deb</p></blockquote>
<p>After the install you can now setting up your firewall rules easily with UFW. For more details about UFW ufw -help or visite <a href="https://help.ubuntu.com/community/UFW" target="_blank">this</a> page.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.lamiscela.net/2010/04/03/installing-ufw-in-debian-5/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
	</channel>
</rss>
