Skip to content

Instantly share code, notes, and snippets.

View chungminhtu's full-sized avatar

Chung Minh Tú chungminhtu

View GitHub Profile
@btroncone
btroncone / rxjs_operators_by_example.md
Last active June 15, 2024 07:17
RxJS 5 Operators By Example
@crypticmind
crypticmind / README.md
Last active July 12, 2024 09:34
Setup lambda + API Gateway using localstack
@Chris1234567899
Chris1234567899 / _NGX_FFMPEG_WASM
Last active April 7, 2024 19:51
Angular/Typescript adjustments of ffmpeg-core for ffmpeg.wasm with web workers
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.
@navjotahuja92
navjotahuja92 / setup.ts
Last active February 2, 2024 15:11
Nest.js Test Setup with In Memory Postgres Database (pg-mem)
// 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,
});