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:
- Domain filtering
- Referrer filtering
- Embed buster
download java ex jdk-8u171-linux-x64.tar.gz | |
scp -i /Users/chandrakumar/pmay/chanduaws.pem jdk-8u171-linux-x64.tar.gz ec2-user@host-name: | |
ssh -i /Users/chandrakumar/pmay/chanduaws.pem ec2-user@host-name | |
mkdir /usr/java create dir java in usr | |
cd /usr/java | |
cp /home/ec2-user/temp/jdk-8u171-linux-x64.tar.gz . | |
. means copy to current directory | |
tar xzf jdk-8u171-linux-x64.tar.gz | |
chown -R root:root jdk1.8.0_171 |
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:
stages: | |
- test | |
- beta | |
variables: | |
LC_ALL: "en_US.UTF-8" | |
LANG: "en_US.UTF-8" | |
test: | |
dependencies: [] | |
stage: test | |
artifacts: |
Encoder hevc_nvenc [NVIDIA NVENC hevc encoder]: | |
General capabilities: delay | |
Threading capabilities: none | |
Supported pixel formats: yuv420p nv12 p010le yuv444p yuv444p16le bgr0 rgb0 cuda d3d11 | |
hevc_nvenc AVOptions: | |
-preset <int> E..V.... Set the encoding preset (from 0 to 11) (default medium) | |
default E..V.... | |
slow E..V.... hq 2 passes | |
medium E..V.... hq 1 pass |
// The MIT License (MIT) | |
// | |
// Copyright (c) 2017 Alexander Grebenyuk (github.com/kean). | |
import Foundation | |
import RxSwift | |
import RxCocoa | |
extension ObservableType { |
package main | |
import ( | |
"net/url" | |
"fmt" | |
"github.com/tehmoon/errors" | |
"github.com/aws/aws-sdk-go/aws/session" | |
"github.com/aws/aws-sdk-go/service/s3/s3manager" | |
"github.com/aws/aws-sdk-go/service/s3" | |
"io" |
#!/bin/bash | |
################################ | |
######### VARIABLES ############ | |
################################ | |
EMAIL="[email protected]" | |
AUTHOR="Pedro Tanaka" | |
################################ | |
# Update pacman and install keyring to avoid signature problems |
See this issue.
Docker best practise to Control and configure Docker with systemd.
Create daemon.json
file in /etc/docker
:
{"hosts": ["tcp://0.0.0.0:2375", "unix:///var/run/docker.sock"]}
Updated 2025-01-17 thanks to Yemster's comment. | |
This should work on any architecture of Amazon Linux 2. | |
(_Although not tested , should also work for Amazon Linux 2023_). | |
**Prereq** | |
- visit https://johnvansickle.com/ffmpeg/ to grab the link to the relevant tarball for your specific server architecture. | |
- Use `uname -a` to find out your arch if unknown | |
### TL;DR |
--============================================================================== | |
-- conky_orange.lua | |
-- | |
-- author : SLK | |
-- version : v2011062101 | |
-- license : Distributed under the terms of GNU GPL version 2 or later | |
-- | |
-- modified: me | |
-- version : v20171027 | |
-- notes : works on 4k screen. uses conky conf newer >v1.1 |