2020年4月16日

tree of cuda-repo-ubuntu1804-10-2-local-10.2.89-440.33.01_1.0-1_amd64.deb

摘要: download the deb: https://developer.nvidia.com/cuda-downloads?target_os=Linux&target_arch=x86_64&target_distro=Ubuntu&target_version=1804&target_type= 阅读全文

posted @ 2020-04-16 00:37 csuyangpeng 阅读(731) 评论(0) 推荐(0) 编辑

2020年3月18日

pybind11--c++ library for use python

摘要: https://stackoverflow.com/questions/51017450/c-application-crashes-when-embedded-python-interpreter-tries-to-import-externa C++ application crashes wh 阅读全文

posted @ 2020-03-18 17:58 csuyangpeng 阅读(126) 评论(0) 推荐(0) 编辑

2020年1月14日

google-pprof

摘要: 982 2020-01-14 18:00:55 google-pprof --pdf ./demo /tmp/profile > output.pdf 983 2020-01-14 18:02:26 g++ -o demo demo.cpp -lprofiler 984 2020-01-14 18: 阅读全文

posted @ 2020-01-14 19:48 csuyangpeng 阅读(471) 评论(0) 推荐(0) 编辑

shell _autotab complete

摘要: # bash completion for apollo.sh -*- shell-script -*- # Usage: ./apollo.sh TAB autotab_list=("check" "build" "build_dist" "clean_dist" "build_min" "bui 阅读全文

posted @ 2020-01-14 14:58 csuyangpeng 阅读(154) 评论(0) 推荐(0) 编辑

2020年1月2日

use pytorch

摘要: #!/usr/bin/env bash ############################################################################### # Copyright 2018 The Apollo Authors. All Rights Re 阅读全文

posted @ 2020-01-02 19:29 csuyangpeng 阅读(214) 评论(0) 推荐(0) 编辑

gitlab email notify related

摘要: emailnotify: stage: notify before_script: - echo "start emailnotify" after_script: - echo "finish emailnotify" script: - bash scripts/notify.sh only: 阅读全文

posted @ 2020-01-02 10:07 csuyangpeng 阅读(192) 评论(0) 推荐(0) 编辑

2019年12月2日

c++ standard library II

摘要: // template specialization #include <iostream> using namespace std; // class template: template <class T> class mycontainer { T element; public: mycon 阅读全文

posted @ 2019-12-02 01:13 csuyangpeng 阅读(268) 评论(0) 推荐(0) 编辑

2019年11月26日

Linux server record All user's ops

摘要: append to /etc/profile root@moonx:/tmp/dbasky/moonx# cat /etc/profile USER_IP=`who -u am i 2>/dev/null| awk '{print $NF}'|sed -e 's/[()]//g'` if [ "$U 阅读全文

posted @ 2019-11-26 17:24 csuyangpeng 阅读(124) 评论(0) 推荐(0) 编辑

2019年11月8日

core dump

摘要: 1.什么是core文件?有问题的程序运行后,产生“段错误 (核心已转储)”时生成的具有堆栈信息和调试信息的文件。 编译时需要加 -g 选项使程序生成调试信息: gcc -g core_test.c -o core_test 2.怎样配置生成 core 文件(1)core文件开关 ①使用 ulimit 阅读全文

posted @ 2019-11-08 11:37 csuyangpeng 阅读(195) 评论(0) 推荐(0) 编辑

2019年10月31日

remote gdb

摘要: https://blog.csdn.net/snow_5288/article/details/72982594https://alex.dzyoba.com/blog/gdb-source-path/ gdb调试多进程与多线程 moonx@moonx:/usr/download/test/mygc 阅读全文

posted @ 2019-10-31 11:46 csuyangpeng 阅读(477) 评论(0) 推荐(0) 编辑

导航

//替换成自己路径的js文件