You can extract audio tracks from a media stream.
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
<picture> <source media="(min-width: 1000px)" srcset="picture_large.jpg"> <source media="(min-width: 500px)" srcset="picture_small.jpg"> <img src="picture_default.jpg"></picture> |
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
var request = require('request') | |
var postData = {"channel": "#bot-test", "username": "webhookbot", "text": "This is posted to #bot-test and comes from a bot named webhookbot.", "icon_emoji": ":ghost:"}; | |
var url = ""; | |
var options = { | |
method: 'post', | |
body: postData, // Javascript object | |
json: true, // Use,If you are sending JSON data | |
url: url, |
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
// Asynchronous | |
function myFunction(x, y, callback) { | |
if ( calback && typeof(callback) !== 'function' ) { | |
callback( new Error('First argument is not a number') ); | |
return; | |
} | |
if ( x && typeof(x) !== 'number' ) { | |
callback( new Error('First argument is not a number') ); |
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
'use strict'; | |
var FS = require('fs'); | |
// Callback version | |
FS.readFile('file.txt', 'utf8', function (err, data) { | |
if (err) throw err; | |
console.log('File has been read:', data); | |
console.log | |
}); |
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
'use strict'; | |
var FS = require('fs'); | |
// Callback version | |
FS.readFile('file.txt', 'utf8', function (err, data) { | |
if (err) throw err; | |
console.log('File has been read:', data); | |
console.log | |
}); |
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
[Desktop Entry] | |
Name=Google Chrome | |
Comment= | |
Exec=/usr/bin/google-chrome-stable %U | |
Icon=/opt/google/chrome/product_logo_64.png | |
StartupWMClass=google-chrome | |
Terminal=false | |
Type=Application | |
Categories=Internet | |
MimeType=x-scheme-handler/unknown;x-scheme-handler/about;x-scheme-handler/https;x-scheme-handler/http;text/html; |
You can add a paylist link. You can specify start episode number. Give special naming rules.
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
xrandr --current --verbose | grep -i "Brightness:*" | grep -io -m 1 [[:digit:]].[[:digit:]] |
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
# Wait for firefox to be closed | |
while [ `pidof firefox` ] | |
do | |
wait `pidof firefox` | |
done | |
# do something after ff exited |
OlderNewer