- あああ
- あああ
- あああ
- あああ
- あああ
- あああ
- あああ
- あああ
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
# gulpを指定する | |
watchers: [node: ["node_modules/gulp/bin/gulp.js"]] |
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
Error: request entity too large |
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
mix phoenix.gen.html Note notes title:string description:text |
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
{ | |
"kimiya": [ | |
{ | |
"Item": "Octocat Laptop Decal", | |
"Volume": 1, | |
"Size" : "" | |
}, | |
{ | |
"Item": "Black GitHub Mug", | |
"Volume": 1, |
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 command rbenv exist, start rbenv | |
which rbenv > /dev/null 2>&1 && eval "$(rbev init - zsh)" | |
# or | |
if ! type tmux >/dev/null 2>&1; then | |
echo 'Error: tmux command not found' 2>&1 | |
exit 1 | |
fi |
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
# dump variables | |
use Data::Dumper; | |
print Dumper($foo, $bar); | |
# log-out | |
user MLog; | |
MLog::write("path/to/file.log", "ab"); | |
MLog::write("$_::LOG_DIR/hirano.debug", Dumper($variable)); | |
# unlock read-only state |
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
// node digest.js string_to_digest | |
var crypto = require('crypto'); | |
var name = process.argv[2]; | |
var hash = crypto.createHash('md5').update(name).digest("hex"); | |
console.log(hash); |
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
var dateUtil = require('dateUtil'), | |
mongoose = require('mongoose'), | |
Schema = mongoose.Schema; | |
var BookmarkSchema = new Schema({ | |
url: { type: String, required: true }, | |
isDeleted: Boolean, | |
createAt: Date, | |
updateAt: Date, | |
deleteAt: Date |
NewerOlder