Skip to content

Instantly share code, notes, and snippets.

View AnthonyBriggs's full-sized avatar

Anthony Briggs AnthonyBriggs

  • Melbourne, Australia
View GitHub Profile
@jakeonrails
jakeonrails / Ruby Notepad Bookmarklet
Created January 29, 2013 18:08
This bookmarklet gives you a code editor in your browser with a single click.
data:text/html, <style type="text/css">#e{position:absolute;top:0;right:0;bottom:0;left:0;}</style><div id="e"></div><script src="http://d1n0x3qji82z53.cloudfront.net/src-min-noconflict/ace.js" type="text/javascript" charset="utf-8"></script><script>var e=ace.edit("e");e.setTheme("ace/theme/monokai");e.getSession().setMode("ace/mode/ruby");</script>
@glasnt
glasnt / regional.py
Last active August 25, 2016 16:22
🇷​🇪​🇬​🇮​🇴​🇳​🇦​🇱​ ​🇮​🇳​🇩​🇮​🇨​🇦​🇹​🇴​🇷​ ​🇨​🇭​🇦​🇷​🇦​🇨​🇹​🇪​🇷​🇸​ ​🇦​🇸​ ​🇦​ ​🇸​🇪​🇷​🇻​🇮​🇨​🇪
"""
Usage: python3 regional.py list of words
Prints a representation of the words as Regional Identifiers, and copies the output directly to keyboard for you
This is because some terminals think that zero width spaces are silly.
Currently supports: A-Z
Requires: Python 3
Now less complex, thanks @bmispelon!
"""