Skip to content

Instantly share code, notes, and snippets.

View Shahaed's full-sized avatar
🥥

Shahaed Hasan Shahaed

🥥
View GitHub Profile
@Shahaed
Shahaed / link_homebrew_tools.py
Created September 7, 2022 05:02
Script to link homebrew packages to the GitHub actions tool cache. Run before each job
@Shahaed
Shahaed / ListboxWithFormik.tsx
Created October 1, 2021 04:36
How to use headless ui listbox with formik
import { Field, Form, Formik, FormikProps, useField } from "formik";
import Listbox from "./listbox";
export default function ListboxWithFormik() {
const [, meta, helpers] = useField("mySelect");
const { value, error } = meta;
const { setValue, setTouched } = helpers;
return (
@Shahaed
Shahaed / tsconfig.json
Created November 17, 2020 08:39
tsconfig for a test folder with a root level tsconfig
{
"extends": "../tsconfig.json",
"compilerOptions": {
"noEmit": true
},
"include": ["./**/*"]
}
@Shahaed
Shahaed / pl
Last active November 18, 2022 08:54
{
"sessions": [
{
"type": "saved",
"generated": "2022-11-18T08:53:22.534Z",
"created": "2022-11-18T08:53:31.448Z",
"modified": "2022-11-18T08:53:31.448Z",
"id": 3,
"gid": "fRWmy1SGbtMbMufJocyUh0EFOYCpl2qJ",
"windows": [