简介
该用户还未填写简介
擅长的技术栈
可提供的服务
暂无可提供的服务
package mainimport ("fmt""io/ioutil""os/exec")func ExecCommand(strCommand string)(string){cmd := exec.Command("/bin/bash", "-c", strCommand)stdout, _
#include <sys/utsname.h>struct utsname u;uname(&u);
一、现场情况主、子进程。主进程PID是1,子进程PID是32856。gdb attach 32856失败二、解决方法gdb -p 指定进程。例如gdb-p32856 /proc/32856/exe
#include "DiskU.h"#ifndef _WIN32#include <time.h>#include <stdio.h>#include <stdlib.h>#include <sys/stat.h>#include <sys/types.h>#include <dirent.h>#endif...
In file included from /usr/include/c++/4.8.2/mutex:35:0,from /usr/local/include/google/protobuf/stubs/mutex.h:33,from /usr/local/include/google/protobuf/stubs/comm...
一、安装cuda依赖apt install nvidia-cuda-toolkit二、进入ffmpeg目录cd /opt/ffmpeg-4.2.3然后执行git clone https://git.videolan.org/git/ffmpeg/nv-codec-headers.gitcd nv-codec-headersmakesudo make install三、编译PKG_CONFIG_PA
1. sudo vim /etc/resolv.conf # 添加如下内容nameserver 8.8.8.8nameserver 127.0.0.1options edns02. 输入Esc,:wq,保存并退出3. sudo /etc/init.d/networking restart