Skip to content

Instantly share code, notes, and snippets.

View tpoisot's full-sized avatar
🌴
On vacation

Timothée Poisot tpoisot

🌴
On vacation
View GitHub Profile
@tpoisot
tpoisot / lv.tex
Created February 16, 2017 16:50
equations
\documentclass[12pt]{article}
\usepackage[paperwidth=7in,paperheight=5in]{geometry}
\usepackage{amsmath}
\usepackage{graphicx}
\usepackage[T1]{fontenc}
\usepackage{fourier}
\begin{document}\Huge
\thispagestyle{empty}
[
{"id":"devi10dme","type":"article-journal","title":"Defining and measuring ecological specialization","container-title":"Journal of Applied Ecology","page":"15-25","volume":"47","issue":"1","DOI":"10.1111/j.1365-2664.2009.01744.x","author":[{"family":"Devictor","given":"Vincent"},{"family":"Clavel","given":"Joanne"},{"family":"Julliard","given":"Romain"},{"family":"Lavergne","given":"Sébastien"},{"family":"Mouillot","given":"David"},{"family":"Thuiller","given":"Wilfried"},{"family":"Venail","given":"Patrick"},{"family":"Villéger","given":"Sébastien"},{"family":"Mouquet","given":"Nicolas"}],"issued":{"date-parts":[[2010,2]]}},
{"id":"cana14een","type":"article-journal","title":"Empirical Evaluation of Neutral Interactions in Host-Parasite Networks","container-title":"The American Naturalist","page":"468-479","volume":"183","issue":"4","DOI":"10.1086/675363","author":[{"family":"Canard","given":"E. F."},{"family":"Mouquet","given":"N."},{"family":"Mouillot","given":"D."},{"family":"Stanko","given":"M."},
@tpoisot
tpoisot / viridis.jl
Created November 1, 2016 18:23
Viridis as a gadfly color map in julia
using Colors
using Gadfly
_viridis_data = [[0.267004, 0.004874, 0.329415],
[0.268510, 0.009605, 0.335427],
[0.269944, 0.014625, 0.341379],
[0.271305, 0.019942, 0.347269],
[0.272594, 0.025563, 0.353093],
[0.273809, 0.031497, 0.358853],
[0.274952, 0.037752, 0.364543],
library(tripack)
library(viridis)
library(grDevices)
n <- 40
x <- runif(n)
y <- runif(n)
gr <- expand.grid(c(1:n), c(1:n), c(1:n))
@tpoisot
tpoisot / Makefile
Created April 7, 2016 13:54
google timeline
ALL: map.png
map.png: map.r x.Rdata
Rscript map.r
timestamp.tsv: tim.json read.py
python read.py
wallpaper: map.png
cp map.png /home/tpoisot/.config/wallpaper.png
@tpoisot
tpoisot / icanhazpdf.py
Created February 14, 2016 15:53
#ICanHazPDF
#! /usr/bin/env python
import re
import requests
import tempfile
import urllib.request
import random
import sys
import os
@tpoisot
tpoisot / gist:3d12df4f23ddb0daaac6
Created November 6, 2015 19:56
netctl profile for UdeM network
Description='UdeM Crypt'
Interface=wlp4s0
Connection=wireless
Security=wpa-configsection
IP=dhcp
WPAConfigSection=(
'ssid="UdeM avec cryptage"'
'key_mgmt=WPA-EAP'
'eap=PEAP'
'proto=RSN'
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

Guidelines for contribution

This document described guidelines for contributions for projects led by members of the [Poisot lab of computational ecology][pl], Université de Montréal. It should be followed by lab members (at all times), as well as people with suggested added features, or willing to contribute enhancement or bug fixes.

Authorship

Any contribution to the code of a software grants authorship on the next paper

Keybase proof

I hereby claim:

  • I am tpoisot on github.
  • I am tpoisot (https://keybase.io/tpoisot) on keybase.
  • I have a public key whose fingerprint is D90A DF66 2A2A A838 1F2F C254 377F 66BB A067 F62C

To claim this, I am signing this object: