Skip to content

Instantly share code, notes, and snippets.

View d-baker's full-sized avatar

Cadence Baker d-baker

View GitHub Profile
@inky
inky / ogham.rs
Last active September 6, 2015 09:15
Ogham transliterator in Rust
fn transliterate(ogham: &str) -> String {
ogham.chars().filter_map(|token| match token {
' ' => Some(" "),
'ᚁ' => Some("B"),
'ᚂ' => Some("L"),
'ᚃ' => Some("F"),
'ᚄ' => Some("S"),
'ᚅ' => Some("N"),
'ᚆ' => Some("H"),
'ᚇ' => Some("D"),
#!/usr/bin/env python2
# screamtitles.py
# ---------------
# for @inky re: https://twitter.com/inky/status/475023831770595328
from __future__ import division
import sys
import codecs