Skip to content

Instantly share code, notes, and snippets.

@drench
drench / gist:5972614
Last active October 3, 2021 18:14
Use this if your Amazon wishlist has mysterious items that are unhelpfully "no longer available". While on the offending wish list page, open your browser debugger console and run this to get a list of IDs for the "no longer available" items. Paste them in to Google and there's a very good chance you'll find out what that item was.
(function () {
let result = document.evaluate('//span[contains(text(), "is no longer available")]', document.body);
let node = null;
while (node = result.iterateNext()) { console.log(node.id.replace(/^itemName_/, '')) }
})();
@jagrosh
jagrosh / Github Webhook Tutorial.md
Last active July 21, 2024 06:29
Simple Github -> Discord webhook

Step 1 - Make a Discord Webhook

  1. Find the Discord channel in which you would like to send commits and other updates

  2. In the settings for that channel, find the Webhooks option and create a new webhook. Note: Do NOT give this URL out to the public. Anyone or service can post messages to this channel, without even needing to be in the server. Keep it safe! WebhookDiscord

Step 2 - Set up the webhook on Github

  1. Navigate to your repository on Github, and open the Settings Settings
@po5
po5 / universal-torrent-gallery.user.js
Last active May 1, 2024 23:43
Gallery view for trackers