Skip to content

Instantly share code, notes, and snippets.

View Comurule's full-sized avatar

Chibuike Umechuwu Comurule

View GitHub Profile
async intiate(userId: Types.ObjectId, payload: InitiateCrossBorderTrxDTO) {
const session = await this.connection.startSession();
try {
await session.withTransaction(
async (session: ClientSession) => {
const isVerified = await this.pinService.verifyUser({
userId,
pin: payload.pin,
@Comurule
Comurule / bash-colors.md
Created August 12, 2021 10:32 — forked from iamnewton/bash-colors.md
The entire table of ANSI color codes.

Regular Colors

Value Color
\e[0;30m Black
\e[0;31m Red
\e[0;32m Green
\e[0;33m Yellow
\e[0;34m Blue
\e[0;35m Purple