自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(17)
  • 资源 (3)
  • 收藏
  • 关注

原创 2021-06-26

linux下使用vcan sudo modprobe vcan sudo ip link add dev vcan0 type vcan sudo ip link set dev vcan0 down sudo ip link set dev vcan0 up ifconfig

2021-06-26 15:17:53 78

转载 2021-04-04

【转】Compile-time version strings in CMake At compile-time, I would like to embed a few strings into my code that reflects the current state of the Git repository: The short commit hash, with a trailing + if there are uncommitted changes. The tag (if any) T

2021-04-04 19:12:25 93

原创 C++11 examples

enable_if #include <iostream> template <typename T> typename std::enable_if<std::is_integral<T>::value, bool>::type test1(T t) { std::cout << "integral: " << t &...

2019-12-15 16:16:54 137

原创 常用shell操作

显示git 分支 function git_branch() { branch="$(git branch 2>/dev/null | grep "^\*" | sed -e "s/^\*\ //")" if [ "${branch}" != "" ]; then if [ "${branch}" = "(no branch)" ]; then ...

2019-11-09 10:28:54 319

原创 智能指针

智能指针 一、shared_ptr 1. reset 用法 #include <iostream> #include <memory> class SharedptrTest { private: int index_; public: SharedptrTest(int index); ~SharedptrTest(); }; SharedptrTe...

2019-10-02 16:29:08 95

原创 ubuntu环境配置

语言支持 《解决语言支持功能消失》 sudo apt-get install language-selector-gnome

2018-07-15 10:18:13 119

原创 vxlearn

3rdparty

2017-07-30 10:37:04 157

原创 CString2char*

char *pstr = strFileName.GetBuffer(strFileName.GetLength()); strFileName.ReleaseBuffer();

2017-06-12 21:18:05 552

原创 CFileDlg实例

打开文件void CTest::OnOpen() { CFileDialog dlg(TRUE, NULL, NULL, OFN_HIDEREADONLY, _T("XML(*.xml)|*.xml||")); if (dlg.DoModal() != IDOK) return; CString strFileName; strFileName = dl

2017-06-12 20:53:21 297

原创 I.MX6QP SD/eMMC启动

一、SD卡启动1. 烧写uboot:sudo dd if=u-boot.imx of=/dev/sdb bs=512 seek=2 skip=0 conv=sync2. 建立fat分区1:存放zImage、dtb文件,分区可大可小;3. 建立ext分区2:存放根文件系统。4. 拨码开关拨到SD启动二、eMMC启动(SD卡启动后通过命令烧写eMMC)1. 烧写u-boot,并且设置eMMC启动#!/b

2017-05-28 19:35:29 1947

原创 zynq linux 使用记录

支持NFS启动,uboot的参数设置 set bootargs noinitrd console=ttyPS0,115200 ip=192.168.1.102 root=/dev/nfs rw nfsroot=192.168.1.101:/home/xxx/nfs/zynqrootfs,nolock earlyprintk 系统启动后挂在NFS mount -t nfs -o n

2016-09-21 15:29:12 646

转载 Linux with HDMI video output on the ZED, ZC702 and ZC706 boards

https://wiki.analog.com/resources/tools-software/linux-drivers/platforms/zynq Overview Preparing the SD-card To boot the system on the ZED, ZC702 or ZC706 bo

2015-12-15 21:57:14 3896

原创 String操作

String操头文件:#include <strings.h> 函数:int strcasecmp(const char *s1, const char *s2); 功能:字符串比较,忽略大小写。 **返回值:**s1和s2相同返回0;否则返回s1和s2中第一个不同字符的差值(大于或小于0)。函数:int strncasecmp(const char *s1, const char *s2,

2015-09-26 23:34:59 382

原创 MFC学习

1. RichEdit2.0控件使用 1.1使用该控件需要有如下操作为前提 APP头文件中添加私有成员: HMODULE hMod; 源文件中重载虚函数: InitInstance() { hMod = LoadLibrary(_T("riched20.dll")); AfxInitRichEdit2(); } ExitInstance() { //

2015-08-23 21:36:23 373

转载 dnw for linux

转自:http://blog.chinaunix.net/uid-23086242-id-2552828.html 前不久一直因为mini2440提供的usb下载驱动有毛病老是导致我的机死机或是重启,有时候还关不了机。一气之下决定到linux下去做,反正编译也是要在linux下做再拿到windows做下载的。找了很久终于让我找了个。跟大家分享一下。 (谢谢peimichael提醒,已经上传

2015-06-13 15:37:10 475

转载 从源码安装Qt开发平台

http://segmentfault.com/a/11900000006838631:为什么要从源码安装 http://write.blog.csdn.net/postedit之前apt-get安装的qt4经常会遇到一些关于环境配置的问题,所以还是从源码安装比较方便,因为知道qt安装的路径,在配置环境变量的时候很方便2:安装过程  1:下载源码 http://mirrors.hust.e

2015-05-02 20:24:15 451

转载 【va_start和va_end使用详解】stdarg原理

http://www.cnblogs.com/hanyonglu/archive/2011/05/07/2039916.html

2013-06-15 19:20:34 548

TDD环境搭建(基于testngpp)

VS Cmake Python TestNG++ Mockcpp

2013-06-19

ADO开发手册(孙雪青)

介绍了如何使用ADO的基本流程及一些基本知识

2010-05-26

简单网络管理协议(SNMP) RFC1157文档

A Simple Network Management Protocol (SNMP)

2010-05-16

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除