Skip to content

Instantly share code, notes, and snippets.

View kmabika's full-sized avatar

Kudzai kmabika

View GitHub Profile
@kmabika
kmabika / FilePreviewCard.tsx
Last active September 4, 2025 18:25
MultiFileUploader component.
import {
Box,
Flex,
Text,
Progress,
VStack,
HStack,
Icon,
Image,
Circle,
@kmabika
kmabika / customMessage.spec.ts
Last active September 4, 2025 18:20
Pulumi lambda implementation with tests.
import * as pulumi from '@pulumi/pulumi';
import 'jest';
function promiseOf<T>(output: pulumi.Output<T>): Promise<T> {
return new Promise(resolve => output.apply(resolve));
}
describe('Cognito Custom Message', () => {
// Define the infra variable as a type whose shape matches that of the
// to-be-defined resources module.
// https://www.typescriptlang.org/docs/handbook/2/typeof-types.html
"$schema" = 'https://starship.rs/config-schema.json'
format = """
[╭](fg:current_line)\
$os\
$status\
$directory\
$git_branch\
$git_status\
$fill\