- Windows + R
- taskschd.msc
- Excluir tudo;
This file contains 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
import sys | |
import subprocess | |
def extract_audio(input_file, output_file): | |
subprocess.run(['ffmpeg', '-i', input_file, '-vn', '-acodec', 'copy', output_file]) | |
def concatenate_audio(input_file, output_file): | |
subprocess.run(['ffmpeg', '-i', f'concat:{input_file}|{input_file}', '-c', 'copy', output_file]) | |
def get_video_duration(input_file): |
This file contains 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 { Builder } = require('selenium-webdriver'); | |
require('chromedriver'); | |
const Page = require('./page'); | |
(async function example() { | |
const driver = await new Builder().forBrowser('chrome').build(); | |
try { | |
const page = new Page(driver); | |
await page.openAndTestPage(); | |
} finally { |
This file contains 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 readline = require('readline'); | |
const readLineAsync = () => { | |
const rl = readline.createInterface({ | |
input: process.stdin | |
}); | |
return new Promise((resolve) => { | |
rl.prompt(); | |
rl.on('line', (line) => { |