Skip to content

Instantly share code, notes, and snippets.

View GalaxySH's full-sized avatar
🌺
01100101011101000110010101110010011011100110000101101100

Stefan Hauge GalaxySH

🌺
01100101011101000110010101110010011011100110000101101100
View GitHub Profile
@GalaxySH
GalaxySH / ID.js
Created February 11, 2020 04:42
ID - a unique ID/name generator for JavaScript
// Generate unique IDs for use as pseudo-private/protected names.
// Similar in concept to
// <http://wiki.ecmascript.org/doku.php?id=strawman:names>.
//
// The goals of this function are twofold:
//
// * Provide a way to generate a string guaranteed to be unique when compared
// to other strings generated by this function.
// * Make the string complex enough that it is highly unlikely to be
// accidentally duplicated by hand (this is key if you're using `ID`
@GalaxySH
GalaxySH / meta-tags.md
Last active May 18, 2019 19:09 — forked from kevinSuttle/meta-tags.md
List of Usable HTML Meta and Link Tags

Copied from http://code.lancepollard.com/complete-list-of-html-meta-tags/

Basic HTML Meta Tags

<meta charset='UTF-8'>
<meta name='keywords' content="your, tags">
<meta name='description' content="150 words">
<meta name='subject' content="your website's subject">
<meta name='copyright' content="company name">