Skip to content

Instantly share code, notes, and snippets.

View Tbhesswebber's full-sized avatar

Tanner B. Hess Webber Tbhesswebber

  • Washington, D.C.
View GitHub Profile
@Tbhesswebber
Tbhesswebber / zod.code-snippets
Created January 20, 2025 19:17
VSCode Zod Snippet
{
"Create Zod type": {
"scope": "typescript, typescriptreact",
"prefix": "zod",
"body": [
"export const ${1:variableName} = z.${3:object}($0)",
"export type ${1/^(.)(.*)$/${1:/upcase}${2}/} = z.infer<typeof $1>"
],
"description": "Create a zod template with the exported type"
}
$ curl -I --compressed -v https://nodejs.org/dist/
* Trying 104.20.23.46...
* TCP_NODELAY set
* Connected to nodejs.org (104.20.23.46) port 443 (#0)
* ALPN, offering h2
* ALPN, offering http/1.1
* successfully set certificate verify locations:
* CAfile: /etc/ssl/certs/ca-certificates.crt
CApath: /etc/ssl/certs
* TLSv1.2 (OUT), TLS handshake, Client hello (1):
$ curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.34.0/install.sh | bash
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 13226 100 13226 0 0 82662 0 --:--:-- --:--:-- --:--:-- 82662
=> Downloading nvm from git to '/home/tanner/Shared/.nvm'
=> Cloning into '/home/tanner/Shared/.nvm'...
remote: Enumerating objects: 278, done.
remote: Counting objects: 100% (278/278), done.
remote: Compressing objects: 100% (249/249), done.
remote: Total 278 (delta 33), reused 93 (delta 16), pack-reused 0
@Tbhesswebber
Tbhesswebber / README-Template.md
Created October 17, 2018 01:14 — forked from PurpleBooth/README-Template.md
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