Vagrant

I have been using Vagrant and it is the most useful tool for working with VM, such as Virtualbox and Parallels.
[Read more...]

Ansible

Rough draft notes and cheatsheet on Ansible. I’ve been using Ansible, a devop automation/configuration management tool, to handle the provisioning of the backend servers.
[Read more...]

Python coding standard and PEP8

PEP8 is the most important guide for coding standard in Python. There are also other coding practices that improve readability and maintenance.
[Read more...]

Hadoop ecosystem

Notes on Hadoop ecosystem. Hadoop Cluster mode standalone mode (single node, no daemon) localfile, no HDFS quick way to test map reduce, etc pseudo-distributed mode (single node)
[Read more...]

ZFS

If I had to use one and only one file system, there is only one choice.
[Read more...]

Python iteration and generator

Notes on python’s iteration and generator. Iteration is like a stream of values. Iteration that has no limit
[Read more...]

Using regular expression in Python

Notes and tips on Python’s regular expression library. Regex Module import re However, there’s an alternative module “regex” https://pypi.
[Read more...]

JSON in Python

Convert json text into python data import json out=json.loads("...JSON texts....") Load json text file
[Read more...]

Python TDD with Nose

Python has many testing frameworks including its venerable unittest as well as alternatives. Nose Nose is an easier-to-use unittest.
[Read more...]

python datetime

Date has only date (year, month, day) but not time. from datetime import date DateTime includes all including time.
[Read more...]