11 2022 档案
摘要:#include<filesystem> namespace fs = std::filesystem; 解决方法: https://stackoverflow.com/questions/53201991/how-to-use-stdfilesystem-on-gcc-8 实际是需要在编译的时候加
阅读全文
摘要:install sudo apt install doxygen sudo apt install graphviz use cd src# src is the code dir doxygen -g Doxygen.config #gengerate the default config fil
阅读全文
摘要:不断运行与调试代码的时候 需要查询pid 并kill这个程序 就做了这个shell脚本 #!/bin/bash target=$1 ps -ef|grep -v grep|grep ${target} |awk '{print $2}'|while read pid do kill -9 $pid
阅读全文
摘要:修改/etc/profile.d/xxx.sh export HOME=/home/xxx export PATH=$PATH:$HOME:$HOME export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$HOME
阅读全文
摘要:文件放在*/etc/init.d/*路径下 #!/bin/sh - # # ubuntu-fan Start/Stop Ubuntu FAN Networking # # chkconfig: 345 98 01 # description: Starts/Stops Ubuntu FAN Netw
阅读全文
摘要:#include <sys/types.h> #include <sys/stat.h> #include <time.h> #include <stdio.h> #include <stdlib.h> #include <sys/sysmacros.h> int main(int argc, ch
阅读全文

浙公网安备 33010602011771号