This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
% some macros for pelican |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python2.7 | |
# -*- coding: utf-8 -*- | |
# vim: tabstop=8 expandtab shiftwidth=4 softtabstop=4 | |
from __future__ import print_function | |
def foobar(): | |
print("foobarł…“ſŧ→”ſ“¶ŋæ¶øæ„") | |
foobar() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# author: Valentin Heinz valentin@inktrap.org | |
# License: GPL | |
# configurable script to print fortunes via cowsay, so the speech bubble won't | |
# change in size and width. | |
HLIMIT=$1 | |
#HLIMIT=$(($1-5)) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
import nltk | |
import sys | |
import datetime | |
import matplotlib.pyplot as plt | |
import csv | |
LIMIT=14 | |
grammar = nltk.CFG.fromstring(""" | |
S -> NP VP |