Skip to content

Instantly share code, notes, and snippets.

// ==UserScript==
// @name Disable Fullscreen Scrolling on YouTube
// @namespace http://tampermonkey.net/
// @version 0.101
// @description Disables mousewheel scrolling while fullscreen etc.
// @author You
// @match https://*.youtube.com/*
// @match http://*.youtube.com/*
// @grant none
// ==/UserScript==
@steinwaywhw
steinwaywhw / One Liner to Download the Latest Release from Github Repo.md
Last active April 14, 2024 15:39
One Liner to Download the Latest Release from Github Repo
  • Use curl to get the JSON response for the latest release
  • Use grep to find the line containing file URL
  • Use cut and tr to extract the URL
  • Use wget to download it
curl -s https://api.github.com/repos/jgm/pandoc/releases/latest \
| grep "browser_download_url.*deb" \
| cut -d : -f 2,3 \
| tr -d \" \