- 博客(7)
- 资源 (1)
- 收藏
- 关注
原创 archlinux基于lvm安装-uefi+gpt(非新手向)
pre-installation:1.connect to the internetping www.baidu.com2.Update the system clocktimedatectl set-ntp true3.Partition the disksparted/fdisk/cfdisk方案:/dev/da1 efi-system :512M/dev/sda2 | /dev/sda...
2021-07-22 14:48:43
1061
转载 sd
/* muti_thread_mysql_client.cpp */ #include <stdio.h> #include <string.h> #include <stdlib.h> #include <mysql/mysql.h> #include <pthread.h>...
2018-06-19 03:04:53
228
原创 ycm安装细则
安装前Ensure that your version of Vim is at least 7.4.1578 and that it has support for Python 2 or Python 3 scripting.1.Install YCMyou can install it with Vundle (or Pathogen, but Vundle is a better idea...
2018-06-04 10:38:50
546
原创 ycm安装细则
#安装vim-plug或者vundle(可选)#你需要安装cmake来进行下面的工作1、安装ycm 1.1、从github安装ycm# 下载 (在 `~/.vim/bundle` 目录下)$ git clone --recursive [https://github.com/Valloric/YouCompleteMe.git]( https://github.com/Valloric/Y...
2018-06-04 08:41:41
652
原创 跨平台(Windows+Linux)网络编程
一、网络编程在windows下和linux下的区别项目WindowsLinux主要头文件winsock.h/winsock2.hsys/socket.h fcntl.h errno.h链接库ws2_32.dll/lib连接是使用参数:-lstdc运行时需要libstdc++.so.5,可在/usr/lib目录中创建一个链接。初始化及退出初始化需要调用WSAStartup,退出需调用WSAClea...
2018-05-21 13:08:43
2429
原创 UDP打孔NET穿透
打洞过程:1.A访问S,打一个洞,洞的指向为A<->S2.B访问S,打一个洞,洞的指向为B<->S3.S访问A,告诉它:B想访问你4.A访问B,洞的指向为A<->B,这个包B的路由器NATB收到后不会转发给B,而是丢弃,因为它认为这是来历不明的包5.B访问A,洞的指向为B<->A,此时A与B可以进行双向通信,打洞成功...
2018-05-14 17:30:01
476
西农大算法分析-父子打牌
2018-01-12
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人