命令:
cat id_rsa.pub | ssh target_host "sudo tee -a /home/tom/.ssh/authorized_keys"
var mqtt = require('mqtt'); | |
//{'topicName':[clientObj,clientObj ..]} | |
var subscribeTopics={}; | |
//创建服务器对象 | |
var server = mqtt.createServer(function(client) { | |
//建立连接时触发 | |
client.on('connect', function(packet) { |
1001 git init | |
1003 git remote add origin git@github.com:YourUserName/ProjectName.git | |
1004 git fetch origin | |
1006 git checkout master |
{ | |
"$schema": "https://vega.github.io/schema/vega/v5.json", | |
"width": 400, | |
"height": 200, | |
"data": [ | |
{ | |
"name": "table", | |
"values": [ | |
{"date": "2020-08-01", "count": 2109}, | |
{"date": "2020-08-02", "count": 1201}, |
{ | |
"$schema": "https://vega.github.io/schema/vega-lite/v4.json", | |
"data": { | |
"values":[ | |
{"date": "2020-08-01", "retention":2341}, | |
{"date": "2020-08-02", "retention":1234}, | |
{"date": "2020-08-03", "retention":1101}, | |
{"date": "2020-08-04", "retention":998}, | |
{"date": "2020-08-05", "retention":543}, | |
{"date": "2020-08-06", "retention":589}, |
服务器端:
iperf3 -s
客户端:
iperf3 -u -c tank -b 100M