The url has changed: https://odan.github.io/2017/04/17/rest-restful-api-quick-reference.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
# Rename from 'C:/Users/Repos/phishfoodvr/.git/refs/remotes/origin/CHA/main.lock' to 'C:/Users/Repos/phishfoodvr/.git/refs/remotes/origin/CHA/main' failed. Should I try again? (y/n) n | |
# error: update_ref failed for ref 'refs/remotes/origin/CHA/main': couldn't set 'refs/remotes/origin/CHA/main' | |
$ cd $(git rev-parse --show-toplevel) # if necessary | |
$ rm -rf .git/refs/remotes/origin # remove all origin/* | |
$ mkdir .git/refs/remotes/origin # create empty origin/ | |
$ git fetch origin # repopulate origin/* |
I managed to recover this post by checking Google's cached copy as it was randomly taken down; Enjoy!
Surpassing 100GB of data in your application requires you to have in-depth knowledge of how to operate and run MongoDB. MongoHQ recommends going through the 100GB Scaling Checklist as you grow. Watch the webinar recording on the subject for the full overview:
- Identify your data behavior: Figure out how your data patterns and how they are working within your application. You will need to link your data to how your application accesses this data. Consider the simple queries and the more complex queries you will need to look up, like multi-range queries.
- Refactor your schema to simplify queries
- Remove data that does not fit MongoDB: remove “unrefactorable” data
- Separate hot and cold data
- Don’t lean on mongodump’: this disrupts RAM and c
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
var mongoose = require('mongoose'), | |
Schema = mongoose.Schema | |
var bcrypt = require('bcrypt') | |