- 博客(8)
- 资源 (7)
- 收藏
- 关注
原创 git基本操作
ssh创建秘钥:ssh-keygen -t ed25519 -C "xxxx"然后进入.ssh 看文件id_ed25519.pub,考入git页面的ssh setting新增用户名和邮箱git config --global user.email "you@example.com"git config --global user.name "Your Name"创建分支git checkout -b 分支名称查看所有分支git branch -a新加文件..
2022-05-12 15:07:05 138
原创 linux简单调试
首先gdb调试程序: gdb ./程序名设置断点:b main.cpp:12 (b CTest:add)设置main函数传参:set args 后跟参数运行运行程序:r
2019-06-28 17:22:10 110
原创 QT注册自定义函数
qt自定义信号注册: qRegisterMetaType<string>("string"); connect(m_webServer, SIGNAL(sgnshowMessage(string)), this, SLOT(OnshowMessage(string)));也可以用引用qRegisterMetaType<string>("string...
2019-05-13 22:00:06 987
原创 windows下openssl的编译(64位)
1. 打开visual studio命令提示框2.因为编译64位,所以进入VS2008的安装目录中的VC\bin\amd64目录,运行vcvarsamd64.bat3.然后使用perlConfigureVC-WIN64no-asm--prefix=C:\openssl命令,--prefix是指定安装目录这块大家配置的命令多少有出入:1、perlConfigureVC-...
2019-03-19 14:19:08 1138
原创 linux下libssh2的编译
1.下载openssl,进行编译 ./config --prefix=/usr/local/openssl --openssldir=/usr/local/openssl/ssl再make,在make install ;如果编译出的是静态文件,可加shared,编译为动态文件2.编译libssh2./configure --prefix=/usr/local/libssh2 -...
2019-03-13 15:34:05 5486
原创 Linux的samba配置
1. 修改/etc/samba/smb.conf配置文件2.[name] comment = {name} path = {路径} public = yes writeable = yes create mode = 0644 force create mode = 0644 directory mode = 0755 forc...
2019-03-05 17:17:47 301
原创 Linux下gdb调试
生成dmp: gdb -p pid ;generate-core-file 也可以直接gcore pid进行调试:gdb -p 进程号 ( gdb <program> 或 gdb <program> core)开始运行:r(un)查看某个变量: p(rint) n每次运行到断点就显示变量的值 : display n列出命令行参数: info args...
2018-03-19 15:27:59 216
ZooKeeper-分布式过程协同技术详解
2019-03-06
goland2018-3.4破解补丁
2019-02-22
C++数据结构与算法(程序设计)
2018-07-28
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人