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
const MY_DOMAIN = "rampbrasil.com" | |
const START_PAGE = "https://www.notion.so/Ramp-Brasil-683bf2c1c1854794a0561b60b0944e94" | |
//const DISQUS_SHORTNAME = "rampbrasil" | |
addEventListener('fetch', event => { | |
event.respondWith(fetchAndApply(event.request)) | |
}) | |
const corsHeaders = { | |
"Access-Control-Allow-Origin": "*", |
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
#open terminal in your mac our linux | |
php extractTimeCode.php /tmp/TESTE.f4v | |
# output | |
#Running: ffprobe -i /tmp/TESTE.f4v -select_streams 2 -show_packets -sexagesimal -show_data -v quiet -print_format json | |
#total=12 | |
#Seconds 0 => 2015-11-24 11:07:20 | |
#Seconds 0.513 => 2015-11-24 11:07:20 | |
#Seconds 1.015 => 2015-11-24 11:07:21 |