Skip to content

Instantly share code, notes, and snippets.

### Keybase proof
I hereby claim:
* I am psilva261 on github.
* I am philipsilva (https://keybase.io/philipsilva) on keybase.
* I have a public key ASDr2XuUNDFEZUeaAoPrwDMJw3ykAk6fHcHTQX5mnJWQIQo
To claim this, I am signing this object:
@psilva261
psilva261 / gist:417393caa723012ff9b9
Last active August 29, 2015 14:13
Processing audio file from http with ffmpeg on node
var ffmpeg = require('fluent-ffmpeg');
var request = require('request');
var httpStream = request('http://www.acme.com/input.mp3');
var proc = new ffmpeg({source: httpStream})
.inputFormat('mp3')
/* insert processing steps from
https://github.com/fluent-ffmpeg/node-fluent-ffmpeg here */
.save('output.mp3');
@psilva261
psilva261 / gist:dede25e29198d58c5728
Created January 16, 2015 11:12
Convert p7b file to pfx file (to use Godaddy SSL/TLS Certificate for Azure Websites)
# Required files:
# .crt and .p7b: provided by Godaddy when exporting
# .key: self-generated file that was needed to create CSR (Certificate signing request)
#
# Note: this password has nothing to do with the password entered to create the CSR.
# It will be checked once the pfx is uploaded to Azure.
$ openssl pkcs12 -export -in www.mydomain.com.crt -inkey www.mydomain.com.key -certfile www.mydomain.com.p7b -out www.mydomain.com.pfx
Enter Export Password:
Verifying - Enter Export Password: