running:
bash create-vod-hls.sh beach.mkv
will produce:
beach/
|- playlist.m3u8
|- 360p.m3u8
running:
bash create-vod-hls.sh beach.mkv
will produce:
beach/
|- playlist.m3u8
|- 360p.m3u8
Suppose you have, by mistake, added your IDE's project folder (you know, these .idea
folders with all kinds of local paths and configuration data and settings in it) to the Git repository of your project. (We're talking about a whole folder here, but the same rules apply to individual files as well.)
Of course, you only realize that two days after the fact and have already pushed it, and your colleagues have already pulled it. They use the same IDE as you do, so whenever they change a setting or fix paths, they can either
/** | |
* async function | |
* @returns token for messaging service | |
*/ | |
const askForPermissionToReceiveNotifications = async () => { | |
try { | |
const messaging = firebase.messaging(); | |
await messaging.requestPermission(); | |
const token = await messaging.getToken(); | |
console.log('client token for the messaging:\n', token); |