in gnu-like systems
sed -f rm-en-wordlist-on-lines.sed corpus.list > output.file
should suffice, however on OSX, it may be required to run sed
like this:
{ | |
"origin": [ | |
"A #a#", | |
"B #b#", | |
"C #c#", | |
"D #d#", | |
"E #e#", | |
"F #f#", | |
"G #g#", | |
"H #h#", |
s|\<a\>||g | |
s|\<about\>||g | |
s|\<above\>||g | |
s|\<after\>||g | |
s|\<again\>||g | |
s|\<against\>||g | |
s|\<all\>||g | |
s|\<am\>||g | |
s|\<an\>||g | |
s|\<and\>||g |
{ | |
"principia": [ | |
"eris", | |
"poee", | |
"1", | |
"2", | |
"5", | |
"3", | |
"4", | |
"discordian", |
7/27/1978 | |
When I was 18... 18 years old, I saw for the first time in my life... I saw an image of clarity. I saw a comic strip... a three panel comic strip that, though simple as it seemed, changed me... changed my being, changed who I am... Made me who I am... | |
Enlightened me... | |
The strip, Garfield, the comic strip was new... no more than maybe a month and a half since inception, since... since coming into existence... and there it was before me in print, I saw it... a comic strip... What was it called? | |
Garfield. |
#!/usr/bin/env python | |
import sys, os | |
from PIL import Image, ImageOps, ImageChops, ImageFont, ImageDraw, ImageFilter | |
# Make an image more closely resemble a pen drawing, with optional shading and coloring | |
def sketchify(sourceImage, colorized=True, sketchOnly=False): | |
sketch=ImageOps.invert(ImageOps.autocontrast(sourceImage).filter(ImageFilter.FIND_EDGES)) | |
if sketchOnly: | |
return sketch | |
if(colorized): |
#! /bin/sh | |
# depends on ImageMagick 6.8.9-9 | |
for name in *.hpi; do | |
echo $name | |
# split hpi into component jpg & png | |
./split.py $name |
#! /usr/bin/env python | |
# -*- coding: utf-8 -*- | |
# vim:fenc=utf-8 | |
# Ely Golden, Jun 14 2018 | |
def recaman(n): | |
seq = [] | |
for i in range(n): | |
if(i == 0): x = 0 | |
else: x = seq[i-1]-i |
SHELL = /bin/bash | |
sources := $(wildcard *.md) | |
objects := $(patsubst %.md,%.html,$(subst $(source),$(output),$(sources))) | |
all: $(objects) | |
%.html: %.md | |
pandoc --template layout.html5 --standalone --smart --to html5 -o $@ $< | |
mv *.html ../public_html/ |
var text = document.getElementById('text'); | |
text.setAttribute('textLength', Math.round(text.clientWidth / 1.1)); | |
text.style.fontSize = Math.round(text.clientWidth / text.textContent.length) + 'px'; | |
var img=document.getElementById('image'); | |
img.onload=function(){ | |
var svg=document.getElementById('svg'); | |
svg.height=img.naturalHeight; | |
svg.width=img.naturalWidth; | |
}; |