- Use HTML tags to define the table to get the best layout result
- Use either backticks (```) or the HTML
pre
element with attributelang
- Keep a blank line before and after a code block for correct formatting and syntax highlighting
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
// Install npm i pg-mem --save-dev | |
import { DataSource, Repository } from 'typeorm'; | |
import { newDb, DataType } from 'pg-mem'; | |
import { v4 } from 'uuid'; | |
const setupDataSource = async () => { | |
const db = newDb({ | |
autoCreateForeignKeyIndices: true, | |
}); |
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
Typescript/angular port of @ffmpeg/ffmpeg library which is used with @ffmpeg/core (see https://github.com/ffmpegwasm/ffmpeg.wasm). Some smaller adjustments have also been made. | |
This snippet is designed to make use of web workers in angular (see https://angular.io/guide/web-worker) to encode media in a single threaded browser environment. |
Example on how to run locally an AWS Lambda via API Gateway using localstack.
Based on...
A complete list of RxJS 5 operators with easy to understand explanations and runnable examples.