Skip to content

Instantly share code, notes, and snippets.

View kleinschmidt's full-sized avatar

Dave Kleinschmidt kleinschmidt

View GitHub Profile
@kleinschmidt
kleinschmidt / Manifest.toml
Created January 31, 2019 00:09
psych301 (sensation and perception) fourier demos
# This file is machine-generated - editing it directly is not advised
[[AbstractFFTs]]
deps = ["Compat", "LinearAlgebra"]
git-tree-sha1 = "8d59c3b1463b5e0ad05a3698167f85fac90e184d"
uuid = "621f4979-c628-5d54-868e-fcf4e3e8185c"
version = "0.3.2"
[[AssetRegistry]]
deps = ["Distributed", "JSON", "Pidfile", "SHA", "Test"]
@kleinschmidt
kleinschmidt / tech-support.py
Created April 24, 2020 18:10
create a "tech support" HIT based on an existing supersubmiterator config
#!/usr/bin/env python
import json, argparse, os, csv
import boto3
mturk = boto3.client('mturk')
def main():
parser = argparse.ArgumentParser(description="Technical Support for MTurk workers")
parser.add_argument(
"--qualification_id",
@kleinschmidt
kleinschmidt / formula.jl
Created July 12, 2020 20:36
benchmarking formula creating compile time in StatsModels.jl
using StatsModels
macro echotime(ex)
println(ex)
esc(:(@time $ex))
end
@formula(y ~ 1+x)
exs = [