Skip to content

Instantly share code, notes, and snippets.

myano /
Created Jul 23, 2011 — forked from sbp/
Supercombiner pasteboard script for Linux
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
myano /
Created Nov 8, 2016 — forked from sukharevd/
Script to install JBoss Wildfly 10.x as service in Linux
#description :The script to install Wildfly 10.x
#more :
#author :Dmitriy Sukharev
#date :2016-06-18T02:45-0700
#usage :/bin/bash
#tested-version1 :10.0.0.CR3
#tested-distros1 :Ubuntu 15.10; Debian 7,8; CentOS 7; Fedora 22
#tested-version2 :10.0.0.Final
#Given to the public domain
#No warranties
import urllib2
import simplejson
def shorturl(urltoshorten):
"""Compress the URL using take a look at
>>> shorturl('')