Skip to content

Instantly share code, notes, and snippets.

View seraph's full-sized avatar

Kevin Francis seraph

View GitHub Profile
@seraph
seraph / Rclone systemd service.md
Last active October 18, 2024 19:54 — forked from kabili207/Rclone systemd service.md
Rclone systemd user service

rclone systemd service

Preparation

This service will use the same remote name you specified when using rclone config create. If you haven't done that yet, do so now.

Next, create the mountpoint for your remote. The service uses the location ~/mnt/<remote> by default.

mkdir ~/mnt/dropbox
@seraph
seraph / yt-unsub.js
Created November 22, 2017 20:49 — forked from DessertArbiter/yt-unsub.js
Unsubscribe from all YouTube channels on current page
var button = document.getElementsByClassName("subscribed-label");
for(var i=0;i<button.length;i++)
{
button[i].click();
var unsub = document.getElementsByClassName("overlay-confirmation-unsubscribe-button");
//console.log(unsub.length)
for(var j=0;j<unsub.length;j++)
unsub[j].click();
}