Skip to content

Instantly share code, notes, and snippets.

View pranavburnwal's full-sized avatar
🏠
Working from home

Pranav K Burnwal pranavburnwal

🏠
Working from home
View GitHub Profile
@pranavburnwal
pranavburnwal / .zshrc
Created April 24, 2023 07:41 — forked from callumlocke/.zshrc
ZSH function to auto-switch to correct Node version
####
# ZSH function to auto-switch to correct Node version
# https://gist.github.com/callumlocke/30990e247e52ab6ac1aa98e5f0e5bbf5
#
# - Searches up your directory tree for the closest .nvmrc, just like `nvm use` does.
#
# - If you are already on the right Node version, IT DOES NOTHING, AND PRINTS NOTHING.
#
# - Works correctly if your .nvmrc file contains something relaxed/generic,
# like "4" or "v12.0" or "stable".
{
"version": "https://schema.openattestation.com/2.0/schema.json",
"data": {
"recipient": {
"name": "e7f7c11a-51cf-4851-8e49-6a5857d323b1:string:Jonathan Lorem Foobar",
"email": "6044b298-7bbf-470d-9be2-94bbafb7ba8f:string:ryan@edufied.network"
},
"issuedOn": "76f9e6fd-ba9a-4ee3-8867-3621dd4814d3:string:2022 Oct 10",
"additionalData": {
"certification": "d59f9aaf-e70b-4580-a26a-575f1c58f1fe:string:Test Development",
{
"$id": "https://schemata.openattestation.com/sg/gov/moh/pdt-healthcert/1.0/interim-healthcert-schema.json",
"$schema": "http://json-schema.org/draft-07/schema",
"type": "object",
"title": "Interim Vaccination HealthCert Schema",
"required": ["id", "name", "validFrom", "fhirVersion", "fhirBundle", "issuers", "$template", "notarisationMetadata"],
"properties": {
"id": {
"type": "string",
"description": "Internal reference, usually serial number, of this document",
@pranavburnwal
pranavburnwal / web-servers.md
Created January 19, 2020 06:49 — forked from willurd/web-servers.md
Big list of http static server one-liners

Each of these commands will run an ad hoc http static server in your current (or specified) directory, available at http://localhost:8000. Use this power wisely.

Discussion on reddit.

Python 2.x

$ python -m SimpleHTTPServer 8000

Keybase proof

I hereby claim:

  • I am pranavburnwal on github.
  • I am pranavburnwal (https://keybase.io/pranavburnwal) on keybase.
  • I have a public key ASBiLaKgNaRzhfeVpB8QE1goyNQmbv6aMkOPe-qOW1uEXgo

To claim this, I am signing this object: