上一页 1 2 3 4 5 6 ··· 10 下一页
摘要: # 指定版本的opencv pip install opencv_contrib-python==3.4.3.18 # pywin32 [win32gui,win32api,win32con...] pip install pypiwin32 阅读全文
posted @ 2022-09-07 09:45 太晓 阅读(19) 评论(0) 推荐(0) 编辑
摘要: 输出调试信息 #include <iostream> using namespace std; cout << "msg" << endl; 按钮点击事件绑定Lambda表达式创建的匿名函数 #include <QPushButton> connect(ui->btn1, &QPushButton: 阅读全文
posted @ 2022-09-02 09:57 太晓 阅读(10) 评论(0) 推荐(0) 编辑
摘要: 基本设置 # 设置 bash 为默认 sh # 打开终端 # 输入命令,Configuring dash 选择“No”,回车确认 sudo dpkg-reconfigure dash # 加载petalinux环境 source /opt/pkg/petalinux/settings.sh # 向终 阅读全文
posted @ 2022-08-31 10:46 太晓 阅读(276) 评论(0) 推荐(0) 编辑
摘要: select * from table t where t.a = 'value' start with t.v in ('v1','v2','v3') connect by [nocycle] prior t.v = t.p 阅读全文
posted @ 2022-08-02 17:13 太晓 阅读(9) 评论(0) 推荐(0) 编辑
摘要: pip install pycryptodome==3.14.1 import base64 # AES CBC加密 from Crypto.Cipher import AES BLOCK_SIZE = 16 # Bytes vi = '0102030405060708' def pad(s): r 阅读全文
posted @ 2022-06-30 13:30 太晓 阅读(242) 评论(0) 推荐(0) 编辑
摘要: ``` import tempfile _file_data = bytes('文件数据') _temp_file = tempfile.NamedTemporaryFile() _temp_file.write(_file_data) # 保存 _temp_file.flush() # 指针指向文 阅读全文
posted @ 2022-06-30 13:21 太晓 阅读(48) 评论(0) 推荐(0) 编辑
摘要: operators = { 'exact': '= %s', 'iexact': 'LIKE %s', 'contains': 'LIKE BINARY %s', 'icontains': 'LIKE %s', 'regex': 'REGEXP BINARY %s', 'iregex': 'REGE 阅读全文
posted @ 2022-06-30 09:30 太晓 阅读(20) 评论(0) 推荐(0) 编辑
摘要: 参考 https://pythondjango.cn/ requirement django==3.2 djangorestframework==3.13.1 djangorestframework-jwt==1.11.0 pycryptodome==3.14.1 settings.py # 替换用 阅读全文
posted @ 2022-06-29 13:36 太晓 阅读(93) 评论(0) 推荐(0) 编辑
摘要: 坑点: 结尾必须加分号 # 服务节点 server { listen 27182; # 服务端口 server_name 192.168.2.108; # 服务地址 root html; # 应用文件根路径 # 首页节点, 根节点 location / { # 重定向配置 try_files $ur 阅读全文
posted @ 2022-06-27 09:58 太晓 阅读(18) 评论(0) 推荐(0) 编辑
摘要: -- mysql 8.0 改 root 密码 select host,user,plugin,authentication_string from mysql.user; alter user 'root'@'localhost' identified with mysql_native_passw 阅读全文
posted @ 2022-06-24 09:25 太晓 阅读(13) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 ··· 10 下一页