This file contains 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
$ npm install vue-validator@^2.0.0-alpha --save | |
とか | |
$ npm install vue-validator@2.0.0-alpha.16 --save | |
とか |
This file contains 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
$ npm install angular-loading-bar | |
# または | |
$ bower install angular-loading-bar |
This file contains 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
getResources().getString(R.string.confirm_save, | |
getResources().getString(R.string.cancel)) | |
// これも同じ。 | |
String.format(getResources().getString(R.string.confirm_save), | |
getResources().getString(R.string.cancel)) |
This file contains 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
<html> | |
<head> | |
<script type="text/javascript" src="http://code.jquery.com/jquery-2.1.1.min.js"></script> | |
<script type="text/javascript" src="http://code.jquery.com/ui/1.11.0/jquery-ui.min.js"></script> | |
<script type="text/javascript" src="https://raw.githubusercontent.com/furf/jquery-ui-touch-punch/master/jquery.ui.touch-punch.min.js"></script> | |
</head> | |
<body> | |
<canvas id="canvas" width="300" height="300" style="border:solid 1px black;"> | |
</canvas> | |
<script type="text/javascript"> |
This file contains 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
private Handler mHandler = new Handler(); | |
private ScheduledExecutorService mScheduledExecutor; | |
private TextView mLblMeasuring; | |
private void startMeasure() { | |
/** | |
* 点滅させたいView | |
* TextViewじゃなくてもよい。 |
This file contains 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
private Handler mHandler = new Handler(); | |
private ScheduledExecutorService mScheduledExecutor; | |
private ScheduledFuture<?> mScheduledFuture; | |
private SampleRunnable mSampleRunnable; | |
private Map<String, String> mFaMap = FontAwesome.getFaMap(); | |
/** | |
* onClickListenerの中身 | |
*/ |
This file contains 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
exports.book.read = function(req, res) { | |
Book.find({ title: 'とある本' }, function(err, docs) { | |
if (err) throw new Error(err); | |
res.send(docs); | |
}); | |
}; |
This file contains 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
if(Build.VERSION.SDK_INT >= Build.VERSION_CODES.GINGERBREAD) { | |
// ここはGINGERBREAD(Android 2.3)以降で実行される。 | |
} | |
This file contains 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
$ curl -s https://www.parse.com/downloads/cloud_code/installer.sh | sudo /bin/bash |
This file contains 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
ParseObject gameScore = new ParseObject("GameScore"); | |
gameScore.put("score", 1337); | |
gameScore.put("playerName", "Sean Plott"); | |
gameScore.saveInBackground(); |
NewerOlder