他人ちの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
$ 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
$client = new SoapClient("http://www.example.com/soap");
$client->hoge("fuga"); // <-exception occurred!
Function ("hoge") is not a valid method for this service.
but...$server = new SoapServer("http://www.example.com/soap");
$server->handle(); // <-exception occurred!
Procedure "hoge" not present
ini_set("soap.wsdl_cache_enabled", 0);
$client = new SoapClient("http://www.example.com/soap");
$client->hoge("fuga"); // <-exception occurred!
ini_set("soap.wsdl_cache_enabled", 0);
$server = new SoapServer("http://www.example.com/soap");
$server->handle(); // <-exception occurred!
$ rm -rf workspace/.metadata/.plugins/org.eclipse.dltk.core.index.sql.h2/and start your eclipse again.
Intent intent = new Intent("com.android.camera.action.CROP");
/* Not work. ActivityNotFoundException occurs. */
//intent.setType("image/*");
//intent.setData(uri);
intent.setDataAndType(uri, "image/*"); // works!
startActivityForResult(intent, REQUEST_CODE_IMAGE_CROP);
(マジ?)
ただし、現時点ではChromecast用アプリを国内のGoogle Play/iTunesアカウントから入手することができず、使用するのは難しい状態。どちらのアカウントでも「このアプリは日本では利用できない」という旨のメッセージが表示され、端末にアプリを導入することはできなかった。そう、正規ルートだとChromecast設定用アプリを入手することは出来ない。けど、
| 2012(16GBモデル) | 2013(16GB/WiFiモデル) | ||
|---|---|---|---|
| androidバージョン | 4.3 | 4.3 | |
| モデル番号 | Nexus 7 | Nexus 7 | |
| カーネルバージョン | 3.1.10-g1e8b3d8 | 3.4.0-g6537a16 | |
| ビルド番号 | JWR66Y | JSS15Q | |
| ディスプレイ | インチ | 7.3 | 6.8 |
| Density | tvdpi(213dpi) | xhdpi(320dpi) | |
| 解像度(px) | 800x1280 | 1200x1920 | |
| 解像度(dp) | 601.5x962.4 | 600x960 | |
| Size | large | large | |
| Aspect ratio | notlong | notlong | |
| おまけ | 重さ | 340g | 290g(ちょい軽い!) |
| 厚さ | 10.45mm | 8.65mm(ちょい薄い!) | |
| バッテリー | 4325mAH | 3950mAH(え!?) | |
| RAM | 1GB | 2GB | |
| CPU | 1.2GHz (NVIDIA Tegra 3) | 1.5 GHz (Qualcomm Snapdragon S4 Pro) | |
| お値段(Google Play) | ¥19,800 | ¥27,800 | |
Could not authenticate you (header rejected by twitter).って言われちゃう。
X-Verify-Credentials-Authorization (Required) Header Example 1 OAuth realm="http://api.twitter.com/", 2 oauth_consumer_key="GDdmIQH6jhtmLUypg82g", 3 oauth_signature_method="HMAC-SHA1", 4 oauth_token="819797-Jxq8aYUDRmykzVKrgoLhXSq67TEa5ruc4GJC2rWimw", 5 oauth_timestamp="1272325550", 6 oauth_nonce="oElnnMTQIZvqvlfXM56aBLAf5noGD0AQR3Fmi7Q6Y", 7 oauth_version="1.0", 8 oauth_signature="U1obTfE7Rs9J1kafTGwufLJdspo%3D" X-Auth-Service-Provider (Required) https://api.twitter.com/1/account/verify_credentials.jsonって書いてあるんだけど、X-Auth-Service-Providerを
https://api.twitter.com/1.1/account/verify_credentials.jsonにするのはもちろん、oauth_signatureを作っているURLも
https://api.twitter.com/1.1/statuses/update.jsonとかにする必要があったです。はい。
$ ./bin/hbase shell Error: Could not create the Java Virtual Machine. Error: A fatal exception has occurred. Program will exit. Error occurred during initialization of VM Could not reserve enough space for heap offset array
$ vi conf/hbase-env.sh export _JAVA_OPTIONS='-Xmx256m -Xms64m' # Extra Java CLASSPATH elements. Optional. # export HBASE_CLASSPATH= # The maximum amount of heap to use, in MB. Default is 1000. export HBASE_HEAPSIZE=128