Install the OpenSSL on Debian based systems
sudo apt-get install openssl
Command Flags
Flag | Options | Description |
---|---|---|
-codec:a |
libfaac, libfdk_aac, libvorbis | Audio Codec |
-quality |
best, good, realtime | Video Quality |
-b:a |
128k, 192k, 256k, 320k | Audio Bitrate |
-codec:v |
mpeg4, libx264, libvpx-vp9 | Video Codec |
https://github.com/OpenVPN/easy-rsa/tree/master/doc
Init:
wget https://github.com/OpenVPN/easy-rsa/releases/download/3.0.1/EasyRSA-3.0.1.tgz
tar xzvf EasyRSA-3.0.1.tgz
cd EasyRSA-3*
vim vars # var.example
./easyrsa init-pki
This is tested with Traefik 1.7
This is how to redirect the root or base path to a sub path in Traefik using Docker labels:
Goals
https://example.com
-> https://example.com/abc/xyz/
https://example.com/
-> https://example.com/abc/xyz/
https://example.com/something
-> no redirectIf Android phone constantly disconnects: | |
1. Try to disable Ubuntu USB autosuspend | |
https://www.makeuseof.com/tag/fix-usb-device-port-linux/ | |
cat /sys/module/usbcore/parameters/autosuspend | |
(if the result is 2, then autosuspend is enabled) | |
sudo nano /etc/default/grub | |
Change |
# -*- coding: utf-8 -*- | |
#test on python 3.4 ,python of lower version has different module organization. | |
import http.server | |
from http.server import HTTPServer, BaseHTTPRequestHandler | |
import socketserver | |
PORT = 8080 | |
Handler = http.server.SimpleHTTPRequestHandler |
# !/usr/bin/env python | |
# -*- coding:utf-8 -*- | |
from PyQt4.QtCore import * | |
from PyQt4.QtGui import * | |
class overlay(QWidget): | |
def __init__(self, parent=None): | |
super(overlay, self).__init__(parent) |
<template> | |
<q-page class="bg-light-green window-height window-width row justify-center items-center"> | |
<div class="column"> | |
<div class="row"> | |
<h5 class="text-h5 text-white q-my-md">Company & Co</h5> | |
</div> | |
<div class="row"> | |
<q-card square bordered class="q-pa-lg shadow-1"> | |
<q-card-section> | |
<q-form class="q-gutter-md"> |
image: java:8-jdk | |
stages: | |
- build | |
- test | |
- deploy | |
before_script: | |
# - echo `pwd` # debug | |
# - echo "$CI_BUILD_NAME, $CI_BUILD_REF_NAME $CI_BUILD_STAGE" # debug |