Install ffmpeg
brew install ffmpeg
Download file through url, like this:
ffmpeg -protocol_whitelist file,http,https,tcp,tls,crypto -i "http://url-file.domain.m3u8" -c copy video.mp4
/*std*/ | |
img:not([alt*='#ico']):not([alt*='#hero']):not(.emoji):not(.img-view) | |
{ | |
display: block; | |
margin-left: auto; | |
margin-right: auto; | |
width: 75%; | |
transition: width .3s ease-out; | |
} |
javascript: Promise.all([import('https://unpkg.com/turndown@6.0.0?module'), import('https://unpkg.com/@tehshrike/readability@0.2.0'), ]).then(async ([{ | |
default: Turndown | |
}, { | |
default: Readability | |
}]) => { | |
/* Optional vault name */ | |
const vault = ""; | |
/* Optional folder name such as "Clippings/" */ |
Install ffmpeg
brew install ffmpeg
Download file through url, like this:
ffmpeg -protocol_whitelist file,http,https,tcp,tls,crypto -i "http://url-file.domain.m3u8" -c copy video.mp4
1- Attaching Aliases to the native command line:
Steps in this stackoverflow answer.Quoting:
you may make the alias(es) persistent with the following steps,
// This code will automatically save the current canvas as a .png file. | |
// Its useful as it can be placed in a loop to grab multiple canvas frames, I use it to create thumbnail gifs for my blog | |
// Only seems to work with Chrome | |
// Get the canvas | |
var canvas = document.getElementById("canvas"); | |
// Convert the canvas to data | |
var image = canvas.toDataURL(); | |
// Create a link | |
var aDownloadLink = document.createElement('a'); |
// Reference: http://stackoverflow.com/questions/4822471/count-number-of-lines-in-a-git-repository | |
$ git ls-files | xargs wc -l |
# delete local tag '12345' | |
git tag -d 12345 | |
# delete remote tag '12345' (eg, GitHub version too) | |
git push origin :refs/tags/12345 | |
# alternative approach | |
git push --delete origin tagName | |
git tag -d tagName |
/* * | |
* Arduino Telnet Server * | |
* 7 July 2010 * | |
* Basic Arduino I/O via * | |
* a command line interface * | |
* by Steve Lentz * | |
* stlentz[at]gmail[dot]com * | |
Quick Start Instructions: | |
1) Set Ethernet address in code below. |