This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$stdout.puts e.class | |
$stdout.puts e.message |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
http://qiita.com/sue738/items/9754b3cad13272bd3d39 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
最上位のcomponentにconnectを行う。propsを通して、state,actionを引き渡す。 | |
https://tongariboyz.gitbooks.io/react-native-redux-dev-notes/content/ja/smartAndDumbComponent.html | |
http://qiita.com/kiita312/items/d769c85f446994349b52#container-and-presentational-components |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
docker-compose run app rails console |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2016-03-25 08:54:38.640 [info][tid:com.facebook.React.JavaScript] Running application "landscape_test" with appParams: {"rootTag":1,"initialProps":{}}. __DEV__ === true, development-level warning are ON, performance optimizations are OFF | |
2016-03-25 08:54:38.651 landscape_test[5155:66368] Locked to Landscape | |
2016-03-25 08:54:38.658 landscape_test[5155:66197] *** Terminating app due to uncaught exception 'UIApplicationInvalidInterfaceOrientation', reason: 'Supported orientations has no common orientation with the application, and [RCTModalHostViewController shouldAutorotate] is returning YES' | |
*** First throw call stack: | |
( | |
0 CoreFoundation 0x000000010ef7ed85 __exceptionPreprocess + 165 | |
1 libobjc.A.dylib 0x000000010e176deb objc_exception_throw + 48 | |
2 CoreFoundation 0x000000010ef7ecbd +[NSException raise:format:] + 205 | |
3 UIKit 0x0000000110f45e36 -[UIViewController __supportedInterfaceOrientations] + 903 | |
4 UIK |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
react-native-sound のLoadは非同期。 | |
<Image> using local image file | |
https://github.com/facebook/react-native/issues/751 | |
<Image style={styles.hoge} source={{isStatic:true, uri:"/tmp/image/hoge.jpg"}} /> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
https://github.com/goatslacker/alt/issues/283 | |
http://egorsmirnov.me/2015/08/16/react-and-es6-part3.html |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
調べた英単語 | |
hoist [verb] | |
1. to raise (something) especially by using ropes or machinery | |
ロープなどを使って持ち上げる。 | |
2. drink (informal) | |
3. to take a shot , (basketball , informal) | |
使用例) https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Classes | |
An important difference between function declarations and class declarations is that function declarations are hoisted and class declarations are not. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Ruby 既存ファイルを開く時のモードについて | |
"w" : 書き込みモード:既存ファイルの場合は、ファイルの内容を空にする。 | |
"w+": 読み書きモード:既存ファイルの場合は、ファイルの内容を空にする。 | |
"r+": 読み書きモード:ファイルの読み書き位置が戦闘になる。 | |
"a" : 追記モード :常にファイルの末尾に追加 | |
"a+": 読み書きモード:ファイルの読み込み位置は先頭。書き込み位置は常に末尾。 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File.join("/","g") # => /g | |
File.join("a","g") # => a/g | |
File.join("","g") # => /g | |
File.join("","g","") # => /g/ | |
File.join("","","g","") # => /g/ |