See how a minor change to your commit message style can make you a better programmer.
Format: <type>(<scope>): <subject>
<scope> is optional
| name: Build and Deploy to Pages | |
| on: | |
| push: | |
| branches: ["main"] | |
| workflow_dispatch: | |
| # Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages | |
| permissions: | 
| a.myhost.com { | |
| tls off | |
| root /var/www/ | |
| proxy / localhost:8091 | |
| log log/access.a.log | |
| } | |
| b.myhost.com { | |
| tls off | |
| root /var/www/ | 
#Linux Cheat Sheet
##File Commands:
| # Httpd Apache/2.4.6 VHost Config Reverse Proxy Node.js App RHEL CENTOS 7 | |
| # Websocket / ws / wss / socket.io | |
| # Solved after errors: | |
| # connection_error: code 3 Bad Request | |
| # engine invalid transport upgrade | |
| # engine error handshaking to transport "websocket" | |
| # socket.io-client: websocket error | |
| # socket.io-client: failed wss connection | |
| # socket.io-client: failed connection using transport websocket / ws / wss | 
Create a template service file at /etc/systemd/system/[email protected]. The template parameter will correspond to the name
of target host:
[Unit]
Description=Setup a secure tunnel to %I
After=network.target| // create client | |
| var client = AgoraRTC.createClient({mode: 'live', codec: 'vp8'}); // vp8 to work across mobile devices | |
| const agoraAppId = ''; // insert Agora AppID here | |
| const channelName = 'WebAR'; | |
| var streamCount = 0; | |
| // set log level: | |
| // -- .DEBUG for dev |