摘要: (1)建立ssh密钥对: ssh-keygen -t rsa -b 4096(2)把公钥发送到服务器(2)ctrl+shift+x快捷键打开插件搜索窗口 输入Remote Development(3)cmd+shift+p 打开命令输入窗口 Remote-SSH:Connect to Host..( 阅读全文
posted @ 2020-12-02 23:26 countryboy666 阅读(86) 评论(0) 推荐(0) 编辑
摘要: md aa 创建文件夹 del /f/s/q /p:删bai除每一个文件之前提示确认。 /f:强制删除只zhi读文件。 /s:删除所有子目录中的指定的文件。 /q:安静模式,删除全局通配符时,不要求确认。 xcopy /e/s/y src dis 拷贝目录文件 1 程序启动bat文件 1 @echo 阅读全文
posted @ 2020-12-02 22:42 countryboy666 阅读(107) 评论(0) 推荐(0) 编辑
摘要: (1) 安装paho-mqtt包 (2) 导入mqttimport paho.mqtt.client as mqttimport threading import json import paho.mqtt.publish as publish class Thread(threading.Thre 阅读全文
posted @ 2020-12-02 22:07 countryboy666 阅读(2475) 评论(0) 推荐(0) 编辑
摘要: import pymysql db = pymysql.connect(host="192.168.254.1xx",user="root",password="52",database="FaceCloudDB") cursor = db.cursor() cursor.execute("SELE 阅读全文
posted @ 2020-12-02 21:16 countryboy666 阅读(69) 评论(0) 推荐(0) 编辑