- alpha release, expect bugs, like
- can't join to on-going session
- if video receive fails (for example due to frame drop), need to restart video at source
- no audio
- others
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package main | |
import ( | |
"crypto/tls" | |
"flag" | |
"fmt" | |
"io" | |
"log" | |
"net" | |
"os" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<html> | |
<head> | |
<title>QR code tool</title> | |
<meta | |
name="viewport" | |
content="width=device-width, initial-scale=1, shrink-to-fit=no" | |
/> | |
<script src="https://cdn.jsdelivr.net/npm/vue@2.6.11/dist/vue.min.js"></script> | |
<script src="https://cdn.jsdelivr.net/npm/jsqr@1.3.1/dist/jsQR.js"></script> | |
<script src="https://cdn.jsdelivr.net/npm/qrcode-generator@1.4.4/qrcode.js"></script> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package main | |
import ( | |
"bytes" | |
"crypto/tls" | |
"crypto/x509" | |
"flag" | |
"fmt" | |
"io" | |
"io/ioutil" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package main | |
import ( | |
"bytes" | |
"flag" | |
"io" | |
"log" | |
"net/http" | |
"net/http/httputil" | |
"net/url" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
set -e | |
test "$(id -u)" = "0" || exec sudo "$0" "$@" | |
: "${SUDO_UID:=1000}" "${SUDO_GID:=1000}" | |
: "${dist:=bionic}" | |
: "${lxc_name:=esteid-$dist}" | |
: "${rootfs:=/var/lib/lxc/$lxc_name/rootfs}" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
find_scanner() { | |
echo -n "Scanning for scanners.." >&2 | |
scanimage -f %d | |
echo "OK." >&2 | |
} | |
test ! "x$1" = "x-h" || { | |
echo "Usage: ${0##*/} [<scanner>]" >&2 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html> | |
<head> | |
<title>Encrypt and Share</title> | |
<script src="https://unpkg.com/ace-builds@1.3.3/src-noconflict/ace.js" charset="utf-8"></script> | |
<script src="https://unpkg.com/ace-builds@1.3.3/src-noconflict/mode-markdown.js" charset="utf-8"></script> | |
<script src="https://unpkg.com/qrcode@1.2.0/build/qrcode.js" charset="utf-8"></script> | |
<script> | |
"use strict"; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
wget https://gist.githubusercontent.com/korc/a4e77451825737ef1fd2c491bd74246e/raw/websrv.go | |
go get -u golang.org/x/{crypto/acme/autocert,net/{webdav,websocket}} | |
go build websrv.go | |
sudo setcap cap_net_bind_service,cap_sys_chroot=ep websrv | |
mkdir -p data/uploads | |
./websrv -map /=file:/var/www/html -map /data/=webdav:$PWD/data/uploads -auth Basic:dGVzdDp0ZXN0 |
- aufs support (
grep -w aufs /proc/filesystems
)- might be included in
linux-image-extra-*
packages
- might be included in
- To build SFS files you need:
python
andpython-crypto
lxc-start
,lxc-info
and friends (lxc
orlxc1
package)
mksquashfs
(squashfs-tools
package)