Skip to content

Instantly share code, notes, and snippets.

@rmtbb
rmtbb / whereyallfrom.sh
Last active April 10, 2025 05:44
whereyallfrom by Remote BB - A handy ZSH command to look up MAC address vendors on your network — or any list of MACs you throw at it.
function whereyallfrom() {
OUI_FILE="$HOME/oui.txt"
if [[ ! -f "$OUI_FILE" ]]; then
echo "Error: $OUI_FILE not found!"
return 1
fi
clean_mac() {
echo "$1" | tr -d ':-.' | tr '[:lower:]' '[:upper:]'
@rmtbb
rmtbb / cookieclick.js
Created March 26, 2025 22:10
Cookie Clicker Console Hack
const cookieButton = document.querySelector("#bigCookie");
if (cookieButton) {
setInterval(() => {
cookieButton.click();
}, 10); // Clicks every 10 milliseconds
} else {
console.log("Cookie button not found!");
}
@rmtbb
rmtbb / linkedin-deblur.url
Created February 12, 2025 23:19
Bookmarklet to De-blur LinkedIn Job Recommendations
javascript:(function(){document.querySelectorAll('*').forEach(el=>{if(el.classList.contains('blurred-job-card')){el.classList.replace('blurred-job-card','job-card');}});})();
@rmtbb
rmtbb / stayup.sh
Created February 1, 2025 19:47
stayup: a fun one-liner tool that does more than just keep your Mac awake using `caffeinate -d -u`. It adds a bit of personality by displaying two synchronized, animated ASCII eyes
caffeinate -d -u & pid=$!; trap "kill $pid" EXIT; blink=$(( $(date +%s) + 10 + RANDOM % 21 )); nextdir=$(date +%s); px=$((RANDOM % 3)); py=$((RANDOM % 3)); while sleep 0.5; do now=$(date +%s); if [ $now -ge $nextdir ]; then px=$((RANDOM % 3)); py=$((RANDOM % 3)); nextdir=$((now + 2 + RANDOM % 3)); fi; if [ $now -ge $blink ]; then clear; echo -e " +-------+ +-------+"; echo -e " |-------| |-------|"; echo -e " |-------| |-------|"; echo -e " |-------| |-------|"; echo -e " +-------+ +-------+"; echo -e "\nStay up till you wake up\nPress Control + C to exit"; sleep 0.2; blink=$(( $(date +%s) + 10 + RANDOM % 21 )); fi; clear; echo -e " +-------+ +-------+"; for r in 0 1 2; do row=""; for c in 0 1 2; do if [ $r -eq $py ] && [ $c -eq $px ]; then row="${row}\033[107m\033[30m@\033[0m"; else row="${row}\033[107m \033[0m"; fi; done; echo -e " | ${row} | | ${row} |"; done; echo -e " +-------+ +-------+"; echo -e "\nStay up till you wake up\nPress Control + C to exit"; done
@rmtbb
rmtbb / SOLDegenQuickReconToolbox.url
Last active January 22, 2025 03:09
Solana Degen Quick Recon Toolbox - It grabs a token address from your clipboard and opens GMGN, Rug Check, and TrenchBot (for pump.fun tokens) in new tabs, saving you precious clicks
javascript:(function(){if(!navigator.clipboard){alert('Clipboard access is not available on this page. Please open a webpage and try again.');return;}navigator.clipboard.readText().then(function(t){if(!t){alert('Clipboard is empty or unreadable.');return;}t=t.trim();if(!t.match(/^[a-zA-Z0-9]+$/)){alert('Clipboard text is invalid.');return;}const u=[`https://gmgn.ai/sol/token/${t}`,`https://rugcheck.xyz/tokens/${t}`];if(t.endsWith('pump'))u.push(`https://trench.bot/bundles/${t}`);u.forEach(l=>window.open(l,'_blank'));}).catch(function(e){alert('Error reading clipboard: '+e);});})();
@rmtbb
rmtbb / DEXSCREENER RugCheck Bookmarklet for Solana Tokens.url
Created January 21, 2025 06:51
DEXSCREENER RugCheck Bookmarklet for Solana Tokens
javascript:(function(){const el=document.querySelector("#root > div > main > div.custom-12pypef > div > div.custom-7w9b0e > div > div > div:nth-child(3) > div > div.chakra-stack.custom-1lzkwvw > div:nth-child(9) > div > a");if(el){const tokenAddress=el.href.split('/').pop();if(tokenAddress.length>=32){window.open(`https://rugcheck.xyz/tokens/${tokenAddress}`,'_blank');}else{alert('Invalid token address detected.');}}else{alert('Element not found.');}})();
@rmtbb
rmtbb / folder_nuke.py
Created January 20, 2025 00:46
Folder Nuke: A Python script for overwriting file data and renaming files and folders to prevent data recovery before deletion.
"""
Folder Nuke: Secure Data Overwrite and Rename Script
This script is designed to securely overwrite and rename all files and folders within a specified directory.
Its purpose is to prevent the recovery of sensitive data by overwriting file contents with random data and
randomizing file and folder names.
Features:
- Overwrites file contents with random alphanumeric data.
- Renames files to random alphanumeric names while preserving their extensions.
@rmtbb
rmtbb / universalMailMergeByRemoteBB.gs
Last active January 2, 2025 08:09
UNIVERSAL MAIL MERGE (File ID or Draft Subject) by Remote BB
/**
* UNIVERSAL MAIL MERGE (File ID or Draft Subject) by Remote BB
*
* OVERVIEW:
* 1) Prompts the user for a single piece of text.
* - We first assume it's a Google Docs/Slides File ID.
* - If we can open the file AND it is Docs or Slides, we do a Docs/Slides merge.
* - Otherwise, we treat the input as part of a Gmail draft's subject and do an email merge.
*
* 2) Merges the data from the currently selected sheet:
@rmtbb
rmtbb / iMessageAttachmentsLinksExtractor.sh
Created November 3, 2024 23:16
iMessage Attachments and Links Extractor for macOS
#!/bin/bash
# Define the main export folder
export_folder=~/Desktop/iMessages_Export
mkdir -p "$export_folder"
# Part 1: Generate the CSV file
echo "Generating CSV file..."
sqlite3 ~/Library/Messages/chat.db <<EOF
@rmtbb
rmtbb / ChatGPT Canvas HTML Renderer from Clipboard.url
Last active January 23, 2025 22:45
Bookmarklet that lets you render a full HTML page with any included css and javascript that is currently copied to your clipboard. Also works for SVG code. Useful with ChatGPT Canvas
javascript:(function(){try{navigator.clipboard.readText().then(function(t){if(t){var e=window.open("","_blank","width=800,height=600");e.document.open(),e.document.write(t),e.document.close()}else alert("Clipboard is empty. Please copy some text to the clipboard first.")}).catch(function(t){console.error("Failed to read clipboard contents: ",t),alert("An error occurred while trying to access the clipboard. Please ensure your browser allows clipboard access.")})}catch(t){console.error("An error occurred:",t),alert("An error occurred while trying to open the new window with the clipboard content.")}})();//bookmarklet_title: HTML Preview from Clipboard