Skip to content

Instantly share code, notes, and snippets.

View claudiojunior-me's full-sized avatar

Claudio Junior claudiojunior-me

View GitHub Profile
claudiojunior-me /
Created January 8, 2022 14:21 — forked from astamicu/Remove videos from Youtube Watch Later
Script to remove all videos from Youtube Watch Later playlist

UPDATED 3.12.2020

The old version of youtube with "disable_polymer" is not working anymore, so the script also stopped working.

Thanks to JanTheDeveloper we have a new working script. Big up!

I just changed the '//span[contains(text(),"Watch later")]', to '//span[contains(text(),"Remove from")]', and it should work for any playlist, not just the watch later one. (thanks to hudsonite for the tip)

setInterval(function () {
 document.querySelector('#primary button[aria-label="Action menu"]').click();
claudiojunior-me / adlists.list
Last active March 8, 2021 12:28
PiHole adlist
# Prevent Trackers and Malwares
claudiojunior-me / settings.json
Created January 31, 2021 22:26
Windows Terminal config
// This file was initially generated by Windows Terminal 1.4.3243.0
// It should still be usable in newer versions, but newer versions might have additional
// settings, help text, or changes that you will not see unless you clear this file
// and let us generate a new one for you.
// To view the default settings, hold "alt" while clicking on the "Settings" button.
// For documentation on these settings, see:
"$schema": "",
claudiojunior-me / chocoinstall
Last active February 9, 2021 15:36
An personal Windows setup using winget
choco install winrar git python curl vscode k-litecodecpackfull microsoft-windows-terminal slack windirstat qbittorrent postman docker-desktop steam powertoys whatsapp nvm
claudiojunior-me / system-font.css
Created April 20, 2020 20:03
CSS System Font Stack
body {
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI",
Roboto, Oxygen-Sans, Ubuntu, Cantarell,
"Helvetica Neue", sans-serif;
code {
font-family: SFMono-Regular, Menlo, Monaco,
Consolas, "Liberation Mono",
"Courier New", monospace;
alias edit-aliases='code ~/.zsh/aliases.zsh' # open aliases file
alias zshreload='source ~/.zshrc' # reload ZSH
alias shtop='sudo htop' # run `htop` with root rights
alias grep='grep --color=auto' # colorize `grep` output
alias less='less -R'
alias rm='rm -i' # confirm removal
alias cp='cp -i' # confirm copy
alias cal='gcal --starting-day=1' # print simple calendar for current month
alias weather='curl' # print weather for current location (
claudiojunior-me / stylelint-example.json
Created October 20, 2019 19:40
An example of style lint to write CSS and SASS
"plugins": [
"rules": {
"color-named": [
"message": "Use atomic color classes or SCSS variables instead of a bespoke color."
claudiojunior-me / css-reset-example.css
Last active October 20, 2019 20:30
Example of CSS Reset
/* Box sizing rules */
*::after {
box-sizing: border-box;
/* Remove default padding */
ol[class] {
// Initialize Firebase
const config = {
apiKey: "AIzaSyDiiS4nQyeseAANNXDlcQ6_kwWeTN7s5SI",
authDomain: "",
databaseURL: "",
projectId: "sults-f1948",
storageBucket: "",
messagingSenderId: "780489121414"
<manifest xmlns:android=""
<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.SYSTEM_ALERT_WINDOW"/>
<uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED" />
<uses-permission android:name="android.permission.VIBRATE" />
<uses-permission android:name="android.permission.READ_PHONE_STATE" tools:node="remove"/>