This Gist MOVED to a public repository: P2P Index
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
Nymphs blitz quick vex dwarf jog. (27 letters) | |
DJs flock by when MTV ax quiz prog. (27 letters) (2 acronyms and a US spelling) | |
Big fjords vex quick waltz nymph. (27 letters) | |
Bawds jog, flick quartz, vex nymph. (27 letters) | |
Junk MTV quiz graced by fox whelps. (28 letters) (Includes proper noun) | |
Bawds jog, flick quartz, vex nymphs. (28 letters) | |
Waltz, bad nymph, for quick jigs vex! (28 letters) | |
Fox nymphs grab quick-jived waltz. (28 letters) | |
Brick quiz whangs jumpy veldt fox. (28 letters) | |
Glib jocks quiz nymph to vex dwarf. (28 letters) |
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
var ecdh = crypto.createECDH('secp256k1'); | |
ecdh.generateKeys(); | |
var publicKey = ecdh.getPublicKey(null, 'compressed'); | |
var privateKey = ecdh.getPrivateKey(null, 'compressed'); | |
console.log('Private1:', privateKey.length, privateKey.toString('hex')); | |
console.log('Public1: ', publicKey.length, publicKey.toString('hex')); | |
Brought to you by Headjack
FFmpeg is one of the most powerful tools for video transcoding and manipulation, but it's fairly complex and confusing to use. That's why I decided to create this cheat sheet which shows some of the most often used commands.
Let's start with some basics:
ffmpeg
calls the FFmpeg application in the command line window, could also be the full path to the FFmpeg binary or .exe 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
# MacBook Pro (Mid 2015) - 2.5 GHz Intel Core i7 | |
# Node.js v9.2.0 | |
block size: 8192 | |
hashing sha512 x 300000 times: 4447ms | |
hashing sha256 x 300000 times: 6105ms | |
difference: 27.158067158067155 % | |
block size: 4096 | |
hashing sha512 x 300000 times: 2601ms |