万年素人からHackerへの道

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

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

    2016-01-01から1年間の記事一覧

    ネットワークの良いサイト

    3 Minutes Networking 本もある [改訂新版] 自分のペースでゆったり学ぶ TCP/IP作者: 網野衛二出版社/メーカー: 技術評論社発売日: 2009/10/22メディア: 単行本(ソフトカバー)購入: 54人 クリック: 2,165回この商品を含むブログ (7件) を見る 自分のペース…

    LINEのbotについて

    おそらく今回のバージョンはv2か? まとめた。 botについての記事 なぜPerlとかJavaなの? LINE Trial Bot SDK ができるまで « LINE Engineers' Blog SDK公開 internet.watch.impress.co.jp developerページ LINE SDKのリンク API Reference 古い?けどGo GA…

    C# private変数を取得する

    /// <summary> /// プライベート変数の取得. /// </summary> /// <param name="obj">Object.</param> /// <param name="privateName">Private name.</param> /// <typeparam name="T">The 1st type parameter.</typeparam> protected T GetPrivate<T>(object obj, string privateName) { System.Reflection.FieldInfo fieldInfo = obj.…</t>

    Dockerインストール後のチュートリアルのコマンド列挙

    docker ps docker info docker version docker images

    React native onChangeTextをする is.setState is not a functionのエラーが

    React Native ファーストインプレッション - Qiita この記事を参考に以下のサイトを参考 facebook.github.io class AwesomeProject extends Component { constructor(props) { super(props); this.state = {text: ""}; } // これ不要? onChangeText(text) {…

    React native getInitialState

    var Hello = React.createClass({ getDefaultProps: function() { return {name: "Default Props"}; }, render: function() { return <div>Hello {this.props.name}</div>; } }); みたいなコードのgetDefaultPropsをクラスでやる時どうするのかな? reactjs - What is t…

    Unity C# JsonUtility

    Unity - マニュアル: JSON 形式にシリアライズ 今更ながらJsonUtility using UnityEngine; using System.Collections; public class JsonTest : MonoBehaviour { // Use this for initialization void Start () { MyClass myObject = new MyClass (); myObje…

    Elixirのformat

    stringのフォーマットがデフォルトではなくErlangの使うのでめんどい。 qiita.com なのでErlangのはこれを参考にした。 文字と文字列 / Erlang World Erlangでいうことの io:format("hello ~p~n",[erlang]). これは、 :io.format("hello ~p", ['erlang']) ie…

    React jQuery JavaScript Phoenixでハマり

    APIとしてPhoenixで生成し、 mix phoenix.gen.json Book books title:string category:string ReactでのPOSTをこうしていた。 $.ajax({ url: this.props.url, dataType: 'json', method: 'POST', data:this.state.editingBook, cache: false, success: funct…

    ReactでforEeachのエラー

    Uncaught TypeError: this.props.books.forEach is not a function var BookTable = React.createClass({ render: function() { var rows = []; this.props.books.forEach(function(book) { // ← ここでエラー rows.push(<BookTableRow key={book.id} book={book} handleEditClickPanel={this.props.handleEditClickPanel} />); }…</booktablerow>

    React.findDOMNodeはdeprecated

    - var query = React.findDOMNode(this.refs.search).value; + var query = ReactDOM.findDOMNode(this.refs.search).value;

    React js Unexpected tokenで"..."

    mix phoenix.serverしたときに発生 [info] Running Jikken.Endpoint with Cowboy using http://localhost:4000 04 Sep 16:19:19 - info: compiling 04 Sep 16:19:21 - error: Compiling of web/static/js/components/PagingPanel.js failed. SyntaxError: we…

    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 = […

    Video再生 iOS Xamarin

    Want to play a Vimeo Video in your Xamarin iOS app ? ;) | ÇøŋfuzëÐ SøurcëÇødë vimeo Let’s add a Video Stream Player to your Xamarin iOS App… | ÇøŋfuzëÐ SøurcëÇødë コレが一番参考になる?

    XamarinでクリップボードをDroidとiOSで

    Mvx.Clipboardを使う GitHub - willsb/Mvx.Clipboard: MvvmCross plugin to access the device's clipboard 入れるのはPackageへ。CLIとDroid、iOSのプロジェクトで入れる。 このパッケージだけでなく、Mvvmも入れる。 usingするのはこれら2つ using Clipbo…

    ポケモン名正規表現

    "[\u30A1-\u30FAー♂♀]*" : VS CodeではOK.

    XamarinでのXamlの良さ気なサイト

    http://www.xforms-kickstarter.com/