Skip to content

Instantly share code, notes, and snippets.

View Freezystem's full-sized avatar
😇
a true act of Goodwill always sparks another

Nico Freezystem

😇
a true act of Goodwill always sparks another
  • Tech Lead @ Inuk
  • Montpellier
View GitHub Profile
@JamieCurnow
JamieCurnow / firestore.ts
Last active June 28, 2023 23:27
Using Firestore with Typescript - including update helper
/**
* This Gist is part of a medium article - read here:
* https://jamiecurnow.medium.com/using-firestore-with-more-typescript-8058b6a88674
*/
// import firstore (obviously)
import { firestore } from "firebase-admin"
// Here's the helper type for paths:
type PathImpl<T, K extends keyof T> =
@john2x
john2x / 00_destructuring.md
Last active April 23, 2024 13:18
Clojure Destructuring Tutorial and Cheat Sheet

Clojure Destructuring Tutorial and Cheat Sheet

(Related blog post)

Simply put, destructuring in Clojure is a way extract values from a datastructure and bind them to symbols, without having to explicitly traverse the datstructure. It allows for elegant and concise Clojure code.

Vectors and Sequences