Skip to content

Instantly share code, notes, and snippets.

HughP HughP

Block or report user

Report or block HughP

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View journal_abbreviations.txt
This file has been truncated, but you can view the full file.
"Brevia" = Brevia (Rome)
"Dens sapiens" = Dens Sapiens
"Il Bassini" = Bassini
"Interferences" Series = Interf. Ser.
"Laboratorio;" analisis clinicos, bacteriologia, inmunologia, parasitologia, hematologia, anatomia patologica, quimica clinica = Laboratorio
"Meteor" Forschungsergebnisse = "Meteor" Forschungsergeb.
"Politehnica" University of Bucharest = Politehn. Univ. Bucharest Sci. Bull. Ser. D Mech. Engrg.
$K$-Monographs in Mathematics = $K$-Monogr. Math.
$K$-Theory = $K$-Theory
@HughP
HughP / ipa.md
Created Jun 5, 2018 — forked from gorbiz/ipa.md
IPA Chart by Arthaey
View ipa.md

Vowels

Front Near-front Central Near-back Back
Close i y ɨ ʉ ɯ u
Near-close ɪ ʏ ɪ̈ ʊ̈ ʊ
Close-mid e ø ɘ ɵ ɤ o
Mid e̞ ø̞ ə ɵ̞ ɤ̞ o̞
Open-mid ɛ œ ɜ ɞ ʌ ɔ
Near-open æ ɐ
@HughP
HughP / Unicode table
Created May 15, 2018 — forked from ruanyl/Unicode table
Unicode table - List of most common Unicode characters *
View Unicode table
Unicode table - List of most common Unicode characters *
* This summary list contains about 2000 characters for most common ocidental/latin languages and most printable symbols but not chinese, japanese, arab, archaic and some unprintable.
Contains character codes in HEX (hexadecimal), decimal number, name/description and corresponding printable symbol.
What is Unicode?
Unicode is a standard created to define letters of all languages ​​and characters such as punctuation and technical symbols. Today, UNICODE (UTF-8) is the most used character set encoding (used by almost 70% of websites, in 2013). The second most used character set is ISO-8859-1 (about 20% of websites), but this old encoding format is being replaced by Unicode.
How to identify the Unicode number for a character?
Type or paste a character:
@HughP
HughP / context.json
Created Apr 19, 2017 — forked from edsu/context.json
A strawman example of encoding a Dublin Core Application Profile as JSON-LD context object.
View context.json
{
"@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",
@HughP
HughP / wordpress_install.sh
Created Feb 6, 2017 — forked from bugsysop/wordpress_install.sh
Script for installing the latest version of WordPress plus a number of useful plugins.
View wordpress_install.sh
#!/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
@HughP
HughP / wordpress_install.sh
Created Feb 6, 2017 — forked from bugsysop/wordpress_install.sh
Script for installing the latest version of WordPress plus a number of useful plugins.
View wordpress_install.sh
#!/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
View linux-wget-list.sh
##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
View index.html
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Bash Command Visualization</title>
<style type="text/css">
* { margin: 0; padding: 0; }
#chart {
View index.html
<!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>
View UAX_29.py
# 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.
You can’t perform that action at this time.