ffmpeg -i original.mp4 -vcodec libx264 -crf 24 converted.mp4
ffmpeg -i original.mov -vcodec libx264 -crf 24 converted.mp4
ffmpeg -i original.mp4 -vcodec libvpx -qmin 0 -qmax 50 -crf 10 -b:v 1M converted.webm
$ defaults write com.apple.dock appswitcher-all-displays -bool true
$ killall Dock
Copied from https://apple.stackexchange.com/a/419822/459171 as backup.
<?php | |
/* | |
This is by no means an elegant solution. (Maybe someone can elegantly loop it.) | |
With this page.php in place, you can store your custom template pages inside folders. | |
ie.: | |
/company/ -> pages/page-company.php | |
/company/about/ -> pages/page-about.php | |
/company/about/partners/ -> pages/about/page-partners.php | |
Better them storing them flatly inside the theme folder. |
// Install nkf | |
$ sudo apt install nkf | |
// Batch update all .html files inside current directory | |
// To UTF-8 | |
$ find . -type f -name "*.html" -exec nkf -w --overwrite {} \; | |
// To SHIFT_JIS 半角が全角になる |
<?php | |
$cssfile = '/styles.css' | |
?> | |
<link rel="stylesheet" href="<?php echo $cssfile.'?v='.filemtime($_SERVER['DOCUMENT_ROOT'].$cssfile);?>" /> | |
<!-- | |
If you prefer a full date | |
--> | |
<link rel="stylesheet" href="<?php echo $cssfile.'?v='.date'Ymd', filemtime($_SERVER['DOCUMENT_ROOT'].$cssfile));?>" /> |
find . -name 'Icon*' -type f -delete |
Just copy the two files in this folder -> \Python34\Lib\venv\scripts\posix | |
And paste them here -> \Python34\Lib\venv\scripts\nt | |
Now you can activate it with Git Bash on Windows. | |
$ source ./Scripts/activate |
find / -name "削除したいファイル" -print -exec rm -rf {} ";" | |
例: | |
find / -name ".DS_Store" -print -exec rm -rf {} ";" |