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/bash | |
| # 20221216 init | |
| # published as https://berlin.social/@wikinaut/109541495757480127 | |
| compressionquality="-q:a 7 -joint_stereo 1" | |
| mono="-ac 1" | |
| red="\e[1;31m" |
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/bash | |
| # https://stackoverflow.com/questions/38964861/how-to-remove-all-metadata-using-ffmpeg | |
| ffmpeg -i "$1" -c copy -fflags +bitexact -flags:v +bitexact -flags:a +bitexact -write_xing 0 -id3v2_version 0 "${1%.*}.id3stripped.${1#*.}" |
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/bash | |
| # Patch parsed Twitter Archiv Parser | |
| # To clarify: the script does not patch the parser, but the twitter-archive-parser-parsed archive | |
| # It is not modifying the parsed files themselves, but creating copies with the extension .body | |
| # Postprocessor for files generated by https://github.com/timhutton/twitter-archive-parser | |
| # init 18.12.2022 |
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 | |
| # | |
| # Create a composed n x m image from a single image and | |
| # use the (average) border color as inter-image (gutter) color | |
| # LINUX convert \( aa.png aa.png aa.png aa.png aa.png +append \) \( aa.png aa.png aa.png aa.png aa.png +append \) -append -gaussian-blur 0.5x0.5 x.png | |
| # call make-nxm <image-filename> rows columms [postfilter-command] | |
| # Location of Imagemagick convert/magick: |
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
| git clone https://github.com/ggerganov/whisper.cpp.git | |
| cd whisper.cpp/ | |
| make | |
| ./models/download-ggml-model.sh large | |
| yt-dlp -o Ernst-Reuter https://www.youtube.com/watch?v=KtAaOYqRQOA | |
| ffmpeg -i Ernst-Reuter.webm -ar 16000 -ac 1 -c:a pcm_s16le Ernst-Reuter.wav | |
| ./main -l de -m models/ggml-large.bin -f Ernst-Reuter.wav | |
| yt-dlp -o gsgf https://www.youtube.com/watch?v=kPMRkQK2szI |
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/bash | |
| # init 20230111 | |
| outf="bitsavers.txt" | |
| server="http:\/\/bitsavers.org\/ " | |
| echo "Fetch and sort the description files from bitsavers.org according to manufacturers' names to $outf" | |
| wget -O - http://bitsavers.org/components/IndexByDate.txt | sed -e "s/^.* .* /${server}components\/ /" - > $outf.tmp |
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
| # build (onyl needed once) | |
| git clone https://github.com/ggerganov/whisper.cpp.git | |
| cd whisper.cpp/ | |
| make | |
| ./models/download-ggml-model.sh large | |
| # transcribe | |
| x=audio-infile.mp3 / aac / wma / wav |
This file has been truncated, but you can view the full file.
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://bitsavers.org/bits/0.zip | |
| http://bitsavers.org/bits/1.0000644 | |
| http://bitsavers.org/bits/1982.IMG | |
| http://bitsavers.org/bits/1982.jpg | |
| http://bitsavers.org/bits/1997.img | |
| http://bitsavers.org/bits/1.IMAGE | |
| http://bitsavers.org/bits/1.txt | |
| http://bitsavers.org/bits/2.0000644 | |
| http://bitsavers.org/bits/2006.html | |
| http://bitsavers.org/bits/2.0.txt |
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/bash | |
| # init 20230124 | |
| if [ $# -lt 1 ] ; then | |
| echo "make-tifpdf: create a 600 dpi pdf with 1-bit-tiff images for uploading scans to → bitsavers.org" | |
| echo "Usage: make-tifpdf <infile.pdf> [outfile.pdf]" | |
| echo | |
| 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 | |
| f="wget -O Die_20er_Jahre_(Kai_Luehrs-Kaiser)_RBB_2023" | |
| $f-01.mp3 https://rbbmediapmdp-a.akamaihd.net/content/47/8d/478d1bc9-e2c4-4801-8a6c-eaebd209de27/51ef7d75-0db8-4680-85ef-75d5c975e474_90f8b40a-9153-4e30-a453-c004aa06b6ee.mp3 | |
| $f-02.mp3 https://rbbmediapmdp-a.akamaihd.net/content/18/23/182393d3-e454-4261-942b-428ddaf86f0d/f8509f50-fd2a-4ffb-876e-d3998c114257_d1b4400e-9573-4847-bfa1-cad4c31437e1.mp3 | |
| $f-03.mp3 https://rbbmediapmdp-a.akamaihd.net/content/c6/49/c6496c80-982d-48b7-a353-046bccc5695d/6409df3c-440c-4d25-b935-25bda62d8437_95b9d5ec-1274-4da3-b1f6-660d13ce1e7f.mp3 | |
| $f-04.mp3 https://rbbmediapmdp-a.akamaihd.net/content/5c/19/5c196cb7-0152-49b2-a4f8-06a51c939cc9/16dd4d89-5a88-4c7a-9016-a681d0a90941_e0e06245-99df-4aa2-bb97-7f8d28e4c6bd.mp3 | |
| $f-05.mp3 https://rbbmediapmdp-a.akamaihd.net/content/95/f2/95f22425-a131-4830-ace3-28c638c1938a/c213b17d-332a-4111-98bf-cd31de57bbd1_14d5a7d0-55bd-4280-b1c0-c3fe48097056.mp3 | |
| $f-06.mp3 https://rbbmediapmdp-a.akamaihd.net/content/bd/ff/bdff4e62-7e4c-47f4- |