├── README.md ├── as_far.png ├── code_conventions.png ├── guid_recycling.jpg └── used_guids.jpeg /README.md: -------------------------------------------------------------------------------- 1 | # AwesomeGUID 2 | 3 | [![Awesome](https://awesome.re/badge.svg)](https://awesome.re) 4 | 5 | A list of awesome things related to Globally Unique Identifiers. Sorry if this whole idea is a bit mis-guid-ed. 6 | 7 | ## Tools 8 | 9 | - [Guid Generator](https://www.guidgenerator.com/) 10 | - [Hot Guids](http://www.secretgeek.net/hotGuids/index.htm): The Social Network for GUIDs, "Is this Guid HOT or NOT?" 11 | - [Guess a Guid](http://guessaguid.secretgeek.net): The fun guid-guessing game 12 | - [Cute uid](https://github.com/alexdredmon/cuteuid): Generate Cute UIDs 13 | - [QuickInfo Guid Generator](https://quickinfo.io/?guid): With bonus Guide Dog information 14 | 15 | ## Used Guids **MUST** Be Added To This Folder 16 | 17 | ![used_guids.jpeg](used_guids.jpeg) 18 | 19 | ## Recycling and Upcycling 20 | 21 | Instead of single-use guids, consider donating them for reliable reuse by an approved, accredited and reputable GUID recycler. 22 | 23 | ![Please Recycle GUIDS here](guid_recycling.jpg) 24 | 25 | ## Frequently Asked Questions 26 | 27 | ### What are the chances of collision? 28 | 29 | If every human on Earth worked as a GUID generator, and they spent their entire working life generating guids at one guid per second, without even stopping for lunch, then by the time every human on earth had retired, the chances of a collision would be about 50%. 30 | 31 | ### Do guids make the best database identifiers? 32 | 33 | Yes. But I don't use them much for that myself. 34 | 35 | ### Should you put GUIDs in URLs? 36 | 37 | No. [Don't Put Guids in URLs](http://wiki.c2.com/?DontPutGuidsInUrls) 38 | 39 | And if you do, **1 is enough!** 40 | 41 | ### Can I register a domain named after a specific guid value? 42 | 43 | Yes you certainly can! But you need to hurry as they are going fast. 44 | 45 | For example, this one is already taken: 46 | 47 | - 48 | 49 | And certainly is parked. 50 | 51 | But as of April 2022, is still available. 52 | 53 | **Get in on it while you can.** 54 | 55 | *There will never be another opportunity like this.* 56 | 57 | ## Explanations 58 | 59 | - [The Quick Guide to GUIDs](https://betterexplained.com/articles/the-quick-guide-to-guids/) 60 | - [Wikipedia: Universally Unique Identifier](https://en.wikipedia.org/wiki/Universally_unique_identifier) 61 | 62 | ## Pronunciation Guide 63 | 64 | - Goo-id or gwid. You decide. 65 | 66 | ## Global GUID database 67 | 68 | - [GLOBAL UUID DATABASE](https://uuid.pirate-server.com) — World's most complete UUID database. 69 | 70 | ## Behold 71 | 72 | Some beautiful code from [@buhakmeh](https://twitter.com/buhakmeh/status/1301517508000854022) 73 | 74 | ![code where all of the names are guids](code_conventions.png) 75 | 76 | ![Guids! Guids! As far as the eye can see!](as_far.png) 77 | 78 | ## Twitter Accounts for Lovers of The Guid 79 | 80 | - [@usedguid](https://twitter.com/usedguid): 100% guids 100% of the time. 81 | - [@everyguid](https://twitter.com/everyguid): tweeting every globally unique identifier. 82 | - [@GuidGenie](https://twitter.com/GuidGenie): "Ask me to generate a GUID (Globally Unique Identifier) for you. Your wish is my command." 83 | - [@guids4druids](https://twitter.com/guids4druids): tweeting guids for druids 84 | 85 | ## How to Generate a Guid in ANY language 86 | 87 | And by *any* language I mean this very small subset of languages I've got examples for. PRs welcome. 88 | 89 | ### Generate a guid in javascript 90 | 91 | function S4() { 92 | return (((1+Math.random())*0x10000)|0).toString(16).substring(1); 93 | } 94 | function guid() { 95 | return (S4()+S4()+"-"+S4()+"-"+S4()+"-"+S4()+"-"+S4()+S4()+S4()); 96 | } 97 | 98 | ### Generate a guid in PowerShell 99 | 100 | As a string, and with brackets... 101 | 102 | "{$([guid]::NewGuid())}" 103 | 104 | Without brackets, and as a guid not as a string... 105 | 106 | [guid]::NewGuid() 107 | 108 | ### Generate a guid in "C#" 109 | 110 | System.Guid.NewGuid().ToString("N"); 111 | 1431959a9c074d298d1787a59687f0fd 112 | 113 | System.Guid.NewGuid().ToString("D"); 114 | 7e760907-099b-41d9-83f7-c290dc6f059a 115 | 116 | System.Guid.NewGuid().ToString("B"); 117 | {ff34e10c-db89-4f52-8757-43c56e20bf00} 118 | 119 | System.Guid.NewGuid().ToString("P"); 120 | (91865f50-5112-4868-bd20-a6b4b741d04d) 121 | 122 | System.Guid.NewGuid().ToString("X"); 123 | {0xaf4533d0,0xffbc,0x4716,{0x9f,0x01,0x5c,0x4c,0x29,0xdf,0x22,0xe7}} 124 | 125 | ### Generate a guid in .Net 126 | 127 | System.Guid.NewGuid() 128 | -------------------------------------------------------------------------------- /as_far.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/secretGeek/AwesomeGUID/a36c36afae38160f39d5891af0dcb6922e0ad2a8/as_far.png -------------------------------------------------------------------------------- /code_conventions.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/secretGeek/AwesomeGUID/a36c36afae38160f39d5891af0dcb6922e0ad2a8/code_conventions.png -------------------------------------------------------------------------------- /guid_recycling.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/secretGeek/AwesomeGUID/a36c36afae38160f39d5891af0dcb6922e0ad2a8/guid_recycling.jpg -------------------------------------------------------------------------------- /used_guids.jpeg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/secretGeek/AwesomeGUID/a36c36afae38160f39d5891af0dcb6922e0ad2a8/used_guids.jpeg --------------------------------------------------------------------------------