Skip to content

Instantly share code, notes, and snippets.

View bidyashish's full-sized avatar
🔺

Bidyashish bidyashish

🔺
  • Ẹ̶̢̢̛̫͚̤͙̏̔͗̌̒̀̃̕ạ̸̠̦̞̝͇̗̗̻͉̲͓̋͗̔̑͋̌̑̏̎̐̂̌̎̽̂̾̓̎̃̕̕͠r̶̢͔̜̜̣̮̮̫̜̭̞͙͇͖͎̾͒̾̏͜t̸̢͙͔̪̬̺̼̺̮͐͆h̵̨̛̳̬̯̥̮̖̝͖͕̟͎͈͌̐̿͐̊͌͌̇͒̃̐̓̋̊́̀́̕͘͝
View GitHub Profile
@bidyashish
bidyashish / config.fish
Created November 14, 2025 19:27
My ~/.config/fish/config.fish. Fish File
#1
if status is-interactive
# Commands to run in interactive sessions can go here
end
#2 Load starship
starship init fish | source
#3 NVM Node
set -gx NVM_DIR ~/.nvm
@bidyashish
bidyashish / .sh
Created November 14, 2025 18:45
KIMI k2 Thinking in Fish Bash Zsh Shell
# Edit ~/.config/fish/config.fish
# Save and Reload source ~/.config/fish/config.fish
function kimi
set -x ANTHROPIC_BASE_URL https://api.moonshot.ai/anthropic
set -x ANTHROPIC_AUTH_TOKEN sk-x......
set -x ANTHROPIC_MODEL kimi-k2-thinking
set -x ANTHROPIC_SMALL_FAST_MODEL kimi-k2-thinking
claude --dangerously-skip-permissions $argv
end
@bidyashish
bidyashish / gist:9b2db416861c20ad686302bcd6463965
Created October 13, 2025 03:25
Run Chrome and Claude Code Macos
Step 1
```bash
"/Applications/Google Chrome.app/Contents/MacOS/Google Chrome" --remote-debugging-port=9222
--user-data-dir="$HOME/.config/google-chrome"
```
Step 2
`claude mcp add chrome-devtools -- npx -y chrome-devtools-mcp@latest -u http://localhost:9222`

Next.js Starters

A list of CLI generators, starter kits / boilerplates and toolkits to kick start your Next.js apps.

  • What is included in this list:
    • Has ~1K+ Github stars
    • Actively maintained / up to date
    • Includes a style / css solution or UI Framework
    • Includes a database
  • Includes authentication / authorization
@bidyashish
bidyashish / gist:0ff31dc90a1220c2d5833fa27bb099ff
Created September 8, 2025 03:28
explain this model naming MODEl-4KT-1kV-10E-64B-ES-CQA-v2
This appears to be a systematic model naming convention that encodes key specifications and characteristics. Let me break down each component:
MODEL-4KT-1kV-10E-64B-ES-CQA-v2
MODEL - Base identifier indicating this is a model designation
4KT - Likely "4K Tokens" referring to context length or input size (4,000 tokens)
1kV - Probably "1K Vocabulary" indicating vocabulary size (1,000 terms) or possibly "1kV" as in voltage if this is hardware-related
10E - Could mean "10 Epochs" (training iterations) or "10 Experts" if it's a mixture-of-experts architecture
64B - Most likely "64 Billion" parameters, indicating model size
ES - Possibly "Early Stopping," "Ensemble," "Expert System," or a specific training technique
@bidyashish
bidyashish / OpenSourceBaas.md
Created January 17, 2024 00:55 — forked from PARC6502/OpenSourceBaas.md
List of open source, self hosted BaaS - Backend as a service

Backend as a Service

Supabase - ~52K stars

  • Designed explicitly as an open source firebase alternative
  • Typescript based
  • Docker support

Appwrite - ~32K stars

  • Written in JavaScript and PHP
  • Docker based
  • Realtime support across all services
@bidyashish
bidyashish / interview-questions.md
Created November 29, 2023 00:05 — forked from hugodias/interview-questions.md
Senior Developers Interview Questions

Technical questions

  1. What techniques would you use to make sure an API is reliable and scalabe for reading operations to support 1M requests a day with peak of 2000 concurrent users?
  2. You have just been put in charge of a legacy code project which is difficult to maintain – what would you plan to improve in order to make the project easier to maintain in the long-term?
  3. What is an acceptable response time for a ready-only API GET method in your opinion?
  4. What is dependency injection? What are the benefits of using it?
  5. Do you test your applications? What are the importance of tests in software development and the difference between each type of test? (Unit tests, E2E, Integration tests, Load Test)

Role-specific questions

  1. What metrics do you use to monitor a backend application performance?
  2. What metrics do you use to monitor your teams performance?

Oh my zsh.

Install with curl

sh -c "$(curl -fsSL https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh)"

Enabling Plugins (zsh-autosuggestions & zsh-syntax-highlighting)

  • Download zsh-autosuggestions by
@bidyashish
bidyashish / fp-lingo.md
Created August 27, 2020 16:05 — forked from ericelliott/fp-lingo.md
A Guide to Functional Programming Lingo for JavaScripters

A Guide to Functional Programming Lingo for JavaScripters

Functional programming gets a bad wrap about being too hard for mere mortals to comprehend. This is nonsense. The concepts are actually quite simple to grasp.

The jargon is the hardest part. A lot of that vocabulary comes from a specialized field of mathematical study called category theory (with a liberal sprinkling of type theory and abstract algebra). This sounds a lot scarier than it is. You can do this!

All examples using ES6 syntax. wrap (foo) => bar means:

function wrap (foo) {
@bidyashish
bidyashish / Run a function 5 times with intervals of 20 seconds.js
Created August 8, 2020 13:49
JS: Run a function 5 times with intervals of 20 seconds
var count = 0;
function myFunction() {
count++;
if(count > 5) clearInterval(timeout);
//do something
}
var timeout = setInterval(myFunction, 20000);