Skip to content

Instantly share code, notes, and snippets.

View zachduda's full-sized avatar
💼
Need something developed? Open for inquiries!

Zach Duda zachduda

💼
Need something developed? Open for inquiries!
View GitHub Profile
@zachduda
zachduda / main.js
Created November 1, 2023 18:35
Mountaineer Metrics Javascript
// v1 -- 2023 -- Written for MountaineerMetrics.com
function id(id) {
return document.getElementById(id);
}
function resetBtns() {
id('btn_2023').style.fontSize = null;
id('btn_2022').style.fontSize = null;
id('btn_2021').style.fontSize = null;
@zachduda
zachduda / main.py
Created October 25, 2023 18:47
python uvicorn & fastapi default
import os
import logging
from binascii import a2b_base64
from pydantic import BaseModel
from fastapi.staticfiles import StaticFiles
from fastapi.middleware.cors import CORSMiddleware
from fastapi.responses import HTMLResponse, FileResponse
from fastapi import Body, Depends, FastAPI, HTTPException, Depends, status
@zachduda
zachduda / keybase.md
Created January 4, 2023 18:13
GPG Public Key

Keybase proof

I hereby claim:

  • I am zachduda on github.
  • I am zachduda (https://keybase.io/zachduda) on keybase.
  • I have a public key whose fingerprint is 3BFF B247 6A7A 02BE 2600 948B 1388 2805 6A80 F9DE

To claim this, I am signing this object: