#How to install lftp, on CentOS.
1.Get latest source code.
$ curl -O http://ftp.yar.ru/pub/source/lftp/lftp-4.4.5.tar.gz
2.展開,コンパイル.
| du -k | sort -nr | less |
#How to install lftp, on CentOS.
1.Get latest source code.
$ curl -O http://ftp.yar.ru/pub/source/lftp/lftp-4.4.5.tar.gz
2.展開,コンパイル.
#How to use tabix
tabixはvcfやbed形式などのタブ区切りファイルにインデックスを張るソフトウェア.インデックスファイルの拡張子は.tbi.
1000 Genomes Projectのftpでは,vcfファイルに対して*.vcf.gz.tbiが用意されているので,tabixを使って閲覧すると何かと便利なはず.
##Install
$ wget http://sourceforge.net/projects/samtools/files/tabix/tabix-0.2.6.tar.bz2
$ bzip2 -dc tabix-0.2.6.tar.bz2 | tar xvf -
#How to get vcf-files & bam-files from 1000 Genomes Project ftp.
##Preparation
Download current.tree from 1000 genomes ftp.
$ wget ftp.1000genomes.ebi.ac.uk:/vol1/ftp/current.tree
##Getting path of vcf & bam
Now, at April 2013, Django version 1.0.4 cannot be installed by following pip-command:
$ pip install Django==1.0.4
Downloading/unpacking Django==1.0.4
Could not find a version that satisfies the requirement Django==1.0.4 (from versions: )
No distributions matching the version for Django==1.0.4
Storing complete log in /Users/numa/.pip/pip.log
#Install rvm on Mac OS X
##Install
$ git clone --depth 1 git://github.com/wayneeseguin/rvm.git
$ cd rvm
$ ./install
Add following line to .zshrc
| #!/usr/bin/env python | |
| # -*- coding: utf-8 -*- | |
| import sys | |
| import os | |
| import urllib | |
| import pytumblr # https://github.com/tumblr/pytumblr | |
| # set yours: | |
| CONSUMER_KEY = '' |
localeのファイル.po(バイナリ)を.mo(テキスト)に変換するコマンドは,
$ msgunfmt -h
使用法: msgunfmt [オプション] [ファイル]...
バイナリメッセージカタログを Uniforum 形式の .po ファイルに変換.
...
| #!/usr/bin/env python | |
| # -*- coding: utf-8 -*- | |
| import sys | |
| import os | |
| import urllib | |
| from time import sleep | |
| import pytumblr # https://github.com/tumblr/pytumblr | |
| # set yours: |
#Intro.jsを使ってみる
##Download
Githubからアーカイブをダウンロード. https://github.com/usablica/intro.js/tags