<?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>Shaun Ambrose &#187; How to</title>
	<atom:link href="http://www.shaunambrose.com/category/how-to/feed" rel="self" type="application/rss+xml" />
	<link>http://www.shaunambrose.com</link>
	<description>Just another WordPress weblog</description>
	<lastBuildDate>Thu, 05 Aug 2010 20:11:52 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>How to fix a &#8220;sqlite3.dll missing&#8221; error message in Ruby on Rails</title>
		<link>http://www.shaunambrose.com/how-to-fix-a-sqlite3-dll-missing-error-message-in-ruby-on-rails</link>
		<comments>http://www.shaunambrose.com/how-to-fix-a-sqlite3-dll-missing-error-message-in-ruby-on-rails#comments</comments>
		<pubDate>Thu, 05 Aug 2010 20:10:35 +0000</pubDate>
		<dc:creator>Shaun</dc:creator>
				<category><![CDATA[How to]]></category>
		<category><![CDATA[Ruby on Rails]]></category>
		<category><![CDATA[Web Development]]></category>
		<category><![CDATA[howto]]></category>

		<guid isPermaLink="false">http://www.shaunambrose.com/?p=433</guid>
		<description><![CDATA[Here&#8217;s a little reminder for myself on how I fixed the &#8220;sqlite3.dll missing&#8221; error message I was getting while setting up a new Ruby on Rails environment. First, I downloaded the latest SQlite3 DLL. (I grabbed the DLL of the SQLite library without the TCL bindings.) Then, I exracted the .dll and .def files to [...]]]></description>
			<content:encoded><![CDATA[<p>Here&#8217;s a little reminder for myself on how I fixed the &#8220;sqlite3.dll missing&#8221; error message I was getting while setting up a new Ruby on Rails environment.<br />
<span id="more-433"></span></p>
<p>First, I downloaded the latest <a href="http://www.sqlite.org/download.html">SQlite3 DLL.</a> (I grabbed the DLL of the SQLite library without the TCL bindings.)</p>
<p>Then, I exracted the .dll and .def files to my C:\ruby\bin directory and that fixed my issue. (You&#8217;ll might have to restart your console session.) </p>
<p>These steps will also fix this error message:<br />
&#8220;The procedure entry point sqlite3_column_database_name could not be located in the dynamic link library sqlite3.dll.&#8221;</p>
<p>Hope this helps someone else running into the same issue.</p>
 <img src="http://www.shaunambrose.com/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?view=1&post_id=433" width="1" height="1" style="display: none;" />]]></content:encoded>
			<wfw:commentRss>http://www.shaunambrose.com/how-to-fix-a-sqlite3-dll-missing-error-message-in-ruby-on-rails/feed</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>How to get the Citi Cards website to work in Opera</title>
		<link>http://www.shaunambrose.com/how-to-get-the-citi-cards-website-to-work-in-opera</link>
		<comments>http://www.shaunambrose.com/how-to-get-the-citi-cards-website-to-work-in-opera#comments</comments>
		<pubDate>Sat, 05 Jun 2010 20:57:18 +0000</pubDate>
		<dc:creator>Shaun</dc:creator>
				<category><![CDATA[How to]]></category>
		<category><![CDATA[Internet]]></category>
		<category><![CDATA[Random Stuff]]></category>
		<category><![CDATA[opera]]></category>

		<guid isPermaLink="false">http://www.shaunambrose.com/?p=414</guid>
		<description><![CDATA[If you can&#8217;t log in to the Citi Cards website in Opera, here are a couple of ways to fix that&#8230; You need to disable Flash to get the Citi Cards website to work. For a temporary fix. Press F12 to bring up Quick Preferences and uncheck Enable Plugins. But you&#8217;ll have to remember to [...]]]></description>
			<content:encoded><![CDATA[<p>If you can&#8217;t log in to the Citi Cards website in Opera, here are a couple of ways to fix that&#8230;<br />
<span id="more-414"></span><br />
You need to disable Flash to get the Citi Cards website to work.</p>
<ul>
<li>For a temporary fix. Press F12 to bring up Quick Preferences and uncheck Enable Plugins.
<li>
</ul>
<p>But you&#8217;ll have to remember to enable/re-enable this every time. Or you can setup a a Site Preference to permanently disable Flash for the entire site.</p>
<ul>
<li>Go to the Preferences settings by pressing Ctrl + F12. Go to the Advanced tab. Click on Content, then click on the Manage Site Preferences button.
<li>Now add a new entry, for the site enter: www.citicards.com and then under the Content tab uncheck Enable Plugins.
</ul>
<p>After you do this, you should be able to use the site with no problems.</p>
 <img src="http://www.shaunambrose.com/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?view=1&post_id=414" width="1" height="1" style="display: none;" />]]></content:encoded>
			<wfw:commentRss>http://www.shaunambrose.com/how-to-get-the-citi-cards-website-to-work-in-opera/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to fix &#8220;find as you type&#8221; in Opera 10.50</title>
		<link>http://www.shaunambrose.com/how-to-fix-find-as-you-type-in-opera-10-50</link>
		<comments>http://www.shaunambrose.com/how-to-fix-find-as-you-type-in-opera-10-50#comments</comments>
		<pubDate>Fri, 05 Mar 2010 07:43:25 +0000</pubDate>
		<dc:creator>Shaun</dc:creator>
				<category><![CDATA[How to]]></category>
		<category><![CDATA[Internet]]></category>
		<category><![CDATA[opera]]></category>

		<guid isPermaLink="false">http://www.shaunambrose.com/?p=408</guid>
		<description><![CDATA[Here&#8217;s how to fix &#8220;find as you type&#8221; and &#8220;find in page&#8221; in the new version of Opera (10.50). I upgraded to the new version of Opera and &#8220;find as you type&#8221; wasn&#8217;t highlighting the search terms. Also, &#8220;find in page&#8221; wasn&#8217;t working either; when I was hitting Enter, it was taking me to a [...]]]></description>
			<content:encoded><![CDATA[<p>Here&#8217;s how to fix &#8220;find as you type&#8221; and &#8220;find in page&#8221; in the new version of Opera (10.50).<br />
<span id="more-408"></span><br />
I upgraded to the new version of Opera and &#8220;find as you type&#8221; wasn&#8217;t highlighting the search terms. Also, &#8220;find in page&#8221; wasn&#8217;t working either; when I was hitting Enter, it was taking me to a dictionary page. This was really frustrating! Thanks to the <a href="http://my.opera.com/community/forums/topic.dml?id=405491&#038;t=1265954744&#038;page=1#comment4181441">Opera Forums</a> I found out how to fix this.</p>
<p>To fix it, edit your search.ini file and add this entry.</p>
<pre><code>
[Search Engine 23]
UNIQUEID=368291005FC211DD8DE6B90756D89593
Name=
URL=
Query=
Key=f
Is post=0
Has endseparator=0
Encoding=
Search Type=12
Verbtext=0
Position=-1
Nameid=71103
</code></pre>
<p>Just replace &#8220;23&#8243; with the next sequence in your search.ini file. So, if your last entry was Search Engine 15, this one should be Search Engine 16. Restart Opera and it should be fixed! </p>
 <img src="http://www.shaunambrose.com/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?view=1&post_id=408" width="1" height="1" style="display: none;" />]]></content:encoded>
			<wfw:commentRss>http://www.shaunambrose.com/how-to-fix-find-as-you-type-in-opera-10-50/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to create a secret storage in an electrical box</title>
		<link>http://www.shaunambrose.com/how-to-create-a-secret-storage-in-an-electrical-box</link>
		<comments>http://www.shaunambrose.com/how-to-create-a-secret-storage-in-an-electrical-box#comments</comments>
		<pubDate>Mon, 15 Feb 2010 02:40:24 +0000</pubDate>
		<dc:creator>Shaun</dc:creator>
				<category><![CDATA[Around the House]]></category>
		<category><![CDATA[How to]]></category>

		<guid isPermaLink="false">http://www.shaunambrose.com/?p=383</guid>
		<description><![CDATA[Here&#8217;s how I made a secret storage space in an electrical box. This was pretty easy project to do, the hardest parts where figuring out where I wanted my secret storage and making an extra trip to the hardware store for a larger coaxial cover plate. This was an inexpensive project too, total cost for [...]]]></description>
			<content:encoded><![CDATA[<p><img src="http://www.shaunambrose.com/wp-content/uploads/2010/02/secret-storage-finished.jpg" alt="" title="secret-storage-finished" width="535" height="305" class="alignnone size-full wp-image-387" /><br />
Here&#8217;s how I made a secret storage space in an electrical box.<br />
<span id="more-383"></span><br />
This was pretty easy project to do, the hardest parts where figuring out where I wanted my secret storage and making an extra trip to the hardware store for a larger coaxial cover plate. This was an inexpensive project too, total cost for materials was less than $10.<br />
<br clear="none" /></p>
<h3>Materials</h3>
<p><img src="http://www.shaunambrose.com/wp-content/uploads/2010/02/secret-storage-materials.jpg" alt="" title="secret-storage-materials" width="535" height="419" class="alignnone size-full wp-image-389" /><br />
Here&#8217;s the materials I used:</p>
<ul>
<li><strong>Electrical Box</strong> &#8211; I got the deepest one I could find to optimize secret storage space. I also picked one up with fold-out ears; the ears swing out behind the drywall and keep the box in place.</li>
<li><strong>Coaxial Cover Plate</strong> &#8211; I used a coaxial cover plate, because you can use the coaxial knob as a little handle to grab onto to remove the plate. Also, be sure to get one that is large enough to fit over the electrical box, they make some that are smaller that won&#8217;t work as well. I made this mistake and I had to make an extra trip to the hardware store.</li>
<li><strong>Magnets</strong> &#8211; I found these at Michaels. I used these to hold the cover plate in place, that way I didn&#8217;t have to unscrew the screws every time I wanted to get into my secret storage.</li>
</ul>
<h3>Installation</h3>
<p><img src="http://www.shaunambrose.com/wp-content/uploads/2010/02/secret-storage-installation.jpg" alt="" title="secret-storage-installation" width="535" height="292" class="alignnone size-full wp-image-391" /><br />
First, I decided where I wanted it. <strong>(1)</strong> Then, I used a stud senor to make sure there was nothing behind the wall. <strong>(2)</strong> I traced around the outlet box and <strong>(3)</strong> used a drywall saw to cut the hole. <strong>(4)</strong> The outlet box fit nicely in the hole; so I tightened the screws with the fold-out ears; the ears grab the back of the drywall making a snug fit.<br />
<br clear="none" /></p>
<h3>Cover Plate</h3>
<p>After the electrical box is installed, you can put the cover plate on with the provided screws. This has it&#8217;s advantages because it&#8217;s a little more secure, but makes it more cumbersome to access, since you have to unscrew the screws every time you want to get into your secret storage. So, that&#8217;s why I decided to use magnets to hold the cover plate in place. To do this, I super glued the screws into the cover plate and used a dremel to cut off the excess screw. Then the magnets will stick to the end of the screw. I also used screws in the electrical box for the magnets to stick to. This works well because you can tighten or loosen the screws in the box to make the cover plate fit flush with the wall. Once you have the cover plate on, you&#8217;re done!<br />
<br clear="none" /><br />
<img src="http://www.shaunambrose.com/wp-content/uploads/2010/02/secret-storage-covered2.jpg" alt="" title="secret-storage-covered" width="535" height="388" class="alignnone size-full wp-image-403" /></p>
 <img src="http://www.shaunambrose.com/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?view=1&post_id=383" width="1" height="1" style="display: none;" />]]></content:encoded>
			<wfw:commentRss>http://www.shaunambrose.com/how-to-create-a-secret-storage-in-an-electrical-box/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to create migrations in Ruby on Rails that only run in the development enviroment</title>
		<link>http://www.shaunambrose.com/how-to-create-migrations-in-ruby-on-rails-that-only-run-in-the-development-enviroment</link>
		<comments>http://www.shaunambrose.com/how-to-create-migrations-in-ruby-on-rails-that-only-run-in-the-development-enviroment#comments</comments>
		<pubDate>Sat, 13 Feb 2010 06:52:17 +0000</pubDate>
		<dc:creator>Shaun</dc:creator>
				<category><![CDATA[How to]]></category>
		<category><![CDATA[Ruby on Rails]]></category>
		<category><![CDATA[Web Development]]></category>
		<category><![CDATA[howto]]></category>

		<guid isPermaLink="false">http://www.shaunambrose.com/?p=371</guid>
		<description><![CDATA[This is a reminder for myself for when I want to use a migration to create test data for the development environment only. I thought it would be as easy as using the environment variable ENV['RAILS_ENV'] in the migration to see which environment you&#8217;re in, but this doesn&#8217;t work. After a little searching, it is [...]]]></description>
			<content:encoded><![CDATA[<p>This is a reminder for myself for when I want to use a migration to create test data for the development environment only.<br />
<span id="more-371"></span><br />
I thought it would be as easy as using the environment variable <strong>ENV['RAILS_ENV']</strong> in the migration to see which environment you&#8217;re in, but this doesn&#8217;t work. After a little searching, it is as easy as I thought; you just have to use the constant <strong>RAILS_ENV</strong>. So, your migration would look something like this:</p>
<pre><code>
def self.up
  if RAILS_ENV == 'development'
    # set all of your test data for development...
  end
end
</code></pre>
 <img src="http://www.shaunambrose.com/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?view=1&post_id=371" width="1" height="1" style="display: none;" />]]></content:encoded>
			<wfw:commentRss>http://www.shaunambrose.com/how-to-create-migrations-in-ruby-on-rails-that-only-run-in-the-development-enviroment/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How I built my vermicomposter</title>
		<link>http://www.shaunambrose.com/how-i-built-my-vermicomposter</link>
		<comments>http://www.shaunambrose.com/how-i-built-my-vermicomposter#comments</comments>
		<pubDate>Tue, 02 Feb 2010 23:44:13 +0000</pubDate>
		<dc:creator>Shaun</dc:creator>
				<category><![CDATA[Around the House]]></category>
		<category><![CDATA[How to]]></category>
		<category><![CDATA[Vermicomposting]]></category>

		<guid isPermaLink="false">http://www.shaunambrose.com/?p=295</guid>
		<description><![CDATA[This is my first vermicomposter. Here&#8217;s my how-to instructions on how I built my worm bin. This is the first worm bin I&#8217;ve built, so it has been a learning experience for me. While doing research for my worm bin, I found many different shapes and sizes for bins; some are made from wood, some [...]]]></description>
			<content:encoded><![CDATA[<p><img src="http://www.shaunambrose.com/wp-content/uploads/2010/02/vermicomposter1.jpg" alt="" title="vermicomposter" width="535" height="373" class="alignnone size-full wp-image-315" /></p>
<p>This is my first vermicomposter. Here&#8217;s my how-to instructions on how I built my worm bin.<br />
<span id="more-295"></span></p>
<p>This is the first worm bin I&#8217;ve built, so it has been a learning experience for me. While doing research for my worm bin, I found many different shapes and sizes for bins; some are made from wood, some from plastic, some have multiple layers&#8230; there doesn&#8217;t seem to be a universal worm bin. I was kind of fond of the ones that use plastic storage containers; they are easily attainable and don&#8217;t cost too much either, so I decided to use one of those. </p>
<p>I noticed most people drill holes in the container for ventilation, but I decided to go with louvre vents. From what I&#8217;ve read, the vents provide more air flow than simply drilling holes. And it makes it look snazzier too. I used <a href="http://www.redwormcomposting.com/worm-bins/the-mini-worm-composting-bin/"><strike>Mark&#8217;s</strike> Bently&#8217;s Mini Worm Composting Bin</a> for inspiration</p>
<p>Some systems have holes drilled on the bottom and have a lid or something to catch the worm tea. Or bins are nested, one inside the other to catch the worm tea. I didn&#8217;t like the idea of this too much because I&#8217;ve read the worms can fall through the holes. So I decided to install a drainage spigot on my worm bin.</p>
<p><strong>Here&#8217;s a list of materials and tools I used:</strong></p>
<ul>
<li>Rubbermaid plastic storage bin</li>
<li>8 &#8211; 2&#8243; louvre vents</li>
<li>Spigot</li>
<li>Pen/Marker</li>
<li>Dremel</li>
</ul>
<p><img src="http://www.shaunambrose.com/wp-content/uploads/2010/02/vermicomposter-materials.jpg" alt="Materials and tools for my Vermicomposter" title="vermicomposter-materials" width="535" height="459" class="alignnone size-full wp-image-300" /></p>
<p>First, I decided where I wanted the vents; four on the lid. Then I traced around the vents with a marker and used the dremel to cut out the holes for the vents.</p>
<p><img src="http://www.shaunambrose.com/wp-content/uploads/2010/02/vermicomposter-instructions1.jpg" alt="" title="vermicomposter-instructions1" width="535" height="191" class="alignnone size-full wp-image-302" /></p>
<p>I did the exact same thing for the sides; two vents on each side and for the spigot.<br />
<img src="http://www.shaunambrose.com/wp-content/uploads/2010/02/vermicomposter-instructions2.jpg" alt="" title="vermicomposter-instructions2" width="535" height="297" class="alignnone size-full wp-image-304" /></p>
<p><strong>Here are some tips I learned when building my worm bin:</strong></p>
<ul>
<li>When cutting out the holes for the vents, cut slightly on the outside of the marker line. If you cut on the inside, the hole will be too small for the vent.</li>
<li>Most of my vents fit perfectly snug, but two of them were loose and wouldn&#8217;t stay in. So I doubled-up a rubber band and used that on the inside of the vent to kept it in place.</li>
<li>Be sure to peel off the price tag stickers on the vents before you install them for maximum ventilation.</li>
<li>I found the louvre vents at my local hardware store; down the building materials isle, next to the parts for gutters.</li>
</ul>
<p>Here&#8217;s my finished vermicomposter. Now I just need to get some worms!<br />
<img src="http://www.shaunambrose.com/wp-content/uploads/2010/02/vermicomposter-finished.jpg" alt="" title="vermicomposter-finished" width="535" height="476" class="alignnone size-full wp-image-310" /></p>
 <img src="http://www.shaunambrose.com/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?view=1&post_id=295" width="1" height="1" style="display: none;" />]]></content:encoded>
			<wfw:commentRss>http://www.shaunambrose.com/how-i-built-my-vermicomposter/feed</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>How to add line breaks in a WordPress post</title>
		<link>http://www.shaunambrose.com/how-to-add-line-breaks-in-a-wordpress-post</link>
		<comments>http://www.shaunambrose.com/how-to-add-line-breaks-in-a-wordpress-post#comments</comments>
		<pubDate>Sat, 16 Jan 2010 21:38:24 +0000</pubDate>
		<dc:creator>Shaun</dc:creator>
				<category><![CDATA[How to]]></category>
		<category><![CDATA[Wordpress]]></category>
		<category><![CDATA[howto]]></category>

		<guid isPermaLink="false">http://www.shaunambrose.com/?p=238</guid>
		<description><![CDATA[Do you find it annoying that WordPress removes all of the &#60;br /&#62; tags from your post? Me too, so I did some research on how to fix this. I found a lot of wonky solutions, but I did find two worth mentioning. First, you can install the TinyMCE Advanced plugin for WordPress. After this [...]]]></description>
			<content:encoded><![CDATA[<p>Do you find it annoying that WordPress removes all of the &lt;br /&gt; tags from your post? Me too, so I did some research on how to fix this. I found a lot of wonky solutions, but I did find two worth mentioning.</p>
<p><span id="more-238"></span></p>
<p>First, you can install the <a href="http://wordpress.org/extend/plugins/tinymce-advanced/">TinyMCE Advanced</a> plugin for WordPress. After this is installed, go into the TinyMCE Advanced settings and enable the option &#8211; &#8220;Stop removing the &lt;p&gt; and &lt;br /&gt; tags when saving and show them in the HTML editor&#8221;. And then you can add all the &lt;br /&gt; tags you want.</p>
<p>The second solution, which I like better is to use &lt;br clear=&#8221;none&#8221; /&gt; in your posts. This will work without any plugins. Now, a couple of things worth mentioning. If you put this tag on it&#8217;s own line in your post, WordPress will put &lt;br clear=&#8221;none&#8221; /&gt; and &lt;br  /&gt; inside of a &lt;p&gt;, thus making it two line breaks. But if you use it on the same line as another sentence, it will only add one line break. Either way, you can control the formatting of the line breaks with CSS using something like this&#8230;</p>
<pre>
<code>
br[clear="none"] {
  margin: 5px 0;
}

.entry br {
  margin: 2px 0;
}
</code>
</pre>
<p>I hope this was helpful. Also, if you want to learn how to stop WordPress from automatically adding &lt;p&gt; and &lt;br /&gt; to your post, read my other post: <a href="http://www.shaunambrose.com/how-to-control-wordpress-html-formatting">How to control WordPress HTML formatting</a>.</p>
 <img src="http://www.shaunambrose.com/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?view=1&post_id=238" width="1" height="1" style="display: none;" />]]></content:encoded>
			<wfw:commentRss>http://www.shaunambrose.com/how-to-add-line-breaks-in-a-wordpress-post/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to add a delay to a jQuery animation</title>
		<link>http://www.shaunambrose.com/how-to-add-a-delay-to-a-jquery-animation</link>
		<comments>http://www.shaunambrose.com/how-to-add-a-delay-to-a-jquery-animation#comments</comments>
		<pubDate>Fri, 15 Jan 2010 21:41:32 +0000</pubDate>
		<dc:creator>Shaun</dc:creator>
				<category><![CDATA[How to]]></category>
		<category><![CDATA[Web Development]]></category>
		<category><![CDATA[jquery]]></category>

		<guid isPermaLink="false">http://www.shaunambrose.com/?p=205</guid>
		<description><![CDATA[A couple of days ago, I was looking for a way to add a pause after an animation was triggered. This was before jQuery 1.4 was released. I found a couple of solutions including using the javascript function setTimeout or some people would imitate a delay by setting an animation for the desired number of [...]]]></description>
			<content:encoded><![CDATA[<p>A couple of days ago, I was looking for a way to add a pause after an animation was triggered. This was before jQuery 1.4 was released. I found a couple of solutions including using the javascript function setTimeout or some people would imitate a delay by setting an animation for the desired number of seconds that doesn&#8217;t change anything. Something like this&#8230;</p>
<p><span id="more-205"></span></p>
<pre>
<code>
$("#box1").fadeTo(1000, 0).fadeTo(3000, 0).fadeTo(1000, 1);
</code>
</pre>
<p>This will fade out an element in 1 second, then it will &#8220;pause&#8221; by setting another animation for 3 seconds that doesn&#8217;t change anything, then it will change it back to 100% opacity. It&#8217;s kind of an awkward way to do it.</p>
<p>But now with jQuery 1.4, things are a lot easier. You just need to just need to use the delay() function. Like so&#8230;</p>
<pre>
<code>
$("#box2").fadeTo(1000, 0).delay(3000).fadeTo(1000, 1);
</code>
</pre>
<div style="width:40px; height:40px; background:#c78b8b; border:1px solid #4f4f4f;" onclick="$(this).fadeTo(1000, 0).delay(3000).fadeTo(1000, 1);"></div>
<p>Click on the box and notice there is a 3 second delay after the box fades out, before it reappears. Visually, the effect looks exactly the same before the delay() function was introduced, but the code is nicer now.</p>
<p><br clear="none" />To set the delay before an animation fires, do this&#8230;</p>
<pre>
<code>
$("#box3").delay(3000).fadeTo(1000, .1);
</code>
</pre>
<p>Now there will be a 3 second delay before the box fades:</p>
<div style="width:40px; height:40px; background:#c78b8b; border:1px solid #4f4f4f;" onclick="$(this).delay(3000).fadeTo(1000, .1);"></div>
<p><br clear="none" />Or if you want to set the delay after an animation fires. Like a delay before your next lines of code are fired, do something like this&#8230; (I&#8217;m not sure if this is the best way, but it&#8217;ll work.)</p>
<pre>
<code>
$("#box4").fadeTo(1000, .1).delay(3000).fadeTo(1, .1);
</code>
</pre>
<p>And that&#8217;s all there is too it. To read more about the delay() function, <a href="http://api.jquery.com/delay/">check out the jQuery documentation.</a></p>
 <img src="http://www.shaunambrose.com/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?view=1&post_id=205" width="1" height="1" style="display: none;" />]]></content:encoded>
			<wfw:commentRss>http://www.shaunambrose.com/how-to-add-a-delay-to-a-jquery-animation/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to get the Extract filter back in Photoshop CS4</title>
		<link>http://www.shaunambrose.com/how-to-get-the-extract-filter-back-in-photoshop-cs4</link>
		<comments>http://www.shaunambrose.com/how-to-get-the-extract-filter-back-in-photoshop-cs4#comments</comments>
		<pubDate>Thu, 14 Jan 2010 07:11:08 +0000</pubDate>
		<dc:creator>Shaun</dc:creator>
				<category><![CDATA[How to]]></category>
		<category><![CDATA[Photoshop]]></category>

		<guid isPermaLink="false">http://www.shaunambrose.com/?p=228</guid>
		<description><![CDATA[While re-designing my site, I had to extract some bonzai from their backgrounds. I thought the Extract filter in Photoshop would be perfect for this. But when I fired up Photoshop and went to the Filters menu, I didn&#8217;t see the Extract filter. Photoshop CS4 has been out for a while now, but this was [...]]]></description>
			<content:encoded><![CDATA[<p>While re-designing my site, I had to extract some bonzai from their backgrounds. I thought the Extract filter in Photoshop would be perfect for this. But when I fired up Photoshop and went to the Filters menu, I didn&#8217;t see the Extract filter. Photoshop CS4 has been out for a while now, but this was the first time I tried to use the Extract filter. After some research on the Internet, I found out <a href="http://blogs.adobe.com/jnack/2008/10/where_did_extra.html">the Extract filter along with other features were removed from CS4.</a></p>
<p><span id="more-228"></span><br />
To get it back, you can copy the Extract filter from your Photoshop CS3 directory. It should be in the &#8220;Adobe Photoshop CS3\Plug-ins\Filters&#8221; directory.</p>
<p>Or you can download the Optional Plug-ins pack from Adobe.</p>
<ul>
<li>For Windows: <a href="http://www.adobe.com/support/downloads/detail.jsp?ftpID=4048">Adobe Photoshop CS4 Optional plug-ins</a>
<li>For Mac: <a href="http://www.adobe.com/support/downloads/detail.jsp?ftpID=4047">Adobe Photoshop CS4 Optional plug-ins</a>
</ul>
<p>After you&#8217;ve downloaded the plug-ins, just extract the &#8220;Extract&#8221; filter and drop it into your filters directory, &#8220;Adobe Photoshop CS4\Plug-ins\Filters&#8221;.</p>
<p>This will get the Extract filter back for now, but it sounds like in future versions, Photoshop will have the features of Extract built-in to other tools.</p>
 <img src="http://www.shaunambrose.com/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?view=1&post_id=228" width="1" height="1" style="display: none;" />]]></content:encoded>
			<wfw:commentRss>http://www.shaunambrose.com/how-to-get-the-extract-filter-back-in-photoshop-cs4/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to get the Calibri font and others for free</title>
		<link>http://www.shaunambrose.com/how-to-get-the-calibri-font-and-others-for-free</link>
		<comments>http://www.shaunambrose.com/how-to-get-the-calibri-font-and-others-for-free#comments</comments>
		<pubDate>Tue, 06 Oct 2009 03:32:00 +0000</pubDate>
		<dc:creator>Shaun</dc:creator>
				<category><![CDATA[How to]]></category>
		<category><![CDATA[Random Stuff]]></category>

		<guid isPermaLink="false">http://www.shaunambrose.com/?p=185</guid>
		<description><![CDATA[Here&#8217;s a way to get the following fonts for free: Cambria Calibri Candara Consolas Constantia Corbel The fonts come with Microsoft&#8217;s PowerPoint Viewer. Download that application, then use a program like 7-Zip to extract the files. You&#8217;ll then have the fonts for free without having to install any software. Download Microsoft Office PowerPoint Viewer 2007 [...]]]></description>
			<content:encoded><![CDATA[<p>Here&#8217;s a way to get the following fonts for free:</p>
<ul>
<li><strong>Cambria</strong></li>
<li><strong>Calibri</strong></li>
<li><strong>Candara</strong></li>
<li><strong>Consolas</strong></li>
<li><strong>Constantia</strong></li>
<li><strong>Corbel</strong></li>
</ul>
<p><span id="more-185"></span><br />
The fonts come with Microsoft&#8217;s PowerPoint Viewer. Download that application, then use a program like <a href="http://www.7-zip.org/">7-Zip</a> to extract the files. You&#8217;ll then have the fonts for free without having to install any software.</p>
<ul>
<li>Download <a href="http://www.microsoft.com/downloads/details.aspx?familyid=048DC840-14E1-467D-8DCA-19D2A8FD7485&#038;displaylang=en">Microsoft Office PowerPoint Viewer 2007</a></li>
<li>Then right-click the file and select &#8220;7-Zip&#8221; -> &#8220;Extract Here.&#8221;</li>
</ul>
<p>After the files have been extracted, you can sort the files by file type, then all of the fonts will be grouped for you to install. And there you go, you can have all the fonts without installing any software.</p>
 <img src="http://www.shaunambrose.com/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?view=1&post_id=185" width="1" height="1" style="display: none;" />]]></content:encoded>
			<wfw:commentRss>http://www.shaunambrose.com/how-to-get-the-calibri-font-and-others-for-free/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
