Skip to content

Instantly share code, notes, and snippets.

View xbalaji's full-sized avatar

Balaji (xbalaji) V xbalaji

View GitHub Profile
@xbalaji
xbalaji / chatGPT-b2b-01.md
Created July 26, 2026 06:29
chatGPT-b2b-01.md

prompt 01

I want to be setup a B2B business using  amazon store front or anything similar. I don't know if I need shopify or something else as well. Can you explain what and how they are related.

response 01

Yes. The biggest point of confusion is that Amazon, Shopify, and your own business are three different things. They can work together, but they each have a different job.

Think of it like this:

@xbalaji
xbalaji / github-tag.sh
Last active May 31, 2026 00:36
github-tag.sh
#!/usr/bin/env bash
ghtag() {
# Crucial: Reset OPTIND so the function works on subsequent calls
local OPTIND=1
local remote="origin"
local message=""
local increment=false
local explicit_tag=""
local handled=false
@xbalaji
xbalaji / windows-terminal-settings.md
Last active April 15, 2026 05:32
windows-terminal-settings.md

settings.json

  • C:\Users\xbalaji\AppData\Local\Packages\Microsoft.WindowsTerminal_8wekyb3d8bbwe\LocalState\settings.json
  • /mnt/c/Users/xbalaji/AppData/Local/Packages/Microsoft.WindowsTerminal_8wekyb3d8bbwe/LocalState/settings.json
{
    "$help": "https://aka.ms/terminal-documentation",
    "$schema": "https://aka.ms/terminal-profiles-schema",
    "actions": 
    [
@xbalaji
xbalaji / create_github_repo.sh
Last active June 10, 2026 06:30
create_github_repo.sh
#!/bin/bash
# ============================
# Script: create_github_repo.sh
# Purpose: Create a GitHub repo under an org by mirroring all branches
# from a template repo, clone via SSH, update README,
# push changes, assign team permissions, and list collaborators.
# ============================
# Defaults
@xbalaji
xbalaji / genai-links-useful-03.md
Last active March 11, 2026 06:11
genai-links-useful-03.md
@xbalaji
xbalaji / genai-links-useful-02.md
Created February 27, 2026 14:45
genai-links-useful-02.md
@xbalaji
xbalaji / venv-notes.md
Created February 26, 2026 06:23
venv-notes.md

setup virtual environment folder location, example as below

export VENV="${HOME}/dev/venv"

Python3

creating python3 virtual environment in the directory $PWD/py3

python3 -m venv ${VENV}/py3
@xbalaji
xbalaji / firefox-cookie-exceptions.md
Created September 30, 2025 15:03
firefox-cookie-exceptions.md
@xbalaji
xbalaji / firefox_temporary_containers_preferences.json
Created June 29, 2025 03:13
firefox_temporary_containers_preferences.json
{
"version": "1.9.2",
"date": 1751157387934,
"preferences": {
"automaticMode": {
"active": true,
"newTab": "created"
},
"notifications": false,
"container": {
@xbalaji
xbalaji / firefox-extensions-installed.md
Created June 7, 2025 15:04
firefox-extensions-installed.md