Skip to content

Instantly share code, notes, and snippets.

View shanksxz's full-sized avatar
:octocat:

Somya Bhatt shanksxz

:octocat:
View GitHub Profile
local wezterm = require 'wezterm'
local config = {}
if wezterm.config_builder then
config = wezterm.config_builder()
end
config.color_scheme = 'Vesper'
config.font = wezterm.font("JetBrains Mono NL")
config.font_size = 12
{
"editor.fontFamily": "JetBrains Mono",
"window.zoomLevel": 1,
"files.autoSave": "onFocusChange",
"workbench.activityBar.location": "bottom",
"window.customTitleBarVisibility": "auto",
"workbench.sideBar.location": "right",
"workbench.iconTheme": "symbols",
"editor.lineNumbers": "relative",
"window.menuBarVisibility": "toggle",
[aws]
symbol = ""
[buf]
symbol = ""
[bun]
symbol = ""
[c]
@shanksxz
shanksxz / form.tsx
Created December 20, 2024 15:54
mutli-step
"use client"
import { useState } from 'react'
import { useForm, useFieldArray, SubmitHandler } from "react-hook-form"
import { zodResolver } from "@hookform/resolvers/zod"
import { Check, ChevronRight, ChevronLeft, Plus, Trash2 } from 'lucide-react'
import { motion, AnimatePresence } from 'framer-motion'
import { Button } from "src/components/ui/button"
import { Input } from "src/components/ui/input"
import { Label } from "src/components/ui/label"
@shanksxz
shanksxz / commands.md
Created May 18, 2024 21:14
linux commands

ls

  • it is used to list directory contents
ls # list files in current directory
ls -a # list all files in current directory including hidden files
ls -l # list detailed information about files in current directory
ls -la # combination of ls -a and ls -l
ls -l --author # list all files in current directory with author deatils
ls -t # sort by modification time, newest first.
ls -s # sort by file size