Skip to content

Instantly share code, notes, and snippets.

# encoding: utf-8
require "suddenly_death"
require "ttfunk"
file = TTFunk::File.open(ARGV[0])
ARGV[1].split(//).each do |c|
l = 0
file.cmap.unicode.each do |u|
#!/bin/sh
TOKEN=XXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
ROOM_ID=999999
while read LINE
do
if [[ $LINE =~ ^Subject:\ (.*)$ ]] ; then
SUBJECT="${BASH_REMATCH[1]}"
elif [ -z "$LINE" ] ; then