Skip to content

Instantly share code, notes, and snippets.

View astamicu's full-sized avatar

Andrei astamicu

  • Bucharest, Romania
View GitHub Profile
@astamicu
astamicu / move-to-next-monitor.sh
Created February 1, 2018 10:54 — forked from fvdnabee/move-to-next-monitor.sh
Moving a window to the other vertical monitor in XFCE 4
#!/bin/sh
#
# Move the current window to the other vertical monitor. Adapted from the
# scripts for horizontal monitors at makandracards.com
#
# Only works on a 2x1 vertical monitor setup.
# Also works only on one X screen (which is the most common case).
#
# Props to
# http://icyrock.com/blog/2012/05/xubuntu-moving-windows-between-monitors/
title: $:/config/tiddlyweb/host
$protocol$//$host$/tw/
#create file in root/WIKINAME/tiddlers
@astamicu
astamicu / Remove videos from Youtube Watch Later playlist.md
Last active May 7, 2024 05:33
Script to remove all videos from Youtube Watch Later playlist

UPDATED 22.11.2022

It's been two years since the last update, so here's the updated working script as per the comments below.

Thanks to BryanHaley for this.

setInterval(function () {
    video = document.getElementsByTagName('ytd-playlist-video-renderer')[0];

 video.querySelector('#primary button[aria-label="Action menu"]').click();

Effective Engineer - Notes

What's an Effective Engineer?

  • They are the people who get things done. Effective Engineers produce results.

Adopt the Right Mindsets