Skip to content

Instantly share code, notes, and snippets.

View GarrettBlackmon's full-sized avatar
💬

Garrett Blackmon GarrettBlackmon

💬
View GitHub Profile
@GarrettBlackmon
GarrettBlackmon / get-gpu-min.js
Last active March 7, 2025 02:45
get-gpu-min.js
javascript:!function(){if(window.autoCartState||(window.autoCartState={running:!1,count:0}),window.autoCartState.running){window.autoCartState.running=!1,console.log("%c\uD83D\uDED1 Auto Add-to-Cart Stopped!","color:red;font-weight:bold;");return}window.autoCartState.running=!0,window.autoCartState.count=0,console.log("%c\uD83D\uDE80 Auto Add-to-Cart Script Loaded!","color:yellow;font-weight:bold;"),console.log("%c\uD83D\uDCA1 A popup will appear. Paste your copied fetch() request inside and click OK.","color:lightblue;"),console.log("%c\uD83D\uDED1 Click the bookmark again to stop the script.","color:orange;font-weight:bold;");let t=prompt("Paste your fetch() request here (exactly as copied from DevTools):");try{if(!t.startsWith("fetch("))throw Error("Invalid fetch() request. Make sure you copied the full request.");let e=t.match(/fetch\("([^"]+)"/)[1],o=t.match(/"headers": ({[\s\S]+?})/),a=t.match(/"body": "([^"]+)"/),r=t.match(/"method": "([^"]+)"/)[1];if(!e||!r)throw Error("Could not extract request detai
javascript:(function(){
if (!window.autoCartState) window.autoCartState={running:false, count:0};
if (window.autoCartState.running) {window.autoCartState.running=false; console.log("%c🛑 Auto Add-to-Cart Stopped!", "color:red;font-weight:bold;"); return;}
window.autoCartState.running=true;
window.autoCartState.count=0; // Reset count on start
console.log("%c🚀 Auto Add-to-Cart Script Loaded!", "color:yellow;font-weight:bold;");
console.log("%c💡 A popup will appear. Paste your copied fetch() request inside and click OK.", "color:lightblue;");
console.log("%c🛑 Click the bookmark again to stop the script.", "color:orange;font-weight:bold;");

Keybase proof

I hereby claim:

  • I am garrettblackmon on github.
  • I am garrettblackmon (https://keybase.io/garrettblackmon) on keybase.
  • I have a public key ASCoBVy5gPrXEIVMVtR1kq9GGmcU-jgRcI1fApNFlZURwAo

To claim this, I am signing this object:

@GarrettBlackmon
GarrettBlackmon / _breakpoints.scss
Last active May 24, 2019 22:29
Ultra tiny ad-hoc scss library to be used in conjunction with vuetify.
// Small tablets and large smartphones
$screen-xs: 600px;
// Small tablets
$screen-sm: 960px;
// Tablets and small desktops
$screen-md: 1264px;
// Large tablets and desktops
$screen-lg: 1904px;
// True if viewport < 600px