Inspired by dannyfritz/commit-message-emoji
See also gitmoji.
Commit type | Emoji |
---|---|
Initial commit | 🎉 :tada: |
Version tag | 🔖 :bookmark: |
New feature | ✨ :sparkles: |
Bugfix | 🐛 :bug: |
# It is show-the-point demo for my article | |
# "On DataFrame datatype in Ruby" http://zverok.github.io/blog/2016-01-10-dataframe.html | |
require 'good_data_frame' # `require': cannot load such file -- good_data_frame (LoadError) | |
# Initialization (with default index): hashes of column: values | |
# Values of each column are homogenous | |
# First and most important thing is "what columns is" | |
table = GDF.new( | |
manager: ['Tom', 'Jerry', 'Magda'], |
Inspired by dannyfritz/commit-message-emoji
See also gitmoji.
Commit type | Emoji |
---|---|
Initial commit | 🎉 :tada: |
Version tag | 🔖 :bookmark: |
New feature | ✨ :sparkles: |
Bugfix | 🐛 :bug: |
#include <stdio.h> | |
#include <string.h> | |
#include <stdlib.h> | |
#include <htslib/sam.h> | |
int main(int argc, char *argv[]){ | |
samFile *fp_in = hts_open(argv[1],"r"); //open bam file | |
bam_hdr_t *bamHdr = sam_hdr_read(fp_in); //read header | |
bam1_t *aln = bam_init1(); //initialize an alignment |
require 'benchmark' | |
_MAXNUM=1000 | |
#=begin | |
# 二項係数 nCk を計算する関数 ver.1 | |
def binom_v1(n,k) | |
if k==0 then | |
return 1 |
$ convert -pointsize 300 -gravity south -font Times-Roman -annotate 0 "aaaaa" -fill red flower.jpg out.jpg | |
# -pointsize 文字の大きさ | |
# -gravity 文字の位置 | |
# -font フォント | |
# -annotate 数値:文字の傾き 文字列:テキスト | |
# -fill 文字の色 | |
class Matrix | |
IndexOverflow = Class.new(StandardError) | |
attr_reader :dims, :nrows, :ncols | |
def initialize(mm, nn) | |
@dims = [mm, nn] | |
@nrows = mm | |
@ncols = nn |