Skip to content

Instantly share code, notes, and snippets.

View naupaka's full-sized avatar

Naupaka Zimmerman naupaka

View GitHub Profile
List of microbial ecology talks at the 2014 ESA meeting in Sacramento
Feel free to add your favorite talks
Workshops of Interest
| Day | Time | Session | Organizer |
|----------|---------------|------------------------------------------------------------|----------------------------|
|Sunday | 8-5 | Env Seq Approaches and Comp Tools for Ecologists | Holly Bik |
|Monday | 11:30-1:15 | Viz w/ Radioisotopes for Plant/Microbe Metabolite Transfer | Chantal D. Reid |
Sessions of Interest

Keybase proof

I hereby claim:

  • I am naupaka on github.
  • I am naupaka (https://keybase.io/naupaka) on keybase.
  • I have a public key whose fingerprint is 0484 054E D8DF FEEB 058C 51D5 2AA5 418D EF75 9091

To claim this, I am signing this object:

@naupaka
naupaka / DNS_tips.md
Last active August 4, 2018 10:45
Tips for dealing with DNS issues in OS X Yosemite
@naupaka
naupaka / reimbursement-template.org
Last active September 4, 2015 17:34
Org-mode reimbursement template for emacs. If you have org-mode installed, C-c C-c on the formula updates the table calculation to sum the expenses column. C-c C-e l o to generate the TeX and pdf and open it in your pdf viewer app.

Reimbursement Request

Expenses (receipts or other documentation attached):

Cost ($)Item(s)
@naupaka
naupaka / add_date.sh
Created September 15, 2015 06:00
zsh script to pull a date string from a parent directory and write it into an image file's EXIF metadata
#!/bin/zsh
# Script to add back in missing EXIF creation data metadata using
# exiftool, based on parent folder (which contains date information)
# Naupaka Zimmerman
# naupaka at gmail.com
# September 14, 2015
# Code is licensed CC-0
# Set file incrementer
@naupaka
naupaka / Chirp Arduino example
Created June 9, 2016 23:39 — forked from Miceuz/Chirp Arduino example
Chirp Arduino example
/*
Chirp - arduino example
Connection
Chirp pin 1 - no connection
Chirp pin 2 - Arduino VCC
Chirp pin 3 - Arduino A5
Chirp pin 4 - Arduino A4
Chirp pin 5 - Arduino pin 2
Chirp pin 6 - Arduino GND
@naupaka
naupaka / bookends_to_bibtex.scpt
Last active November 15, 2021 22:15
Applescript to export selected groups in the Bookends bibliography management software to bibtex files
#!/usr/bin/osascript
(*
Script written by Naupaka Zimmerman
March 17, 2017
MIT License
Copyright (c) 2017 Naupaka Zimmerman
@naupaka
naupaka / upgrade_packages.R
Created April 24, 2017 15:52 — forked from bearloga/upgrade_packages.R
The script can be used to re-install packages after upgrading R (on Linux or Mac), since libraries cannot be reused between different minor versions (e.g. when upgrading 3.2.3 to 3.3.2). It detects when a package was installed from CRAN vs GitHub/Git and re-installs it using the appropriate func. Usage: `Rscript upgrade_packages.R`
# WMF only:
if (file.exists("/etc/wikimedia-cluster")) {
message('Detected that this script is being run on a WMF machine ("', Sys.info()["nodename"], '"). Setting proxies...')
Sys.setenv("http_proxy" = "http://webproxy.eqiad.wmnet:8080")
Sys.setenv("https_proxy" = "http://webproxy.eqiad.wmnet:8080")
}
# General use:
message("Checking for a personal library...")
if (!dir.exists(Sys.getenv("R_LIBS_USER"))) {
@naupaka
naupaka / colortrans.py
Created June 24, 2017 23:28 — forked from MicahElliott/colortrans.py
Convert values between RGB hex codes and xterm-256 color codes.
#! /usr/bin/env python
""" Convert values between RGB hex codes and xterm-256 color codes.
Nice long listing of all 256 colors and their codes. Useful for
developing console color themes, or even script output schemes.
Resources:
* http://en.wikipedia.org/wiki/8-bit_color
* http://en.wikipedia.org/wiki/ANSI_escape_code
@naupaka
naupaka / find_local_tweeps.R
Created September 11, 2017 07:27 — forked from noamross/find_local_tweeps.R
A visit to Durham
library(rtweet) #rtweet API creds should already be set up
library(stringi)
library(dplyr)
friends = get_friends(user="noamross")
followers = get_followers("noamross")
tweeps_id = distinct(bind_rows(friends, followers))
tweeps_info = lookup_users(tweeps_id$user_id)
# A regex for a visit to Durham