Skip to content

Instantly share code, notes, and snippets.

View juriadams's full-sized avatar

Juri Adams juriadams

View GitHub Profile
@NuroDev
NuroDev / createdTypedKv.ts
Last active September 29, 2023 14:13
💙 Create typed KV ─ A wrapper for a Deno KV instance to provide a more ORM style API
type Prettify<T> =
& { [K in keyof T]: T[K] }
& {};
type KvConsistencyOptions = Parameters<Deno.Kv['get']>[1];
interface MapTypedKv<K extends string, V extends unknown> {
delete(id: K): Promise<void>;
get(id: K, options?: KvConsistencyOptions): Promise<Deno.KvEntryMaybe<V>>;
getMany<T extends readonly unknown[]>(
@danielroe
danielroe / settings.json
Last active April 19, 2025 06:36
VScode settings for a minimal UI
{
// Disable telemetry
"telemetry.telemetryLevel": "off",
// Zen mode
"zenMode.fullScreen": false,
"zenMode.hideTabs": true,
"zenMode.centerLayout": false,
// Theming
"workbench.iconTheme": "city-lights-icons-vsc",
"editor.fontFamily": "Dank Mono",
@PurpleBooth
PurpleBooth / README-Template.md
Last active April 24, 2025 18:58
A template to make good README.md

Project Title

One Paragraph of project description goes here

Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.

Prerequisites