- Nov 2022
-
docs.splunk.com docs.splunk.com
-
Export data using the Splunk REST API
Use the Splunk REST API to access data from the command line or a Web browser.
-
- May 2022
-
mongoosejs.com mongoosejs.com
-
// To make a nested object required, use a single nested schema const nameSchema = new Schema({ first: String, last: String }); personSchema = new Schema({ name: { type: nameSchema, required: true } });
Notice How nameSchema is nested within personSchema object.
-
required: function() { return this.bacon > 3; }
This is cool. A custom required condition.
-
Numbers have min and max validators. Strings have enum, match, minLength, and maxLength validators.
Click the links here to get more detail on the validation specifics of Number and Strings types.
-
Validation
Mongoose Validation. This is essential.
-
- Apr 2021
-
labs.play-with-docker.com labs.play-with-docker.com
-
Play with Docker
Tags
Annotators
URL
-
- Feb 2021
-
github.com github.com
-
try { const value = await localforage.getItem('somekey'); // This code runs once the value has been loaded // from the offline store. console.log(value); } catch (err) { // This code runs if there were any errors. console.log(err); }
This looks like the best approach for me. async/await
-
-
-
return new Promise((resolve, reject) =>
Notice that functions that you want to call (which you will prepend with "await"), must be structured to ALWAYS return a Promise as has been done here.
-
Nicely explains how to make asynchronous calls to API/services. Async/Await
-
try/catch block to be able to catch the error
Nice!
The final result of they try catch block it that the code that follows below is almost exactly like how I usually code synchronously. It's so much easier to read.
-
await without async is bad
The are ALWAYS used together.
-
Callback Hell
This is so easy to fall into. I've done it a few times. Always try to avoid this.
-
Promises
Never forget this. It's very important.
-
-
www.web2generators.com www.web2generators.com
-
Create password credentials for htaccess and htpasswd files.
-
-
hub.docker.com hub.docker.comphp1
-
-apache
Meaning you need to append "-apache" to the image name to have Apache with PHP.
Tags
Annotators
URL
-
-
stackoverflow.com stackoverflow.com
-
I prefer not to duplicate the name of the table in any of the columns (So I prefer option 1 above).
So do I.
-
-
aws.amazon.com aws.amazon.com
-
Free Tier
This looks affordable lol. I should definitely try it.
Tags
Annotators
URL
-
-
stackshare.io stackshare.io
-
nginx vs Traefik: What are the differences?
I need to understand this
Tags
Annotators
URL
-
-
www.w3schools.com www.w3schools.com
-
<pre> My Bonnie lies over the ocean. My Bonnie lies over the sea. My Bonnie lies over the ocean. Oh, bring back my Bonnie to me.</pre>
This looks really useful.
Tags
Annotators
URL
-
-
hypothes.is hypothes.is
-
Getting started
This is my first annotation using this extension. It explains how to get started.
Tags
Annotators
URL
-