<?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/jdstraughan</link>
<description>Recent snippets posted on Snipplr.com</description>
<language>en-us</language>
<pubDate>Thu, 20 Jun 2013 16:03:58 GMT</pubDate>
<item>
<title>(PHP) Create Digg Url with PHP - jdstraughan</title>
<link>http://snipplr.com/view/13751/create-digg-url-with-php/</link>
<description><![CDATA[ <p>This function will convert any long url into a Diggbar url</p> ]]></description>
<pubDate>Fri, 03 Apr 2009 15:13:14 GMT</pubDate>
<guid>http://snipplr.com/view/13751/create-digg-url-with-php/</guid>
</item>
<item>
<title>(PHP) Rounded corners on Images - jdstraughan</title>
<link>http://snipplr.com/view/12979/rounded-corners-on-images/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Wed, 11 Mar 2009 05:02:25 GMT</pubDate>
<guid>http://snipplr.com/view/12979/rounded-corners-on-images/</guid>
</item>
<item>
<title>(Objective C) Get Device GUID from iPhone - jdstraughan</title>
<link>http://snipplr.com/view/11856/get-device-guid-from-iphone/</link>
<description><![CDATA[ <p>Grabs the unique device id from the iPhone</p> ]]></description>
<pubDate>Wed, 04 Feb 2009 18:40:52 GMT</pubDate>
<guid>http://snipplr.com/view/11856/get-device-guid-from-iphone/</guid>
</item>
<item>
<title>(JavaScript) JQuery: Common Browser Sniffing - jdstraughan</title>
<link>http://snipplr.com/view/9096/jquery-common-browser-sniffing/</link>
<description><![CDATA[ <p>There have been a few times where I've been forced to reduce myself to browser sniffing.  In this example, I'm making an ad hoc change to CSS but for anyone interested in making changes to IE6/IE7 only, there's a better way.  Take a look at my other snippet.
http://snipplr.com/view/9095/html-conditional-html-for-ie6-and-ie7/</p> ]]></description>
<pubDate>Sat, 18 Oct 2008 12:05:38 GMT</pubDate>
<guid>http://snipplr.com/view/9096/jquery-common-browser-sniffing/</guid>
</item>
<item>
<title>(PHP) Input Class - Strip Slashes for Magic Quotes - jdstraughan</title>
<link>http://snipplr.com/view/8934/input-class--strip-slashes-for-magic-quotes/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Fri, 10 Oct 2008 09:47:10 GMT</pubDate>
<guid>http://snipplr.com/view/8934/input-class--strip-slashes-for-magic-quotes/</guid>
</item>
<item>
<title>(Objective C) Open URL in Safari - jdstraughan</title>
<link>http://snipplr.com/view/8475/open-url-in-safari/</link>
<description><![CDATA[ <p>This is the way to open a specific URL in the Mobile Safari of the iPhone</p> ]]></description>
<pubDate>Thu, 18 Sep 2008 09:48:40 GMT</pubDate>
<guid>http://snipplr.com/view/8475/open-url-in-safari/</guid>
</item>
<item>
<title>(PHP) Rename File If Exists - jdstraughan</title>
<link>http://snipplr.com/view/8452/rename-file-if-exists/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Wed, 17 Sep 2008 14:57:37 GMT</pubDate>
<guid>http://snipplr.com/view/8452/rename-file-if-exists/</guid>
</item>
<item>
<title>(PHP) Clean URL String - jdstraughan</title>
<link>http://snipplr.com/view/8436/clean-url-string/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Tue, 16 Sep 2008 18:19:02 GMT</pubDate>
<guid>http://snipplr.com/view/8436/clean-url-string/</guid>
</item>
<item>
<title>(PHP) To Javascript String - jdstraughan</title>
<link>http://snipplr.com/view/8112/to-javascript-string/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Sun, 31 Aug 2008 21:56:48 GMT</pubDate>
<guid>http://snipplr.com/view/8112/to-javascript-string/</guid>
</item>
<item>
<title>(PHP) Make page titles seo-friendly for URL - jdstraughan</title>
<link>http://snipplr.com/view/7866/make-page-titles-seofriendly-for-url/</link>
<description><![CDATA[ <p>If you have a title, for something like a blog or product, and want to make an seo-friendly name to call it, here is a function.

SAMPLE INPUT:
$title = "This foo's bar is rockin' cool!";
echo make_seo_name($title);
//RETURNS:
//this-foos-bar-is-rockin-cool</p> ]]></description>
<pubDate>Thu, 14 Aug 2008 00:01:15 GMT</pubDate>
<guid>http://snipplr.com/view/7866/make-page-titles-seofriendly-for-url/</guid>
</item>
<item>
<title>(iPhone) Vibrate - jdstraughan</title>
<link>http://snipplr.com/view/7821/vibrate/</link>
<description><![CDATA[ <p>Objective C for triggering the vibrate on an iPhone.</p> ]]></description>
<pubDate>Mon, 11 Aug 2008 17:41:27 GMT</pubDate>
<guid>http://snipplr.com/view/7821/vibrate/</guid>
</item>
<item>
<title>(PHP) isAlphaNumeric - jdstraughan</title>
<link>http://snipplr.com/view/7404/isalphanumeric/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Sat, 19 Jul 2008 16:28:19 GMT</pubDate>
<guid>http://snipplr.com/view/7404/isalphanumeric/</guid>
</item>
<item>
<title>(JavaScript) Format number with commas every 3 decimal places - jdstraughan</title>
<link>http://snipplr.com/view/7345/format-number-with-commas-every-3-decimal-places/</link>
<description><![CDATA[ <p>Adds commas to numbers.
1234567 becomes 1,234,567</p> ]]></description>
<pubDate>Thu, 17 Jul 2008 03:46:14 GMT</pubDate>
<guid>http://snipplr.com/view/7345/format-number-with-commas-every-3-decimal-places/</guid>
</item>
<item>
<title>(PHP) Fibonacci numbers - jdstraughan</title>
<link>http://snipplr.com/view/7244/fibonacci-numbers/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Sat, 12 Jul 2008 11:12:09 GMT</pubDate>
<guid>http://snipplr.com/view/7244/fibonacci-numbers/</guid>
</item>
<item>
<title>(JavaScript) JavaScript DOM Element Visibility Checker - jdstraughan</title>
<link>http://snipplr.com/view/7215/javascript-dom-element-visibility-checker/</link>
<description><![CDATA[ <p>Determines if a given element is visible, by checking a variety of things. Will work for CSS or inline style declarations of visible:hidden or display: none. Will check if it's inside of an invisible element, as well.</p> ]]></description>
<pubDate>Thu, 10 Jul 2008 13:54:18 GMT</pubDate>
<guid>http://snipplr.com/view/7215/javascript-dom-element-visibility-checker/</guid>
</item>
<item>
<title>(PHP) Linux shell commands from php script - jdstraughan</title>
<link>http://snipplr.com/view/7188/linux-shell-commands-from-php-script/</link>
<description><![CDATA[ <p>The “2>&amp;1″ bit tells to pipe the standard error to the standard output. Otherwise the standard error may not be outputted by the system and you won’t have a way to troubleshoot your script.</p> ]]></description>
<pubDate>Wed, 09 Jul 2008 15:35:16 GMT</pubDate>
<guid>http://snipplr.com/view/7188/linux-shell-commands-from-php-script/</guid>
</item>
<item>
<title>(PHP) Remove Magic Quotes - jdstraughan</title>
<link>http://snipplr.com/view/7149/remove-magic-quotes/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Sun, 06 Jul 2008 02:46:51 GMT</pubDate>
<guid>http://snipplr.com/view/7149/remove-magic-quotes/</guid>
</item>
<item>
<title>(PHP) Cross Site Generic Script (Write Cookie Data) - jdstraughan</title>
<link>http://snipplr.com/view/7148/cross-site-generic-script-write-cookie-data/</link>
<description><![CDATA[ <p>This is linked to this
http://snipplr.com/view/7147/cross-site-generic-script/</p> ]]></description>
<pubDate>Sun, 06 Jul 2008 01:04:58 GMT</pubDate>
<guid>http://snipplr.com/view/7148/cross-site-generic-script-write-cookie-data/</guid>
</item>
<item>
<title>(JavaScript) Cross Site Generic Script - jdstraughan</title>
<link>http://snipplr.com/view/7147/cross-site-generic-script/</link>
<description><![CDATA[ <p>This is linked to this
http://snipplr.com/view/7148/cross-site-generic-script-write-cookie-data/</p> ]]></description>
<pubDate>Sun, 06 Jul 2008 01:01:55 GMT</pubDate>
<guid>http://snipplr.com/view/7147/cross-site-generic-script/</guid>
</item>
<item>
<title>(JavaScript) Min-Height Fast Hack - jdstraughan</title>
<link>http://snipplr.com/view/7145/minheight-fast-hack/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Sun, 06 Jul 2008 00:24:44 GMT</pubDate>
<guid>http://snipplr.com/view/7145/minheight-fast-hack/</guid>
</item>
</channel>
</rss>