Skip to content

Instantly share code, notes, and snippets.

View cheeseonamonkey's full-sized avatar
😅
Sweating, and smiling

Alexander H cheeseonamonkey

😅
Sweating, and smiling
View GitHub Profile
@cheeseonamonkey
cheeseonamonkey / adb-tailscale-android-use.md
Created February 5, 2026 06:31 — forked from shehbajdhillon/adb-tailscale-android-use.md
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.


@cheeseonamonkey
cheeseonamonkey / install_vivaldi.sh
Created January 7, 2026 11:24 — forked from pkorpine/install_vivaldi.sh
Add Vivaldi repo to Debian/Ubuntu
echo "deb http://repo.vivaldi.com/stable/deb/ stable main" | sudo tee /etc/apt/sources.list.d/vivaldi.list > /dev/null
wget -O - http://repo.vivaldi.com/stable/linux_signing_key.pub | sudo apt-key add -
sudo apt update && sudo apt install vivaldi-stable
@cheeseonamonkey
cheeseonamonkey / fix-pip.sh
Created October 29, 2025 10:28 — forked from felipealfonsog/fix-pip.sh
Removing Python's EXTERNALLY-MANAGED lock
#!/usr/bin/env bash
echo "──────────────────────────────────────────────"
echo " Removing Python's EXTERNALLY-MANAGED lock "
echo "──────────────────────────────────────────────"
echo "* Developed and engineered by:"
echo "* Felipe Alfonso Gonzalez <f.alfonso@res-ear.ch>"
echo "* Computer Science Engineer"
echo "* Chile"
echo "------------------------------------------------"
@cheeseonamonkey
cheeseonamonkey / chesscomapi.js
Created May 20, 2024 20:09 — forked from replete/chesscomapi.js
get game data from chess.com API
//https://api.chess.com/pub/player/{username}/games/2023/02
(async function main () {
async function getChessGamesForMonth(username, year, month) {
const res = await fetch(`https://api.chess.com/pub/player/${username}/games/${year}/${month}`);
if (res.ok) {
const data = await res.json();
return data.games
} else {
console.error('Problem loading chess.com games from API', res);
@cheeseonamonkey
cheeseonamonkey / Float32_Base64_Encoding_Decoding.js
Created December 23, 2023 08:51 — forked from sketchpunk/Float32_Base64_Encoding_Decoding.js
Encode Float32Array to base64 , then decode it back
let verts = new Float32Array( [ 0, 2, 0, -1, 0.2, 0, 1, 0.2, 0 ] );
let v = base64_test( verts );
function base64_test( fary ){
//~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
// ENCODING TEST
console.log("Origin Data", fary );
let uint = new Uint8Array( fary.buffer );
console.log( "Convert F32 to Uint8 : Byte Length Test", fary.length * 4, uint.length );
@cheeseonamonkey
cheeseonamonkey / timestamp-hash.js
Created August 18, 2023 08:38 — forked from whoisryosuke/timestamp-hash.js
JS - Generate semi-unique hash based off timestamp
const hash = Number(new Date).toString(36)
@cheeseonamonkey
cheeseonamonkey / Linux Desktop Shortcut
Created July 2, 2023 03:02 — forked from KomanRudden/Linux Desktop Shortcut
Linux desktop shortcut for shell script
[Desktop Entry]
Name=SQL Developer
Exec=/home/koman/Java/sqldeveloper/sqldeveloper.sh
Icon=/home/koman/Java/sqldeveloper/icon.png
Terminal=false
Type=Application
@cheeseonamonkey
cheeseonamonkey / word2vec-download300model.sh
Created June 4, 2023 10:48 — forked from yanaiela/word2vec-download300model.sh
simple bash script for downloading the Google word2vec model (https://code.google.com/archive/p/word2vec/) from Google-Drive
#!/bin/bash
# usage:
# first make the file executable
# ./word2vec-download300model.sh output-file
OUTPUT=$( wget --save-cookies cookies.txt --keep-session-cookies --no-check-certificate 'https://docs.google.com/uc?export=download&id=0B7XkCwpI5KDYNlNUTTlSS21pQmM' -O- | sed -rn 's/.*confirm=([0-9A-Za-z_]+).*/Code: \1\n/p' )
CODE=${OUTPUT##*Code: }
echo $CODE
@cheeseonamonkey
cheeseonamonkey / exa-aliases.zsh
Last active April 22, 2023 01:12 — forked from akarzim/exa-aliases.zsh
Exa ZSH aliases
#modified these:
alias ls='exa --classify --icons --color-scale'
alias ll='exa --long --classify --icons --color-scale --no-user --no-permissions --no-time'
alias la='ll -a' # Lists human readable sizes, hidden files.
alias lm='la | "$PAGER"' # Lists human readable sizes, hidden files through pager.
alias lx='ll --sort=Extension' # Lists sorted by extension (GNU only).
alias lk='ll --sort=size -r' # Lists sorted by size, largest last.
alias lt='ll --sort=modified -r' # Lists sorted by date, most recent last.
#alias sl='ls' # I often screw this up.
@cheeseonamonkey
cheeseonamonkey / pretty_print.css
Created October 3, 2022 09:44 — forked from pinglamb/pretty_print.css
JSON Pretty Print JS
body { font-family: monospace; font-size: 1.1em; }
ul { margin: 0 0 0 .2em; list-style: none; }
li { padding: 0; margin: 0;}
li:after { content: ','; }
li:last-child:after { content: ''; }
span.object { font-weight: bold; }
span.string, span.string a { color: green; }