October 2009
1 post
Oct 9th
April 2009
1 post
Run the current R script from vim with F2
:map <F2> <Esc>:w<CR>:!R —slave —file=%<CR>
Apr 30th
January 2009
1 post
Jan 7th
October 2008
1 post
“You will not go far wrong if you remember two simple guidelines at all times: ...”
– The layout of formal tables from the booktabs package for LaTeX
Oct 10th
September 2008
1 post
Batch run mysql queries at command line
mysql -u user -ppassword database -t -e "source sql-file"
Sep 22nd
August 2008
1 post
Starfish, Rake, and Sun Grid Engine
It’s dirty, but it’s a first attempt at starting parallel jobs using a rake task.
Aug 12th
July 2008
2 posts
Install a Ruby Gem without sudo access
gem install gem_name --install-dir=~/.gems/
Jul 24th
Makers of GitHub, release a paste bin with git... →
Jul 22nd
June 2008
6 posts
Great LaTeX thesis template →
Jun 19th
Strategy for using git in a workflow →
Jun 18th
Times Higher Education - Curse.com or... →
Jun 16th
The evolution of a Ruby programmer →
A very Ruby in-joke
Jun 16th
1 tag
Example bioinformatics data validations
validates_true_for :alignment, :logic => lambda {   re = Regexp.new(/\d+\s\d+/) ! re.match(alignment) },   :message => 'Alignment field should not contain alignment count and length' validates_format_of :alignment,   :with => /F(Y[A-Z]{2}\d{3}[CW](-[AB])?)/,   :message => 'Alignment should contain an S. cerevisiae gene'
Jun 3rd
1 tag
Example bioinformatics log file
W, [2008-06-03T11:29:39.719022 #29112]  WARN — : Load gene: Q0075 is not a valid coding ORF W, [2008-06-03T11:29:40.642888 #29112]  WARN — : Load alignment: No yeast ORF found in MYBR098W alignment W, [2008-06-03T11:29:42.254248 #29112]  WARN — : Load alignment: YDR474C is not a verified ORF W, [2008-06-03T11:29:42.585707 #29112]  WARN — : Load...
Jun 3rd
May 2008
5 posts
Go West, Young Man: Does Open Access Really Matter... →
May 29th
Using lighthouse to manage a research project →
Lighthouse has a simple interface that is intuitive. The ticketing system dovetails well with Github. It’s nice to be able to create a ticket for some thing that needs doing, then fix it and point to the Git patch that does the fix.
May 29th
1 tag
Simple Ruby markdown script using BlueCloth and...
#!/usr/local/bin/ruby require 'rubygems' require 'bluecloth' require 'rubypants' puts RubyPants.new(BlueCloth.new(File.open(ARGV.shift).read).to_html).to_html
May 19th
Yeast gene reqular expression
Y[A-Z]{2}\d{3}[CW](-[AB])? Revisions welcome
May 8th
Git pull messages show you your hard work
Updating 60661c5..f7326c6 Fast forward  .gitignore            |    2 ++  Rakefile              |   22 ++++++++++++++++++++++  analysis/project.rake |   28 ++++++++++++++++++++++++++++  config/environment.rb |   16 ++++++++++++++++  controller/main.rb    |    8 +++++++-  model/project.rb      |   12 ++++++++++++  start.rb              |   16 +++-------------  view/index.haml       |   10 ++++++++++...
May 4th