Working と Index の差分
1 |
$ git diff |
コマンド | 意味 |
---|---|
ndk-build | ビルド |
ndk-build clean | クリーン (*.soを削除) |
ndk-build NDK_DEBUG=1 | デバッグ可能なバイナリ生成 0:無効(default) / 1:有効 |
ndk-build V=1 | verboseモード |
ndk-build NDK_LOG=1 | NDKのログ表示 |
Android StudioでShift-JISのソースコードが文字化けするのを解消する
Android Studio => Preferences…
Android Studio を再起動する。
1 2 3 4 5 6 |
<?xml version="1.0" encoding="UTF-8"?> <project version="4"> <component name="Encoding"> <file url="PROJECT" charset="x-SJIS_0213" /> </component> </project> |
1 |
$ git clone git://github.com/schacon/myproject.git |
1 |
$ cd myproject |
1 |
$ git submodule init |
1 |
$ git submodule update |
1 |
$ git submodule update --init |
1 |
$ git submodule update --init --recursive |
値 | 名称 | 意味 |
---|---|---|
FF | SOF0 | Huffman Baseline DCT |
C0 | ||
00 | Lf | セグメント長 |
11 | ||
08 | P | サンプル精度 (Sample Precision) |
0D | Y | 高さ (3508px) |
B4 | ||
09 | X | 幅 (2480px) |
B0 | ||
03 | Nf | 構成要素数 (1:グレースケール, 3:YCbCr/YIQ, 4:CMYK) |
01 | Cn | 構成要素ID (1:Y, 2:Cb, 3:Cr, 4:I, 5:Q) |
以下略 |
git svn clone で取得したリポジトリで以下のwarningが発生するときの回避策
1 2 3 4 5 6 7 8 |
$ git svn rebase W: Refspec glob conflict (ref: refs/remotes/svn/Preview_August@1053): expected path: Src/branches/Preview_August@1053 real path: Src/trunk2 Continuing ahead with Src/trunk2 [...] Continuing ahead with 25_Android_Src Current branch master is up to date. |
~/.git/configの重複行を削除
1 2 3 4 5 6 7 8 9 10 11 12 13 14 |
[core] repositoryformatversion = 0 filemode = true bare = false logallrefupdates = true ignorecase = true precomposeunicode = true [svn-remote "svn"] url = http://someone.somewhere.jp/svn/foo fetch = Src/trunk:refs/remotes/svn/trunk branches = Src/branches/*:refs/remotes/svn/* tags = Src/tags/*:refs/remotes/svn/tags/* - branches = Src/branches/*:refs/remotes/svn/* - tags = Src/tags/*:refs/remotes/svn/tags/* |
1 |
$ pmset -g sched |
1 |
$ sudo pmset schedule shutdown "08/31/15 16:00:00" |
MM/DD/YY形式:2015年8月31日
1 |
$ pmset repeat wakeorpoweron MTWRF 8:00:00 shutdown MTWRFSU 22:00:00 |
MTWRFSU
Run => Edit Configurations… を開く
"Show chooser dialog"を選択する。
テスト対象となるクラス名の上で Opt + Enter。
Testing library: JUnit3
1 2 3 4 5 |
$ adb devices * daemon not running. starting it now on port 5037 * * daemon started successfully * List of devices attached CB5A1Qxxxx device |
1 2 |
$ adb tcpip 5555 restarting in TCP mode port: 5555 |