I hereby claim:
- I am ftrain on github.
- I am ftrain (https://keybase.io/ftrain) on keybase.
- I have a public key ASDM7VU2lSOHT1XBQ4IdkIv3O21V6lTe7fQLLbnG1Bop3Qo
To claim this, I am signing this object:
/* | |
actually.js | |
_ _ _ | |
__ _ __ _ __ _ __ _ ___| |_ _ _ __ _| | |_ _ | |
/ _` |/ _` |/ _` |/ _` |/ __| __| | | |/ _` | | | | | | | |
| (_| | (_| | (_| | (_| | (__| |_| |_| | (_| | | | |_| |_ | |
\__,_|\__,_|\__,_|\__,_|\___|\__|\__,_|\__,_|_|_|\__, ( ) | |
|___/|/ | |
*/ |
;; This is at: https://gist.github.com/8655399 | |
;; So we want a rhyming dictionary in Clojure. Jack Rusher put up | |
;; this code here: | |
;; | |
;; https://gist.github.com/jackrusher/8640437 | |
;; | |
;; I'm going to study this code and learn as I go. | |
;; | |
;; First I put it in a namespace. |
;; .emacs | |
;;; uncomment this line to disable loading of "default.el" at startup | |
;; (setq inhibit-default-init t) | |
;; enable visual feedback on selections | |
(setq transient-mark-mode t) | |
;; default to better frame titles | |
(setq frame-title-format |
#!/usr/bin/perl | |
while (<>) { | |
s/'/''/g; | |
/^([^\s]+)\s*([^\s]+)\s*(.+)\s+\.\s*$/; | |
my $s = $1; | |
my $p = $2; | |
my $o = $3; | |
$s=~s/[<>]//g; | |
$p=~s/[<>]//g; |
import argparse | |
from math import ceil | |
from more_itertools import powerset | |
from ordered_set import OrderedSet | |
""" | |
$ pip install more_itertools ordered_set | |
$ python spellingbee.py RACFKOT -h | |
usage: spellingbee.py [-h] [--words WORDS] CHARACTERS |
I hereby claim:
To claim this, I am signing this object:
#!/bin/bash | |
# | |
# A script that takes a Twitter data archive, which is produced as a | |
# set of JavaScript files (different from the regular archive, which | |
# is CSV and HTML), and converts the `tweet.js` file, which contains | |
# all of the tweets, into tractable JSON, one tweet per line. It then | |
# inserts /that/ into a SQLite3 database, and extracts a simple | |
# relational table of tweets from the JSON. Finally, it runs datasette | |
# on the resulting database to allow you to explore. |
set -g mode-mouse on | |
set -g mouse-resize-pane on | |
set -g mouse-select-pane on | |
set -g mouse-select-window on | |
set -g base-index 1 | |
setw -g aggressive-resize on | |
set-option -g status-utf8 on |
Sometimes there's a terrible penalty for telling the truth. | |
—The Great Lie (1941) | |
Sometimes even Cupid needs a little help! | |
—The Model and the Marriage Broker (1951) | |
Sometimes any man can be a giant . . . | |
—Giant (1956) | |
Sometimes murder is just a way to pass the time. |
#!/usr/bin/perl | |
# Copyright (c) 2015, Paul Ford, ford@ftrain.com | |
# All rights reserved. | |
# | |
# Redistribution and use in source and binary forms, with or without | |
# modification, are permitted provided that the following conditions | |
# are met: | |
# | |
# 1. Redistributions of source code must retain the above copyright |