Skip to content

Instantly share code, notes, and snippets.

View vigzmv's full-sized avatar

Vignesh M vigzmv

View GitHub Profile
@vigzmv
vigzmv / access.log for nextjs.md
Created March 23, 2025 07:38 — forked from x-yuri/access.log for nextjs.md
access.log for nextjs

access.log for nextjs

$ npx create-next-app app

app/Dockerfile:

FROM node:20.11.1-alpine3.19 as npm
@vigzmv
vigzmv / hmac_sha256.py
Last active July 9, 2017 08:26 — forked from theY4Kman/hmac_sha256.py
Python SHA-256 HMAC
from Crypto.Hash import HMAC, SHA256
def hmac_sha256(key, msg):
hash_obj = HMAC.new(key=key, msg=msg, digestmod=SHA256)
return hash_obj.hexdigest()