Skip to content

Instantly share code, notes, and snippets.

View Baker's full-sized avatar
📧

Francis Baker

📧
View GitHub Profile
@TonyGravagno
TonyGravagno / zodDefaultInstance.ts
Last active March 21, 2024 09:31
Create a default object from a Zod schema
import { z } from 'zod'
/**
* @summary Function returns default object from Zod schema
* @version 23.05.15.2
* @link https://gist.github.com/TonyGravagno/2b744ceb99e415c4b53e8b35b309c29c
* @author Jacob Weisenburger, Josh Andromidas, Thomas Moiluiavon, Tony Gravagno
* @param schema z.object schema definition
* @param options Optional object, see Example for details
* @returns Object of type schema with defaults for all fields
https://media.giphy.com/media/FjfMN9MwuqvJe/giphy.gif - suspect is hatless, I repeat hatless
https://media.giphy.com/media/l0ExpaDR2IOTB2dAQ/giphy.gif - Dabbing mr. peanut
http://www.reactiongifs.com/r/trmp1.gif - Yeah Right Trump Faces
https://i.imgur.com/7XHSM7K.gif - Shitposting loudly
https://www.youtube.com/watch?v=DtRNg5uSKQ0 - fix it
http://i.imgur.com/GieYD.gif - well, hello there game changer
http://i.imgur.com/VF1p5XN.gif
https://i.imgur.com/eSVPDfw.gif - Parakeet explosion
https://media3.giphy.com/media/BWjTRoBsEKnII/giphy-downsized.gif - Top Men
https://i.imgur.com/MgtuAZQ.gif - Cold blooded
@p3t3r67x0
p3t3r67x0 / prefixed-office-properties.md
Last active February 20, 2024 19:15
MS Office prefixed style properties can be used for older versions of MS Excel, MS PowerPoint or MS Word when you want to save a document, presentation, workbook, or worksheet as a web document, or even in older versions for MS Outlook.

MS Office prefixed style properties

mso-ansi-font-size

Note: Office only

mso-ansi-font-size: large | larger | <length> | medium | <percentage> | small | smaller | x-large | x-small | xx-large | xx-small
@yanofsky
yanofsky / LICENSE
Last active May 7, 2024 12:36
A script to download all of a user's tweets into a csv
This is free and unencumbered software released into the public domain.
Anyone is free to copy, modify, publish, use, compile, sell, or
distribute this software, either in source code form or as a compiled
binary, for any purpose, commercial or non-commercial, and by any
means.
In jurisdictions that recognize copyright laws, the author or authors
of this software dedicate any and all copyright interest in the
software to the public domain. We make this dedication for the benefit