This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#! /usr/bin/perl | |
use strict; | |
use LWP; | |
use JSON; | |
# The I-DCC Search URL and default parameters | |
my $idcc_search_url = "http://www.sanger.ac.uk/mouseportal/solr/select"; | |
my $rows = 10; | |
my $start = 0; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env perl | |
# | |
# Helper functions for interacting with the IKMC Targeting Repository | |
# | |
# Authors:: Darren Oakley (mailto:[email protected]) | |
# Nelo Onyiah (mailto:[email protected]) | |
# | |
use strict; | |
use warnings FATAL => 'all'; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env ruby | |
# | |
# Passenger Process Monitor | |
# | |
# By Darren Oakley | |
# Based heavily on a script by James Smith (https://gist.github.com/851520) | |
# That in turn was based on a similar script by Jon Bettcher | |
# | |
# - Check memory usage of all paseenger child process and kill if grows too large. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
d.oakley@l4493:~/projects/curi (*) | |
> rackup faye.ru -s thin -E production curi-155 [b193650] modified | |
>> Thin web server (v1.3.1 codename Triple Espresso) | |
>> Maximum connections set to 1024 | |
>> Listening on 0.0.0.0:9292, CTRL+C to stop | |
/Users/d.oakley/.rvm/gems/ruby-1.9.2-p180/gems/faye-websocket-0.4.1/lib/faye/websocket.rb:119:in `initialize': wrong number of arguments (0 for 1..3) (ArgumentError) | |
from /Users/d.oakley/.rvm/gems/ruby-1.9.2-p180/gems/faye-websocket-0.4.1/lib/faye/websocket.rb:119:in `open' | |
from /Users/d.oakley/.rvm/gems/ruby-1.9.2-p180/gems/faye-websocket-0.4.1/lib/faye/websocket.rb:119:in `block in initialize' | |
from /Users/d.oakley/.rvm/gems/ruby-1.9.2-p180/gems/eventmachine-0.12.10/lib/eventmachine.rb:996:in `call' | |
from /Users/d.oakley/.rvm/gems/ruby-1.9.2-p180/gems/eventmachine-0.12.10/lib/eventmachine.rb:996:in `block in run_deferred_callbacks' |