Skip to content

Instantly share code, notes, and snippets.

@myano
Forked from sbp/supercombiner.sh
Created July 23, 2011 12:33

Revisions

  1. Michael Yanovich revised this gist Jul 23, 2011. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion supercombiner.sh
    Original file line number Diff line number Diff line change
    @@ -8,4 +8,4 @@ for i in xrange(1, 3000):
    s += unichr(i)
    if len(s) > 100: break
    sys.stdout.write(s.encode("utf-8"))
    ' | pbcopy
    ' | xclip -sel clip
  2. @sbp sbp created this gist Jul 23, 2011.
    11 changes: 11 additions & 0 deletions supercombiner.sh
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,11 @@
    #!/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