This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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")) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#Given to the public domain | |
#No warranties | |
import urllib2 | |
import simplejson | |
def shorturl(urltoshorten): | |
"""Compress the URL using goo.gl take a look at https://developers.google.com/url-shortener/v1/getting_started | |
>>> shorturl('http://igor.tamarapatino.org') | |
'http://goo.gl/FxHOn' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
#title :wildfly-install.sh | |
#description :The script to install Wildfly 10.x | |
#more :http://sukharevd.net/wildfly-8-installation.html | |
#author :Dmitriy Sukharev | |
#date :2016-06-18T02:45-0700 | |
#usage :/bin/bash wildfly-install.sh | |
#tested-version1 :10.0.0.CR3 | |
#tested-distros1 :Ubuntu 15.10; Debian 7,8; CentOS 7; Fedora 22 | |
#tested-version2 :10.0.0.Final |