This file contains 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
1)RethinkDB Serverをインストールする。 | |
以下のコマンドを実行していけばインストール可能。 | |
$ source /etc/lsb-release && echo "deb http://download.rethinkdb.com/apt $DISTRIB_CODENAME main" | sudo tee /etc/apt/sources.list.d/rethinkdb.list | |
$ wget -qO- https://download.rethinkdb.com/apt/pubkey.gpg | sudo apt-key add - | |
$ sudo apt-get update | |
$ sudo apt-get install rethinkdb | |
起動してみる。 | |
$ rethinkdb |
This file contains 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 | |
require 'rubygems' | |
require 'uri' | |
require 'bio' | |
require 'json' | |
require 'securerandom' | |
# [TODO] integrate this into BioRuby | |
module Bio |
This file contains 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-1.9 | |
require 'rubygems' | |
require 'bio' | |
require 'json' | |
require 'securerandom' | |
# [TODO] true to combine the result with the EdgeDB | |
if $DEBUG | |
$edgedb = true |
This file contains 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 | |
require "rubygems" | |
require "net/http" | |
require "uri" | |
require "cgi" | |
require "json" # gem install json | |
class SPARQL |