This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { Lucia } from "lucia"; | |
import { NeonHTTPAdapter } from "@lucia-auth/adapter-postgresql"; | |
import { neon } from "@neondatabase/serverless"; | |
import { Twitter } from "arctic"; | |
import { cache } from "react"; | |
import { cookies } from "next/headers"; | |
import { env } from "@/env.mjs"; | |
import type { Session, User } from "lucia"; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Vite/React/TS/Tailwind/Vitest | |
https://github.com/joaopaulomoraes/reactjs-vite-tailwindcss-boilerplate |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { | |
Transition, | |
Listbox, | |
type ListboxProps, | |
type ListboxOptionsProps, | |
type ListboxOptionProps, | |
} from "@headlessui/react"; | |
import clsx from "clsx"; | |
import React from "react"; | |
import { twMerge } from "tailwind-merge"; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// source: https://react-typescript-cheatsheet.netlify.app/docs/advanced/misc_concerns | |
import { forwardRef } from "react"; | |
const Input = (props: any) => <input {...props} />; | |
const Form = forwardRef<HTMLDivElement, any>( | |
({ children, ...otherProps }, ref) => ( | |
<form {...otherProps} ref={ref}> | |
{children} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
USAGE="Usage: ./mint-blank-nfts {amount} [metadata URL]\n\nDependencies: \nmetaboss ^0.14.0 (https://crates.io/crates/metaboss)\nSolana CLI key file (~/.config/solana/id.json)\njq (https://stedolan.github.io/jq/)" | |
if [ $# == 0 ]; then | |
echo -e $USAGE | |
exit 1; | |
fi | |
if [ ! -f ~/.config/solana/id.json ]; then |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Verify Github on Galaxy. gid:8wPBVau8HNsLVcwejNoaBb |