Skip to content

Instantly share code, notes, and snippets.

View samundra's full-sized avatar
🔬
refine details

Samundra samundra

🔬
refine details
View GitHub Profile
@samundra
samundra / 2026-10-10-IMPLEMENTATION-PLAN.md
Created October 14, 2026 04:32
IMPLEMENTATION-PLAN.md

ProTrade Solution - Implementation Plan

Date: 2026-10-10 Status: DRAFT - awaiting Sam's approval Source: gap analysis of CLAUDE.md, repo state, GitHub state and dotnepal/hooxygen

1. Context (decided)

  • Informational site, no e-commerce, no membership, no form in v1 (contact info only)
  • Stack: Vite + React 19 + TypeScript + React Router + Tailwind CSS 4,
@samundra
samundra / coffee.json
Last active September 28, 2026 20:16
Coffee - Custom Theme for Pi coding agent
{
"$schema": "https://github.com/earendil-works/pi/blob/main/packages/coding-agent/src/modes/interactive/theme/theme-schema.json",
"name": "coffee",
"appearance": "dark",
"colors": {
"accent": "#00aaff",
"border": "#db8a07",
"borderAccent": "#00aaff",
"borderMuted": "#db8a07",
"success": "#00ff00",
@samundra
samundra / wezterm.lua
Last active May 19, 2025 06:04
.config/wezterm/wezterm.lua
-- Pull in the wezterm API
local wezterm = require 'wezterm'
-- This will hold the configuration.
local config = wezterm.config_builder()
-- This is where you actually apply your config choices.
-- For example, changing the initial geometry for new windows:
config.initial_cols = 100
@samundra
samundra / ghosttty_config
Last active May 13, 2025 21:39
.config/ghostty/config
# # Filename: $HOME/.config/ghostty/config
# # Some config options have unique syntaxes for their value,
# # which is explained in the docs for that config option.
# # Just for example:
# resize-overlay-duration = 4s 200ms
# Colors
theme = catppuccin-macchiato
#theme = catppuccin-frappe
#background = #2b2d37
@samundra
samundra / mount-ntfs.sh
Created January 20, 2025 05:00
Mount NTFS on macOS
#!/bin/bash
set -x
sudo mkdir /Volumes/NTFS
sudo umount /dev/disk2s1 2>/dev/null
diskutil unmount /dev/disk2s1 2>/dev/null
sudo /usr/local/bin/ntfs-3g /dev/disk2s1 /Volumes/NTFS -olocal -oallow_other -oauto_xattr &
@samundra
samundra / .skhdrc
Last active November 21, 2020 05:08
yabai and skhd configs
# Open terminal
shift + alt - return : /Applications/iTerm.app/Contents/MacOS/iTerm2 --single-instance -d "/Users/samundra"
# change size of window
shift + alt - w : yabai -m window --resize top:0:-20 ; yabai -m window --resize bottom:0:-20
shift + alt - a : yabai -m window --resize left:-20:0 ; yabai -m window --resize right:-20:0
shift + alt - s : yabai -m window --resize bottom:0:20 ; yabai -m window --resize top:0:20
shift + alt - d : yabai -m window --resize right:20:0 ; yabai -m window --resize left:20:0
shift + alt - r : yabai -m window --resize right:100:0
shift + alt - l : yabai -m window --resize left:-100:0
@samundra
samundra / keymaps.json
Last active November 8, 2020 15:26
Visual Studio Code files
// Place your key bindings in this file to overwrite the defaults
[
{
"key": "cmd+1",
"command": "workbench.action.toggleSidebarVisibility"
},
{
"key": "cmd+[",
"command": "workbench.action.navigateBack"
},
@samundra
samundra / show-ip.sh
Last active December 27, 2017 09:14
Show Local IP
findIp() {
ip=`ifconfig -a | grep inet|grep "192."|tail -1|cut -f2 -d ":"|cut -f1 -d " "`
echo $ip
}
findIp
# Usage:
# chmod +x show-ip.sh
# - ./show-ip.sh
@samundra
samundra / phpmyadmin.conf
Created March 17, 2017 17:13
phpmyadmin.conf
# You may add here your
# server {
# ...
# }
# statements for each of your virtual hosts to this file
##
# You should look at the following URL's in order to grasp a solid understanding
# of Nginx configuration files in order to fully unleash the power of Nginx.
# http://wiki.nginx.org/Pitfalls
@samundra
samundra / macos-sublime-bindings.js
Last active October 22, 2018 01:08
MacOS Specific - Sublime Keybindings
[
{ "keys": ["super+shift+y"], "command": "show_overlay", "args": {"overlay": "command_palette", "text": "Set Syntax: "} },
{ "keys": ["super+shift+w"], "command": "toggle_setting", "args": {"setting": "word_wrap"}},
{ "keys": ["super+alt+n"], "command": "advanced_new_file_new"},
{ "keys": ["super+shift+d"], "command": "git_diff"},
{ "keys": ["super+shift+c"], "command": "copy_relative_path"},
{ "keys": ["super+e"], "command": "extended_switcher", "args": {"list_mode": "window"} },
{ "keys": ["super+shift+e"], "command": "extended_switcher", "args": {"list_mode": "active_group"} },
{ "keys": ["alt+enter"], "command": "goto_definition" },
{ "keys": ["super+shift+a"], "command": "alignment" },