Skip to content

Instantly share code, notes, and snippets.

View wilkinson's full-sized avatar

Sean Wilkinson wilkinson

View GitHub Profile
@wilkinson
wilkinson / parse_pfam-min.js
Last active August 29, 2015 13:56
PFAM parser for Spidermonkey developer shell
//- JavaScript source code
//- parse_pfam-min.js ~~
//
// This is the minimal version of "parse_pfam.js" requested by Malay Basu.
//
// ~~ (c) SRW, 24 Feb 2014
// ~~ last updated 24 Feb 2014
(function main(argv) {
@wilkinson
wilkinson / brew --config
Created July 14, 2013 23:10
Support data for Homebrew issue #21216 (https://github.com/mxcl/homebrew/issues/21216)
HOMEBREW_VERSION: 0.9.4
ORIGIN: https://github.com/mxcl/homebrew
HEAD: 188db909a077dbb579ac7fb59b75ca9366dbf08b
HOMEBREW_PREFIX: /usr/local
HOMEBREW_CELLAR: /usr/local/Cellar
CPU: quad-core 64-bit ivybridge
OS X: 10.8.4-x86_64
Xcode: 4.6.3
CLT: 4.6.0.0.1.1365549073
LLVM-GCC: build 2336
@wilkinson
wilkinson / .bashrc
Created September 25, 2014 18:56
Shellshock check for bashrc
# To anyone worried about using servers that may not have attentive admins --
# put the following line(s) in your ~/.bashrc to help protect yourself:
env x='() { :;}; echo "WARNING: SHELLSHOCK DETECTED"' \
bash --norc -c ':' 2>/dev/null;
# It will print to stdout if and only if your shell is vulnerable, and nothing
# will be printed if your shell has been patched. It will take a little longer
# to launch a new shell slightly, but for some, this may be worth it.