Skip to content

Instantly share code, notes, and snippets.

View j-bullard's full-sized avatar
🎯
Focusing

Jason Bullard j-bullard

🎯
Focusing
View GitHub Profile
@j-bullard
j-bullard / docker-compose.yml
Created July 24, 2024 21:18
Docker compose using vite with HMR through nginx
version: "3.9"
services:
db:
image: postgres:latest
container_name: postgres
restart: always
environment:
POSTGRES_USER: postgres
POSTGRES_PASSWORD: postgres
POSTGRES_DB: task_app_db
@j-bullard
j-bullard / App.tsx
Created July 4, 2021 07:15
Headless UI with React Hook Forms
import "./styles.css";
import { Person } from "./types";
import { Listbox } from "./listbox/listbox";
import { useForm } from "react-hook-form";
const people: Person[] = [
{ id: 1, name: "Durward Reynolds", unavailable: false },
{ id: 2, name: "Kenton Towne", unavailable: false },
{ id: 3, name: "Therese Wunsch", unavailable: false },
{ id: 4, name: "Benedict Kessler", unavailable: true },