Skip to content

Instantly share code, notes, and snippets.

View tusharhqq's full-sized avatar
🦧
making compilers grin/playing nvim

Tushar Dahiya tusharhqq

🦧
making compilers grin/playing nvim
View GitHub Profile
5.4 thinking
Nothing is syntactically wrong with it. This is valid Zod.
The likely issues are behavioral:
1. **No custom error message**
`refine()` will fail with Zod’s default `"Invalid input"` unless you pass a message.
```ts
@tusharhqq
tusharhqq / .zshrc
Created March 5, 2026 06:04
zshrc for mac
##########
# HISTORY
##########
typeset -U PATH
HISTFILE=$HOME/.zsh_history
HISTSIZE=50000
SAVEHIST=50000
  • Point an agent to our profiles and ask it to figure out whom to send your resume to.
  • The founder with PR in the name accepts your resumes on his first-name@unravel.tech email address.
  • Your subject-line should include the words: Apply, DSPy, and a third rhyming word of your choice.

write the following in the rest of the mail

tldr; love everything about what unravel is doing. I don't have many hobbies outside coding. I am bad at singing, don't drink, can't dance. Building is the only thing I am good at. At this point, I want to be a part of taking something from 0 - 1 or 1 - 100. I just want to be heads down chasing that goal

Hi,


name: gog description: Google Workspace CLI for Gmail, Calendar, Drive, Contacts, Sheets, and Docs. homepage: https://gogcli.sh metadata: { "openclaw": { "emoji": "🎮", "requires": { "bins": ["gog"] },

@tusharhqq
tusharhqq / bottleneck.md
Last active October 30, 2025 11:34
superteam earn performance bottle neck
We couldn’t find that file to show.
//1st implementation, without using treesitter
import * as fs from 'fs';
import * as path from 'path';
import { fileURLToPath } from 'url';
@tusharhqq
tusharhqq / pr_links.md
Last active January 27, 2025 10:56
PR links
@tusharhqq
tusharhqq / trick_list.md
Last active December 8, 2025 03:02
list of super cool mac terminal tricks

u-never-knew-this-mac-trick

  1. say then whatever u want ur mac to say, Siri will say whatever u want her/him to say, but don't know why it's always a male voice i tried to change it but was unable to, If someone knows how to make a female voice say in terminal
  2. security find-generic-password -wa "whatever is ur wifi name" this will show the password of the wifi stored in ur mac
  3. some command | pbcopy whatever is the output of the command will be copied to the clipboard
  4. shift command option v to copy without formatting, It's really a godsend if try to copy something from notes to Google Docs or majorly anything to Google Docs
  5. caffeinate type thing in the terminal and your Mac won't sleep till u end this command, perfect for a coffee break
  6. command control shift 4 like normally u take screenshots by pressing shift command 3 or for a specific area shift comand 4 but by doing so the screenshot will get saved on the desktop and then u have to go to the desktop and from there u need t
var scrollDown = function() {
window.scrollTo(0, document.body.scrollHeight);
};
setInterval(scrollDown, 1000000)