My Recent Pastes (16 and counting)
Pastes by PotatoSalad (16 and counting)
Pages: 1 2
Below are the 15 most recent pasties by PotatoSalad.
March 18, 2008
6:34PM EDT
by PotatoSalad
View more (98 lines)
#line 1 "test.rl" #include <stdio.h> #include <stdlib.h> #line 31 "test.rl"
March 18, 2008
6:33PM EDT
by PotatoSalad
View more (50 lines)
#include <stdio.h>
#include <stdlib.h>
%%{
machine test;
March 18, 2008
6:33PM EDT
by PotatoSalad
View more (55 lines)
#include <stdio.h>
#include <stdlib.h>
%%{
machine test;
March 18, 2008
1:00PM EDT
by PotatoSalad
View more (47 lines)
andrew[mystock]$ cd vendor/rails andrew[rails]$ git tag -l ...*snip*... rel_2-0-0_RC2 rel_2-0-1
March 18, 2008
12:59PM EDT
by PotatoSalad
View more (47 lines)
andrew[mystock]$ cd vendor/rails andrew[rails]$ git tag -l ...*snip*... rel_2-0-0_RC2 rel_2-0-1
March 18, 2008
12:57PM EDT
by PotatoSalad
View more (47 lines)
andrew[mystock]$ cd vendor/rails andrew[rails]$ git tag -l ...*snip*... rel_2-0-0_RC2 rel_2-0-1
November 08, 2007
11:42AM EDT
by PotatoSalad
View more (27 lines)
diff --git a/public/javascripts/control.tabs.js b/public/javascripts/control.tabs.js
index ec69bc4..1cd6b72 100644
--- a/public/javascripts/control.tabs.js
+++ b/public/javascripts/control.tabs.js
@@ -85,7 +85,7 @@ Object.extend(Control.Tabs.prototype,{
August 13, 2007
5:04PM EDT
by PotatoSalad
View more (130 lines)
require 'rubygems' require 'facet/hash/stringify_keys' require 'facet/symbol/to_proc' require 'pp'
August 10, 2007
2:42PM EDT
by PotatoSalad
View more (192 lines)
# ARGV[0] = filename of sequences to analyze # ARGV[1] = window size # ARGV[2] = output CSV file require 'rubygems'
August 10, 2007
2:25PM EDT
by PotatoSalad
View more (11 lines)
letters = %w(A T G C)
File.open(ARGV[0], 'w+') do |f|
(lines = ARGV[1].to_i).times do
(width = (ARGV[2] || 70).to_i).times do
August 10, 2007
2:23PM EDT
by PotatoSalad
View more (44 lines)
[original]: ruby dna_orig.rb data_100.txt 4 output.csv
user system total real
11.640000 0.120000 11.760000 ( 13.275738)
11.690000 0.130000 11.820000 ( 13.311124)
11.640000 0.120000 11.760000 ( 13.317740)
August 10, 2007
2:18PM EDT
by PotatoSalad
View more (191 lines)
# ARGV[0] = filename of sequences to analyze # ARGV[1] = window size # ARGV[2] = output CSV file require 'rubygems'
August 08, 2007
12:22PM EDT
by PotatoSalad
View more (87 lines)
module Inflector
def methodize(word)
camelize(underscore(word), false)
end
end
August 01, 2007
2:23PM EDT
by PotatoSalad
View more (32 lines)
require 'rubygems' require 'recursively' require 'facet/hash/stringify_keys' require 'facet/hash/symbolize_keys' require 'facet/symbol/to_proc'
