Skip to content

Instantly share code, notes, and snippets.

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

Punith K kpunith8

🏠
Working from home
View GitHub Profile
@bradtraversy
bradtraversy / webdev_online_resources.md
Last active May 11, 2025 21:13
Online Resources For Web Developers (No Downloading)
@kpunith8
kpunith8 / Container.js
Last active June 16, 2020 12:53
Sticky Nav Bar - In react with css module using gastby
import React from "react"
import containerStyles from "./container.module.css"
const Container = ({ children }) => {
return <div className={containerStyles.container}>{children}</div>
}
export default Container
@kentcdodds
kentcdodds / session.server.ts
Created November 18, 2021 21:04
Authentication in Remix applications
import * as bcrypt from "bcrypt";
import { createCookieSessionStorage, redirect } from "remix";
import { db } from "./db.server";
export type LoginForm = {
username: string;
password: string;
};