Skip to content

Instantly share code, notes, and snippets.

View jashapiro's full-sized avatar

Joshua Shapiro jashapiro

View GitHub Profile
@cbergman
cbergman / galaxy-ubuntu-biolinux
Created July 19, 2012 19:03
Installation of Galaxy & (many) dependencies on Ubuntu / Biolinux
# Follow steps 1-4 on Ubuntu or 2-4 on Biolinux
1. Add repositories to your machine configuration
a. Bio-Linux
$ sudo add-apt-repository “deb http://nebc.nerc.ac.uk/bio-linux/ unstable bio-linux”
$ sudo apt-get update
$ sudo apt-get install bio-linux-keyring
b. CRAN
@gruber
gruber / gist:1063605
Created July 4, 2011 16:48
Simple Inbox Archiving Script for Apple Mail
-- See article here: http://daringfireball.net/2007/07/simple_inbox_sweeper
-- The following should be one long line:
set _description to "All unflagged, read messages in each IMAP account
inbox will be moved to the “Archive” mailbox corresponding to that
account. This action is not undoable."
tell application "Mail"
display alert "Archive read messages from IMAP inboxes?" buttons ¬
{"Cancel", "Archive"} cancel button 1 message _description