Skip to content

Instantly share code, notes, and snippets.

View brickfrog's full-sized avatar
🧋
boba

justin brickfrog

🧋
boba
View GitHub Profile
@shehbajdhillon
shehbajdhillon / adb-tailscale-android-use.md
Last active May 23, 2026 19:12
Setup guide for letting AI agents (Claude Code, Cursor, etc.) control your Android remotely via ADB + Tailscale

ADB over Tailscale

Securely connect to Android over the internet using ADB + Tailscale.

You can also copy paste this gist into your agent of choice and have it explain you what to do.

This guide sets up remote ADB access so you can run android-use — an agent skill that lets AI interact with your Android device over ADB.


@nullcline
nullcline / baka_trace.py
Created March 9, 2023 08:20
tsundere error traces
import traceback
import openai
import sys
# list models
models = openai.Model.list()
def baka(error, character="tsundere",):
exc_type, exc_value, exc_traceback = sys.exc_info()
traceback_list = traceback.extract_tb(exc_traceback)
@stuhlmueller
stuhlmueller / codex.el
Last active May 23, 2022 09:40
OpenAI Codex in Emacs
(defun codex (&optional b e)
(interactive "r")
(shell-command-on-region b e "codex.py" nil nil))
from time import sleep
try:
from twitter import Api
except:
print('Requires python-twitter: pip install python-twitter')
exit(1)
api = Api(
consumer_key='...',
consumer_secret='...',
@malcolmocean
malcolmocean / twitter-no-bother.user.js
Last active March 19, 2025 07:10
Twitter Userscript - no unread bothers in title & favicon
// ==UserScript==
// @name Twitter - no unread bothers in title & favicon
// @namespace http://tampermonkey.net/
// @version 1.0
// @description Wanting to leave a tweet open for reference but the (1)
// in the title or the red dot in the favicon make you check
// notifications? This script removes both!
// @author @Malcolm_Ocean
// @match https://twitter.com/*
// @match https://x.com/*