linuxXDG_SESSION_TYPE问题 https://github.com/biolab/orange3/issues/5974 Linux admin 2024-11-06 234 热度 0评论
LLVM编译器原理 https://chenzomi12.github.io/03Compiler01Tradition/08LLVMBackend.html 未分类 admin 2024-10-07 240 热度 0评论
在python中调用了bash,并通过&>或者>将输入记录到log中时的顺序问题 示例代码 play1.py: import os print("hello world") os.system("./twt.sh") twt.sh: #!/bin/bash echo " contentone" echo " contenttwo" 运行命令:python3 ./play1.py > log1.log log1.log内容: contentone co 日志 admin 2024-09-05 165 热度 0评论
postgresql如何设置本地和远程用户密码登录 1.修改 postgresql.conf 文件: 找到 PostgreSQL 的配置文件 postgresql.conf,通常位于 /etc/postgresql/<version>/main/ 目录中。使用文本编辑器打开该文件,找到 listen_addresses 参数,并将其设置为 '*' 以允许所有 IP 地址连接到数据库服务器,该参数可能出现多次,因此需要注意。 2.修改pg_hb 数据库 admin 2024-08-25 201 热度 0评论
如何配置vscode debug 1)在vscode中安装 bash debug 2)打开要调试的脚本 3)vscode->运行->添加配置 4)配置如下: { “type”:"bashdb", "request": "launch", "name": "Bash-Debug", "program": "${file}" } 5)Debug Run。 vscode admin 2024-08-24 194 热度 0评论
如何log ubuntu中的实时输入和输出 可以使用script命令进行记录。 用法是script 该程序会进入后台运行,可以通过ctrl+D进行终止。 script -f -f参数的意思是进行实时日志更新,不加该参数日志要通过ctrl+D终止才会生成日志内容。 Linux admin 2024-08-24 156 热度 0评论