Skip to content

Instantly share code, notes, and snippets.

View jsteemann's full-sized avatar
🥑

Jan jsteemann

🥑
  • MongoDB
  • Cologne, DE
  • 21:49 (UTC +01:00)
View GitHub Profile
@egmontkob
egmontkob / Hyperlinks_in_Terminal_Emulators.md
Last active November 20, 2024 16:14
Hyperlinks in Terminal Emulators
@sgmurphy
sgmurphy / url_slug.js
Created July 12, 2012 02:05
URL Slugs in Javascript (with UTF-8 and Transliteration Support)
/**
* Create a web friendly URL slug from a string.
*
* Requires XRegExp (http://xregexp.com) with unicode add-ons for UTF-8 support.
*
* Although supported, transliteration is discouraged because
* 1) most web browsers support UTF-8 characters in URLs
* 2) transliteration causes a loss of information
*
* @author Sean Murphy <sean@iamseanmurphy.com>