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
# This file contains important security parameters. If you modify this file | |
# manually, Certbot will be unable to automatically provide future security | |
# updates. Instead, Certbot will print and log an error message with a path to | |
# the up-to-date file that you will need to refer to when manually updating | |
# this file. | |
ssl_session_cache shared:le_nginx_SSL:1m; | |
ssl_session_timeout 1440m; | |
ssl_protocols TLSv1 TLSv1.1 TLSv1.2; |
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
#!/bin/bash | |
set -euo pipefail | |
set -x | |
fullimage=${IMAGE:-$1} | |
image=${fullimage##*/} | |
repo=${image%%:*} | |
tag=${image##*:} | |
REG=${fullimage%%/*} | |
PROTO=https:// | |
set +x |
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
#!/usr/bin/env bash | |
set -u | |
IFS=$'\n\t' | |
## Author: anton.lugovoi | |
#/ | |
#/ Description: Move interface into the drop zone | |
#/ if monitored IP became unreachable | |
#/ Restores interface original zone | |
#/ if monitored IP became reachable |
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
#!/bin/sh | |
# | |
# Originally part of vpnc source code: | |
# © 2005-2012 Maurice Massar, Jörg Mayer, Antonio Borneo et al. | |
# © 2009-2012 David Woodhouse <[email protected]> | |
# | |
# This program is free software; you can redistribute it and/or modify | |
# it under the terms of the GNU General Public License as published by | |
# the Free Software Foundation; either version 2 of the License, or | |
# (at your option) any later version. |
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
#!/usr/bin/env bash | |
set -e | |
echo "Installing dependencies..." | |
if [ -x "$(command -v apt-get)" ]; then | |
sudo su -s /bin/bash -c 'sleep 30 && apt-get update && apt-get install unzip' root | |
else | |
sudo yum update -y | |
sudo yum install -y unzip wget | |
fi |
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
datacenter = "dc1" | |
ui = true | |
client_addr = "0.0.0.0" |
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
[Unit] | |
Description=Consul service discovery agent | |
Requires=network-online.target | |
After=network.target | |
[Service] | |
User=consul | |
Group=consul | |
PIDFile=/run/consul/consul.pid | |
Restart=on-failure |
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
{ | |
"streams": { | |
"Nasa-high": { | |
"input-path": "/liveedge4/smil:c03_high_th.smil/playlist.m3u8?gid=anywhere&uid=2112038&did=1c0bb708-3c1a-54c1-bf8e-174e3809d584&ip=103.13.228.0-103.13.229.255&cid=dtv%3Ac03&exp=915902&max=1&sig=2dccf297b4f274c93b959d292eaca1c3ad4806a8&app=anywhere", | |
"servers": ["http://tvsedge127.truevisions.tv"] | |
} | |
} | |
} |
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 express = require('express') | |
var bodyParser = require('body-parser'); | |
var MongoClient = require('mongodb').MongoClient; | |
var ObjectId = require('mongodb').ObjectID; | |
var app = express(), | |
server = require('http').createServer(app), | |
io = require('socket.io').listen(server); | |
var db; |
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
SRV_PORT=9006 | |
CH_NAME=ch7 | |
SRC="udp://@224.2.2.2:1006?fifo_size=1000000&overrun_nonfatal=1" | |
### | |
# use 2 CPUs and 1024 RAM for 720p | |
# use 1 CPU and 512 RAM for 480p | |
CONSUL=localhost:8500 | |
CH_RES=720 | |
CH_BAND=1800 | |
CPU_RES=2 |
NewerOlder