<?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/tags/unique</link>
<description>Recent snippets posted on Snipplr.com</description>
<language>en-us</language>
<pubDate>Wed, 22 May 2013 13:54:32 GMT</pubDate>
<item>
<title>(JavaScript) Generate unique ID - jatkins</title>
<link>http://snipplr.com/view/68597/generate-unique-id/</link>
<description><![CDATA[ <p>Not necessarily perfectly unique, but the chances of two identical IDs being generated are insanely remote (so not really a GUID generator, but looks like it). You'll need to clear it up -- I pulled it out of an object containing miscellaneous functions.</p> ]]></description>
<pubDate>Sat, 17 Nov 2012 05:53:52 GMT</pubDate>
<guid>http://snipplr.com/view/68597/generate-unique-id/</guid>
</item>
<item>
<title>(PHP) CakePHP - generate unique slug - artaserse</title>
<link>http://snipplr.com/view/67870/cakephp--generate-unique-slug/</link>
<description><![CDATA[ <p>this method generates and returns a unique slug, given a string.</p> ]]></description>
<pubDate>Tue, 23 Oct 2012 01:12:40 GMT</pubDate>
<guid>http://snipplr.com/view/67870/cakephp--generate-unique-slug/</guid>
</item>
<item>
<title>(PHP) Unique Code Generator - fmdfrank</title>
<link>http://snipplr.com/view/65639/unique-code-generator/</link>
<description><![CDATA[ <p>For a project I needed to generate a unique code for each user the client would input manually. Each user would have four fields (first name, last name, email, zipcode). Omitting the email addresses ensures unique output because we reduce the chances of characters like; '@', '.', and strings like 'com' being reused everytime. It's simple, it's efficient and it's not overcomplicated.</p> ]]></description>
<pubDate>Fri, 15 Jun 2012 14:13:46 GMT</pubDate>
<guid>http://snipplr.com/view/65639/unique-code-generator/</guid>
</item>
<item>
<title>(PHP) unique password|code generator - zogmund</title>
<link>http://snipplr.com/view/60262/unique-passwordcode-generator/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Thu, 27 Oct 2011 19:50:27 GMT</pubDate>
<guid>http://snipplr.com/view/60262/unique-passwordcode-generator/</guid>
</item>
<item>
<title>(PHP) PHP generateCode - brownrl</title>
<link>http://snipplr.com/view/51510/php-generatecode/</link>
<description><![CDATA[ <p>Some times you need to generate a code for a field in a db and that code can't be repeated either...

Yes, I know that if two people submit their data at almost the exact same time that it could be possible that they have the same code. OMG OMG OMG! I'll take the 0.0000000001% chance that it will happen. You could get around this by generating a separate table of pre-made codes and each time you use one you take it and mark it as used.</p> ]]></description>
<pubDate>Mon, 04 Apr 2011 18:35:42 GMT</pubDate>
<guid>http://snipplr.com/view/51510/php-generatecode/</guid>
</item>
<item>
<title>(ActionScript 3) Check if item is not already in an Array - withinmedianl</title>
<link>http://snipplr.com/view/51489/check-if-item-is-not-already-in-an-array/</link>
<description><![CDATA[ <p>Based upon another snippet from this site, but can't remember where i got it</p> ]]></description>
<pubDate>Mon, 04 Apr 2011 04:46:45 GMT</pubDate>
<guid>http://snipplr.com/view/51489/check-if-item-is-not-already-in-an-array/</guid>
</item>
<item>
<title>(PHP) Random Unique ID Hash Generator - sagz</title>
<link>http://snipplr.com/view/49708/random-unique-id-hash-generator/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Sat, 26 Feb 2011 04:00:43 GMT</pubDate>
<guid>http://snipplr.com/view/49708/random-unique-id-hash-generator/</guid>
</item>
<item>
<title>(JavaScript) array_unique - jatkins</title>
<link>http://snipplr.com/view/47825/arrayunique/</link>
<description><![CDATA[ <p>Released into the public domain. `array_to_modify` is required; `remove_empty_items` is an optional boolean argument. [find_index](http://snipplr.com/view/37102/) is required because some versions of IE don't feature `Array.indexOf`.</p> ]]></description>
<pubDate>Tue, 25 Jan 2011 09:41:21 GMT</pubDate>
<guid>http://snipplr.com/view/47825/arrayunique/</guid>
</item>
<item>
<title>(Bash) test that pwgen does not produce duplicate words - noah</title>
<link>http://snipplr.com/view/45623/test-that-pwgen-does-not-produce-duplicate-words/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Sat, 11 Dec 2010 15:20:34 GMT</pubDate>
<guid>http://snipplr.com/view/45623/test-that-pwgen-does-not-produce-duplicate-words/</guid>
</item>
<item>
<title>(ActionScript 3) AS3 Globally unique identifier (GUID) - adrianparr</title>
<link>http://snipplr.com/view/45247/as3-globally-unique-identifier-guid/</link>
<description><![CDATA[ <p>Create a unique ID in AS3.
http://en.wikipedia.org/wiki/Globally_unique_identifier</p> ]]></description>
<pubDate>Sat, 04 Dec 2010 02:07:30 GMT</pubDate>
<guid>http://snipplr.com/view/45247/as3-globally-unique-identifier-guid/</guid>
</item>
<item>
<title>(Python) Unique file name (counter) - skirmantas</title>
<link>http://snipplr.com/view/41834/unique-file-name-counter/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Fri, 08 Oct 2010 08:34:22 GMT</pubDate>
<guid>http://snipplr.com/view/41834/unique-file-name-counter/</guid>
</item>
<item>
<title>(PHP) Eliminate Duplicates in Multi-Dimensional Arrays - Moridin</title>
<link>http://snipplr.com/view/37732/eliminate-duplicates-in-multidimensional-arrays/</link>
<description><![CDATA[ <p>Courtesy of Dorphalsig on php.net (see URL above)</p> ]]></description>
<pubDate>Thu, 22 Jul 2010 08:32:23 GMT</pubDate>
<guid>http://snipplr.com/view/37732/eliminate-duplicates-in-multidimensional-arrays/</guid>
</item>
<item>
<title>(Java) Uniquely identify an android device - Kingcron</title>
<link>http://snipplr.com/view/37162/uniquely-identify-an-android-device/</link>
<description><![CDATA[ <p>The Android ID (a unique 64-bit value) as a hex string. It is null on the emulator.</p> ]]></description>
<pubDate>Mon, 12 Jul 2010 23:55:19 GMT</pubDate>
<guid>http://snipplr.com/view/37162/uniquely-identify-an-android-device/</guid>
</item>
<item>
<title>(JavaScript) Unique array in JavaScript - riddla</title>
<link>http://snipplr.com/view/36962/unique-array-in-javascript/</link>
<description><![CDATA[ <p>Thanks to the original author.</p> ]]></description>
<pubDate>Fri, 09 Jul 2010 00:36:09 GMT</pubDate>
<guid>http://snipplr.com/view/36962/unique-array-in-javascript/</guid>
</item>
<item>
<title>(Bash) Unique IP Addresses From Apache Error Log - iloveitaly</title>
<link>http://snipplr.com/view/35448/unique-ip-addresses-from-apache-error-log/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Wed, 02 Jun 2010 12:13:59 GMT</pubDate>
<guid>http://snipplr.com/view/35448/unique-ip-addresses-from-apache-error-log/</guid>
</item>
<item>
<title>(SQL) Postgresql find duplicate columns - metoikos</title>
<link>http://snipplr.com/view/35267/postgresql-find-duplicate-columns/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Thu, 27 May 2010 18:19:05 GMT</pubDate>
<guid>http://snipplr.com/view/35267/postgresql-find-duplicate-columns/</guid>
</item>
<item>
<title>(JavaScript) Generate Unique IDs in JavaScript - EkTrOn</title>
<link>http://snipplr.com/view/28241/generate-unique-ids-in-javascript/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Fri, 12 Feb 2010 10:33:32 GMT</pubDate>
<guid>http://snipplr.com/view/28241/generate-unique-ids-in-javascript/</guid>
</item>
<item>
<title>(PHP) Base62 Encode / Decode - jmiller</title>
<link>http://snipplr.com/view/22246/base62-encode--decode/</link>
<description><![CDATA[ <p>If you have large integers and you want to shrink them down in size for whatever reason, you can use this code. Should be easy enough to extend if you want even higher bases (just add a few more chars and increase the base).</p> ]]></description>
<pubDate>Sat, 31 Oct 2009 19:18:57 GMT</pubDate>
<guid>http://snipplr.com/view/22246/base62-encode--decode/</guid>
</item>
<item>
<title>(MySQL) Insert or update if unique key already exist - Zwendel</title>
<link>http://snipplr.com/view/21965/insert-or-update-if-unique-key-already-exist/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Tue, 27 Oct 2009 10:42:59 GMT</pubDate>
<guid>http://snipplr.com/view/21965/insert-or-update-if-unique-key-already-exist/</guid>
</item>
<item>
<title>(JavaScript) Ensure all elements in array are unique - svenito</title>
<link>http://snipplr.com/view/20402/ensure-all-elements-in-array-are-unique/</link>
<description><![CDATA[ <p>Ensures all elements in an array are unique

newArray = myArray.unique();</p> ]]></description>
<pubDate>Tue, 29 Sep 2009 06:55:01 GMT</pubDate>
<guid>http://snipplr.com/view/20402/ensure-all-elements-in-array-are-unique/</guid>
</item>
</channel>
</rss>