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
var elements = Array.from(document.querySelectorAll('.js-link-block')) | |
elements.map(function (element) { | |
var nameElement = element.querySelector('.chartlist-name') | |
return nameElement && nameElement.textContent.replace(/\s+/g, ' ').trim() | |
}).forEach(function (name, i, names) { | |
if (name !== names[i + 1]) return | |
var deleteButton = elements[i].querySelector('[data-ajax-form-sets-state="deleted"]') | |
if (deleteButton) deleteButton.click() | |
location.reload() | |
}) |
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
Verkehrsstation | BST Code | |
---|---|---|
Abfaltersbach | Abf H1 | |
Absdorf-Hippersdorf | Ah | |
Achau | Ach | |
Achenlohe | Nst H4H | |
Achleitnersiedlung | Puw H1A | |
Admont | Ad | |
Aich im Jauntal | Spa H3 | |
Aich-Assach | Grb H2 | |
Aigen-Schlägl | Ai |
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
# ... | |
function sl { echo -ne '\033[1A'; echo ${(%%)PS1}ls; ls } | |
# ... |
how to download a video from the orf tvthek
- open the tvthek page with the video you want to download
- open the dev tools
- open the network tab
- search for 'playlist'
- open
playlist.m3u8
, and open the 'response' tab - look for the highest given bandwidth (usually at the bottom, e.g.
#EXT-X-STREAM-INF:BANDWIDTH=3192000
) - copy the url below that, open it in a new browser tab and download it (e.g.
https://apasfiis.sf.apa.at/ipad/cms-worldwide_abr/.../chunklist.m3u8&ip=...
)
- open bash
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
/(ph?|f)(i|e)l(l?i(pp?|b)(e|o)?)?/gi |
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
#!/bin/bash | |
base="$HOME/snap/chromium/current/.config/chromium/Default/Extensions" | |
desktops="$HOME/.local/share/applications" | |
chromium="/snap/bin/chromium" | |
# ./generator.sh ... Lists all installed Chromium Apps | |
# ./generator.sh [id] ... Installs Chromium app with given App ID to user applications | |
if [ $# = 0 ]; then |
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
^\/([^@\s]+)@?(?:(\S+)|)\s?([\s\S]*)$ |
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
[Desktop Entry] | |
Name=Webcam | |
Exec=mpv /dev/video0 --profile=low-latency --untimed --no-osc --no-border | |
Icon=cheese | |
StartupNotify=false | |
StartupWMClass=mpv | |
Terminal=false | |
Type=Application | |
Categories=AudioVideo;Player;Audio; |
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
<?xml version="1.0" encoding="UTF-8"?> | |
<config version="2" xmlns="http://mediatomb.cc/config/2" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://mediatomb.cc/config/2 http://mediatomb.cc/config/2.xsd"> | |
<!-- | |
See http://gerbera.io or read the docs for more | |
information on creating and using config.xml configuration files. | |
--> | |
<!-- ... --> | |
<import hidden-files="no"> | |
<scripting script-charset="UTF-8"> | |
<common-script>/usr/share/gerbera/js/common.js</common-script> |
NewerOlder