上一页 1 ··· 13 14 15 16 17 18 19 20 21 ··· 25 下一页
摘要: 1.升级环境,安装gcc g++,安装若干相关依赖包yum -y updateyum install gcc gcc-c++ sudo yum -y install bzip2 wget gcc gcc-c++ gmp-devel mpfr-devel libmpc-devel makeyum in 阅读全文
posted @ 2020-06-15 09:25 He_LiangLiang 阅读(737) 评论(0) 推荐(0)
摘要: 文章内容,转自官网。 更多信息,请去官网了解: https://docs.mongodb.com/manual/reference/method/ https://docs.mongodb.com/manual/reference/operator/query-comparison/ MongoDB 阅读全文
posted @ 2020-06-15 09:13 He_LiangLiang 阅读(230) 评论(0) 推荐(0)
摘要: sudo yum -y install net-tools 阅读全文
posted @ 2020-06-14 19:48 He_LiangLiang 阅读(114) 评论(0) 推荐(0)
摘要: 打开工程的setting.json文件,在files.exclude这个参数(如果没有就添加上去)下增加 "**/*.meta":true 这个忽略项目: { "git.ignoreLimitWarning": true, "files.exclude": { "**/.git": true, "* 阅读全文
posted @ 2020-06-09 15:08 He_LiangLiang 阅读(2047) 评论(0) 推荐(0)
摘要: 安装好之后发现上不了网,经过一番搜索和尝试之后发现,修复的方法很简单: 进入网卡的配置文件目录: cd /etc/sysconfig/network-scripts/ 打开网卡的配置文件进行编辑。centos7下的网卡名称不再是eth0了,比如我的是ens33,那么我的网卡配置文件就是。我们需要将网 阅读全文
posted @ 2020-06-04 09:31 He_LiangLiang 阅读(564) 评论(0) 推荐(0)
摘要: windows安装openSSH-client使用PowerShell安装OpenSSH要使用PowerShell安装OpenSSH,请首先以管理员身份启动PowerShell。要确保OpenSSH功能可用于安装:Get-WindowsCapability -Online | ? Name -lik 阅读全文
posted @ 2020-06-03 14:07 He_LiangLiang 阅读(1606) 评论(0) 推荐(0)
摘要: 运行:strings /lib64/libc.so.6 |grep GLIBC_发现没有GLIBC_2.18下载:wget http://mirrors.ustc.edu.cn/gnu/libc/glibc-2.18.tar.gz解压:tar -zxvf glibc-2.18.tar.gz进入解压文 阅读全文
posted @ 2020-06-02 09:05 He_LiangLiang 阅读(4974) 评论(0) 推荐(0)
摘要: 问题描述: TypeScript 环境(也可以理解为node.js环境) message表示接收到客户端发来的消息,是ArrayBuffer类型。 直接打印,是一系列的数字。 可以通过 Buffer类来转换,然后调用 toString('utf-8'),转为字符串。 下面贴出代码片段: /** Ha 阅读全文
posted @ 2020-05-28 11:05 He_LiangLiang 阅读(4138) 评论(0) 推荐(0)
摘要: tar: tar 文件压缩.将abcdeFile文件夹下面的文件全部压缩。 tar -zcvf abcde.tar.gz abcdeFile/ tar 解压 tar -zxvf Python-2.7.5.tgz zip: 1.压缩文件夹为zip文件 zip -r mydata.zip mydata 阅读全文
posted @ 2020-05-27 17:32 He_LiangLiang 阅读(9020) 评论(0) 推荐(0)
摘要: https://linuxhint.com/install_llvm_centos7/ 阅读全文
posted @ 2020-05-27 15:35 He_LiangLiang 阅读(1824) 评论(0) 推荐(0)
摘要: 其实,CentOS 7安装完成,默认是已经打开了22端口的。 SSH 为 Secure Shell 的缩写,由 IETF 的网络工作小组(Network Working Group)所制定;SSH 为建立在应用层和传输层基础上的安全协议。SSH 是目前较可靠,专为远程登录会话和其他网络服务提供安全性 阅读全文
posted @ 2020-05-25 09:30 He_LiangLiang 阅读(11990) 评论(0) 推荐(0)
摘要: https://docs.mongodb.com/manual/reference/method/ https://docs.mongodb.com/manual/reference/operator/query-comparison/ MongoDB [Reference] 1.[Operator 阅读全文
posted @ 2020-05-25 09:03 He_LiangLiang 阅读(292) 评论(0) 推荐(0)
摘要: ///// callbackDefine.h #ifndef __CALL_BACK_DEFINE_H__ #define __CALL_BACK_DEFINE_H__ #include <iostream> using namespace std; // STEP1: 声明回调函数类型 typed 阅读全文
posted @ 2020-05-25 07:15 He_LiangLiang 阅读(721) 评论(0) 推荐(0)
摘要: 目录结构: github 项目地址:https://github.com/liangzai90/MyExecProject2020/tree/master/makefile_project/ASimpleMakefileProject #可执行文件的名称 NAME=Demo1 #需要包含的头文件目录 阅读全文
posted @ 2020-05-23 15:36 He_LiangLiang 阅读(216) 评论(0) 推荐(0)
摘要: 一行代码抵千言。字符串里面有登录名和密码,用特殊字符分隔。现在需要从这个字符串里面读取数据。 需要用到sscanf函数,以及通配符。 当然,这里的通配符并非完美(没有过滤非法字符、没有限制字符个数,等等) 但是,这个Demo只是是满足我们目前的需求的。当前使用,足以。 #include <stdio 阅读全文
posted @ 2020-05-20 23:33 He_LiangLiang 阅读(594) 评论(0) 推荐(0)
摘要: makefile INC_DIR=-I/opt/mongo-cxx-driver/include/mongocxx/v_noabi/ -I/opt/mongo-cxx-driver/include/bsoncxx/v_noabi/ LIB_DIR=-L/opt/mongo-cxx-driver/li 阅读全文
posted @ 2020-05-20 09:35 He_LiangLiang 阅读(453) 评论(0) 推荐(0)
摘要: 关于CMake的入门知识:https://www.hahack.com/codes/cmake/ CMakeLists.txt # CMake 最低版本号要求 cmake_minimum_required (VERSION 2.8) # 项目信息 project (hello_mongoc2) # 阅读全文
posted @ 2020-05-20 09:34 He_LiangLiang 阅读(392) 评论(0) 推荐(0)
摘要: 参考地址:https://blog.csdn.net/bit_clearoff/article/details/53966718 gdb Demo r:开始运行程序 b + n:表示 在第n行打断点例如:b 12就是在第12行打下断点 n:单步执行程序 s:跳转到函数的入口地址 p:打印变量的值 u 阅读全文
posted @ 2020-05-20 09:27 He_LiangLiang 阅读(178) 评论(0) 推荐(0)
摘要: centOS7 安装 vscode step1: down rpm file from this page.https://code.visualstudio.com/download step2: install some dependenciessudo yum install libXScrn 阅读全文
posted @ 2020-05-20 09:26 He_LiangLiang 阅读(1819) 评论(0) 推荐(0)
摘要: https://www.python.org/ftp/python/3.8.2/Python-3.8.2.tgz 安装相关依赖包:sudo yum -y install zlib-devel bzip2-devel openssl-devel ncurses-devel sqlite-devel r 阅读全文
posted @ 2020-05-20 09:25 He_LiangLiang 阅读(217) 评论(0) 推荐(0)
上一页 1 ··· 13 14 15 16 17 18 19 20 21 ··· 25 下一页