Skip to content

Instantly share code, notes, and snippets.

View dipta007's full-sized avatar
🏠
Working from home

Shubhashis Roy Dipta dipta007

🏠
Working from home
View GitHub Profile
@dipta007
dipta007 / deploy_sglang.sh
Last active February 21, 2025 01:41
SGLang deploy using udocker
# pip install udocker
udocker pull lmsysorg/sglang:latest
udocker create --name=sglang lmsysorg/sglang:latest
udocker setup --nvidia sglang
udocker run \
--volume="/${PWD}:/workspace" \
@dipta007
dipta007 / deploy_vllm.sh
Created February 23, 2025 22:14
Deploy VLLM with udocker
# pip install udocker
udocker pull vllm/vllm-openai:latest
udocker create --name=vllm vllm/vllm-openai:latest
udocker setup --nvidia --force vllm
udocker run \
--volume="/${PWD}:/workspace" \
@dipta007
dipta007 / setup_nvim.sh
Last active April 19, 2025 05:53
nvim setup in server
# ------------------ node ------------------
# https://nodejs.org/en/download
# Download and install nvm:
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.40.2/install.sh | bash
# in lieu of restarting the shell
\. "$HOME/.nvm/nvm.sh"
# Download and install Node.js:
@dipta007
dipta007 / keybindings.json
Last active November 28, 2025 04:19
vscode for neovim
// Place your key bindings in this file to override the defaults
[
// navigation
{
"command": "workbench.action.togglePanel",
"key": "cmd-j",
"when": "vim.mode == 'Normal'"
},
{
"command": "workbench.action.createTerminalEditor",
@dipta007
dipta007 / claude-exec
Last active January 2, 2026 03:36
Using claude cli to imitate `aichat -e`
#!/bin/bash
# claude-exec: Shell assistant using Claude Code CLI
# Usage: claude-exec [options] <natural language description>
#
# Options:
# -h, --help Show help
# -c, --copy Copy command to clipboard instead of executing
# -y, --yes Execute without confirmation
# -v, --verbose Show system info being sent to Claude