<?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</link>
<description>Recent snippets posted on Snipplr.com</description>
<language>en-us</language>
<pubDate>Thu, 23 Feb 2012 04:44:39 GMT</pubDate>
<item>
<title>(JavaScript) Embed flash with swfobject.js using arrays - rickygri</title>
<link>http://snipplr.com/view/63520/embed-flash-with-swfobjectjs-using-arrays/</link>
<description><![CDATA[ <p>Shows how to use an array to embed swf objects with swfobject.js. This allows for multiple embeds (synced ad's etc.)</p> ]]></description>
<pubDate>Thu, 23 Feb 2012 03:22:32 GMT</pubDate>
<guid>http://snipplr.com/view/63520/embed-flash-with-swfobjectjs-using-arrays/</guid>
</item>
<item>
<title>(PHP) Force downloadable - rickygri</title>
<link>http://snipplr.com/view/63519/force-downloadable/</link>
<description><![CDATA[ <p>Force downloadable file with php</p> ]]></description>
<pubDate>Thu, 23 Feb 2012 03:19:06 GMT</pubDate>
<guid>http://snipplr.com/view/63519/force-downloadable/</guid>
</item>
<item>
<title>(CSS) Center Div - rickygri</title>
<link>http://snipplr.com/view/63518/center-div/</link>
<description><![CDATA[ <p>Align a div / element center in its parent</p> ]]></description>
<pubDate>Thu, 23 Feb 2012 03:16:24 GMT</pubDate>
<guid>http://snipplr.com/view/63518/center-div/</guid>
</item>
<item>
<title>(PHP) Get last day of month - bluecap</title>
<link>http://snipplr.com/view/63510/get-last-day-of-month/</link>
<description><![CDATA[ <p>Easy way to get the last day of a month in PHP.</p> ]]></description>
<pubDate>Wed, 22 Feb 2012 23:46:22 GMT</pubDate>
<guid>http://snipplr.com/view/63510/get-last-day-of-month/</guid>
</item>
<item>
<title>(Python) python terminal colour printing (termcolor) - Glycerine</title>
<link>http://snipplr.com/view/63508/python-terminal-colour-printing-termcolor/</link>
<description><![CDATA[ <p>Quick method for creating coloured tty in python terminal using 'termcolor'

$ pip install termcolor;</p> ]]></description>
<pubDate>Wed, 22 Feb 2012 22:24:48 GMT</pubDate>
<guid>http://snipplr.com/view/63508/python-terminal-colour-printing-termcolor/</guid>
</item>
<item>
<title>(MySQL) (Player - Player Agent) Images - karthi</title>
<link>http://snipplr.com/view/63503/player--player-agent-images/</link>
<description><![CDATA[ <p>(Player - Player Agent) Images</p> ]]></description>
<pubDate>Wed, 22 Feb 2012 18:58:34 GMT</pubDate>
<guid>http://snipplr.com/view/63503/player--player-agent-images/</guid>
</item>
<item>
<title>(C#) Ordenar 3 numeros - Chaqui</title>
<link>http://snipplr.com/view/63500/ordenar-3-numeros/</link>
<description><![CDATA[ <p>Se pide 3 numeros al usuario y luego se pregunta si lo quiere en orden ascendente o descendente.</p> ]]></description>
<pubDate>Wed, 22 Feb 2012 15:02:50 GMT</pubDate>
<guid>http://snipplr.com/view/63500/ordenar-3-numeros/</guid>
</item>
<item>
<title>(Bash) Website monitoring - AsTeR</title>
<link>http://snipplr.com/view/63498/website-monitoring/</link>
<description><![CDATA[ <p>This will curl every 10 seconds news.thesite.com and look for Awesomestring in it, if it's there, the output will play a music file through xargs. If watch is not installed on your system, install it with brew.</p> ]]></description>
<pubDate>Wed, 22 Feb 2012 12:05:24 GMT</pubDate>
<guid>http://snipplr.com/view/63498/website-monitoring/</guid>
</item>
<item>
<title>(PHP) Node Type Page TPLs - mktimes5</title>
<link>http://snipplr.com/view/63493/node-type-page-tpls/</link>
<description><![CDATA[ <p>Add this snippet to template.php</p> ]]></description>
<pubDate>Wed, 22 Feb 2012 08:07:21 GMT</pubDate>
<guid>http://snipplr.com/view/63493/node-type-page-tpls/</guid>
</item>
<item>
<title>(CSS) CSS * (first style sheet item) - prwhitehead</title>
<link>http://snipplr.com/view/63488/css--first-style-sheet-item/</link>
<description><![CDATA[ <p>what could be placed in the * {} inorder to solve a few common issues</p> ]]></description>
<pubDate>Wed, 22 Feb 2012 05:23:02 GMT</pubDate>
<guid>http://snipplr.com/view/63488/css--first-style-sheet-item/</guid>
</item>
<item>
<title>(PHP) PHP SPL ArrayAccess Iterator countable class - prwhitehead</title>
<link>http://snipplr.com/view/63486/php-spl-arrayaccess-iterator-countable-class/</link>
<description><![CDATA[ <p>use an object as an array</p> ]]></description>
<pubDate>Wed, 22 Feb 2012 04:38:12 GMT</pubDate>
<guid>http://snipplr.com/view/63486/php-spl-arrayaccess-iterator-countable-class/</guid>
</item>
<item>
<title>(jQuery) PHP/ Jquery Dropdown Select - LadyLoomis</title>
<link>http://snipplr.com/view/63485/php-jquery-dropdown-select/</link>
<description><![CDATA[ <p>Set a variable by getting the URLs id with PHP.  Find the the option with the name value that is equal with the variable and add "selected" to it.</p> ]]></description>
<pubDate>Wed, 22 Feb 2012 04:24:55 GMT</pubDate>
<guid>http://snipplr.com/view/63485/php-jquery-dropdown-select/</guid>
</item>
<item>
<title>(PHP) Wordpress Custom Post Type : POST ID in post url - nerdsane</title>
<link>http://snipplr.com/view/63478/wordpress-custom-post-type--post-id-in-post-url/</link>
<description><![CDATA[ <p>so you want to have your url structure like :
yourdomain.com/post-type/286

add the following snippet to your functions.php and change the post-type names where appropriate</p> ]]></description>
<pubDate>Tue, 21 Feb 2012 22:29:29 GMT</pubDate>
<guid>http://snipplr.com/view/63478/wordpress-custom-post-type--post-id-in-post-url/</guid>
</item>
<item>
<title>(Awk) Listing directiories in shell - ef</title>
<link>http://snipplr.com/view/63475/listing-directiories-in-shell/</link>
<description><![CDATA[ <p>Command list subdirectories in current directory.</p> ]]></description>
<pubDate>Tue, 21 Feb 2012 19:18:22 GMT</pubDate>
<guid>http://snipplr.com/view/63475/listing-directiories-in-shell/</guid>
</item>
<item>
<title>(Bash) Apache2 Controls - tregeagle</title>
<link>http://snipplr.com/view/63471/apache2-controls/</link>
<description><![CDATA[ <p>Now I've written it down maybe I'll remember it...</p> ]]></description>
<pubDate>Tue, 21 Feb 2012 16:59:29 GMT</pubDate>
<guid>http://snipplr.com/view/63471/apache2-controls/</guid>
</item>
<item>
<title>(Java) Format String for even columns - nickstanish</title>
<link>http://snipplr.com/view/63466/format-string-for-even-columns/</link>
<description><![CDATA[ <p>this is a snippet from a parsing piece of code I had to do for class, basically I had to grab employee names, numbers, paycodes, hours worked, etc. and organize it. In order to align the columns I ended up using some code like this</p> ]]></description>
<pubDate>Tue, 21 Feb 2012 13:44:09 GMT</pubDate>
<guid>http://snipplr.com/view/63466/format-string-for-even-columns/</guid>
</item>
<item>
<title>(Other) @font-face - dottDesign</title>
<link>http://snipplr.com/view/63461/fontface/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Tue, 21 Feb 2012 05:02:09 GMT</pubDate>
<guid>http://snipplr.com/view/63461/fontface/</guid>
</item>
<item>
<title>(Objective C) Create UIColor From RGB Values - bradfields</title>
<link>http://snipplr.com/view/63458/create-uicolor-from-rgb-values/</link>
<description><![CDATA[ <p>Setup a colour.  Values are between 0 and 1 so need to do a little bit of maths instead of just boshing them in from Photoshop</p> ]]></description>
<pubDate>Tue, 21 Feb 2012 01:59:12 GMT</pubDate>
<guid>http://snipplr.com/view/63458/create-uicolor-from-rgb-values/</guid>
</item>
<item>
<title>(ActionScript) Define target url in flash banner via parameter - martinmajling</title>
<link>http://snipplr.com/view/63456/define-target-url-in-flash-banner-via-parameter/</link>
<description><![CDATA[ <p>Possible parrameters: clickTAG, clickTag, clickthru
if is not defined url use default url "http://www.your-site.com"

http://www.link-to-banner.com/banner.swf?clickTAG=http://www.your-site.com</p> ]]></description>
<pubDate>Tue, 21 Feb 2012 01:41:18 GMT</pubDate>
<guid>http://snipplr.com/view/63456/define-target-url-in-flash-banner-via-parameter/</guid>
</item>
<item>
<title>(C#) C# image processing, useful for resizing images and making thumbnails - Krummelz</title>
<link>http://snipplr.com/view/63455/c-image-processing-useful-for-resizing-images-and-making-thumbnails/</link>
<description><![CDATA[ <p>Just call "ProcessImageAndItsThumbnail" with your newly uploaded image's URL, and it will resize it for you, and make a thumbnail as well. Just remember to set the sizes you want for these new images.</p> ]]></description>
<pubDate>Mon, 20 Feb 2012 23:38:15 GMT</pubDate>
<guid>http://snipplr.com/view/63455/c-image-processing-useful-for-resizing-images-and-making-thumbnails/</guid>
</item>
</channel>
</rss>
