VDR 2.4.0 channels.conf for DVB-C channels of Karis Telefon / Karjaan puhelin 2021-11-26
Produced using w_scan -fc -c FI -Q1 -S1 -o21 using w-scan version 20170107-2
| #!/bin/bash | |
| [ "$#" = 1 ] | |
| r () { | |
| echo -ne "\033[1m------ " | |
| echo -n "$@" | |
| echo -e "\033[m" | |
| "$@" | |
| } |
| struct FmtWriter<W: std::io::Write>(W); | |
| impl <W: std::io::Write> std::fmt::Write for FmtWriter<W> { | |
| fn write_str(&mut self, s: &str) -> fmt::Result { | |
| self.0.write_all(s.as_bytes()).map_err(|_| fmt::Error) | |
| } | |
| } |
VDR 2.4.0 channels.conf for DVB-C channels of Karis Telefon / Karjaan puhelin 2021-11-26
Produced using w_scan -fc -c FI -Q1 -S1 -o21 using w-scan version 20170107-2
| #!/bin/bash | |
| # by Jonas Berlin 2021 from https://gist.github.com/xkr47/a82d710092847a39901a563b22e82b4b | |
| # 1. Place in e.g. $HOME/bin/git-fetch-sha | |
| # 2. Run "git fetch-sha" for usage | |
| set -e | |
| remote="$1" | |
| sha="$2" |
| Replace all <....> parts with your specific details | |
| /network add -nick <nick> libera | |
| /server add -network libera -auto -ssl irc.libera.chat 6697 | |
| /connect libera | |
| /query NickServ | |
| register <password> <email> | |
| <copypaste line from email> | |
| /network add -autosendcmd "" -sasl_username <user> -sasl_password <pass> -sasl_mechanism PLAIN libera | |
| /channel add -auto <channel> libera |
Install into PATH e.g. $HOME/bin/ as "git-filter-mv" and chmod a+rx git-filter-mv
It works with any special characters in filenames like tabs and linefeeds. It works with empty commits.
Based on example from git-filter-branch manpage.
If you want to print debug messages, use STDERR e.g. print STDERR "File: $_\n";
Examples:
| #!/bin/bash | |
| set -eo pipefail | |
| usage () { | |
| cat <<'EOF' | |
| usage: | |
| git alias [<options>] | |
| git alias [<options>] name | |
| git alias [<options>] name newvalue |
| [package] | |
| name = "x" | |
| version = "0.1.0" | |
| edition = "2018" | |
| [dependencies] | |
| dbus = "0.8.1" |
Example session:
2+3
Result: 5₁₀
5d
Result: 5,00:00:00 = 5.000000 days
120:00:00 = 120.000000 hours
| .d-pagesContainer { | |
| max-width: unset !important; | |
| } | |
| .d-expandableScrollContainer { | |
| overflow: visible !important; | |
| background: white; | |
| max-width: unset !important; | |
| width: unset !important; | |
| } | |
| #d-participationPage #d-metadataView .d-pollMetadataRow, #d-participationPage #d-metadataView .d-pollHiddenButton.d-silentButton { |