<?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>Tony Virelli - Web Developer - HTML, xHTML, PHP, MySQL, JavaScript&#187; Miscellaneous</title>
	<atom:link href="http://tonyvirelli.com/category/blog/misc/feed/" rel="self" type="application/rss+xml" />
	<link>http://tonyvirelli.com</link>
	<description>Tony Virelli - I share the information I have dealing with web design, technology, the internet and more</description>
	<lastBuildDate>Fri, 20 Aug 2010 13:31:25 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=abc</generator>
		<item>
		<title>New Digg v4 &#8211; I got invite codes!</title>
		<link>http://tonyvirelli.com/2010/08/19/new-digg-v4-i-got-invite-codes/?utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=new-digg-v4-i-got-invite-codes</link>
		<comments>http://tonyvirelli.com/2010/08/19/new-digg-v4-i-got-invite-codes/#comments</comments>
		<pubDate>Fri, 20 Aug 2010 02:48:25 +0000</pubDate>
		<dc:creator>Tony Virelli</dc:creator>
				<category><![CDATA[Blog]]></category>
		<category><![CDATA[Miscellaneous]]></category>
		<category><![CDATA[slider]]></category>
		<category><![CDATA[code]]></category>
		<category><![CDATA[digg]]></category>
		<category><![CDATA[invite]]></category>
		<category><![CDATA[new]]></category>

		<guid isPermaLink="false">http://tonyvirelli.com/?p=589</guid>
		<description><![CDATA[Want an invite code to the new Digg.com? Of course you do! I got 4 more invites left! I am going to post the link below and the first 4 lucky people who click the link WIN! (Sorry would have had 5 but had to give one to John!) Invite Code Link: http://new.digg.com/login/bd4e2a073cfea23691b29eb6a85be8a07 (You have [...]]]></description>
			<content:encoded><![CDATA[<p>Want an invite code to the new Digg.com? Of course you do!<br />
<span id="more-589"></span><br />
I got 4 more invites left! I am going to post the link below and the first 4 lucky people who click the link WIN! (Sorry would have had 5 but had to give one to John!)</p>
<p>Invite Code Link:<br />
http://new.digg.com/login/bd4e2a073cfea23691b29eb6a85be8a07  (You have to copy and paste it. Don&#8217;t want any bots clicking the link and wasting it!)</p>
<p>If you you get an account via my link above leave a comment to let me know!</p>
<p><!--2c77de14c55e40afb5f2e9db727629a8--></p>
]]></content:encoded>
			<wfw:commentRss>http://tonyvirelli.com/2010/08/19/new-digg-v4-i-got-invite-codes/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Make 007 Jealous With RSA Encryption</title>
		<link>http://tonyvirelli.com/2010/03/15/make-007-jealous-with-rsa-encryption/?utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=make-007-jealous-with-rsa-encryption</link>
		<comments>http://tonyvirelli.com/2010/03/15/make-007-jealous-with-rsa-encryption/#comments</comments>
		<pubDate>Mon, 15 Mar 2010 22:50:17 +0000</pubDate>
		<dc:creator>John Hass</dc:creator>
				<category><![CDATA[Miscellaneous]]></category>
		<category><![CDATA[Perl]]></category>
		<category><![CDATA[slider]]></category>
		<category><![CDATA[Encryption]]></category>
		<category><![CDATA[perl]]></category>
		<category><![CDATA[RSA]]></category>

		<guid isPermaLink="false">http://tonyvirelli.com/?p=558</guid>
		<description><![CDATA[Make 007 Jealous Public/Private encryption is not a new thing, did you know you can use my favorite swiss army knife to send secret messages to your friends…. Scratch that, I don&#8217;t have any friends… Perl Makes this easy with a little module calls Crypt::RSA, yes RSA is under fire for security blah blah, I [...]]]></description>
			<content:encoded><![CDATA[<p>Make 007 Jealous</p>
<p>Public/Private encryption is not a new thing, did you know you can use my favorite swiss army knife to send secret messages to your friends…. Scratch that, I don&#8217;t have any friends…  Perl Makes this easy with a little module calls Crypt::RSA, yes RSA is under fire for security blah blah, I don&#8217;t care, it&#8217;s still secure, because Mr. S&#8217;s (yes it&#8217;s a dudes name) I can&#8217;t pronounce nor spell, I know it will be fairly decent, I am almost about sure Mr. S should be Dr. S, but that just sounds evil, so without further ado, public/private key encryption with perl.<br />
<span id="more-558"></span><br />
Two people in this Article Tony and John, John wants all correspondence encrypted Tony Encrypts.</p>
<p>I am on my new Mac now, so your mileage may very….</p>

<div class="wp_syntax"><div 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;">perl</span> <span style="color: #660033;">-MCPAN</span> <span style="color: #660033;">-e</span> shell
<span style="color: #c20cb9; font-weight: bold;">install</span> Crypt::RSA</pre></div></div>

<p>it asks you about a ton of dependencies, don&#8217;t do what your high school guidance counselor told you and just say yes.</p>
<p>Create something to make the keys</p>

<div class="wp_syntax"><div class="code"><pre class="perl" style="font-family:monospace;"><span style="color: #666666; font-style: italic;">#!/usr/bin/perl</span>
<span style="color: #000000; font-weight: bold;">use</span> Crypt<span style="color: #339933;">::</span><span style="color: #006600;">RSA</span><span style="color: #339933;">;</span>
<span style="color: #0000ff;">$rsa</span> <span style="color: #339933;">=</span> <span style="color: #000000; font-weight: bold;">new</span> Crypt<span style="color: #339933;">::</span><span style="color: #006600;">RSA</span><span style="color: #339933;">;</span>
<span style="color: #b1b100;">if</span> <span style="color: #009900;">&#40;</span><span style="color: #0000ff;">$ARGV</span><span style="color: #009900;">&#91;</span><span style="color: #cc66cc;">0</span><span style="color: #009900;">&#93;</span> <span style="color: #b1b100;">eq</span> <span style="color: #ff0000;">&quot;--makekeys&quot;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
	<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">$public</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">$private</span><span style="color: #009900;">&#41;</span> <span style="color: #339933;">=</span> <span style="color: #0000ff;">$rsa</span><span style="color: #339933;">-&gt;</span><span style="color: #006600;">keygen</span><span style="color: #009900;">&#40;</span> 
				Size <span style="color: #339933;">=&gt;</span> <span style="color: #cc66cc;">2048</span><span style="color: #339933;">,</span>
				Filename <span style="color: #339933;">=&gt;</span> <span style="color: #ff0000;">&quot;keylock&quot;</span><span style="color: #339933;">,</span>
				<span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
	<span style="color: #000066;">exit</span><span style="color: #339933;">;</span>
<span style="color: #009900;">&#125;</span></pre></div></div>

<p>The start of out program generate our rsa key, keylock.private (and keep this private, no touchy no sendy) and keylock.private, send this to everyone</p>
<p>ok send the public key to tony, so he can send us a message….  Tony should create the message now</p>

<div class="wp_syntax"><div class="code"><pre class="perl" style="font-family:monospace;"><span style="color: #b1b100;">if</span> <span style="color: #009900;">&#40;</span><span style="color: #0000ff;">$ARGV</span><span style="color: #009900;">&#91;</span><span style="color: #cc66cc;">0</span><span style="color: #009900;">&#93;</span> <span style="color: #b1b100;">eq</span> <span style="color: #ff0000;">&quot;--createmessage&quot;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
	<span style="color: #0000ff;">$key</span> <span style="color: #339933;">=</span> <span style="color: #0000ff;">$ARGV</span><span style="color: #009900;">&#91;</span><span style="color: #cc66cc;">1</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">;</span>
	<span style="color: #0000ff;">$message</span> <span style="color: #339933;">=</span> <span style="color: #0000ff;">$ARGV</span><span style="color: #009900;">&#91;</span><span style="color: #cc66cc;">2</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">;</span>
&nbsp;
	<span style="color: #666666; font-style: italic;">#open the key</span>
	<span style="color: #0000ff;">$akey</span> <span style="color: #339933;">=</span> <span style="color: #000000; font-weight: bold;">new</span> Crypt<span style="color: #339933;">::</span><span style="color: #006600;">RSA</span><span style="color: #339933;">::</span><span style="color: #006600;">Key</span><span style="color: #339933;">::</span><span style="color: #006600;">Public</span> <span style="color: #009900;">&#40;</span>	Filename <span style="color: #339933;">=&gt;</span> <span style="color: #ff0000;">&quot;$key&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
	<span style="color: #b1b100;">my</span> <span style="color: #0000ff;">$output</span> <span style="color: #339933;">=</span> <span style="color: #0000ff;">$rsa</span><span style="color: #339933;">-&gt;</span><span style="color: #006600;">encrypt</span><span style="color: #009900;">&#40;</span>Message <span style="color: #339933;">=&gt;</span> <span style="color: #0000ff;">$message</span><span style="color: #339933;">,</span>Key<span style="color: #339933;">=&gt;</span> <span style="color: #0000ff;">$akey</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">||</span> <span style="color: #000066;">die</span> <span style="color: #0000ff;">$rsa</span><span style="color: #339933;">-&gt;</span><span style="color: #006600;">errstr</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
	<span style="color: #000066;">open</span> ENC<span style="color: #339933;">,</span> <span style="color: #ff0000;">&quot;&gt;message&quot;</span> <span style="color: #b1b100;">or</span> <span style="color: #000066;">die</span> <span style="color: #0000ff;">$!</span><span style="color: #339933;">;</span>
	<span style="color: #000066;">binmode</span> ENC<span style="color: #339933;">;</span>
	<span style="color: #000066;">print</span> ENC <span style="color: #0000ff;">$output</span><span style="color: #339933;">;</span>
	<span style="color: #000066;">exit</span><span style="color: #339933;">;</span>
<span style="color: #009900;">&#125;</span></pre></div></div>

<p>One thing that was a gotcha for me was writing the file, I forgot to tell perl to write it binary, since the encryption is all binary, we must write it so.  We now have a file called &#8220;message&#8221; if you try to edit the file, it&#8217;s all gobble gook.  Tony can now send you this message, and only you can read it, but how?</p>

<div class="wp_syntax"><div class="code"><pre class="perl" style="font-family:monospace;"><span style="color: #b1b100;">if</span> <span style="color: #009900;">&#40;</span><span style="color: #0000ff;">$ARGV</span><span style="color: #009900;">&#91;</span><span style="color: #cc66cc;">0</span><span style="color: #009900;">&#93;</span> <span style="color: #b1b100;">eq</span> <span style="color: #ff0000;">&quot;--readmessage&quot;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
	<span style="color: #0000ff;">$key</span> <span style="color: #339933;">=</span> <span style="color: #0000ff;">$ARGV</span><span style="color: #009900;">&#91;</span><span style="color: #cc66cc;">1</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">;</span>
	<span style="color: #0000ff;">$message</span> <span style="color: #339933;">=</span> <span style="color: #0000ff;">$ARGV</span><span style="color: #009900;">&#91;</span><span style="color: #cc66cc;">2</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">;</span>
&nbsp;
	<span style="color: #000066;">open</span> FILE<span style="color: #339933;">,</span> <span style="color: #ff0000;">&quot;$message&quot;</span> <span style="color: #b1b100;">or</span> <span style="color: #000066;">die</span> <span style="color: #0000ff;">$!</span><span style="color: #339933;">;</span> 
	<span style="color: #000066;">binmode</span> FILE<span style="color: #339933;">;</span>
	<span style="color: #b1b100;">my</span> <span style="color: #009900;">&#40;</span><span style="color: #0000ff;">$buf</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">$data</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">$n</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
	<span style="color: #b1b100;">while</span> <span style="color: #009900;">&#40;</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">$n</span> <span style="color: #339933;">=</span> <span style="color: #000066;">read</span> FILE<span style="color: #339933;">,</span> <span style="color: #0000ff;">$data</span><span style="color: #339933;">,</span> <span style="color: #cc66cc;">4</span><span style="color: #009900;">&#41;</span> <span style="color: #339933;">!=</span> <span style="color: #cc66cc;">0</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
		<span style="color: #0000ff;">$buf</span> <span style="color: #339933;">.=</span> <span style="color: #0000ff;">$data</span><span style="color: #339933;">;</span>
	<span style="color: #009900;">&#125;</span> 
	<span style="color: #000066;">close</span><span style="color: #009900;">&#40;</span>FILE<span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> 
	<span style="color: #0000ff;">$akey</span> <span style="color: #339933;">=</span> <span style="color: #000000; font-weight: bold;">new</span> Crypt<span style="color: #339933;">::</span><span style="color: #006600;">RSA</span><span style="color: #339933;">::</span><span style="color: #006600;">Key</span><span style="color: #339933;">::</span><span style="color: #006600;">Private</span><span style="color: #339933;">-&gt;</span><span style="color: #006600;">read</span><span style="color: #009900;">&#40;</span>Filename <span style="color: #339933;">=&gt;</span> <span style="color: #ff0000;">&quot;$key&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
	<span style="color: #b1b100;">my</span> <span style="color: #0000ff;">$output</span> <span style="color: #339933;">=</span> <span style="color: #0000ff;">$rsa</span><span style="color: #339933;">-&gt;</span><span style="color: #006600;">decrypt</span><span style="color: #009900;">&#40;</span>Cyphertext <span style="color: #339933;">=&gt;</span> <span style="color: #ff0000;">&quot;$buf&quot;</span><span style="color: #339933;">,</span>Key <span style="color: #339933;">=&gt;</span> <span style="color: #0000ff;">$akey</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">||</span> <span style="color: #000066;">die</span> <span style="color: #0000ff;">$rsa</span><span style="color: #339933;">-&gt;</span><span style="color: #006600;">errstr</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
	<span style="color: #000066;">print</span> <span style="color: #0000ff;">$output</span> <span style="color: #339933;">.</span><span style="color: #ff0000;">&quot;<span style="color: #000099; font-weight: bold;">\n</span>&quot;</span><span style="color: #339933;">;</span>
&nbsp;
	<span style="color: #000066;">exit</span><span style="color: #339933;">;</span>
<span style="color: #009900;">&#125;</span></pre></div></div>

<p>So now we read the file &#8220;message&#8221; in using our private key, since Tony encrypted the message with our public key, we can now read it with the private key….  So how does this work?</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">John-Hasss-Mac-Pro:~ john$ .<span style="color: #000000; font-weight: bold;">/</span>keylock.pl <span style="color: #660033;">--makekeys</span>
John-Hasss-Mac-Pro:~ john$ .<span style="color: #000000; font-weight: bold;">/</span>keylock.pl <span style="color: #660033;">--createmessage</span> keylock.public <span style="color: #ff0000;">&quot;007 would be so jealous&quot;</span>
John-Hasss-Mac-Pro:~ john$ <span style="color: #c20cb9; font-weight: bold;">cat</span> message 
?????u?????מ?n???-<span style="color: #000000; font-weight: bold;">@</span>?l?Q??<span style="color: #7a0874; font-weight: bold;">&#41;</span>??~<span style="color: #7a0874; font-weight: bold;">&#125;</span><span style="color: #000000;">3</span>?<span style="color: #ff0000;">&quot;h2??=,??3??݁/m?s?[?M)?F?}?|ߩJ????k;?7??i???D?\w;?U??ʬ??y7ǳ??&amp;?]pXv?-???E@&quot;</span>X?E?HH0?<span style="color: #7a0874; font-weight: bold;">&#40;</span>S?<span style="color: #ff0000;">&quot;?`?,?R??7???ϳ
  ??Ցh???촇??K??Rs??uxs;??r^΀?G?????5??W??Y???4Y??_~?(YͷӍr\űeĥr??John-Hasss-Mac-Pro:~ john$ 
John-Hasss-Mac-Pro:~ john$ 
John-Hasss-Mac-Pro:~ john$ ./keylock.pl --readmessage keylock.private message
007 would be so jealous
John-Hasss-Mac-Pro:~ john$</span></pre></div></div>

<p>Welcome to the magic of public private key encryption!</p>
<p>Have fun!</p>
<a class="downloadlink" href="http://tonyvirelli.com/downloads/keylock.zip" title=" downloaded 7 times" >keylock.zip (7)</a>
]]></content:encoded>
			<wfw:commentRss>http://tonyvirelli.com/2010/03/15/make-007-jealous-with-rsa-encryption/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Improve Droid Sound Quality</title>
		<link>http://tonyvirelli.com/2010/03/01/improve-droid-sound-quality/?utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=improve-droid-sound-quality</link>
		<comments>http://tonyvirelli.com/2010/03/01/improve-droid-sound-quality/#comments</comments>
		<pubDate>Mon, 01 Mar 2010 18:16:02 +0000</pubDate>
		<dc:creator>Tony Virelli</dc:creator>
				<category><![CDATA[Miscellaneous]]></category>
		<category><![CDATA[slider]]></category>
		<category><![CDATA[call quality]]></category>
		<category><![CDATA[cell phone]]></category>
		<category><![CDATA[droid]]></category>
		<category><![CDATA[mobile]]></category>

		<guid isPermaLink="false">http://tonyvirelli.com/?p=535</guid>
		<description><![CDATA[Today I got a text message from a reader wanting to know how to improve the sound quality of their droid. Here is a quick step-by-step guide to doing that. However, keep in mind that sound quality is a thing of opinion and results may very! Click the phone icon Dial ##7764726 Click the Green [...]]]></description>
			<content:encoded><![CDATA[<p>Today I got a text message from a reader wanting to know how to improve the sound quality of their droid.</p>
<p>Here is a quick step-by-step guide to doing that. However, keep in mind that sound quality is a thing of opinion and results may very!<br />
<span id="more-535"></span></p>
<ol>
<li>Click the phone icon</li>
<li>Dial ##7764726</li>
<li>Click the Green Phone Icon or Call Button</li>
<li>You will then be asked for a SPC password</li>
<li>Enter 000000  (That is 6 Zeros)</li>
<li>Then click the Verify button</li>
<li>You will then see the programming Menu</li>
<li>Select option 04 or whatever option is titled &#8220;Vocode&#8221;</li>
<li>By default the option &#8220;EVRC&#8221; should be selected</li>
<li>To &#8220;improve&#8221; call quality select &#8220;EVRC-B&#8221; and click Apply</li>
<li>Then click the back button on the phone</li>
<li>Your phone will then reboot</li>
<li>When it comes back up you are done!</li>
</ol>
<p>So now you can be the judge as to whether or not your call quality is better.</p>
<p>Be advised that this will cause your battery to drain faster&#8230; yes, even faster than it already does!</p>
]]></content:encoded>
			<wfw:commentRss>http://tonyvirelli.com/2010/03/01/improve-droid-sound-quality/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How To Get a Custom Boot Screen on Droid</title>
		<link>http://tonyvirelli.com/2009/12/31/how-to-get-a-custom-boot-screen-on-droid/?utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=how-to-get-a-custom-boot-screen-on-droid</link>
		<comments>http://tonyvirelli.com/2009/12/31/how-to-get-a-custom-boot-screen-on-droid/#comments</comments>
		<pubDate>Thu, 31 Dec 2009 06:44:29 +0000</pubDate>
		<dc:creator>Tony Virelli</dc:creator>
				<category><![CDATA[Miscellaneous]]></category>
		<category><![CDATA[slider]]></category>
		<category><![CDATA[android]]></category>
		<category><![CDATA[animation]]></category>
		<category><![CDATA[boot]]></category>
		<category><![CDATA[droid]]></category>
		<category><![CDATA[motorola]]></category>

		<guid isPermaLink="false">http://tonyvirelli.com/?p=484</guid>
		<description><![CDATA[**************************************************************************** UPDATE: FBG Studios.com seems to be down right now. Also the video tutorial is set to private. So until further notice the only instructions are the written. **************************************************************************** Yesterday I was searching around the web and found this video on fbgstudios.com. It is a tutorial on how to add a custom boot screen to [...]]]></description>
			<content:encoded><![CDATA[<p><strong>****************************************************************************</strong><br />
<strong>UPDATE:</strong> FBG Studios.com seems to be down right now. Also the video tutorial is set to private. So until further notice the only instructions are the written.<br />
<strong>****************************************************************************</strong></p>
<p>Yesterday I was searching around the web and found this video on <a href="http://fbgstudios.com" target="_blank">fbgstudios.com</a>. It is a tutorial on how to add a custom boot screen to your Motorola Droid. It does require you to root your Droid, but hey, if you are ballsy enough to change your boot screen I bet you already have your Droid rooted!<br />
<span id="more-484"></span><br />
<strong>Here is the video tutorial:</strong></p>
<div style="text-align: center;"><object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="480" height="295" 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://www.youtube.com/v/JhccSkNcUx8&amp;hl=en_US&amp;fs=1&amp;rel=0&amp;color1=0x3a3a3a&amp;color2=0x999999&amp;" /><param name="allowfullscreen" value="true" /><embed type="application/x-shockwave-flash" width="480" height="295" src="http://www.youtube.com/v/JhccSkNcUx8&amp;hl=en_US&amp;fs=1&amp;rel=0&amp;color1=0x3a3a3a&amp;color2=0x999999&amp;" allowscriptaccess="always" allowfullscreen="true"></embed></object></div>
<p><strong>Here is the text tutorial:</strong></p>
<p>1. Make sure that your phone is rooted, if it is not watch this video tutorial: http://www.youtube.com/watch?v=4QVm4SxH8Pw</p>
<p>2. Download an animation and make sure that it is named bootanimation.zip.</p>
<p>Here are some you can download (but there are plenty more online so you can google them):</p>
<ul>
<li><a href="http://alldroid.org/download/file.php?id=726" target="_blank">Nexus One</a></li>
<li><a href="http://alldroid.org/download/file.php?id=752" target="_blank">3d Android</a></li>
<li><a href="http://alldroid.org/download/file.php?id=916" target="_blank">R2-D2</a> (MAKE SURE TO RENAME IT TO “BootAnimation”)</li>
</ul>
<p>3 OPTIONAL</p>
<p>* a) To customize the animation just add the text or image you want. Remember that each picture is a frame and that each frame moves very quickly so if you want solid text make sure to put it on for more than 15 frames. Also keep in mind that there are two animations (part0 and part1) and part is the one that repeats.<br />
* b) Now highlight folders part0 and part1 as well as desc.txt file.<br />
* c) Using WinRAR right click and select “Add to archive…”. IMPORTANT: Make sure that the file is named “bootanimation” and the file format is .zip!</p>
<p>4. Connect your USB on your Droid and make sure it is mounted!</p>
<p>5. Go to your SD card of your phone and drag the bootanimation.zip into the root folder.</p>
<p>6. Eject your phone</p>
<p>7. Download Terminal Emulator for you phone then open it up</p>
<p>8. Type in the following (EXACTLY THE WAY YOU SEE IT; press enter after each line):</p>
<p>su<br />
mount -o remount,rw -t yaffs2 /dev/block/mtdblock3 /system<br />
dd if=/sdcard/bootanimation.zip of=/system/media/bootanimation.zip<br />
Reboot</p>
<p>9. Your phone will be rebooted and now you can enjoy your new custom bootscreen!</p>
<p>Again I want to give credit to <a href="http://fbgstudios.com" target="_blank">FBG Studios.com</a>, so make sure and visit their site.</p>
<p>Here is a direct link to the tutorial: <a href="http://fbgstudios.com/how-to-get-a-custom-boot-screen-on-droid/2009/12/">http://fbgstudios.com/how-to-get-a-custom-boot-screen-on-droid/2009/12/</a></p>
]]></content:encoded>
			<wfw:commentRss>http://tonyvirelli.com/2009/12/31/how-to-get-a-custom-boot-screen-on-droid/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>URL Shortening, for the Faint of Heart</title>
		<link>http://tonyvirelli.com/2009/12/24/url-shortening-for-the-faint-of-heart/?utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=url-shortening-for-the-faint-of-heart</link>
		<comments>http://tonyvirelli.com/2009/12/24/url-shortening-for-the-faint-of-heart/#comments</comments>
		<pubDate>Thu, 24 Dec 2009 14:30:53 +0000</pubDate>
		<dc:creator>John Hass</dc:creator>
				<category><![CDATA[Miscellaneous]]></category>
		<category><![CDATA[slider]]></category>
		<category><![CDATA[bit.ly]]></category>
		<category><![CDATA[short]]></category>
		<category><![CDATA[shorten]]></category>
		<category><![CDATA[shortner]]></category>
		<category><![CDATA[url]]></category>

		<guid isPermaLink="false">http://tonyvirelli.com/?p=312</guid>
		<description><![CDATA[Hello, Hello, Hello. Quick tut on bit.ly in PHP, nothing more nothing less (and yes I said PHP not Perl like I am so fond of). In order to use this code you need a bit.ly account. Visit http://bit.ly/account/register?rd=/ to get a login and a API Key. Here is the function: &#60;?php function shortenURL&#40;$url&#41; &#123; [...]]]></description>
			<content:encoded><![CDATA[<p>Hello, Hello, Hello.  Quick tut on bit.ly in PHP, nothing more nothing less (and yes I said PHP not Perl like I am so fond of). In order to use this code you need a bit.ly account. Visit <a href="http://bit.ly/account/register?rd=/">http://bit.ly/account/register?rd=/</a> to get a login and a API Key.<br />
<span id="more-312"></span><br />
Here is the function:</p>

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;"><span style="color: #000000; font-weight: bold;">&lt;?php</span>
<span style="color: #000000; font-weight: bold;">function</span> shortenURL<span style="color: #009900;">&#40;</span><span style="color: #000088;">$url</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
<span style="color: #000088;">$login</span> <span style="color: #339933;">=</span> <span style="color: #0000ff;">&quot;yourlogin&quot;</span><span style="color: #339933;">;</span>
<span style="color: #000088;">$apikey</span> <span style="color: #339933;">=</span> <span style="color: #0000ff;">&quot;your api key&quot;</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #000088;">$newurl</span> <span style="color: #339933;">=</span> <span style="color: #990000;">file_get_contents</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;http://api.bit.ly/shorten?version=2.0.1&amp;longUrl=&quot;</span><span style="color: #339933;">.</span><span style="color: #000088;">$url</span><span style="color: #339933;">.</span><span style="color: #0000ff;">&quot;&amp;login=&quot;</span><span style="color: #339933;">.</span><span style="color: #000088;">$login</span><span style="color: #339933;">.</span><span style="color: #0000ff;">&quot;&amp;apiKey=&quot;</span><span style="color: #339933;">.</span><span style="color: #000088;">$apikey</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #000088;">$content</span> <span style="color: #339933;">=</span> <span style="color: #990000;">json_decode</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$newurl</span><span style="color: #339933;">,</span><span style="color: #009900; font-weight: bold;">true</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #000088;">$error</span> <span style="color: #339933;">=</span> <span style="color: #000088;">$content</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">&quot;errorCode&quot;</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">;</span>
<span style="color: #b1b100;">if</span> <span style="color: #009900;">&#40;</span><span style="color: #000088;">$error</span> <span style="color: #339933;">==</span> <span style="color: #cc66cc;">0</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#123;</span>
<span style="color: #000088;">$newurl</span> <span style="color: #339933;">=</span> <span style="color: #000088;">$content</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">&quot;results&quot;</span><span style="color: #009900;">&#93;</span><span style="color: #009900;">&#91;</span><span style="color: #000088;">$url</span><span style="color: #009900;">&#93;</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">&quot;shortUrl&quot;</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">;</span>
<span style="color: #009900;">&#125;</span><span style="color: #b1b100;">else</span> <span style="color: #009900;">&#123;</span>
<span style="color: #000088;">$newurl</span> <span style="color: #339933;">=</span> <span style="color: #cc66cc;">0</span><span style="color: #339933;">;</span>
<span style="color: #009900;">&#125;</span>
&nbsp;
<span style="color: #b1b100;">return</span> <span style="color: #000088;">$newurl</span><span style="color: #339933;">;</span>
<span style="color: #009900;">&#125;</span>
<span style="color: #000000; font-weight: bold;">?&gt;</span></pre></div></div>

<p>Just include this file in any script and call</p>
<p>and boom it&#8217;s shortened.</p>
<p>Merry Christmas you filthy animal.</p>
]]></content:encoded>
			<wfw:commentRss>http://tonyvirelli.com/2009/12/24/url-shortening-for-the-faint-of-heart/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Dreamweaver Crashing After Daylight Savings Time</title>
		<link>http://tonyvirelli.com/2008/11/06/dreamweaver-crashing-after-daylight-savings-time/?utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=dreamweaver-crashing-after-daylight-savings-time</link>
		<comments>http://tonyvirelli.com/2008/11/06/dreamweaver-crashing-after-daylight-savings-time/#comments</comments>
		<pubDate>Thu, 06 Nov 2008 10:18:03 +0000</pubDate>
		<dc:creator>Tony Virelli</dc:creator>
				<category><![CDATA[Miscellaneous]]></category>
		<category><![CDATA[slider]]></category>
		<category><![CDATA[adobe]]></category>
		<category><![CDATA[crash]]></category>
		<category><![CDATA[cs3]]></category>
		<category><![CDATA[cs4]]></category>
		<category><![CDATA[daylight savings time]]></category>
		<category><![CDATA[dreamweaver]]></category>

		<guid isPermaLink="false">http://tonyvirelli.com/?p=199</guid>
		<description><![CDATA[UPDATE: I had the same problem happen in Dreamweaver CS4 as well! I was working on some PHP code yesterday. However, every time I would load any page that contained PHP code Dreamweaver CS3 (Dreamweaver 9) would crash. Note: The issue also occurred when trying to load PHP &#38; ASP code. After some research on [...]]]></description>
			<content:encoded><![CDATA[<p><strong><em>UPDATE: I had the same problem happen in Dreamweaver CS4 as well!</em></strong></p>
<p>I was working on some PHP code yesterday. However, every time I would load any page that contained PHP code Dreamweaver CS3 (Dreamweaver 9) would crash.</p>
<p>Note: The issue also occurred when trying to load PHP &amp; ASP code.</p>
<p>After some research on the internet I found this link:<br />
<a href="http://kb.adobe.com/selfservice/viewContent.do?externalId=kb402776">http://kb.adobe.com/selfservice/viewContent.do?externalId=kb402776</a></p>
<p>To solved the problem it is as easy as deleting your Dreamweaver cache file.<br />
<span id="more-199"></span><br />
That file is located in:</p>
<p><strong>Windows Vista -</strong></p>

<div class="wp_syntax"><div class="code"><pre class="text" style="font-family:monospace;">C:\Users\[username]\AppData\Roaming\Adobe\Dreamweaver 9\Configuration</pre></div></div>

<p><strong>Windows XP -</strong></p>

<div class="wp_syntax"><div class="code"><pre class="text" style="font-family:monospace;">C:\Documents and Settings\[username]\Application Data\Adobe\Dreamweaver 9\Configuration</pre></div></div>

<p>Just close Dreamweaver delete the file named WinFileCache-AD76BB20.dat, then start Dreamweaver again.</p>
<p>Simple as that. For more detailed instructions see the link above.</p>
]]></content:encoded>
			<wfw:commentRss>http://tonyvirelli.com/2008/11/06/dreamweaver-crashing-after-daylight-savings-time/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
