This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/python | |
import os.path | |
import re | |
import os | |
import sys | |
import copy | |
import eyed3 | |
from eyed3.id3.tag import Tag | |
helptext = """ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# short link: www.shorturl.at/wzM69 | |
version: "3" | |
networks: | |
adguard-macvlan: | |
name: adguard-macvlan | |
driver: macvlan | |
driver_opts: | |
parent: eno1 | |
ipam: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Title: Pihole blocklist for Youtube (kind of parental control) | |
0.0.0.0 0.0.0.0 | |
0.0.0.0 2game.com | |
0.0.0.0 googlevideo.com | |
0.0.0.0 youtu.be | |
0.0.0.0 youtube-nocookie.com | |
0.0.0.0 youtube.com | |
0.0.0.0 youtube.googleapis.com | |
0.0.0.0 youtubei.googleapis.com |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const webdriver = require('selenium-webdriver-3'); | |
const firefox = require('selenium-webdriver-3/firefox'); | |
const Profile = firefox.Profile; | |
const { DriverService } = require('selenium-webdriver-3/remote'); | |
const capabilities = webdriver.Capabilities.firefox(); | |
capabilities.setLoggingPrefs({ performance: 'ALL' }); | |
const binary = new firefox.Binary(); | |
binary.addArguments('-headless'); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const webdriver = require('selenium-webdriver-3'); | |
const chrome = require('selenium-webdriver-3/chrome'); | |
const Condition = webdriver.Condition; | |
const Capabilities = webdriver.Capabilities; | |
const Capability = webdriver.Capability; | |
const {DriverService} = require('selenium-webdriver-3/remote'); | |
function areAllRequestsLoaded(entries) { | |
if (!entries) return false; | |
const networkRequestIds = new Set(); |