bool recursion(int* target, int srcSize, int* src, int num, int pst){ int cnt=0,i; int oodpst=0,evenpst=srcSize/2; int arr[5001]={0}; if (srcSize<=num ...
分类:
其他好文 时间:
2020-11-07 16:40:47
阅读次数:
16
上节课复习: ps aux | grep "T" kill -cont pid 今日内容: 1、hup信号 让进程脱离当前会话窗口session而运行: 原理一致是??? nohup setsid 在子shell中启动进程 screen 2、查看网络 3、proc文件系统 free lscpu 4、 ...
分类:
其他好文 时间:
2020-11-06 02:46:23
阅读次数:
25
树莓派4 国内源 cat /etc/apt/sources.list deb https://mirrors.tuna.tsinghua.edu.cn/raspbian/raspbian/ buster main contrib non-free rpi cat /etc/apt/sources.l ...
分类:
其他好文 时间:
2020-11-01 10:25:05
阅读次数:
16
--查看当前服务器所有服务 service --status-all -- 查看当前所有正在运行的服务 service --status-all | grep running --查看指定服务运行状态如 httpd service --status-all | grep httpd 或 servic ...
分类:
系统相关 时间:
2020-11-01 10:20:18
阅读次数:
23
在写程序的过程中,经常会遇到各种bug,而python的报错功能其实非常有限,我们仅仅依靠看报错提示,很难找到哪里出了错误!今天就分享一个调试python程序的小技巧: 用input中断程序 用print输出可疑的变量 一:什么情况下可疑调试 学过Matlab的同学应该很容易理解我的意思,Matla ...
分类:
编程语言 时间:
2020-10-31 01:48:57
阅读次数:
20
EXPORT ... TO MEMORY ID ... IMPORT ... TO MEMORY ID ... 如何传递动态内表数据: 1.发送方根据动态内表记录重新生成新的内表结构体,并将动态数据转换到新的内表,传值两个记录表:结构体,数据记录。 2.接收方根据结构体重新生成新的内表,根据新生成内 ...
分类:
其他好文 时间:
2020-10-27 11:48:39
阅读次数:
29
明明在配置文件中配置了清华的镜像,但是就是一直提示无法下载包。 目前网上大部分的解决方案配置如下: https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free https://mirrors.tuna.tsinghua.edu.cn/anacond ...
分类:
Web程序 时间:
2020-10-26 11:38:45
阅读次数:
46
用命令free -m可以查看内存大小:32G ...
分类:
其他好文 时间:
2020-10-24 09:49:07
阅读次数:
16
去年年底安装将我的Thinkpad T450的双系统中的opensuse换成了Manjaro,折腾安装了下CUDA,是为记录。 基本安装 NVIDIA显卡安装 Manjaro系统安装显卡比较简单,它有一个命令 sudo mhwd -a [pci or usb connection] [free or ...
分类:
编程语言 时间:
2020-10-18 16:50:37
阅读次数:
33