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

intel sawtooth-mktplace (memo1)

memo1 https://github.com/hyperledger/hyperledger Linux Foundation HyperLedgerのリポジトリに、 Intelが作ったSawtooth Lakeという名前のソフトウェアがあったので試してみた。 チュートリアル: http://intelledger.github.io/tutorial.html ソースコー…

Intel Sawtooth Lake Distributed LedgerのTutorial

チュートリアルに沿ってインストールとかをしてみた。 http://intelledger.github.io/tutorial.html Windows 10 VirtualBox 5.0.14 r105127 Vagrant 1.8.1 エラー1 vagrant upでエラー。 とりあえずvagrant sshで接続はできる。 $ vagrant up Proxyconf plug…

MacOS PortをListenしているプロセスを調べるコマンド

lsof -i:8080 http://stackoverflow.com/questions/4421633/who-is-listening-on-a-given-tcp-port-on-mac-os-x ps aux | grep 実践 lsof -i:8080 COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME com.apple 472 kubottiuser 12u IPv6 0x1cfb42a9233043…

ReactJS 親が持っている値を子コンポーネントに渡す方法

メモ: https://facebook.github.io/react/docs/transferring-props.html render() { return (<Home {...this.props} />) } render() { if (this.state.loggedIn){ return (<Home {...this.props} />) }else{ return (<Login {...this.props} />) } }</login></home></home>

Uncaught TypeError: Cannot read property 'replace' of undefined (react-router)

"react-router": "^2.2.4", "react": "^0.14.8", ES6 Uncaught TypeError: Cannot read property 'push' of undefined Uncaught TypeError: Cannot read property 'replace' of undefined Uncaught TypeError: Cannot read property 'transitionTo' of undef…

Uncaught TypeError: Cannot read property '_currentElement'

"react": "^0.14.8", ES6 ReactCompositeComponent.js:559 Uncaught TypeError: Cannot read property '_currentElement' of null render()の時にエラーになっているようだった。 constructorに this.state = {error: false} を足したらエラーが消えた。 imp…

Only a ReactOwner can have refs

Invariant Violation: addComponentAsRefTo(...): Only a ReactOwner can have refs. You might be adding a ref to a component that was not created inside a component's `render` method, or you have multiple copies of React loaded https://github.…

Unexpected token while parsing file

"react": "^0.14.8", エラー Error: /Users/ /index.js: Unexpected token (15:11) while parsing file: /Users/ /index.js http://stackoverflow.com/questions/33460420/babel-loader-jsx-syntaxerror-unexpected-token http://stackoverflow.com/question…

既定のブラウザの確認方法(Windows10)

https://helpx.adobe.com/jp/flash-player/kb/cq01281725.html コントロール パネル > プログラム > 既定のプログラム > プログラムのアクセスとコンピュータの既定の設定

TortoiseGitの秘密鍵保存場所(Windows)

C:\Users\kubottiii\AppData\Local\VirtualStore\Program Files\Git\.ssh TortoiseGitを入れるとインストールされる、GitBashだと /c/Users/kubottiii/.ssh に id_rsa を置けばいいっぽい。 ssh-keygen -t rsa -C "your_email@example.com" http://monsat.ha…

Visual Studio 2013で2つのC#プロジェクトの参照設定

2つのC#プロジェクトが登録?されたソリューションがある。 ConfigToolというC#プロジェクトから、 UtilsというC#プロジェクトへの参照を追加する方法。 Solution ExplorerでConfigToolプロジェクトを右クリック。 Add > Reference... Reference Managerとい…

フォルダ名が変更できないときの解決方法 windows 10

他のプロセスが使用中でフォルダ名を変更できない場合。 「別のプログラムがこのフォルダーまたはファイルを開いているので、操作を... - Yahoo!知恵袋 タスクマネージャを起動 「パフォーマンス」タブを表示 下部にある「リソース モニターを開く」をクリッ…

ReactJS 15.0.1 環境構築メモ

ReactJS 15.0.1を最初に試した時のメモ。 http://d.hatena.ne.jp/tomoya/touch/20160403/1459665374 エラー ES6版React.jsチュートリアル - Qiita を試したらエラーが出た。 TypeError: _react2['default'].render is not a function. (In '_react2['default…