An script to automate docker installation instead of copy/pasting comands spread across docker documentation
run:
sh -c "$(curl -fsSL https://gist.githubusercontent.com/carlos-algms/707650eff4f1c9beb83f016bed3ec9a9/raw/install.sh)"That's all. You can now open your Git Bash and run pacman -S python to install packages on your existing Git for Windows setup.
Docs: https://trac.ffmpeg.org/wiki/Encode/VP9
INPUT="video.mov"
OUTPUT="converted-video.webm"
CPUS=4 # Adjust the number of cores your CPU have
FRAMERATE=15 # Adjust for your needs
VARIABLE_BITRATE=100K # Adjust for your needs, can be represented as 1M, 1000k, etc.| #!/usr/bin/env bash | |
| # Creates a 100Mb file send via SSH and test the transfer speed | |
| perl -e 'print "\0" x 100000000' > test.txt && du -sh test.txt | |
| # get a list of available ciphers on your machine | |
| CIPHERS="$(ssh -Q cipher)" | |
| for cipher in $CIPHERS; do | |
| echo "$cipher" |
| { | |
| "pro": false, | |
| "plugins": ["jsdom-quokka-plugin"], | |
| "node": "/Users/cgomes/.nvm/versions/node/v12.18.3/bin/node", | |
| "ts": { | |
| "compilerOptions": { | |
| "target": "esnext", | |
| "module": "commonjs", | |
| "sourceMap": true, | |
| "declaration": false, |
| # Override PHP path priority | |
| export PATH="$(brew --prefix php)/bin:$PATH" | |
| ZSH_THEME="agnoster" | |
| plugins=(git nvm npm npx yarn brew kubectl docker) | |
| # Disable showing the username on local machine | |
| DEFAULT_USER="MY_USER_NAME" |
| alias ts-node-brk='node --inspect-brk=7001 -r ts-node/register ' | |
| alias ts-nodemon='nodemon --exec "node -r ts-node/register"' | |
| alias ts-nodemon-brk='nodemon --exec "node --inspect-brk=7000 -r ts-node/register"' | |
| alias jest-inspect='node --inspect node_modules/.bin/jest --runInBand' | |
| alias bnode='babel-node --extensions ".ts" --presets @babel/preset-typescript --plugins @babel/plugin-transform-modules-commonjs ' |
| { | |
| "compilerOptions": { | |
| "target": "es6" | |
| }, | |
| "typeAcquisition": { | |
| "include": [ | |
| "chai", | |
| "chai-as-promised", | |
| "lodash", | |
| "mocha", |