Install Wireguard
sudo apt install wireguard
<!-- to hide regular Vimeo controls, make sure to add a parameter '&background=1' in iframe's src property --> | |
<section class="title-wrapper"> | |
<span>Responsive Vimeo Embedding & Custom Buttons</span> | |
</section> | |
<section class="banner-container"> | |
<img class="bkgd-image-style" src="http://joekang.co/assets/image-hosting/053116_US_AmericanaVI_banner_w.png"> | |
<div id="vi-video-1-container" class="video-wrapper"> | |
<div class='embed-container'> |
This script can be used to backup essential configuration files from the Proxmox Virtual Enivronment (PVE) host.
The script will create backups using tar
with specified backup prefix and date and time stamp in the file name. Script will also delete backups that are older then number of days specified.
To create backup script that will be executed every day we can create backup script in /etc/cron.daily/
folder. We need to make it writeable by root (creator) only, but readable and executable by everyone:
touch /etc/cron.daily/pvehost-backup
#!/bin/sh | |
####################################################### | |
# | |
# Edits the proxmox Subscription file to make it | |
# think that it has a Subscription. | |
# | |
# Will disable the annoying login message about | |
# missing subscription. | |
# |
This example is part of this article.
This is an example for an HLS delivery with basic security. Nginx compiled with nginx-rtmp-module & secure-link is used as media server. Features:
#Generate fairplay file with random generated Key, IV. | |
#And generate also a trobleshooting chunklist bypassing fairplay server and providing the plain key for testing | |
#Source data | |
SOURCE="/Users/jcenzano/Movies/test10m_baseline_30_320x240_a25fpsB.mp4" | |
#Dest data | |
DEST="/Users/jcenzano/Movies/hls-encrypted/result-fairplay" | |
KEYS_DIR="keys" | |
KEY_IV_FILENAME="key-iv.bin" |
<!-- VAST document with one InLine ad and one Wrapper ad--> | |
<VAST version="2.0"> | |
<Ad id="601364"> | |
<InLine> | |
<AdSystem>Acudeo Compatible</AdSystem> | |
<AdTitle>VAST 2.0 Instream Test 1</AdTitle> | |
<Description>VAST 2.0 Instream Test 1</Description> | |
<Error>http://myErrorURL/error</Error> | |
<Impression> |