Skip to content

Instantly share code, notes, and snippets.

View rbtmarshall's full-sized avatar

Robert Marshall rbtmarshall

View GitHub Profile
@rbtmarshall
rbtmarshall / gist:78bffc4480f378e838f79a1eea411ded
Created March 3, 2026 03:58
Privacy Policy for MyInnerGuide Whoop API app
“This is a personal integration for my own WHOOP account.”
“Data is accessed via WHOOP OAuth and stored locally on my device.”
“No selling or sharing.”
“How to revoke access” (disconnect in WHOOP / delete local files).
Contact email whoop.denote450@passmail.net
@FeralFlora
FeralFlora / 01 Zotero Integration import template and more!.md
Last active February 23, 2026 19:22
Zotero import template for the Zotero integration plugin for Obsidian. Screenshots and usage guide over in the Obsidian forum here: https://forum.obsidian.md/t/zotero-integration-import-templates/36310/105?u=feralflora
  • ZI-main.md
    • The main Zotero Integration template
  • runImport.md
    • Template that enables updating literature notes at the click of a button, and much more.
  • Meta bind button template
    • Template for in-note button that executes runImport.md
@MichaelLawton
MichaelLawton / deleteAmazonSavedItems.js
Last active February 4, 2026 16:50
Removes all Amazon saved for later items on the cart page. It will only remove visible items. You might want to scroll first to make more items visible. To use paste code in developer console (Ctrl+Shift+J or Cmd+Opt+J in Chrome) then press enter.
function deleteSavedItems() {
var query = document.querySelectorAll("#sc-saved-cart input[value=Delete]")
if (query.length) {
query[0].click();
}
if (query.length > 1) {
setTimeout(deleteSavedItems,100);
}
else {
console.log('Finished');
@mdo
mdo / 00-intro.md
Last active November 25, 2025 18:16
Instructions for how to affix an Ikea Gerton table top to the Ikea Bekant sit-stand desk frame.

Ikea Bekant standing desk with Gerton table top

@jziggas
jziggas / nowhal.js
Last active February 28, 2026 02:53
JavaScript to delete all of your Reddit comments
// Go to https://www.reddit.com/user/<username>/ and paste into your console.
// Reddit throttles these actions, hence the 1s timer.
let interval = setInterval(() => {
let deleteButtons = $('a.togglebutton[data-event-action="delete"]');
if (deleteButtons.length === 0) {
clearInterval(interval);
if ($('.next-button > a')[0]) {
$('.next-button > a')[0].click();
alert('Restart script.');
}