- FFMPEG
- The right codecs
Save the file in /usr/local/bin/<desiredname>
Change the user code see <code_change_this>
Make executable
<template> | |
<!-- This is the parent, named ComponentA for example --> | |
<div> | |
ComponentA message state: {{ message }} | |
<!-- | |
ComponentB is a child component of ComponentA | |
It will update the message value via two-way binding | |
See https://vuejs.org/guide/essentials/forms.html | |
Syntax sugar that way you don't have to always define model-value and @update:model-value | |
--> |
# Install snap | |
sudo apt install snapd | |
sudo snap install kubectl --classic | |
# Check if it works | |
kubectl | |
# Install minikube | |
curl -LO https://storage.googleapis.com/minikube/releases/latest/minikube_latest_amd64.deb | |
sudo dpkg -i minikube_latest_amd64.deb |
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="UTF-8" /> | |
<meta http-equiv="X-UA-Compatible" content="IE=edge" /> | |
<meta name="viewport" content="width=<device-width>, initial-scale=1.0" /> | |
<title>Document</title> | |
</head> | |
<body> | |
<div class="flex"> |
ssh-keygen -t rsa -b 4096 -f jwtRS256.key | |
# Don't add passphrase | |
openssl rsa -in jwtRS256.key -pubout -outform PEM -out jwtRS256.key.pub | |
cat jwtRS256.key | |
cat jwtRS256.key.pub |
//NodeJS | |
var express = require('express'); | |
var app = express(); | |
var http = require('http').Server(app); | |
var fs = require('fs'); | |
var io = require('socket.io')(http); | |
app.use(express.static(__dirname, '/')); | |
io.on('connection', function(socket){ |