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 fizzBuzzFunc = (n)=>{ | |
for(let i=1; i<=n; i++){ | |
let fizz, buzz, fizzBuzz; | |
fizz = (i%3===0); | |
buzz = (i%5===0); | |
fizzBuzz = (fizz && buzz); | |
fizzBuzz? console.log('FizzBuzz'): fizz? console.log('fizz'):buzz? console.log('Buzz'): console.log(i); | |
}}; | |
fizzBuzzFunc(20); |
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
$link = Read-Host -Prompt "Enter Video Link" | |
yt-dlp -f 'ba' -x --audio-format mp3 --no-playlist $link -o '%(title)s.mp3' |