Skip to content

Instantly share code, notes, and snippets.

@rillian
rillian / hyphen.html
Created Nov 10, 2021
hyphenation test
View hyphen.html
<!DOCTYPE html>
<html lang=en-US>
<head>
<meta charset=utf-8>
<title>Hyphenation test</title>
<style>
body {
font-family: Georgia, sans-serif;
width: 75%;
}
@rillian
rillian / analysis.py
Created Mar 12, 2020
quick script for analysing combining characters
View analysis.py
#!/usr/bin/env python3
import collections
import unicodedata
histogram = collections.Counter()
with open('cop_wordlist.combined') as f:
for line in f.readlines():
# Skip dictionary header.
@rillian
rillian / gist:0e414f66e0c18606dd91
Created Jul 27, 2015
./mach gtest failure on macosx.
View gist:0e414f66e0c18606dd91
$ pwd
/Users/giles/firefox-eclipse/toolkit/library/gtest
$ make V=1 LINK_GTEST=1 2>&1 > log
Executing: /usr/bin/clang++ -Qunused-arguments -Qunused-arguments -Wall -Wempty-body -Woverloaded-virtual -Wsign-compare -Wwrite-strings -Wno-invalid-offsetof -Wno-inline-new-delete -Wno-c++0x-extensions -Wno-extended-offsetof -Wno-unknown-warning-option -Wno-return-type-c-linkage -fno-exceptions -fno-strict-aliasing -fno-rtti -fno-exceptions -fno-math-errno -std=gnu++0x -pthread -DNO_X11 -pipe -DDEBUG -DTRACING -g -fno-omit-frame-pointer -fPIC -o XUL -framework Cocoa -lobjc -framework AudioToolbox -framework ExceptionHandling -Wl,-executable_path,/Users/giles/firefox-eclipse/dist/bin -Wl,-filelist,/Users/giles/firefox-eclipse/toolkit/library/gtest/tmp_OWwck.list ../../../dom/media/gtest/libhello.a ../../../media/libstagefright/libMP4Metadata.a ../../../intl/icu/target/lib/libicui18n.a ../../../intl/icu/target/lib/libicuuc.a ../../../intl/icu/target/lib/libicudata.a ../../../security/nss/lib/crmf/libcrmf.a ../../../js/
@rillian
rillian / kaybase.md
Created Sep 17, 2014
keybase identity
View kaybase.md

Keybase proof

I hereby claim:

  • I am rillian on github.
  • I am rillian (https://keybase.io/rillian) on keybase.
  • I have a public key whose fingerprint is 17E7 8AB6 BD65 A91E E811 D609 4700 0F7B B144 1DEF

To claim this, I am signing this object:

@rillian
rillian / blast log
Created Jul 22, 2014
homebrew blast failure
View blast log
tamias:trillian giles$ brew --config
HOMEBREW_VERSION: 0.9.5
ORIGIN: https://github.com/Homebrew/homebrew.git
HEAD: b79beee13bf2e0118e9d997cbc026a6a553c6953
HOMEBREW_PREFIX: /usr/local
HOMEBREW_CELLAR: /usr/local/Cellar
CPU: 8-core 64-bit ivybridge
OS X: 10.8.5-x86_64
Xcode: 5.1.1
CLT: 5.1.0.0.1.1396320587