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
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
If you haven't installed any FUSE yet:
brew tap homebrew/fuse
brew install Caskroom/cask/osxfuse
brew install qemu ext4fuseqemu-img convert -p -O vmdk snapshot.qcow2 system.vmdk This will take some time...| #!/bin/sh -ev | |
| # Reference: https://github.com/mininet/mininet/wiki/Installing-new-version-of-Open-vSwitch | |
| # How to test: ovs-vsctl -V | |
| # Check permission | |
| test $(id -u) -ne 0 && echo "This script must be run as root" && exit 0 | |
| #Remove old version ovs | |
| aptitude remove openvswitch-common openvswitch-datapath-dkms openvswitch-controller openvswitch-pki openvswitch-switch -y |
| // | |
| // _oo0oo_ | |
| // o8888888o | |
| // 88" . "88 | |
| // (| -_- |) | |
| // 0\ = /0 | |
| // ___/`---'\___ | |
| // .' \\| |// '. | |
| // / \\||| : |||// \ | |
| // / _||||| -:- |||||- \ |
| (function(){ | |
| //以下可自行修改,目前可7行且最多14字 | |
| var userWidth = 900; //我是寬度 | |
| var userHeight = 680; //我是高度 | |
| var userWords = ''; //我是預設文字 | |
| var userColor = ''; //我是背景色彩 | |
| //以下請勿修改 | |
| if(location.href.match(/https?:\/\/small-upup\.upuptoyou\.com\/?/) != null) { | |
| $('#words').val(userWords === '' ? 'Modify By:\n腹黒い茶 \nQQQQ QQQQ !!\nQ Q Q Q !!\nQ QQ Q QQ !!\nQQQQ QQQQ\n Q Q !!' : userWords); |
| #!/bin/bash | |
| # bash generate random alphanumeric string | |
| # | |
| # bash generate random 32 character alphanumeric string (upper and lowercase) and | |
| NEW_UUID=$(cat /dev/urandom | tr -dc 'a-zA-Z0-9' | fold -w 32 | head -n 1) | |
| # bash generate random 32 character alphanumeric string (lowercase only) | |
| cat /dev/urandom | tr -dc 'a-z0-9' | fold -w 32 | head -n 1 |
As configured in my dotfiles.
start new:
tmux
start new with session name:
| #!/bin/bash | |
| # A simple test script to demonstrate how to find the | |
| # "absolute path" at which a script is running. Used | |
| # to avoid some of the pitfals of using 'pwd' or hard- | |
| # coded paths when running scripts from cron or another | |
| # directory. | |
| # | |
| # Try it out: | |
| # run the script from the current directory, then |