Skip to content

Instantly share code, notes, and snippets.

@sucitw
sucitw / install_jenkins_plugin.sh
Created July 12, 2016 11:34 — forked from micw/install_jenkins_plugin.sh
Script to install one or more jenkins plugins including dependencies while jenkins is offline
#!/bin/bash
set -e
if [ $# -eq 0 ]; then
echo "USAGE: $0 plugin1 plugin2 ..."
exit 1
fi
plugin_dir=/var/lib/jenkins/plugins

tmux cheatsheet

As configured in my dotfiles.

start new:

tmux

start new with session name:

@sucitw
sucitw / README
Created April 8, 2016 07:42 — forked from glts/README
Benchmark for Vim regexp engine performance
Regular expressions and data from
http://lh3lh3.users.sourceforge.net/reb.shtml
Regular expressions benchmarked:
URI ([a-zA-Z][a-zA-Z0-9]*)://([^ /]+)(/[^ ]*)?
Email ([^ @]+)@([^ @]+)
Date ([0-9][0-9]?)/([0-9][0-9]?)/([0-9][0-9]([0-9][0-9])?)
URI|Email ([a-zA-Z][a-zA-Z0-9]*)://([^ /]+)(/[^ ]*)?|([^ @]+)@([^ @]+)
Word .*SCSI-
@sucitw
sucitw / tmux-cheatsheet.markdown
Created December 16, 2015 06:58 — forked from MohamedAlaa/tmux-cheatsheet.markdown
tmux shortcuts & cheatsheet

tmux shortcuts & cheatsheet

start new:

tmux

start new with session name:

tmux new -s myname
#!/usr/bin/env python
from sys import argv
from cogent.parse.fasta import MinimalFastaParser
from cogent import DNA
"""
Requires PyCogent installation. This should be present if you have QIIME
installed. If you are using MacQIIME, initialize the environment by calling