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
| Without aggregation. with dates | |
| # Wikidata SPARQL-Query for nuclear power plants, research reactors, waste facilities | |
| # regardless of their status | |
| # one result line per location - check columns count and types | |
| # 20200612 with service entry/retirement dates; no aggregation | |
| # 20200518 | |
| # 20200509 initial version | |
| # Paste this code into the code input box of https://query.wikidata.org/ |
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
| Bkat Stand: 09.11.2021 – 14. Auflage | |
| Quelle: https://www.kba.de/DE/Themen/ZentraleRegister/FAER/BT_KAT_OWI/btkat_node.html | |
| ------ Grundregeln - § 1 StVO | |
| TBNR 101000 35,00 € | |
| Sie kamen von der Fahrbahn ab und verursachten Sachschaden. | |
| TBNR 101006 35,00 € | |
| Sie gerieten ins Schleudern und verursachten Sachschaden. |
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 python | |
| # kleiner Bürgeramt-Terminfinder | |
| # | |
| # 20210702 init | |
| # basierend auf https://gist.github.com/jaysonsantos/0ef66e0677be32050574 | |
| import subprocess | |
| import time |
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
| #!/bin/bash | |
| if [ $# -lt 1 ]; then | |
| echo "extend-crop-background <imagefile> [modulus [extent]]" | |
| echo "Extend or crop image to a multiple of modulus ±'extent'" | |
| echo | |
| echo "modulus: default 32" | |
| echo "extent: default=modulus" | |
| echo | |
| echo "Examples:" |
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
| #!/bin/bash | |
| # https://twitter.com/climagic/status/1314635495280959489 | |
| # Make an impact with ImageMagick | |
| echo "make-impact text outfile" | |
| font="Kanit-ExtraBold" | |
| # convert -list font # list all font names | |
| convert -size 1000x600 \ | |
| -define gradient:radii=1000,500 radial-gradient:#884b88-#010101 \ | |
| -font $font -fill white -background transparent -interline-spacing -30 -gravity center \ |
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
| #!/bin/bash | |
| # Script to create one or more images of a number n of equally spaced frames of video. | |
| # Adding a caption with a prefix and counting number. | |
| # this version 20221219 | |
| # init 20210321 | |
| # Licence: WTFPL |
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
| sudo apt update | |
| sudo apt upgrade | |
| sudo apt -y install build-essential | |
| sudo apt -y install autoconf | |
| sudo apt -y install automake | |
| sudo apt -y install autopoint | |
| sudo apt -y install gettext | |
| sudo apt -y install autotools-dev | |
| sudo apt -y install cmake |
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
| #!/bin/bash | |
| if [[ $# -ne 2 ]]; then | |
| echo "audio2video: create a video for Twitter from audio and a dummy image." | |
| echo "Usage:" | |
| echo "audio2video audio.mp3 dummyimage.png" | |
| echo | |
| echo "Remark: width and height need to be divisible by 2." | |
| exit | |
| fi |
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
| #!/bin/bash | |
| # Imagegenerator for "Breaking News" | |
| # Init 20210112 | |
| if [[ $# -ne 3 ]] ; then | |
| echo "Usage:" | |
| echo "breaking-news imagefile \"headline-text\" \"yellow-ribbon-text\"" | |
| exit | |
| fi |
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
| #!/bin/bash | |
| # Erstellt lokal eine kompakte Webseite aller "Langen Nächte" von DLF/DLFKultur | |
| # Lizenz: WTFPL | |
| rm "lange-naechte.html" | |
| # get number of pages | |
| maxpages=$(wget -q -O - "https://www.deutschlandfunkkultur.de/lange-nacht.1023.de.html" | \ | |
| grep -oE "paginationanzahl.*Seite ./[0-9]+" | \ |