sudo apt install zsh-autosuggestions zsh-syntax-highlighting zsh
| Mark all files as viewed/not-viewed | |
| https://github.com/refined-github/refined-github/issues/2444 | |
| https://github.com/refined-github/refined-github/issues/2865 | |
| https://stackoverflow.com/questions/69945775/how-to-unview-toggle-all-the-viewed-files-on-github-pull-request | |
| GitHub: Mark all as not viewed | |
| javascript: document.querySelectorAll('.js-reviewed-checkbox').forEach(input => !input.checked || input.click()); |
| <?php | |
| /** | |
| * Convert under_score type array's keys to camelCase type array's keys | |
| * @param array $array array to convert | |
| * @param array $arrayHolder parent array holder for recursive array | |
| * @return array camelCase array | |
| */ | |
| public function camelCaseKeys($array, $arrayHolder = array()) { | |
| $camelCaseArray = !empty($arrayHolder) ? $arrayHolder : array(); |
| #! /bin/bash | |
| # ECHO COMMAND | |
| # echo Hello World! | |
| # VARIABLES | |
| # Uppercase by convention | |
| # Letters, numbers, underscores | |
| NAME="Bob" | |
| # echo "My name is $NAME" |
| ffmpeg -i in.mp4 -vf " | |
| split [main][tmp]; | |
| [tmp] | |
| lutyuv=y=negval:enable='(between(t,3,3.1))', | |
| lutyuv=u='(val-maxval/2)*2+maxval/2':v='(val-maxval/2)*2+maxval/2':enable='(between(t,3,3.4))', | |
| lutyuv="y=3*val":enable='(between(t,3,3.4))', | |
| hue=s=3:enable='(between(t,3,3.4))', | |
| eq=contrast=3:enable='(between(t,3,3.4))', |
| Credits for visuals: | |
| Taryn Ashleigh Elliott https://www.instagram.com/tea_for_taryn/?hl=de | |
| Peanut Butter Visuals https://www.instagram.com/peanutbuttervisuals/ | |
| Cinema Professionals https://www.instagram.com/thatbluemymind/ | |
| Paulo Renato https://www.instagram.com/paulorenato/ | |
| Pixabay https://www.instagram.com/pixabay/?hl=de | |
| Piotr Wróbel https://www.instagram.com/ats_dron/ | |
| Paulo Renato https://www.instagram.com/paulorenato/ | |
| James Cheney https://www.instagram.com/cheneymediaproductions/ |
| https://www.pexels.com/de-de/video/854638/ https://www.pexels.com/de-de/video/854662/ | |
| https://www.pexels.com/de-de/video/854697/ https://www.pexels.com/de-de/video/855257/ | |
| https://www.pexels.com/de-de/video/856077/ https://www.pexels.com/de-de/video/856666/ | |
| https://www.pexels.com/de-de/video/857026/ https://www.pexels.com/de-de/video/857069/ | |
| https://www.pexels.com/de-de/video/1234161/ https://www.pexels.com/de-de/video/1321208/ | |
| https://www.pexels.com/de-de/video/1390942/ https://www.pexels.com/de-de/video/1416529/ | |
| https://www.pexels.com/de-de/video/1448735/ https://www.pexels.com/de-de/video/1550080/ | |
| https://www.pexels.com/de-de/video/1649831/ https://www.pexels.com/de-de/video/1739010/ | |
| https://www.pexels.com/de-de/video/1806115/ https://www.pexels.com/de-de/video/2099595/ | |
| https://www.pexels.com/de-de/video/2257002/ https://www.pexels.com/de-de/video/2386442/ |
A list of useful commands for the ffmpeg command line tool.
Download FFmpeg: https://www.ffmpeg.org/download.html
Full documentation: https://www.ffmpeg.org/ffmpeg.html
| # !/usr/bin/python | |
| # sudo apt install python3-pip | |
| # pip3 install pyxid | |
| # sudo pip3 install --upgrade pyserial | |
| # pip3 install --ignore-installed pyserial | |
| # sudo apt-get install python3-serial | |
| # python3 -c "import serial; print(serial.VERSION); print(serial.__dict__.keys()); print(serial.__file__)" |
| #!/bin/sh | |
| # resize | |
| ffmpeg -loglevel quiet -stats -i video01.mp4 -vf "scale=960:540" -crf 20 -threads 6 -t 15 -y video1A.mp4 | |
| ffmpeg -loglevel quiet -stats -i video02.mp4 -vf "scale=960:540" -crf 20 -threads 6 -t 15 -y video1B.mp4 | |
| ffmpeg -loglevel quiet -stats -i video03.mp4 -vf "scale=960:540" -crf 20 -threads 6 -t 15 -y video1C.mp4 | |
| ffmpeg -loglevel quiet -stats -i video04.mp4 -vf "scale=960:540" -crf 20 -threads 6 -t 15 -y video1D.mp4 | |
| ffmpeg -loglevel quiet -stats -i video05.mp4 -vf "scale=960:540" -crf 20 -threads 6 -t 15 -y video1E.mp4 | |
| ffmpeg -loglevel quiet -stats -i video06.mp4 -vf "scale=960:540" -crf 20 -threads 6 -t 15 -y video1F.mp4 | |
| ffmpeg -loglevel quiet -stats -i video07.mp4 -vf "scale=960:540" -crf 20 -threads 6 -t 15 -y video1G.mp4 |