Cite the source dataset as
Simon Greenhill and Russell Gray, 2015. Bantu Basic Vocabulary Database
This dataset is licensed under a https://creativecommons.org/licenses/by/4.0/ license
Available online at http://language.psy.auckland.ac.nz/bantu/
| import pygame | |
| import sys | |
| import re | |
| import math | |
| import random | |
| # ---------- Node structure ---------- | |
| class Node: | |
| def __init__(self, name="", length=0.0): | |
| self.name = name |
| #!/usr/bin/env python3 | |
| #coding=utf-8 | |
| """ | |
| Save the output of R's `sessionInfo()` into a text file. | |
| """ | |
| __author__ = 'Simon J. Greenhill <simon@simon.net.nz>' | |
| __copyright__ = 'Copyright (c) 2017 Simon J. Greenhill' | |
| __license__ = 'New-style BSD' | |
| import re |
Cite the source dataset as
Simon Greenhill and Russell Gray, 2015. Bantu Basic Vocabulary Database
This dataset is licensed under a https://creativecommons.org/licenses/by/4.0/ license
Available online at http://language.psy.auckland.ac.nz/bantu/
| PAPER=my-paper | |
| BIBFILE=my-paper | |
| OUTPUTDIR=build | |
| .PHONY: pdf refs bib pdflatex wordcount clean | |
| all: build/plos2015.bst bib pdf diff figures | |
| build/plos2015.bst: | |
| @cp plos2015.bst build/plos2015.bst |
| import random | |
| def shotgun(iterable, size=12): | |
| """ """ | |
| start = random.choice(range(0, len(iterable)-size)) | |
| return(start, iterable[start:start+size]) | |
| def paired_end(iterable, read_size=10, gap_size=15): | |
| """ """ | |
| start = random.choice(range(0, len(iterable)-(read_size+gap_size))) |
| #!/bin/sh | |
| USER=~/Library/LaunchAgents/com.crashplan.engine.plist | |
| SYSTEM=/Library/LaunchDaemons/com.crashplan.engine.plist | |
| if [ -f $SYSTEM ] | |
| then | |
| PLIST=$SYSTEM | |
| elif [ -f $USER ] | |
| then |