Skip to content

Instantly share code, notes, and snippets.

// ==UserScript==
// @name marumaru helper
// @namespace http://tampermonkey.net/
// @version 1.0
// @description delete ads from marumaru.in
// @author Simon tsweeper Lee
// @match *://marumaru.in/*
// @match *://wasabisyrup.com/*
// @require http://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js
// @require https://gist.github.com/raw/2625891/waitForKeyElements.js
@tsweeper
tsweeper / youtube-dl_here.reg
Last active August 15, 2019 09:46
Windows Explorer shell command registry for youtube-dl.exe using clipboard URL
Windows Registry Editor Version 5.00
[HKEY_CLASSES_ROOT\Directory\Background\shell\youtube-dl]
@="youtube-dl here"
[HKEY_CLASSES_ROOT\Directory\Background\shell\youtube-dl\command]
; requires Powershell 6 with ClipboardText module installed.
; Install-Module -Name ClipboardText
; https://www.powershellgallery.com/packages/ClipboardText
@="pwsh.exe -NoExit -Command {$f=\"F:\\tools\\youtube-dl.exe\";$args=Get-ClipboardText;& $f $args}"