Skip to content

Instantly share code, notes, and snippets.

View timothyslau's full-sized avatar
💭
There's data in my veins.

Timothy Lau timothyslau

💭
There's data in my veins.
View GitHub Profile
@cgoldberg
cgoldberg / lookup_pypi_packages.py
Last active September 15, 2020 21:53
lookup PyPI packages by author or maintainer
#!/usr/bin/env python
# Corey Goldberg, 2013
import argparse
import pkgtools.pypi
"""
Command line script to lookup packages on Python Package Index (PyPI).
@emhart
emhart / refexp.r
Created November 16, 2012 21:23
Blog post on random effects in mixed models
library(lme4)
library(ggplot2)
#create some levels
levs <- as.factor(c("l1","l2","l3","l4","l5"))
#set the factor means
f_means <- c(6,16,2,10,13)
# set individual as a factor
@yamaya
yamaya / xcode-clang-vers
Last active April 2, 2025 00:16
Xcode clang version record
# Xcode 4.3.3
Apple clang version 3.1 (tags/Apple/clang-318.0.61) (based on LLVM 3.1svn)
Target: x86_64-apple-darwin11.4.0
Thread model: posix
# Xcode 4.3.2
Apple clang version 3.1 (tags/Apple/clang-318.0.58) (based on LLVM 3.1svn)
Target: x86_64-apple-darwin11.4.0
Thread model: posix