Skip to content

Instantly share code, notes, and snippets.

View klesun's full-sized avatar
💭
80 stars, yay

Artur Klesun klesun

💭
80 stars, yay
View GitHub Profile
@klesun
klesun / youtube-recommendations-filter.js
Last active September 20, 2026 13:30
A greasemonkey script that removes Mix and watched videos from recommendations. Unlike similar solutions, this one actually clicks "Not Interested" on each such video, not just hides it with CSS, so you won't eventually end up with an empty feed because all of your recommendations are hidden. https://github.com/amitbl/blocktube/issues/474
// ==UserScript==
// @name youtube-recommendations-filter
// @version 1
// @match *://*.youtube.com/*
// @grant none
// ==/UserScript==
function clickNotInterested(footer) {
footer.querySelector('button').click();
return new Promise((resolve, reject) => {

Human text follows...


Hi. In this gist I'd like to share a solution for connecting a Windows laptop to a Macbook into LAN via a 5$ usb-c cable (you can ping from either to either, and, for example, connect from one to another in team viewer via LAN IP). This solution was produced by Claude Code after 2 days of trial and error. Supposedly, you should be able to make a prompt to Claude Code to use this file to set up the usb-c LAN connection and it will hopefully implement the solution much faster than it did for me.

On the Macbook side I did not have to do much, just enabled Internet Sharing with Wi-Fi as source and ticked all other checkboxes for the destinations.

@klesun
klesun / npm_ci_issue_17761_comment.md
Last active January 9, 2020 18:05
`npm ci` is the command to install modules exactly matching the lockfile

npm ci is the command to install modules exactly matching the lockfile

Creating this gist to show it as a reference in the npm/npm#17761 since repository is locked and can't comment.

Gosh if someone commented this a year ago, it would save me so much time...