This file contains hidden or 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
| // created for the 2026 edition | |
| // visit https://www.rockwerchter.be/nl/line-up/a-z | |
| // open console | |
| // paste the following stuff | |
| const elements = document.querySelectorAll(".act__content"); | |
| const acts = []; | |
| for (const element of elements) { | |
| const act = element.firstElementChild.textContent; | |
| const date = element.children[1].firstElementChild.getAttribute("datetime"); |
This file contains hidden or 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
| // create an array from spans that are a direct child of a non-span element | |
| Array.from(document.querySelectorAll("*:not(span) > span")) | |
| // filter out those that do not have a span in it's descendants | |
| .filter((x) => x.querySelectorAll("span").length) | |
| .map((x) => | |
| // map the result to arrays of descendent spans | |
| Array.from(x.querySelectorAll("span")) | |
| // reverse the array, so we work from the deepest span | |
| .toReversed() | |
| .filter( |
This file contains hidden or 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/env python3 | |
| import datetime | |
| import zoneinfo | |
| eu_zone = zoneinfo.ZoneInfo(key="Europe/Amsterdam") | |
| ru_zone = zoneinfo.ZoneInfo(key="Europe/Moscow") | |
| na_zone = zoneinfo.ZoneInfo(key="America/Chicago") | |
| au_zone = zoneinfo.ZoneInfo(key="Australia/Melbourne") | |
| jp_zone = zoneinfo.ZoneInfo(key="Asia/Tokyo") |
This file contains hidden or 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/env python3 | |
| import math | |
| import pathlib | |
| import openpyxl | |
| file = pathlib.Path("filepath") | |
| print(f"{file.name = }") | |
| file_suffix = file.suffix | |
| print(f"{file_suffix = }") |
This file contains hidden or 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/env python3 | |
| # https://docs.python.org/3.6/library/os.html | |
| import os | |
| # https://docs.python.org/3.6/library/urllib.parse.html#url-parsing | |
| from urllib.parse import unquote, urlparse | |
| # https://docs.python-requests.org/en/master/ | |
| import requests |
This file contains hidden or 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/env python3 | |
| import shlex | |
| import subprocess | |
| import sys | |
| import click | |
| import slugify | |
| @click.command() |
This file contains hidden or 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/env python3 | |
| import argparse | |
| import locale | |
| import pathlib | |
| import faker | |
| import openpyxl | |
| def main(amount): |
This file contains hidden or 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
| # http://avisynth.nl/index.php/Main_Page | |
| ## files | |
| rob_f = "robkorv-pov.mkv" | |
| born_f = "bornnnie-pov.mkv" | |
| ## index it https://github.com/FFMS/ffms2/blob/master/doc/ffms2-avisynth.md#limitations | |
| FFIndex(rob_f) | |
| FFIndex(born_f) |
This file contains hidden or 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
| Include | |
| # dev phone install | |
| # Pico+ | |
| DialerFramework # Install Dialer Framework | |
| CalSync # Install Google Calendar Sync (except if Google Calendar is being installed) | |
| GoogleTTS # Install Google Text-to-Speech (Micro+ on 5.0-, Pico+ on 6.0+) | |
| PackageInstallerGoogle # Install Google Package Installer |
This file contains hidden or 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
| # -v, --verbose increase verbosity | |
| # -r, --recursive recurse into directories | |
| # -t, --times preserve modification times | |
| # -h, --human-readable output numbers in a human-readable format | |
| # -P same as --partial --progress | |
| rsync -vrthP SRC DEST |
NewerOlder