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
### | |
# | |
# QTL-seq pipline | |
# see also: http://genome-e.ibrc.or.jp/home/bioinformatics-team/mutmap/QTL-seq_quick_start_guide_brief_Rev0.0.pdf | |
# | |
# Usage: | |
# 0. change directory to the working directory | |
# 1. curl -O -L https://gist.githubusercontent.com/duck8823/3ef65d29328b2f99057d5f67dbc86e24/raw/Dockerfile | |
# 2. docker build -t qtl_seq . | |
# 3. curl -O -L http://genome-e.ibrc.or.jp/home/bioinformatics-team/mutmap/QTL-seq_framework1.4.4.tar.gz |
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
package main | |
import ( | |
"archive/tar" | |
"bytes" | |
"context" | |
"encoding/json" | |
"fmt" | |
"github.com/docker/docker/api/types" | |
"github.com/docker/docker/api/types/container" |
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
FROM maven:3.5.3-jdk-8 | |
ADD . . | |
ENTRYPOINT ["mvn"] |
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
fun main(args: Array<String>) { | |
exec(fun(a: String): String { | |
return "Hello $a" | |
}) | |
} | |
fun exec(callback: (String) -> String ) { | |
println(callback("world")) | |
} |
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
" 基本 | |
set number | |
set tabstop=4 | |
set shiftwidth=4 | |
set softtabstop=4 | |
set encoding=utf-8 | |
set fileencoding=utf-8 | |
" 新しいウィンドウを開く場所 | |
set splitbelow |
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
package Animal; | |
sub new { | |
my $pkg = shift; | |
return bless {name => {@_}->{name}}, $pkg; | |
} | |
sub name { | |
my $self = shift; | |
return $self->{name}; |
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
<?xml version="1.0" encoding="UTF-8" ?> | |
<dataset> | |
<User id="1" name="foo" /> | |
<User id="2" /> | |
</dataset> |
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
my class Hoge { | |
has Str $!fuga; | |
submethod BUILD(:$!fuga) { | |
} | |
method fuga { | |
return $!fuga; | |
} | |
} |
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
FROM centos:7 | |
MAINTAINER shunsuke maeda <duck8823@nig.ac.jp> | |
# 依存ライブラリ | |
RUN yum update -y | |
RUN yum install -y gcc make wget bzip2 fontconfig openssl-devel | |
# Python 3.5 | |
WORKDIR /tmp |