<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
<title>Snipplr</title>
<link>http://snipplr.com/favorites/indianocean</link>
<description>Recent snippets posted on Snipplr.com</description>
<language>en-us</language>
<pubDate>Tue, 07 Oct 2008 18:18:29 GMT</pubDate>
<item>
<title>(Bash) Eject CD From OS X Command Line - indianocean</title>
<link>http://snipplr.com/view/3059/eject-cd-from-os-x-command-line/</link>
<description><![CDATA[ <p>This command ejects a CD or DVD from the command line.</p> ]]></description>
<pubDate>Wed, 27 Jun 2007 15:31:19 GMT</pubDate>
<guid>http://snipplr.com/view/3059/eject-cd-from-os-x-command-line/</guid>
</item>
<item>
<title>(Bash) How to Flush Your DNS Cache on Apple Mac OS X - indianocean</title>
<link>http://snipplr.com/view/2587/how-to-flush-your-dns-cache-on-apple-mac-os-x/</link>
<description><![CDATA[ <p>Run this command in the Terminal on Mac OS X to flush the DNS cache on your computer. This is especially helpful when making changes to the host file.</p> ]]></description>
<pubDate>Wed, 02 May 2007 15:18:42 GMT</pubDate>
<guid>http://snipplr.com/view/2587/how-to-flush-your-dns-cache-on-apple-mac-os-x/</guid>
</item>
<item>
<title>(Rails) Ruby on Rails 301 Redirect - indianocean</title>
<link>http://snipplr.com/view/2497/ruby-on-rails-301-redirect/</link>
<description><![CDATA[ <p>This redirects visitors to a new URL using a 301 redirect. Using a 301 redirect is the safest way to let search engines like Google, Yahoo!, Live and Ask know your address has changed.</p> ]]></description>
<pubDate>Mon, 16 Apr 2007 21:50:50 GMT</pubDate>
<guid>http://snipplr.com/view/2497/ruby-on-rails-301-redirect/</guid>
</item>
<item>
<title>(CSS) Transparent PNG Fix for IE 5.5 &amp;amp; 6 - indianocean</title>
<link>http://snipplr.com/view/2243/transparent-png-fix-for-ie-55--6/</link>
<description><![CDATA[ <p>This is an excellent solution for fixing IE 6's inability to display transparent PNGs correctly.

Step 1: Include the following conditional comment the HEAD area of your document. You will need to update the CSS selector and also the path to whereever you put the .htc file.

&amp;lt;!--[if lte IE 6]&amp;gt;
&amp;lt;style type="text/css"&amp;gt;
&amp;#160;&amp;#160;img { behavior: url(/css/iepngfix.htc) }
&amp;lt;/style&amp;gt;
&amp;lt;![endif]--&amp;gt;

Step 2: Create a transparent GIF that's 1x1 and save it as blank.gif in your images folder.

Step 3. Copy the source below and save it in a file called iepngfix.htc and place it in your CSS folder. Note, you may need to update the images folder to match the folder you're using on your site.

That's it. Once you have everything in place and assuming everything is referenced correclty, PNG transparency will work in IE 6.</p> ]]></description>
<pubDate>Wed, 07 Mar 2007 12:10:25 GMT</pubDate>
<guid>http://snipplr.com/view/2243/transparent-png-fix-for-ie-55--6/</guid>
</item>
<item>
<title>(CSS) Internet Explorer (IE6) CSS Hover - indianocean</title>
<link>http://snipplr.com/view/1912/internet-explorer-ie6-css-hover/</link>
<description><![CDATA[ <p>IE6 and before doesn't support :hover in CSS (except for anchors). You can use this script to make hovers work in IE. Just add the following line to your stylesheet (this assumes the path of the file -- you may need to change it to reflect your paths).

body { behavior:url(&amp;quot;csshover.htc&amp;quot;); }</p> ]]></description>
<pubDate>Mon, 01 Jan 2007 20:17:07 GMT</pubDate>
<guid>http://snipplr.com/view/1912/internet-explorer-ie6-css-hover/</guid>
</item>
<item>
<title>(Java) Extract ZipEntry into a ByteArrayOutputStream - indianocean</title>
<link>http://snipplr.com/view/1745/extract-zipentry-into-a-bytearrayoutputstream/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Wed, 29 Nov 2006 04:29:32 GMT</pubDate>
<guid>http://snipplr.com/view/1745/extract-zipentry-into-a-bytearrayoutputstream/</guid>
</item>
<item>
<title>(HTML) Countries Menu - indianocean</title>
<link>http://snipplr.com/view/338/countries-menu/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Mon, 10 Jul 2006 15:07:00 GMT</pubDate>
<guid>http://snipplr.com/view/338/countries-menu/</guid>
</item>
<item>
<title>(JavaScript) Show Hide AJAX JavaScript Code - indianocean</title>
<link>http://snipplr.com/view/68/show-hide-ajax-javascript-code/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Wed, 28 Jun 2006 15:22:28 GMT</pubDate>
<guid>http://snipplr.com/view/68/show-hide-ajax-javascript-code/</guid>
</item>
</channel>
</rss>