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
#Generate HLS chunklist with AES128 chunk encryption file | |
#Source data | |
SOURCE="/Users/jcenzano/Movies/test10m_baseline_30_320x240_a25fpsB.mp4" | |
#Dest data | |
DEST="/Users/jcenzano/Movies/hls-encrypted/result-aes128" | |
KEYS_DIR="keys" | |
DEST_KEYS=$DEST"/"$KEYS_DIR |
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
#!/usr/bin/env node | |
const dns = require('dns'); | |
const options = { | |
ttl: true | |
}; | |
if (process.argv.length < 4) { | |
console.error("Usage dns-propagation-time-check.js domain ip_target"); |
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
#!/usr/bin/env node | |
//Replace following vars: | |
var base_url = "http://ELEMENTAL-NAME.YOURDOMAIN.ccc"; | |
var user_name = "PUT ELEMENTAL YOUR USERNAME"; | |
var api_key = "PUT YOUR ELEMENTAL API KEY"; | |
var ev_number = EV_NUMBER_TO_SW; //Example: 33 | |
var input_name_to_switch = "INPUT NAME"; //The input's name on elemental. Example: slate | |
const child_process = require('child_process'); |
NewerOlder