I hereby claim:
- I am serhalp on github.
- I am serhalp (https://keybase.io/serhalp) on keybase.
- I have a public key ASBx2GfLkVl0SFcfRnWIIIibhaIuQgq3Rhd6hf8LYhJbLgo
To claim this, I am signing this object:
const mongoose = require('mongoose'); | |
module.exports = mongoose.model('Bar', new mongoose.Schema({ | |
baz: String, | |
})); |
const mongoose = require('mongoose'); | |
mongoose.Promise = Promise; | |
mongoose.connect('mongodb://localhost/test_mongoose_postsave') | |
.then(testPostSave) | |
.then(() => mongoose.disconnect()); | |
const log = console.log; | |
function testPostSave () { |
I hereby claim:
To claim this, I am signing this object:
#!/bin/sh | |
TMP=`git rev-parse --abbrev-ref HEAD | grep -o '[-_]\d\+$'` | |
STORY_ID=${TMP:1} | |
if [[ ! -z $STORY_ID ]] | |
then | |
ORIG_MSG_FILE="$1" | |
ORIG_MSG=`cat $1` | |
(echo "[#$STORY_ID]") > "$ORIG_MSG_FILE" |