Skip to content

Instantly share code, notes, and snippets.

View bols-blue's full-sized avatar

h.suehiro bols-blue

  • Hiroshima / Japan
View GitHub Profile
@bols-blue
bols-blue / install-all.sh
Created May 20, 2011 06:20 — forked from zaki50/install-all.sh
install-all.sh
#!/bin/sh
# 対象アプリのパッケージ名。 org.zakky.memopad とか
pkgname="$1"
# 対象アプリの apk。 bin/MemoPad.apk とか
apkpath="$2"
for i in $(adb devices |grep -v "List of devices" | awk '{print $1;}'); do adb -s $i shell pm uninstall -k "$pkgname"; adb -s $i install "$apkpath"; done
@bols-blue
bols-blue / Database_testing.md
Created October 7, 2012 02:55 — forked from taichi/Database_testing.md
データベースを使った自動テストについて

データベースを使った自動テストについて

データベースを使った機能テストや単体テストについて要点をまとめておきます。

筆者の経験を強く反映していますので比較的定性的な内容となります事を予めご了承下さい。

テストデータを保守する

テストの実行前に投入するテストデータは、凡そcsvファイルやxmlファイル、エクセルファイル等で管理する事になります。
仕様の変更に伴いテーブルの定義を変更する事で、それらのファイルの内容とデータベースの間に不整合が発生します。

例外設計の話。

こんな指針がいいのかなー 2013 夏 ver.

例外の目的とは?

.NET の「例外のデザインのガイドライン」にもこう書いてある。

@bols-blue
bols-blue / fs.txt
Last active February 13, 2017 14:37 — forked from anonymous/fs.txt
kernel param
Documentation for /proc/sys/fs/* kernel version 2.2.10
(c) 1998, 1999, Rik van Riel <riel@nl.linux.org>
(c) 2009, Shen Feng<shen@cn.fujitsu.com>
For general info and legal blurb, please look in README.
==============================================================
This file contains documentation for the sysctl files in
/proc/sys/fs/ and is valid for Linux kernel version 2.2.