Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@myano
Forked from sbp/supercombiner.sh
Created July 23, 2011 12:33
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save myano/1101378 to your computer and use it in GitHub Desktop.
Save myano/1101378 to your computer and use it in GitHub Desktop.
Supercombiner pasteboard script for Linux
#!/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"))
' | xclip -sel clip
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment