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
| # Output a single frame from the video into an image file: | |
| ffmpeg -i input.mov -ss 00:00:14.435 -vframes 1 out.png | |
| # Output one image every second, named out1.png, out2.png, out3.png, etc. | |
| # The %01d dictates that the ordinal number of each output image will be formatted using 1 digits. | |
| ffmpeg -i input.mov -vf fps=1 out%d.png | |
| # Output one image every minute, named out001.jpg, out002.jpg, out003.jpg, etc. | |
| # The %02d dictates that the ordinal number of each output image will be formatted using 2 digits. | |
| ffmpeg -i input.mov -vf fps=1/60 out%02d.jpg |
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
| add_action('amp_post_template_css','ampforwp_add_custom_css_example', 11); | |
| function ampforwp_add_custom_css_example() { ?> | |
| /* Add your custom css here */ | |
| body { | |
| background: red; | |
| } | |
| <?php | |
| } |
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
| # /dir/ means exclude the root folder /dir | |
| # /dir/* means get the root folder /dir but not the contents | |
| # dir/ means exclude any folder anywhere where the name contains dir/ | |
| # Examples excluded: /dir/, /usr/share/mydir/, /var/spool/dir/ | |
| # /dir means exclude any folder anywhere where the name contains /dir | |
| # Examples excluded: /dir/, /usr/share/directory/, /var/spool/dir/ | |
| # /var/spool/lpd//cf means skip files that start with cf within any folder within /var/spool/lpd | |
| # | |
| # include, + | |
| # exclude, - |
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
| user www-data; | |
| http { | |
| ## | |
| # Basic Settings | |
| ## | |
| sendfile on; | |
| tcp_nopush on; |
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
| server { | |
| listen 80; | |
| listen [::]:80; | |
| server_name domain.com; | |
| autoindex off; | |
| index index.php index.html; | |
| root /srv/www/domain.com/public; |
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
| <?php | |
| /*********************** | |
| *@author: Ritesh Agrawal | |
| *@description: Identifies php files that contain leading or trailing spaces before or after PHP opening or closings tags | |
| *@version: 1.0 | |
| *@date: Nov 06, 2007 | |
| @todo – check only *.PHP or *.CTP files rather than checking all of the files | |
| – html based output | |
| ***********************/ | |
| //Set Source Path |