Skip to content

Instantly share code, notes, and snippets.

Alex Drummond addrummond

Block or report user

Report or block addrummond

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View keybase.md

Keybase proof

I hereby claim:

  • I am addrummond on github.
  • I am alexdrummond (https://keybase.io/alexdrummond) on keybase.
  • I have a public key ASAMFkJCiG1DjIEFh9ywx_lXhw8ViQsJtN7any7dRyN2Hwo

To claim this, I am signing this object:

View example_data.js
// ========== START OF CODE TO COPY INTO YOUR DATA FILE ==========
var IMAGES_TO_PRELOAD = [
// CHANGE THESE TO THE URLS OF THE IMAGES THAT YOU WANT TO PRELOAD
"https://upload.wikimedia.org/wikipedia/commons/thumb/e/ea/Capra_ibex_nubiana_near_Mitzpe_Ramon_in_summer_2011_%284%29.JPG/1200px-Capra_ibex_nubiana_near_Mitzpe_Ramon_in_summer_2011_%284%29.JPG",
"http://elelur.com/data_images/mammals/alpine-ibex/alpine-ibex-01.jpg"
];
define_ibex_controller({
name: "Preloader",
jqueryWidget: {
View MyDashedSentence.js
/* This software is licensed under a BSD license; see the LICENSE file for details. */
function boolToInt(x) { if (x) return 1; else return 0; }
define_ibex_controller({
name: "MyDashedSentence",
jqueryWidget: {
_init: function() {
this.cssPrefix = 'DashedSentence-';
@addrummond
addrummond / kaldur.py
Last active Dec 16, 2015
This is a Python script for computing the strong paradigm for Icelandic 'kaldur' ('cold') given the toy analysis presented in Drummond & Hornstein (forthcoming).
View kaldur.py
# coding=utf-8
import sys
from itertools import *
from sets import *
vocab_items = [(x[0], Set(x[1])) for x in
(u'kalt', ()),
(u'kaldur', ('+A', '+B')),
(u'köld', ('-B',)),
(u'kaldan', ('-pl', '+acc', '+A', '+B')),
@addrummond
addrummond / gist:4548031
Last active Dec 11, 2015
This is a script for generating the strong paradigm for the Icelandic adjective 'kaldur' ('cold') according to the DM analysis given in a forthcoming paper on the Movement Theory of Control by me and Norbert Hornstein.
View gist:4548031
# coding=utf-8
import sys
from itertools import *
from sets import *
vocab_items = [(x[0], Set(x[1])) for x in
(u'kalt', ()),
(u'kaldur', ('+A', '+B')),
(u'köld', ('-B',)),
(u'kaldan', ('-pl', '+acc', '+A', '+B')),
You can’t perform that action at this time.