Skip to content

Instantly share code, notes, and snippets.

View FNGarvin's full-sized avatar

Fred N. Garvin FNGarvin

  • Moline, IL
View GitHub Profile
@junielton
junielton / antigravity-browser-wsl.md
Last active January 29, 2026 14:45
How to Run Antigravity Browser Automation on WSL2

Strategy: Bridge the WSL connection to use the native Windows Chrome installation via port forwarding. This avoids slow rendering inside Linux and utilizes your GPU.

1. Windows Setup (One-Time)

Open PowerShell as Administrator for these steps.

  1. Get your WSL Gateway IP (Run this inside your WSL terminal):
    ip route show | grep -i default | awk '{ print $3}'
@topalovic
topalovic / rgbram.sh
Created September 4, 2023 06:46
Kingston Fury Beast DDR5 RGB controller script
#!/bin/bash
#
# Kingston Fury Beast DDR5 RGB controller script
#
# Sauce:
# https://gitlab.com/CalcProgrammer1/OpenRGB/-/issues/2879#note_1336953263
#
# Supports only static colors.
#
# Usage examples:
@caseywatts
caseywatts / bookmarkleting.md
Last active January 25, 2026 02:45
Making Bookmarklets

This is one chapter of my "Chrome Extension Workshops" tutorial, see the rest here: https://gist.github.com/caseywatts/8eec8ff974dee9f3b247

Unrelated update: my book is out! Debugging Your Brain is an applied psychology / self-help book

Making Bookmarklets

I'm feeling very clever. I've got this sweet line of javascript that replaces "cloud" with "butt". My mom would LOVE this, but she doesn't computer very well. I'm afraid to show her the Developer Console and have her type/paste this in. But she IS pretty good at bookmarks, she knows just how to click those!

A bookmark normally takes you to a new web page. A bookmarklet is a bookmark that runs javascript on the current page instead of taking you to a new page. To declare that it is a bookmarklet, the "location" it points to starts with javascript:.