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
FROM python:3.8 | |
# create a non root user to run the python stuff | |
RUN groupadd -g 999 appuser && \ | |
useradd -r -u 999 -g appuser appuser | |
# create a user homedir | |
RUN mkdir -p /home/appuser | |
# change ownership of homedir |
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 | |
# convert all files in the cwd to antoher format using ffmeg | |
clear; | |
# some eyecandy first :) | |
for i in {16,16,22,28,34,40,76} ; do echo -en "\e[48;5;${i}m \e[0m" ; done; | |
for i in {0..5} ; do echo -en "\e[48;5;76m \e[0m" ; done; | |
echo -en "\e[1m\e[97m\e[48;5;76mconverting audiofiles with ffmpeg\e[0m" |