Play react-hook-form
typescript vite react react-hook-form classnames bootstrap
source code
demo
What react-hook-form?
Performant, flexible and extensible forms with easy-to-use validation.
Steve Jian changed 3 years agoView mode Like Bookmark
mdns discovery on Arch Linux
Most application using glibc to resolve domain
if using mdns on lan network like hotstname.local
you can install nss-mdns, a plugin for glibc, to resolve domain.
Install nss-mdns
$ yay -S avahi nss-mdns
Editor nsswitch.conf
$ sudo nano /etc/nsswitch.conf
Steve Jian changed 4 years agoView mode Like Bookmark
Tmux 256 Color
bash & zsh
Add this line to ~/.bashrcor ~/.zshrc
export TERM=xterm-256color
fish
Add this line to ~/.tmux.conf
set-option -g default-terminal "screen-256color"
Steve Jian changed 4 years agoView mode Like Bookmark
Fish Shell Setting
Fish Shell Add PATH
Yarn Global Path
$ set -Ua fish_user_paths ~/.yarn/bin/
Pip Global Path
$ set -Ua fish_user_paths ~/.local/bin
Full Path Name
$ set -U fish_prompt_pwd_dir_length 0
Steve Jian changed 4 years agoView mode Like Bookmark