I often end up looking for certain commands/ code snippets so here is a list.
Linux
export LC_ALL=C
ps -u -p <PROCESS_ID>
gh auth login -h [github.com](<http://github.com/>)
--no-cache-dir
flag to your pip install
commands.python -m venv <path_to_the_environment>
command.nohup python my_script_is_the_best.py &> my_scripts_output.out 2>&1 &
wav
files to mp3
files with ffmpeg
- for f in *.{wav,WAV}; do ffmpeg -i "$f" -c:a libmp3lame -q:a 2 "${f%.*}.mp3"; done
for f in {0,1,2,3,4,5}.mp3; do mv "$f" "GAN_$f"; done