自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+

ChangeMe

Life is like a box of chocolates,you never konw what you're going to get.

  • 博客(8)
  • 收藏
  • 关注

原创 linux 获取&设置鼠标灵敏

#include<stdio.h>#include <X11/extensions/XInput2.h>#include <string.h>static voidprint_property_xi2(Display *dpy, int deviceid, Atom property){ Atom act_type; char *name; int

2021-12-14 15:41:32 1108

原创 ptrace 获取程序实时的堆栈

#!/bin/bashif test $# -ne 1; then echo "Usage: `basename $0 .sh` &lt;process-id&gt;" 1&gt;&amp;2 exit 1fiif test ! -r /proc/$1; then echo "Process $1 not found." 1&gt;&amp;2 exit ...

2018-11-15 15:02:32 1100

原创 Reboot framework 安装说明

Reboot framework 安装说明 一windows平台安装python 1)安装python 以下为在 Window 平台上安装 Python 的简单步骤: 打开 WEB 浏览器访问https://www.python.org/downloads/windows/ 在下载列表中选择Window平台安装包,包格式为:python-XYZ.msi 文件 , XYZ 为你要安装的...

2018-08-30 11:16:43 2938

原创 tcp client epoll 多socket 复用

tcp client epoll 多socket 复用#include &lt;stdio.h&gt; #include &lt;sys/types.h&gt; #include &lt;sys/socket.h&gt; #include &lt;netinet/in.h&gt; #include &lt;arpa/inet.h&gt;#include &lt...

2018-07-02 14:19:30 1108

原创 HTTPS客户端程序示例

HTTPS客户端程序示例#include &lt;stdio.h&gt;#include &lt;stdlib.h&gt;#include &lt;string.h&gt;#include &lt;sys/types.h&gt;#include &lt;sys/socket.h&gt;#include &lt;errno.h&gt;#include &lt;unistd.h&gt;

2018-06-19 17:41:22 2653

原创 gitlab和gitlab-runner安装配置以及操作实例

gitlab和gitlab-runner安装配置以及操作实例一、网站资料清华大学yum源:https://mirrors.tuna.tsinghua.edu.cn/ 包含gitlab-ce gitlab-ee gitlab-runnergitlab的中文社区,包括汉化包:https://gitlab.com/xhang/gitlabgitlab官方网站以及包:https://pa...

2018-06-19 17:30:44 11251 1

原创 MongoDB基本命令用法

成功启动MongoDB后,再打开一个命令行窗口输入mongo,就可以进行数据库的一些操作。输入help可以看到基本操作命令:show dbs:显示数据库列表 show collections:显示当前数据库中的集合(类似关系数据库中的表) show users:显示用户use :切换当前数据库,这和MS-SQL里面的意思一样 db.help():显示数据库操作命令,里面有很

2017-11-20 14:52:56 247

原创 MongoDB c 增删改查

1 inster:#include #include #include  int main (int   argc,char *argv[]){    mongoc_client_t *client;    mongoc_collection_t *collection;    bson_error_t error;    bson_oid_t oid;

2017-11-20 14:48:31 3031

空空如也

空空如也

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

TA关注的人

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