[ERROR] Error message file '/usr/share/mysql/english/errmsg.sys' had only 481 error messages, but it should contain at least 641 error messages. Check that the above file is the right version for this program!

他人ちのmysqldを再起動しようとしたら出たエラー(んでmysqldが起動しない)
「知らんがなー」と思いつつ、自分ち(某VPS)のerrmsg.sysをコピって他人ちの/usr/share/mysql/english/に置いたら正常起動した(変な汗かいた)
see also: http://shebangme.blogspot.jp/2010/04/mysql-error-message-file-had-only-480.html

Change the battery level of android emulator (AVD)

$ adb devices
List of devices attached 
emulator-5554 device
$ telnet localhost 5554
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
Android Console: type 'help' for a list of commands
OK
help
Android console command help:

    help|h|?         print a list of commands
    event            simulate hardware events
    geo              Geo-location commands
    gsm              GSM related commands
    cdma             CDMA related commands
    kill             kill the emulator instance
    network          manage network settings
    power            power related commands
    quit|exit        quit control session
    redir            manage port redirections
    sms              SMS related commands
    avd              control virtual device execution
    window           manage emulator window
    qemu             QEMU-specific commands
    sensor           manage emulator sensors

try 'help <command>' for command-specific help
OK
power
allows to change battery and AC power status

available sub-commands:
    display          display battery and charger state
    ac               set AC charging state
    status           set battery status
    present          set battery present state
    health           set battery health state
    capacity         set battery capacity state

KO: missing sub-command
power capacity 77
OK

PHP SoapClient: Function ("hoge") is not a valid method for this service. / SoapServer: Procedure "hoge" not present

SoapClient

$client = new SoapClient("http://www.example.com/soap");
$client->hoge("fuga"); // <-exception occurred!
Exception Message
Function ("hoge") is not a valid method for this service.
but...

SoapServer

Of course, WSDL definitions are correct (Function 'hoge' is added).
$server = new SoapServer("http://www.example.com/soap");
$server->handle(); // <-exception occurred!
Exception Message
Procedure "hoge" not present

set soap.wsdl_cache_enabled to 0.

Add below, Both SoapClient and SoapServer.

SoapClient

ini_set("soap.wsdl_cache_enabled", 0);
$client = new SoapClient("http://www.example.com/soap");
$client->hoge("fuga"); // <-exception occurred!

SoapServer

ini_set("soap.wsdl_cache_enabled", 0);
$server = new SoapServer("http://www.example.com/soap");
$server->handle(); // <-exception occurred!