Skip to content

Instantly share code, notes, and snippets.

View virtuallyunknown's full-sized avatar

virtuallyunknown

View GitHub Profile
import axios from 'axios';
import { decode } from 'jsonwebtoken';
import { z } from 'zod';
const cotdListSchema = z.object({
monthList: z.array(
z.object({
year: z.number(),
month: z.number(),
lastDay: z.number(),
@virtuallyunknown
virtuallyunknown / git-commits.md
Created December 7, 2024 17:45
Git commit message formatting guide

Git commit message formatting guide

Commit types

  • build: Changes that affect the build system or external dependencies (example scopes: gulp, broccoli, npm)
  • chore: Other changes that don't modify src or test files
  • ci: Changes to our CI configuration files and scripts (example scopes: Travis, Circle, BrowserStack, SauceLabs)
  • docs: Documentation only changes
  • feat: A new feature
  • fix: A bug fix