星期四, 11月 12, 2020

docker for ubuntu 16

 docker for ubuntu 16

https://stackoverflow.com/questions/30379381/docker-command-not-found-even-though-installed-with-apt-get


For Ubuntu 14.04/16.04/16.10/17.04:

sudo add-apt-repository "deb [arch=amd64] \
     https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable"

For Ubuntu 17.10:

sudo add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubuntu zesty stable"

Add Docker’s official GPG key:

$ curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -

Then install

$ sudo apt-get update && sudo apt-get -y install docker-ce

janus websocket

 


janus 

https://janus.conf.meetecho.com/index.html

https://stackoverflow.com/questions/61672575/rtsp-to-webrtc-live-video-streaming

https://stackoverflow.com/questions/61672575/rtsp-to-webrtc-live-video-streaming

https://groups.google.com/forum/#!topic/meetecho-janus/goc1d2K0IG0



RTSPtoWebRTC golang

https://github.com/deepch/RTSPtoWebRTC


Virtual Webcam Driver

星期二, 11月 03, 2020

在後台運行命令與前景終端接入 backgroup system stdin

 https://unix.stackexchange.com/questions/507786/run-command-in-background-with-foreground-terminal-access

星期五, 10月 23, 2020

struct enum

 

2、填充結構
#define FILL(a) {a, #a}

enum IDD{OPEN, CLOSE};
typedef struct MSG{
IDD id;
const char * msg;
}MSG;

MSG _msg[] = {FILL(OPEN), FILL(CLOSE)};
相當於:
MSG _msg[] = {{OPEN, "OPEN"},
{CLOSE, "CLOSE"}};


http://stenlyho.blogspot.com/2007/04/c_04.html

星期四, 10月 22, 2020

utf-8 en/decode ascii 88591 88599

 https://github.com/haipome/utf8


https://en.wikipedia.org/wiki/ISO/IEC_8859-9