<?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/Roshambo</link>
<description>Recent snippets posted on Snipplr.com</description>
<language>en-us</language>
<pubDate>Fri, 09 Jan 2009 07:57:11 GMT</pubDate>
<item>
<title>(Bash) bash lines for simple statistics on SSH break-in attempts - Roshambo</title>
<link>http://snipplr.com/view/7675/bash-lines-for-simple-statistics-on-ssh-breakin-attempts/</link>
<description><![CDATA[ <p>Assumes logs are in /var/log/sshd/* and makes a few text format assumptions that probably make this specific to OpenSSH.

Simple, but more than you can see from a quick less.</p> ]]></description>
<pubDate>Sat, 02 Aug 2008 12:50:13 GMT</pubDate>
<guid>http://snipplr.com/view/7675/bash-lines-for-simple-statistics-on-ssh-breakin-attempts/</guid>
</item>
<item>
<title>(ActionScript 3) force the garbage collection to do full collection pass - Roshambo</title>
<link>http://snipplr.com/view/6926/force-the-garbage-collection-to-do-full-collection-pass/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Thu, 26 Jun 2008 05:56:36 GMT</pubDate>
<guid>http://snipplr.com/view/6926/force-the-garbage-collection-to-do-full-collection-pass/</guid>
</item>
<item>
<title>(ActionScript 3) AS3: Save JPEG's from Flash - Roshambo</title>
<link>http://snipplr.com/view/6653/as3-save-jpegs-from-flash/</link>
<description><![CDATA[ <p>I found this excellent tutorial on how to save JPEG images from Flash.  You will need the Adobe JPEG Encoder class which can be found here: http://code.google.com/p/as3corelib/.  You will also need some server-side action which in this case was done in PHP</p> ]]></description>
<pubDate>Wed, 11 Jun 2008 11:05:41 GMT</pubDate>
<guid>http://snipplr.com/view/6653/as3-save-jpegs-from-flash/</guid>
</item>
<item>
<title>(JavaScript) jQuery - Window on Resize event - Roshambo</title>
<link>http://snipplr.com/view/6284/jquery--window-on-resize-event/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Sun, 18 May 2008 11:09:56 GMT</pubDate>
<guid>http://snipplr.com/view/6284/jquery--window-on-resize-event/</guid>
</item>
<item>
<title>(HTML) Country Drop Down List for Web Forms - Roshambo</title>
<link>http://snipplr.com/view/4792/country-drop-down-list-for-web-forms/</link>
<description><![CDATA[ <p>A comprehensive list of countries for an online form.</p> ]]></description>
<pubDate>Sun, 27 Jan 2008 16:34:22 GMT</pubDate>
<guid>http://snipplr.com/view/4792/country-drop-down-list-for-web-forms/</guid>
</item>
<item>
<title>(PHP) Anti-SQL Injection Function - Roshambo</title>
<link>http://snipplr.com/view/2742/antisql-injection-function/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Sun, 27 May 2007 11:53:02 GMT</pubDate>
<guid>http://snipplr.com/view/2742/antisql-injection-function/</guid>
</item>
<item>
<title>(Other) Force Website To Not Use WWW Prefix - Roshambo</title>
<link>http://snipplr.com/view/2613/force-website-to-not-use-www-prefix/</link>
<description><![CDATA[ <p>This mod_rewrite rule will force visitors who go to www.domain.com to be redirected to domain.com</p> ]]></description>
<pubDate>Tue, 08 May 2007 15:07:47 GMT</pubDate>
<guid>http://snipplr.com/view/2613/force-website-to-not-use-www-prefix/</guid>
</item>
<item>
<title>(Bash) Enable Safari Debug Menu - Roshambo</title>
<link>http://snipplr.com/view/2610/enable-safari-debug-menu/</link>
<description><![CDATA[ <p>Run this command in a terminal window to turn on Safari's debug menu.</p> ]]></description>
<pubDate>Mon, 07 May 2007 13:23:12 GMT</pubDate>
<guid>http://snipplr.com/view/2610/enable-safari-debug-menu/</guid>
</item>
<item>
<title>(ActionScript) AS2: Konami Contra Code for Flash - Roshambo</title>
<link>http://snipplr.com/view/2230/as2-konami-contra-code-for-flash/</link>
<description><![CDATA[ <p>I wanted to put the famous Konami - Contra easter egg in my flash game (up up down down left right left right). Here's how i did it.</p> ]]></description>
<pubDate>Wed, 28 Feb 2007 16:31:08 GMT</pubDate>
<guid>http://snipplr.com/view/2230/as2-konami-contra-code-for-flash/</guid>
</item>
<item>
<title>(CSS) CSS hack to target Safari - Roshambo</title>
<link>http://snipplr.com/view/2004/css-hack-to-target-safari/</link>
<description><![CDATA[ <p>I pulled this from Nicholas Gagne's blog at http://www.ibloomstudios.com/article1/</p> ]]></description>
<pubDate>Sat, 20 Jan 2007 12:05:18 GMT</pubDate>
<guid>http://snipplr.com/view/2004/css-hack-to-target-safari/</guid>
</item>
<item>
<title>(Bash) See if the power is connected on MacBook - Roshambo</title>
<link>http://snipplr.com/view/1938/see-if-the-power-is-connected-on-macbook/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Fri, 05 Jan 2007 17:37:11 GMT</pubDate>
<guid>http://snipplr.com/view/1938/see-if-the-power-is-connected-on-macbook/</guid>
</item>
<item>
<title>(PHP) Array of MIME Types - Roshambo</title>
<link>http://snipplr.com/view/1937/array-of-mime-types/</link>
<description><![CDATA[ <p>This is an associative array of nearly every common MIME type. It's useful when you need to serve a file for download but you don't know the correct content type. You can look it up using it's extension.</p> ]]></description>
<pubDate>Fri, 05 Jan 2007 15:23:45 GMT</pubDate>
<guid>http://snipplr.com/view/1937/array-of-mime-types/</guid>
</item>
<item>
<title>(CSS) Detectar automáticamente links externos con CSS, IE7 - Roshambo</title>
<link>http://snipplr.com/view/1775/detectar-automticamente-links-externos-con-css-ie7/</link>
<description><![CDATA[ <p>Por ejemplo, haciendo uso del operador ^= (que nos permite seleccionar solo aquellos elementos cuyo atributo especificado coincida, al comienzo de la cadena, con el valor especificado) podremos crear una reglas para determinar el aspecto de nuestros links en función de si son externos o internos. CSS3.</p> ]]></description>
<pubDate>Sat, 09 Dec 2006 05:15:21 GMT</pubDate>
<guid>http://snipplr.com/view/1775/detectar-automticamente-links-externos-con-css-ie7/</guid>
</item>
<item>
<title>(JavaScript) auto-pullquotes - Roshambo</title>
<link>http://snipplr.com/view/1336/autopullquotes/</link>
<description><![CDATA[ <p>wrap the text that will become a pullquote in a span element and give it the class name "pullquote"</p> ]]></description>
<pubDate>Fri, 06 Oct 2006 07:24:29 GMT</pubDate>
<guid>http://snipplr.com/view/1336/autopullquotes/</guid>
</item>
<item>
<title>(ActionScript) LoadMP3 - Roshambo</title>
<link>http://snipplr.com/view/1064/loadmp3/</link>
<description><![CDATA[ <p>Load external MP3 file</p> ]]></description>
<pubDate>Tue, 12 Sep 2006 11:54:30 GMT</pubDate>
<guid>http://snipplr.com/view/1064/loadmp3/</guid>
</item>
<item>
<title>(ActionScript) Rotate items while mouse moving - Roshambo</title>
<link>http://snipplr.com/view/1061/rotate-items-while-mouse-moving/</link>
<description><![CDATA[ <p>Useful for product showcases</p> ]]></description>
<pubDate>Tue, 12 Sep 2006 09:41:06 GMT</pubDate>
<guid>http://snipplr.com/view/1061/rotate-items-while-mouse-moving/</guid>
</item>
<item>
<title>(PHP) Generate Random String - Roshambo</title>
<link>http://snipplr.com/view/1027/generate-random-string/</link>
<description><![CDATA[ <p>Generates a random string of variable length.</p> ]]></description>
<pubDate>Thu, 07 Sep 2006 09:10:54 GMT</pubDate>
<guid>http://snipplr.com/view/1027/generate-random-string/</guid>
</item>
<item>
<title>(PHP) php file upload from local - Roshambo</title>
<link>http://snipplr.com/view/1014/php-file-upload-from-local/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Mon, 04 Sep 2006 22:51:52 GMT</pubDate>
<guid>http://snipplr.com/view/1014/php-file-upload-from-local/</guid>
</item>
<item>
<title>(JavaScript) Mouse Event - Roshambo</title>
<link>http://snipplr.com/view/591/mouse-event/</link>
<description><![CDATA[ <p>Support: Fx2, Opera9, IE6
Remodeled "Event.observe" of prototype.js... is necessary for this.  This is indispensable for MouseWheel to support.</p> ]]></description>
<pubDate>Thu, 27 Jul 2006 03:22:10 GMT</pubDate>
<guid>http://snipplr.com/view/591/mouse-event/</guid>
</item>
<item>
<title>(JavaScript) 去除字符串首尾的空格 - Roshambo</title>
<link>http://snipplr.com/view/573//</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Tue, 25 Jul 2006 00:48:04 GMT</pubDate>
<guid>http://snipplr.com/view/573//</guid>
</item>
</channel>
</rss>