This file contains hidden or 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
from unicodedata import * | |
script_data = { | |
"names":['Common', 'Latin', 'Greek', 'Cyrillic', 'Armenian', 'Hebrew', 'Arabic', | |
'Syriac', 'Thaana', 'Devanagari', 'Bengali', 'Gurmukhi', 'Gujarati', 'Oriya', | |
'Tamil', 'Telugu', 'Kannada', 'Malayalam', 'Sinhala', 'Thai', 'Lao', 'Tibetan', | |
'Myanmar', 'Georgian', 'Hangul', 'Ethiopic', 'Cherokee', 'Canadian_Aboriginal', | |
'Ogham', 'Runic', 'Khmer', 'Mongolian', 'Hiragana', 'Katakana', 'Bopomofo', | |
'Han', 'Yi', 'Old_Italic', 'Gothic', 'Deseret', 'Inherited', 'Tagalog', | |
'Hanunoo', 'Buhid', 'Tagbanwa', 'Limbu', 'Tai_Le', 'Linear_B', 'Ugaritic', |
This file contains hidden or 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
$ brew list | |
atk fontconfig giflib icu4c libgeotiff little-cms2 osxfuse readline | |
autoconf freetype git imagemagick libiconv lzlib pango sqlite | |
automake freexl glib intltool liblwgeom m4 php55 unixodbc | |
bison gcc gmp isl libmpc makedepend pillow vassh | |
brew-cask gdal gobject-introspection jhove2 libpng mercurial pixman webp | |
cairo gdbm gpp jpeg libspatialite meta-extractor pkg-config wget | |
cloog gdk-pixbuf gtk+ jq libtiff mpfr proj wp-cli | |
composer geos gzip json-c libtool node python xz | |
flex gettext harfbuzz libffi libxml2 openssl python3 zlib |
This file contains hidden or 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
$ pip list | |
basemap (1.0.7) | |
cairocffi (0.6) | |
CairoSVG (1.0.11) | |
cffi (0.8.6) | |
colour (0.0.6) | |
cssselect (0.9.1) | |
Cython (0.22) | |
GDAL (1.11.1) | |
lxml (3.4.2) |
This file contains hidden or 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
# We start by loading up PyICU. | |
import PyICU as icu | |
# Let's create a test text. Notice it contains some punctuation. | |
test = u"This is (\"a\") test!" | |
# We create a wordbreak iterator. All break iterators in ICU are really RuleBasedBreakIterators, and we need to tell it which locale to take the word break rules from. Most locales have the same rules for UAX#29 so we will use English. | |
wb = icu.BreakIterator.createWordInstance(icu.Locale.getEnglish()) | |
# An iterator is just that. It contains state and then we iterate over it. The state in this case is the text we want to break. So we set that. |
This file contains hidden or 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
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<title>The Word Stone</title> | |
<link rel="stylesheet" href="styles.css"> | |
</head> | |
<body> | |
<div class="container"> | |
<div class="canvas" id="canvas"></div> | |
<div id="wordlist" class="wordlist"></div> |
This file contains hidden or 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
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="utf-8"> | |
<title>Bash Command Visualization</title> | |
<style type="text/css"> | |
* { margin: 0; padding: 0; } | |
#chart { |
This file contains hidden or 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
##Add shebang | |
# Validate syntax | |
#Make version numbers skipped so that updates don't kill the script. | |
##Wordpress | |
wget https://wordpress.org/latest.zip | |
##Wordpress Tools | |
#WP-CLI | |
curl -O https://raw.githubusercontent.com/wp-cli/builds/gh-pages/phar/wp-cli.phar |
This file contains hidden or 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/sh | |
# | |
# Instant Wordpress! | |
# ------------------ | |
# Script for installing the latest version of WordPress plus a number of useful plugins. | |
# Source : https://github.com/snaptortoise/wordpress-quick-install | |
# | |
# | |
# Latest version of WP |
This file contains hidden or 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/sh | |
# | |
# Instant Wordpress! | |
# ------------------ | |
# Script for installing the latest version of WordPress plus a number of useful plugins. | |
# Source : https://github.com/snaptortoise/wordpress-quick-install | |
# | |
# | |
# Latest version of WP |
This file contains hidden or 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
{ | |
"@id": "http://example.com/app-profile.json", | |
"@context": { | |
"title": "http://purl.org/dc/terms/title", | |
"description": "http://purl.org/dc/terms/description", | |
"creator": "http://purl.org/dc/terms/creator" | |
}, | |
"title": "JSON-LD Dublin Core Application Profile", | |
"description": "This is an example of a Dublin Core Application Profile as a JSON-LD. The point is to demonstrate that a JSON-LD context document could contain metadata. If it is desirable to annotate the use of particular properties they could theoretically fit into @graph using existing or a new DCAP vocabulary, etc.", | |
"creator": "http://twitter.com/edsu", |
OlderNewer