Bazel run closed stdin

Bazel is a build tool which coordinates builds and runs tests.

Recently I wrote some code as follow:

Read more

Index of Using AWS S3 Bucket

In this post, I am going to list a set of links to solve the problems in using AWS S3 Bucket(Amazon Simple Storage Service) Read more

How to Create a User for a Specific Database

It is a common operation to create a user and giant all the permission to a specific database.

Read more

Index of Using MongoDB

In this post, I am going to list a set of page as navigation, so that we can use MongoDB easier. Read more

书生少年, 意气风发

十九日, 我的前室友在微信上闪了下我. 伊到了, 下午来我这儿取一下各种大包小包. (然后我们的一切联系就可以完蛋啦).

好哒, 我很快回复道.

整理了一下伊的物品, 却突然有点伤感.

Read more

Index of Installing, Configuring and Deploying A Hadoop Cluster

In this page, I am going to prepare a index page to help we all installing, configuring and deploying a Hadoop cluster.

Read more

A sample to automatically cleanup tasks executed too long

Here is a sample code to cleanup MongoDB tasks. Read more

Here document, another way to write multiline into one file

Besides of opening a file using vim and emacs, there is another single way to write some characters into one file. Read more

Can not exec “libtoolize”/”aclocal”

Sometimes in building projects, we may meet an error seems as follow:

Can't exec "libtoolize": No such file or directory ....

Read more

How to rename your machine

Changing the name of your os could be the first step after initialized you server -- at least it works for me. Read more

vsftpd: GnuTLS error -15: An unexpected TLS packet

TL;DR: Configuring vsftp is a difficult work and we always meet various of errors. In this post, I am going to introduce one possible solution of error "GnuTLS error -15: An unexpected TLS packet was received." when you are using vsftpd. Read more

Import GPG keys in Ubuntu 14 LTS

Installing deb repository requires gpg-keys some time. Recently, I am trying to add a mongo repository for Ubuntu 14, which requires to request some gpg keys first. Read more

ps command not found in fedora image in docker

Docker is a lightweight virtual machine container. To minimize the image, most of the official distributions were erased most the unnecessary system tools. Read more