-loglevel debug
- Join TS Files
- Convert TS to MP4
- Download Online AES-128 Encrypted HLS video
- Convert Video to GIF
<?php | |
// All file paths relative to root | |
chdir(dirname(__DIR__)); | |
require "vendor/autoload.php"; | |
$settings = ['foo' => 'FOO', 'bar' => 'BAR']; | |
$app = new \Slim\App($settings); | |
// Set some things into the container |
Disable vim automatic visual mode on mouse select | |
issue: :set mouse-=a | |
add to ~/.vimrc: set mouse-=a | |
my ~/.vimrc for preserving global defaults and only changing one option: | |
source $VIMRUNTIME/defaults.vim | |
set mouse-=a |
#!/bin/bash | |
# Clean up Apt | |
apt-get autoremove | |
apt-get autoclean | |
apt-get clean | |
# Delete SaltStack minion keys and ID file | |
# New files are generated when the service starts | |
rm -vf /etc/salt/pki/minion/* |
Though we're focused more on server setup procedure in this document, I will still give a very brief explanation in laymen terms for ELK. To those who are starting new in this stack, must have already heard of MVC (Model View Controller), so take it like this:
=>
Elasticsearch (for Storage, Indexing & Search)=>
Kibana (for DataViz & G-Man, yeah the one in half life 😏)=>
Logstash (For Logs & Filtering)#!python3.5 | |
# Prerequisites : | |
# 1.SetUp dropbox sdk to be able to use Dropbox Api's | |
# $ sudo pip install dropbox | |
# By default python dropbox sdk is based upon the python 3.5 | |
# | |
# 2. Create an App on dropbox console (https://www.dropbox.com/developers/apps) which will be used and validated to do | |
# the file upload and restore using dropbox api. Mostly you need an access token to connect to Dropbox before actual file/folder operations. | |
# |
{"lastUpload":"2020-04-30T04:17:22.471Z","extensionVersion":"v3.4.3"} |
#!/bin/bash | |
#Paths are for Centos 7.x | |
# Install optional packages | |
/usr/bin/yum install -y epel-release | |
/usr/bin/yum install -y bash-completion htop yum-utils dkms open-vm-tools | |
#stop logging services | |
/sbin/service rsyslog stop | |
/sbin/service auditd stop |
running:
bash create-vod-hls.sh beach.mkv
will produce:
beach/
|- playlist.m3u8
|- 360p.m3u8