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
claudiojunior-me / README.md
Created January 8, 2022 14:21 — forked from astamicu/Remove videos from Youtube Watch Later playlist.md
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
claudiojunior-me / adlists.list
Last active March 8, 2021 12:28
PiHole adlist
# Prevent Trackers and Malwares
https://raw.githubusercontent.com/DRSDavidSoft/additional-hosts/master/domains/blacklist/adservers-and-trackers.txt
https://gitlab.com/quidsup/notrack-blocklists/raw/master/notrack-malware.txt
https://gitlab.com/quidsup/notrack-blocklists/raw/master/notrack-blocklist.txt
https://raw.githubusercontent.com/notracking/hosts-blocklists/master/hostnames.txt
https://s3.amazonaws.com/lists.disconnect.me/simple_tracking.txt
https://gitlab.com/my-privacy-dns/matrix/matrix/-/raw/master/source/tracking/domains.list
https://raw.githubusercontent.com/r-a-y/mobile-hosts/master/AdguardApps.txt
https://raw.githubusercontent.com/r-a-y/mobile-hosts/master/AdguardMobileAds.txt
https://raw.githubusercontent.com/FadeMind/hosts.extras/master/StreamingAds/hosts
@claudiojunior-me
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
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: https://aka.ms/terminal-documentation
{
"$schema": "https://aka.ms/terminal-profiles-schema",
@claudiojunior-me
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 v2.wttr.in' # print weather for current location (https://github.com/chubin/wttr.in)
@claudiojunior-me
claudiojunior-me / css-reset-example.css
Last active October 20, 2019 20:30
Example of CSS Reset
/* Box sizing rules */
*,
*::before,
*::after {
box-sizing: border-box;
}
/* Remove default padding */
ul[class],
ol[class] {
@claudiojunior-me
claudiojunior-me / stylelint-example.json
Created October 20, 2019 19:40
An example of style lint to write CSS and SASS
{
"plugins": [
"stylelint-a11y"
],
"rules": {
"color-named": [
"never",
{
"message": "Use atomic color classes or SCSS variables instead of a bespoke color."
}
// Initialize Firebase
const config = {
apiKey: "AIzaSyDiiS4nQyeseAANNXDlcQ6_kwWeTN7s5SI",
authDomain: "sults-f1948.firebaseapp.com",
databaseURL: "https://sults-f1948.firebaseio.com",
projectId: "sults-f1948",
storageBucket: "sults-f1948.appspot.com",
messagingSenderId: "780489121414"
};
firebase.initializeApp(config);
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
package="br.com.example.app">
<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"/>