万年素人からHackerへの道

万年素人がHackerになれるまで殴り書きするぜ。

  • ・資産運用おすすめ
    10万円は1000円くらい利益
    資産運用ブログ アセマネ
    • ・寄付お願いします
      YENTEN:YYzNPzdsZWqr5THWAdMrKDj7GT8ietDc2W
      BitZenny:ZfpUbVya8MWQkjjGJMjA7P9pPkqaLnwPWH
      c0ban:8KG95GXdEquNpPW8xJAJf7nn5kbimQ5wj1
      Skycoin:KMqcn7x8REwwzMHPi9fV9fbNwdofYAWKRo

    2016-08-01から1ヶ月間の記事一覧

    C# string.Formatメモ

    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

    選択オブジェクト数を表示 Unity

    [MenuItem("GameObject/選択GameObject数表示", false, 1)] static void CountSelectObjects(MenuCommand menuCommand) { int count = Selection.gameObjects.Length; // これがないと二度以上実行される. if (count > 1) { if(menuCommand.context != Selec…

    謎のエラー Elixir Mix

    ** (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にて"global/pg_filenode.map"がないエラー

    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 ~…

    phoenixのエラー

    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…

    Phoenixのnewの本体

    https://github.com/phoenixframework/phoenix/blob/master/installer/lib/phoenix_new.ex

    資格取得支援システム

    QUALIFICATION OBTAINING SUPPORT SYSTEM QOSS GOS2とでも名付けよう。

    Xamarin プログラミングもくもく会 #4

    Xamarin プログラミングもくもく会 #4 - 無差別級もくもく会 | Doorkeeper アイコンの設定 ・ここが詳しい Hello, iOS - Xamarin : XLsoft エクセルソフト ・アイコンのサンプルのzipのURLのパスはこれが正しい http://developer.xamarin.com/guides/android…

    Xamarinでネットワーク確認

    Android developer.xamarin.com Detect the GSM Signal Strength - Xamarin iOS Detect if Network is Available - Xamarin うーんだるい

    Xamarin Load Local Content

    Android Load Local Content iOS Load Local Content - Xamarin

    UIWevViewローカルのファイルを再生

    iphone - UIWebView to Play Local and downloaded Video - Stack Overflow

    XamarinでRealmのファイルパス

    Bundle prebuilt Realm files from Xamarin - Stack Overflow ここのSushiHangover氏の返信がよさ気。 名前もよさ気w FinishedLaunchingメソッドをオーバーライドすれば、 PCLのAssetsにあるprepopulated.realmのものを各Androidとかのjournal.realmに予め…

    Effective Python オライリー本のリスト内包表記分かりやすく

    # リスト内包表記 ===== 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 = […