Skip to content

Instantly share code, notes, and snippets.

View sdwfrost's full-sized avatar

Simon Frost sdwfrost

View GitHub Profile
@sdwfrost
sdwfrost / sir-r-benchmark.ipynb
Last active July 28, 2016 12:29
Benchmarks for SIR model in R/Rcpp
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@sdwfrost
sdwfrost / sir-jl-benchmark.ipynb
Last active July 28, 2016 12:06
Benchmarks for SIR model in Julia
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@sdwfrost
sdwfrost / README.md
Created May 31, 2016 10:35 — forked from thequux/README.md
Multirust-compatible racer wrapper

This wrapper automatically sets the RUST_SRC_DIRECTORY environment variable for whatever rust compiler is currently active, automatically creating a new checkout whenever necessary. This should be compatible with all of the multirust-alike tools, but it has only been tested with rustup.rs

Installation

Simply place this somewhere on your path before the main racer binary and set the execute bit.

Uninstallation

Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@sdwfrost
sdwfrost / kitp.ipynb
Created February 19, 2016 20:11
Julia overview for KITP
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@sdwfrost
sdwfrost / hello.fas
Created May 5, 2015 09:56
Sequence file for use with hellobeagle.ipynb
>mars
CCGAG-AGCAGCAATGGAT-GAGGCATGGCG
>saturn
GCGCGCAGCTGCTGTAGATGGAGGCATGACG
>jupiter
GCGCGCAGCAGCTGTGGATGGAAGGATGACG
@sdwfrost
sdwfrost / vill.phy
Created May 2, 2015 16:48
Training datasets for PANGEA village simulations
This file has been truncated, but you can view the full file.
984 6987
HOUSE2308_11180 atgggtgcga gagcgtcaat attaagaagg ggaaaattag atacgtggga aaaaattagg
HOUSE1092_16633 atgggtgcga gagcgtcaat attaagaagg ggaaaaatag atacgtggga aaaaattagg
HOUSE3776_6969 atgggtgcga gagcgtcaat attaagaggg ggaaaattag atacatggga aaaaattaag
HOUSE660_14791 atgggtgcga gagcgtcaat attaaggtgg ggaaaactag atacatggga aaaaattaag
HOUSE1492_11556 atgggtgcga gagcgtcaat attaaggtgg ggaaaattag atacatggga aaaaattaag
HOUSE713_15113 atgggtgcga gagcgtcaat attaaggtgt ggaaaattag atacatggga aaaaattaag
HOUSE4256_16741 atgggtgcga gagcgtcaat attaaggtgt ggaaaattag atacatggga aaaaattaag
HOUSE2116_7615 atgggtgcga gagcgtcaat attaaggtgt ggaaaattag atacatggga aaaaattaag
HOUSE345_9899 atgggtgcaa gagcgtcaat attaagagga ggaaaattag atacatgtaa aaaaattagg
@sdwfrost
sdwfrost / hellobeagle.ipynb
Last active August 29, 2015 14:19
hellobeagle.jl as an IJulia notebook
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@sdwfrost
sdwfrost / hellobeagle.jl
Last active July 26, 2016 02:49
Example of using the BEAGLE library in Julia
@printf "BEAGLE version %s" bytestring(ccall((:beagleGetVersion,"libhmsbeagle"), Ptr{Cchar}, (),))
@printf "BEAGLE citation %s" bytestring(ccall((:beagleGetCitation,"libhmsbeagle"), Ptr{Cchar}, (),))
const BEAGLE_OP_COUNT = 7
const BEAGLE_OP_NONE = -1
immutable BeagleResource
name::Ptr{Uint8}
@sdwfrost
sdwfrost / marginal_likelihood_in_julia.ipynb
Created June 24, 2014 19:54
Marginal likelihood in Julia
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.