Import this on top of application entry, such as pages/_app.tsx
NOTE: Make sure to import without resolving it
import '../lib/firebase'
// firebase.ts
// import { getAnalytics } from 'firebase/analytics';
import { ZodError, type z } from 'zod'; | |
import { type Callback, type Handler, type InputType } from './types'; | |
export default function jsonEndpoint<I, O, E>( | |
input: { | |
type: InputType; | |
schema: z.Schema<I>; | |
}, | |
output: z.Schema<O>, |
// Code by: Yara Bramasta ([email protected]) | |
import { useSearchParams } from 'next/navigation'; | |
import { type z } from 'zod'; | |
/** | |
* **Wrapper around Next.js useSearchParams hook** | |
* | |
* This hook is used to safely parse query params from the URL with `zod`. |
# | |
# ~/.bashrc | |
# | |
# If not running interactively, don't do anything | |
[[ $- != *i* ]] && return | |
source ~/.git-prompt.sh | |
PS1='[\u@\h on \w$(__git_ps1 " - %s")]\n[גּ]\$ ' |
# /etc/X11/xorg.conf.d/30-touchpad.conf | |
Section "InputClass" | |
Identifier "touchpad" | |
Driver "libinput" | |
MatchIsTouchpad "on" | |
Option "Tapping" "on" | |
Option "TappingButtonMap" "lmr" | |
Option "NaturalScrolling" "true" | |
EndSection |