概要:
- 現行のRaw型をString型として読み替える。
- Binary型を新設する。
- 明らかなバイナリはデフォルトでBinary型(新設型)で保存
- Binary: バイト列
# GCEでUbuntu 15.04 | |
sudo su - | |
apt-get update && apt-get -y install ansible jq | |
git clone https://github.com/isucon/isucon5-qualify.git | |
cd isucon5-qualify/ | |
cd gcp/bench/ansible/ | |
sed -i 's/- copy/#- copy/' 00_devel.yml | |
sed -i 's@key_file=.*@@' 06_deploy_bench_tool.yml | |
sed -i 's@repo=.*@repo=https://github.com/isucon/isucon5-qualify.git@' 06_deploy_bench_tool.yml |
package main | |
import ( | |
"labix.org/v1/pipe" | |
"log" | |
) | |
func main() { | |
output, err := pipe.CombinedOutput( | |
pipe.Line( |
## | |
## Syntax | |
## | |
# Define a type: | |
# | |
# <MessageName>: | |
# <fieldIndex>: [<fieldName>, <type>, <options...>] | |
# ... | |
# | |
# Typedef (type alias): |
go run $(go env GOROOT)/src/crypto/tls/generate_cert.go --host localhost |
# Call virtualenvwrapper's "workon" if .venv exists. This is modified from-- | |
# http://justinlilly.com/python/virtualenv_wrapper_helper.html | |
# which is linked from-- | |
# http://virtualenvwrapper.readthedocs.org/en/latest/tips.html#automatically-run-workon-when-entering-a-directory | |
check_virtualenv() { | |
if [ -e .venv ]; then | |
env=`cat .venv` | |
echo "Found .venv in directory. Calling: workon ${env}" | |
workon $env | |
fi |
This document is obsolete, all the docs for porting are now at https://github.com/mitsuhiko/pocoo-sprint-18052013