2016-08-01から1ヶ月間の記事一覧
intならゼロ埋めそうでないとされない int num = 1; string text = string.Format("{0:D2}", num); Debug.Log(text); // => 01 string str = "1"; string text2 = string.Format("{0:D2}", str); Debug.Log(text2); // => 1
[MenuItem("GameObject/選択GameObject数表示", false, 1)] static void CountSelectObjects(MenuCommand menuCommand) { int count = Selection.gameObjects.Length; // これがないと二度以上実行される. if (count > 1) { if(menuCommand.context != Selec…
** (Mix) Could not compile dependency :fs, "/Users/shinriyo/.mix/rebar compile skip_deps=true deps_dir="/Users/shinriyo/gos2/_build/dev/lib"" command failed. You can recompile this dependency with "mix deps.compile fs", update it with "mix…
PostgreSQLのパスワードがわからなくなったので入れなおした。 インストール手順 MacにPostgreSQLをインストール - Qiita psql -l psql: FATAL: could not open relation mapping file "global/pg_filenode.map": No such file or directory psql -lコマンド…
Failed to use "ecto" because sqlite_ecto (version 1.0.2) requires ~> 1.0 Locked to 2.0.4 in your mix.lock とか Failed to use "poison" (version 2.2.0) because ecto (version 2.0.4) requires ~> 1.5 or ~> 2.0 phoenix (version 1.2.1) requires ~…
could not compile dependency :phoenix_live_reload, "mix compile" failed. You can recompile this dependency with "mix deps.compile phoenix_live_reload", update it with "mix deps.update phoenix_live_reload" or clean it with "mix deps.clean p…
https://github.com/phoenixframework/phoenix/blob/master/installer/lib/phoenix_new.ex
QUALIFICATION OBTAINING SUPPORT SYSTEM QOSS GOS2とでも名付けよう。
Xamarin プログラミングもくもく会 #4 - 無差別級もくもく会 | Doorkeeper アイコンの設定 ・ここが詳しい Hello, iOS - Xamarin : XLsoft エクセルソフト ・アイコンのサンプルのzipのURLのパスはこれが正しい http://developer.xamarin.com/guides/android…
Android developer.xamarin.com Detect the GSM Signal Strength - Xamarin iOS Detect if Network is Available - Xamarin うーんだるい
Android Load Local Content iOS Load Local Content - Xamarin
iphone - UIWebView to Play Local and downloaded Video - Stack Overflow
Bundle prebuilt Realm files from Xamarin - Stack Overflow ここのSushiHangover氏の返信がよさ気。 名前もよさ気w FinishedLaunchingメソッドをオーバーライドすれば、 PCLのAssetsにあるprepopulated.realmのものを各Androidとかのjournal.realmに予め…
# リスト内包表記 ===== matrix = [[1, 2, 3], [4, 5, 6], [7, 8 , 9]] flat = [x for row in matrix for x in row] print(flat) # 普通な書き方 ===== flat = [] for row in matrix: for x in row: flat.append(x) print(flat) # インデント ===== flat = […