Skip to content

Instantly share code, notes, and snippets.

View xbalaji's full-sized avatar

Balaji (xbalaji) V xbalaji

View GitHub Profile
@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
@xbalaji
xbalaji / windows-cleanup.md
Created May 29, 2025 03:40
windows-cleanup.md

1. How to use WSL in a different partition of my Windows machine?

Answer:

You can install or move WSL distros to a different partition like this:

Option 1: Install a New WSL Distro to a Different Drive

  1. Download .appx file (e.g., Ubuntu).
  2. Extract it to D:\WSL\Ubuntu using Expand-Archive.
@xbalaji
xbalaji / customlog.R
Created September 14, 2024 22:44
customlog.R
# Set CRAN mirror
options(repos = c(CRAN = "https://cloud.r-project.org"))
# Install optparse if not already installed
if (!requireNamespace("optparse", quietly = TRUE)) {
install.packages("optparse")
}
library(optparse)