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
# lazyload nvm | |
# all props goes to http://broken-by.me/lazy-load-nvm/ | |
# grabbed from reddit @ https://www.reddit.com/r/node/comments/4tg5jg/lazy_load_nvm_for_faster_shell_start/ | |
lazynvm() { | |
unset -f nvm node npm npx | |
export NVM_DIR=~/.nvm | |
[ -s "$NVM_DIR/nvm.sh" ] && . "$NVM_DIR/nvm.sh" # This loads nvm | |
if [ -f "$NVM_DIR/bash_completion" ]; then | |
[ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion" # This loads nvm bash_completion |
image: docker:latest | |
services: | |
- docker:dind | |
stages: | |
- build | |
- deploy | |
variables: | |
CONTAINER_DEV_IMAGE: registry.gitlab.com/brunomacf/kube-test:$CI_COMMIT_SHA |
upstream warehouse_inventory { | |
zone inventory_service 64k; | |
server 10.0.0.1:80; | |
server 10.0.0.2:80; | |
server 10.0.0.3:80; | |
} | |
upstream warehouse_pricing { | |
zone pricing_service 64k; | |
server 10.0.0.7:80; |
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:
Hiện tại, CloudFlare đã có
warp-cli
chính thức cho Linux: https://developers.cloudflare.com/warp-client/setting-up/linux
1. Increase DPI and terminal font size in /home/[user]/.Xresources | |
sudo nano ~/.Xresources | |
Change Xft.dpi:, the first item listed, to a higher value (than the default 90), perhaps 140 to start (to avoid overshooting). I like 150, but different setups will call for values that are lower or higher. | |
Change XTerm*faceSize: to a higher value, perhaps 14 (as I use). | |
Change URxvt.font: from 9x15,xft:TerminessTTFNerdFontMono to xft:TerminessTTFNerdFontMono:size=14, removing 9x15 (or whatever value is shown at the start) and adding :size=14 or some other specific value. |