-i - ignore errors
-c - continue
-t - use video title as file name
--extract-audio - extract audio track
| #!/bin/sh | |
| print_usage() { | |
| echo "usage: compress_video <input_file>" | |
| echo "supported formats: mp4, webm, mkv, mov, avi, flv" | |
| } | |
| get_extension() { | |
| f="${1##*/}" | |
| case "$f" in |
| <?php | |
| /** | |
| * A helper file for Laravel 5, to provide autocomplete information to your IDE | |
| * Generated for Laravel 5.5.13 on 2017-09-28. | |
| * | |
| * @author Barry vd. Heuvel <barryvdh@gmail.com> | |
| * @see https://github.com/barryvdh/laravel-ide-helper | |
| */ | |
| namespace { | |
| exit("This file should not be included, only analyzed by your IDE"); |
| ALTER TABLE xxxxxx | |
| ADD created_at TIMESTAMP DEFAULT '0000-00-00 00:00:00', | |
| ADD updated_at TIMESTAMP DEFAULT '0000-00-00 00:00:00'; | |
| CREATE TRIGGER xxxxxx_create BEFORE INSERT ON `xxxxxx` | |
| FOR EACH ROW SET NEW.created_at = NOW(), NEW.updated_at = NOW(); | |
| CREATE TRIGGER xxxxxx_update BEFORE UPDATE ON `xxxxxx` | |
| FOR EACH ROW SET NEW.updated_at = NOW(), NEW.created_at = OLD.created_at; |
| // http://paulirish.com/2011/requestanimationframe-for-smart-animating/ | |
| // http://my.opera.com/emoller/blog/2011/12/20/requestanimationframe-for-smart-er-animating | |
| // requestAnimationFrame polyfill by Erik Möller. fixes from Paul Irish and Tino Zijdel | |
| // MIT license | |
| (function() { | |
| var lastTime = 0; | |
| var vendors = ['ms', 'moz', 'webkit', 'o']; |
| @mixin ie6 { * html & { @content } } | |
| #logo { | |
| background-image: url("/images/logo.png"); | |
| @include ie6 { background-image: url("/images/logo.gif"); } | |
| } |