Skip to content

Instantly share code, notes, and snippets.

Avatar
🏠
Working from home

Peter Kehl peter-kehl

🏠
Working from home
View GitHub Profile
View rust_const_generics.md

Presentation on Const Generics as of 1.50.0 stable and 1.52.0-nightly

Challenges

@peter-kehl
peter-kehl / 00_destructuring.md
Last active Dec 4, 2018 — forked from john2x/00_destructuring.md
Clojure Destructuring Tutorial and Cheat Sheet
View 00_destructuring.md

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

View Apps Script Gmail Utilities.md

Google Apps Script Gmail Utilities

##sendAndLabel(recipient, subject, body, options, label)##

An alternative to GmailApp.sendEmail(), which applies a label to the message thread in the sender's account.

Sends an email message with optional arguments. The email can contain plain text or an HTML body. The size of the email