Skip to content

Instantly share code, notes, and snippets.

@sbp
Created July 23, 2011 12:31
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 2 You must be signed in to fork a gist
  • Save sbp/1101374 to your computer and use it in GitHub Desktop.
Save sbp/1101374 to your computer and use it in GitHub Desktop.
Supercombiner pasteboard script for OS X
#!/bin/bash
python -c '
import sys, unicodedata
s = "u"
for i in xrange(1, 3000):
if unicodedata.category(unichr(i)) == "Mn":
s += unichr(i)
if len(s) > 100: break
sys.stdout.write(s.encode("utf-8"))
' | pbcopy
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment