tail -f
みたいに流しながら見たいんだけど、色んなコマンドが出力をバッファしちゃうので、困ったときはそのコマンドにバッファしないオプションが無いか探すのがオヌヌメ。
man command
-> bufferとかで検索
--line-buffered
Use line buffering, it can be a performance penality.
$ iostat -x 1 | grep --line-buffered 'sda'
package AnyEvent::HTTP::Simple; | |
use strict; | |
use AnyEvent::HTTP (); | |
use HTTP::Request::Common (); | |
use HTTP::Request; | |
use HTTP::Response; | |
use HTTP::Cookies; | |
use Any::Moose; | |
our $VERSION = '0.02'; |
/** | |
*============================================================ | |
* copyright(c) 2011 www.romatica.com | |
* @author itoz | |
* 2011/03/05 | |
*============================================================ | |
*/ | |
package ****.****.*****; | |
import android.content.res.Resources; |
APP_NAME := my_awesome_app | |
all: compile | |
compile: clear | |
@cp src/$(APP_NAME).app ebin/ | |
@erlc -pa ebin/ -o ebin/ src/*.erl | |
compile_test: compile | |
@erlc -pa ebin/ -o ebin/ test/*.erl |
data Term t = Zero | |
| Succ (Term Int) | |
| Pred (Term Int) | |
| IsZero (Term Int) | |
| If (Term Bool) (Term Int) (Term Int) | |
-- eval :: Term t -> T | |
eval Zero = I 0 | |
eval (Succ e) = I $ succ $ int $ eval e | |
eval (Pred e) = I $ pred $ int $ eval e |
./configure \ | |
--enable-mod-charset \ | |
--with-apxs2=/usr/local/apache2/bin/apxs \ | |
--disable-cgi \ | |
--with-libexpat-dir=/usr \ | |
--with-libxml-dir=/usr \ | |
--with-openssl \ | |
--with-openssl-dir=$(brew --prefix openssl) \ | |
--with-kerberos \ | |
--with-zlib \ |
#NoSQLデータモデリング技法
原文:NoSQL Data Modeling Techniques « Highly Scalable Blog
I translated this article for study. contact matope[dot]ono[gmail] if any problem.
NoSQLデータベースはスケーラビリティ、パフォーマンス、一貫性といった様々な非機能要件から比較される。NoSQLのこの側面は実践と理論の両面からよく研究されている。ある種の非機能特性はNoSQLを利用する主な動機であり、NoSQLシステムによく適用されるCAP定理がそうであるように分散システムの基本的原則だからだ。一方で、NoSQLデータモデリングはあまり研究されておらず、リレーショナルデータベースに見られるようなシステマティックな理論に欠けている。本稿で、私はデータモデリングの視点からのNoSQLシステムファミリーの短い比較といくつかの共通するモデリングテクニックの要約を解説したい。
本稿をレビューして文法を清書してくれたDaniel Kirkdorfferに感謝したいと思う
body { | |
font-family: Helvetica, arial, sans-serif; | |
font-size: 14px; | |
line-height: 1.6; | |
padding-top: 10px; | |
padding-bottom: 10px; | |
background-color: white; | |
padding: 30px; } | |
body > *:first-child { |