/.../
: Start and end regex delimiters|
: Alternation()
: Grouping
Let’s Encrypt is a free, automated, and open certificate authority (CA), run for the public’s benefit. Let’s Encrypt is a service provided by the Internet Security Research Group (ISRG). This guide shows you how you can obtain a free SSL certificate.
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
let isRefreshing = false; | |
let refreshSubscribers = []; | |
const instance = axios.create({ | |
baseURL: Config.API_URL, | |
}); | |
instance.interceptors.response.use(response => { | |
return response; | |
}, error => { |
This is a Cheat Sheet for interacting with the Mongo Shell ( mongo on your command line). This is for MongoDB Community Edition.
Mongo Manual can help you with getting started using the Shell.
FAQ for MongoDB Fundamentals and other FAQs can be found in the side-bar after visiting that link.
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
/** | |
* Cross-browser support for caretPositionFromPoint. | |
* This returns a `CaretPosition` like object instead | |
* of a CaretPosition, since we can't create it for | |
* browsers that don't support this API. | |
*/ | |
function caretPositionFromPoint(x: number, y: number): { | |
offsetNode: Node; | |
offset: number; | |
getClientRect(): ClientRect | DOMRect; |
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
export type Class = new (...args: any[]) => any; | |
export function DisposableMixin<Base extends Class>(base: Base) { | |
return class extends base { | |
isDisposed: boolean = false; | |
dispose() { | |
this.isDisposed = true; | |
} | |
}; | |
} |
It's 2024. You should use tsup instead of this.
🔥 Blazing fast builds
😇 CommonJS bundle
🌲 .mjs
bundle
✨ .d.ts
bundle + type-checking