Is it supported? Short answer: No, it isn't supported.
From https://wiki.debian.org/SystemDowngrade.
It's still possible but:
WARNING: BACKUP YOUR SYSTEM FIRST.
#!/bin/bash | |
set -euo pipefail | |
IFS=$'\t\n' | |
docker rm \ | |
$(docker ps -a | grep Exited | awk -F ' ' '{print $NF}') |
#!/bin/bash | |
set -euo pipefail | |
IFS=$'\n\t' | |
# Unzip a zipfile, then fix encoding in filenames. | |
# | |
# Assume filenames have been encoded with CP1250 (Win); | |
# convert encoding in filenames to UTF-8. | |
# |
Is it supported? Short answer: No, it isn't supported.
From https://wiki.debian.org/SystemDowngrade.
It's still possible but:
WARNING: BACKUP YOUR SYSTEM FIRST.
#!/bin/bash | |
set -euo pipefail | |
docker_container=sipts-mongo | |
db=si-pts | |
target=$(mktemp -d "${db}_mongoexport_XXX") | |
echo "Dumping into ${target}." | |
docker exec "$docker_container" mongo --quiet \ |
# Annotate images with respective filename. | |
# Note: quotes must be escaped, or parallel will 'swallow' them... | |
find height_1000 -type f -name '*png' \ | |
| parallel convert \ | |
-verbose \ | |
-background \'#0009\' \ | |
-gravity center \ | |
-fill white \ | |
caption:\"{/}\" \ | |
{} \ |
# Customize colors in Emacs with M-x customize-face. | |
# | |
# From: https://stackoverflow.com/a/41840175/92049 |
# Use a DSLR camera as a webcam, in Zoom and other applications. | |
# Inputs from https://gist.github.com/ianmackinnon/cf8a4d6cdb08852a818fc34bd4e1882f | |
# See # https://gstreamer.freedesktop.org/documentation/video4linux2/v4l2sink.html?gi-language=c#v4l2sink | |
# Install dependencies. | |
sudo apt install v4l2loopback-dkms gphoto2 gstreamer1.0-tools | |
# Load and verify module. | |
sudo modprobe v4l2loopback |
#!/bin/bash | |
set -euo pipefail | |
unzip file.zip | |
# Show what would be renamed. | |
convmv -f cp-1521 -t urf-8 * | |
# Do the renaming. |
#!/bin/bash | |
set -euo pipefail | |
# Record the screen into an h264 encoded MP4. | |
# Determing video resolution from the screen being recorded. | |
# | |
# Required gst-launch and xrandr. | |
# | |
# Based on https://stackoverflow.com/a/33822024/92049 |
# Record audio that is currently output. | |
# From https://askubuntu.com/questions/229352/how-to-record-output-to-speakers | |
sudo apt-get install pulseaudio-utils lame mpg123 | |
pacmd list-sinks | grep -e 'name:' -e 'index' -e 'Speakers' | |
parec -d alsa_output.pci-0000_00_1f.3.analog-stereo.monitor | lame -r -V0 - out.mp3 | |
# ctrl + c to stop recording | |
mpg123 out.mp3 |