ForgetMeNot

ForgetMeNot

10x coding productivity with spaced repetition in your browser.

Remember in just a few minutes a day.

Get it for Google Chrome

Unfamiliar tech? Ramp up quickly.

Spend less time learning, more time building 📈.

Pick up new concepts, frameworks, and tools fast.

Three main reasons to use a reverse proxy server?


  1. Load balancing
  2. Web acceleration (compression, asset caching, ssl/tls encryption)
  3. Security/anonymity

On a roll? Stay in flow.

Wave goodbye to context switches 👋.

Get so comfy with your stack you don't need to check the docs.

[MongooseJS] What will not happen if a document is inserted via the code below that would happen during a normal insert?

const options = {
  upsert: true,
};
mongoose.model('User')
  .findOneAndUpdate(query, update, options);

How can you change this behavior?


Inserting via an upsert will not populate default values.

If you want defaults set, include the following in your options object:

{
  setDefaultsOnInsert: true,
}

New language? Learn it once.

Don't waste time re-learning ⌛.

Perfectly recall things you haven't touched in months.

What's wrong with the following React code and how can it be fixed:

render() {
  return (
    <h1>Hello</h1>
    <p>World</p>
  );
}

A React component must render a single top-level element.

Wrap all returned elements in a <div>, or a <React.Fragment> if you don't want to introduce additional markup to the DOM.