ffmpeg \
-r 30000/1001 \
-pattern_type glob -i '*.JPG' \
-vf "crop=in_w:in_w*9/16,scale=3840:-2" \
-sws_flags lanczos \
-pix_fmt yuv420p \
-vcodec libx264 \
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
| #IfWinActive Rust | |
| Numpad0 & Numpad2:: | |
| count := 0 | |
| Loop { | |
| Send, l | |
| sleep, 3000 | |
| count++ | |
| If (count = 300) { | |
| count := 0 | |
| Send, 6 |
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
| sudo pip install gTTS | |
| gtts-cli "Hello" -l 'af' -o hello.mp3 | |
| sudo apt-get install gnustep-gui-runtime | |
| say "hello" | |
| sudo apt-get install festival | |
| echo "hello" | festival --tts | |
| sudo apt-get install speech-dispatcher |
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
| docker run --name mongo -d -v ~/mongodata:/data/db -p 27017:27017 mongo | |
| docker run -d -p 6379:6379 --name redis redis | |
| docker run \ | |
| --publish=7474:7474 --publish=7687:7687 \ | |
| --volume=$HOME/neo4j/data:/data \ | |
| --volume=$HOME/neo4j/logs:/logs \ | |
| neo4j:3.0 | |
| docker run -p 15672:15672 -d --hostname myrabbit --name rabbit rabbitmq:3-management |
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
| # download a font (like Bebas from dafont) and put it in /Users/cason/projects/fonts | |
| # save imagick_type_gen somewhere, go there | |
| find /Users/cason/projects/fonts -name '*.TTF' | perl imagick_type_gen -f - > ~/.magick/type-myfonts.xml | |
| cat ~/.magick/type-myfonts.xml | |
| # copy the <type> tag and put it in /usr/local/etc/ImageMagick-6/type.xml after the apple fonts |