Skip to content

Instantly share code, notes, and snippets.

View syntaxhacker's full-sized avatar
🧠
compacting ...

Rohit Jogi syntaxhacker

🧠
compacting ...
View GitHub Profile
@syntaxhacker
syntaxhacker / PRIVACY.md
Created August 11, 2026 20:16
Job Radar for LinkedIn - Privacy Policy

Privacy Policy β€” Job Radar for LinkedIn

Last updated: August 2026

Job Radar for LinkedIn is a Chrome extension that runs entirely locally in your browser. It does not transmit, store, or sell any of your data.

What the extension does

  • Scans the LinkedIn pages you open (search results and your home feed) to
@syntaxhacker
syntaxhacker / chrome-devtools-mcp-bunx-bug.md
Created August 3, 2026 11:31
chrome-devtools-mcp --autoConnect fails when launched via bunx: Puppeteer doesn't support Bun (#1234). Fix: use Node npx with absolute path.

chrome-devtools-mcp fails with --autoConnect when launched via bunx (Bun)

Symptom

The chrome-devtools MCP server is configured with:

bunx chrome-devtools-mcp@latest --autoConnect --user-data-dir <chrome-profile-dir>
@syntaxhacker
syntaxhacker / gmail-python-integration.md
Created July 30, 2026 08:20
Gmail SMTP/IMAP integration with Python using App Password β€” send with attachments, read unread emails, no OAuth setup required

Gmail Integration with Python (SMTP + IMAP)

A working setup to send and read Gmail programmatically using Python, without browser automation or OAuth setup β€” just an App Password.

Prerequisites

@syntaxhacker
syntaxhacker / ubuntu-performance-fixes.md
Created July 28, 2026 20:25
Ubuntu Performance Debugging - Fixing Lag, Chrome FPS, NVIDIA GPU & Memory Tuning

Ubuntu Performance Debugging Log

Full debugging session fixing system lag on Ubuntu 24.04 with GTX 1650 Ti

Symptoms

  • System lag, stuttering UI
  • Chrome stuck at 25fps on regular pages (WebGL hit 60fps)
  • High swap usage, memory pressure

Root Causes Found

@syntaxhacker
syntaxhacker / llamacpp-learning-setup-summary.md
Created July 28, 2026 20:25
llama.cpp + CUDA 13.2 on Ubuntu 24.04 with GTX 1650 Ti - setup notes and learnings for 4GB VRAM

llama.cpp + CUDA Setup β€” What I Learned

System: Ubuntu 24.04, GTX 1650 Ti (4GB VRAM)

Hardware Limits

  • 4GB VRAM fits Llama 3.2 3B (Q4_K_M) fully on GPU with 4K context
  • 8K context = partial CPU offload (slower), 16K+ = mostly CPU
  • TinyLlama 1.1B runs easily with full offload
  • No tensor cores on GTX 1650 Ti -- warning is cosmetic
  • 7B models don't fit at Q4 (4.5 GB), Q2 is degraded quality
@syntaxhacker
syntaxhacker / setup.md
Created July 28, 2026 20:19
Ubuntu 24.04 setup: macOS dock, timeouts, dev tools

Ubuntu 24.04 Setup Guide

macOS-Style Dock & Window Controls

# Move dock to bottom (macOS style)
gsettings set org.gnome.shell.extensions.dash-to-dock dock-position 'BOTTOM'
gsettings set org.gnome.shell.extensions.dash-to-dock extend-height false
gsettings set org.gnome.shell.extensions.dash-to-dock always-center-icons true
gsettings set org.gnome.shell.extensions.dash-to-dock show-apps-at-top true
@syntaxhacker
syntaxhacker / speed-of-sound-setup.md
Created June 28, 2026 18:41
Speed of Sound - Ubuntu Voice Dictation Setup

Speed of Sound - Ubuntu Voice Dictation Setup

Local Whisper-based voice typing for Linux, similar to macOS dictation.

Installation

# Install Flatpak & Speed of Sound
sudo apt update && sudo apt install -y flatpak
flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo
@syntaxhacker
syntaxhacker / how-domains-work.md
Created June 24, 2026 18:49
How domains, DNS, and hosting work - simple explanation with ASCII

How Domains, DNS & Hosting Work

The Problem

Computers talk using IP addresses like 76.76.21.21.
Humans remember names like google.com better.

DNS (Domain Name System) is the phonebook of the internet β€” it translates names β†’ IPs.


@syntaxhacker
syntaxhacker / namecheap-to-vercel-domain-setup.md
Created June 24, 2026 18:48
How to point a Namecheap domain to a Vercel deployment - ASCII walkthrough

Namecheap β†’ Vercel Domain Setup

How to connect a domain bought on Namecheap to a Vercel-hosted project.

                          β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
                          β”‚  1. Buy domain on   β”‚
                          β”‚     Namecheap       β”‚
                          β”‚  e.g. yourdomain.io β”‚
                          β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜
@syntaxhacker
syntaxhacker / 99-usb-lenovo.rules
Last active July 13, 2026 19:41
Lenovo USB auto-mount with systemd-mount (udev)
ACTION=="add", SUBSYSTEM=="block", ENV{ID_FS_UUID}=="61F4-EB04", RUN+="/usr/bin/systemd-mount --no-block --automount=yes --options=defaults,uid=1000,gid=1000 $devnode /mnt/usb"
ACTION=="remove", SUBSYSTEM=="block", ENV{ID_FS_UUID}=="61F4-EB04", RUN+="/usr/bin/systemd-mount --umount $devnode"