上一页 1 ··· 11 12 13 14 15 16 17 18 19 ··· 23 下一页
摘要: sudo /etc/init.d/redis start 其他重启方式: 如果是用apt-get或者yum install安装的redis,可以直接通过下面的命令停止/启动/重启redis /etc/init.d/redis-server stop /etc/init.d/redis-server 阅读全文
posted @ 2020-06-18 19:16 He_LiangLiang 阅读(25778) 评论(0) 推荐(0) 编辑
摘要: 添加:"**/*.meta":true { "git.ignoreLimitWarning": true, "files.exclude": { "**/.git": true, "**/.svn": true, "**/.hg": true, "**/CVS": true, "**/.DS_Sto 阅读全文
posted @ 2020-06-16 16:37 He_LiangLiang 阅读(326) 评论(0) 推荐(0) 编辑
摘要: if (!actData || Object.keys(actData).length == 0) { console.log(" IS empty"); } 阅读全文
posted @ 2020-06-15 19:46 He_LiangLiang 阅读(5237) 评论(0) 推荐(0) 编辑
摘要: 对服务器节点的 [cpu, rem, cpuG] 等数据进行读取和管理操作。这类记录下用到的若干TS方法。主要参考这里的 聚合查询语法。 /** * InfoManager1.ts * * 对服务器节点的 [cpu, rem, cpuG] 等数据进行读取和管理操作 * * Author:henry 阅读全文
posted @ 2020-06-15 09:45 He_LiangLiang 阅读(510) 评论(0) 推荐(0) 编辑
摘要: 1.安装python2.72.安装pip 3.网上下载gyp(python的一个模块),并安装(用python命令执行gyp文件下面的setup.py脚本)https://dist.libuv.org/dist/https://github.com/svn2github/gyphttps://gyp 阅读全文
posted @ 2020-06-15 09:34 He_LiangLiang 阅读(647) 评论(0) 推荐(0) 编辑
摘要: 特别注意,all, clean,这些命令下面,需要接 ‘Table’ 字符。(如果有python基础,会比较好理解。Table在某些语言中是很重要的一类字符) INC_DIR=-I/usr/local/include/hiredis/ LIB_DIR=-L/usr/local/lib LIB=-lh 阅读全文
posted @ 2020-06-15 09:33 He_LiangLiang 阅读(270) 评论(0) 推荐(0) 编辑
摘要: 1.搞清楚 .d.ts如何生成 /** A WebSocket connection that is valid from open to close event */ export interface WebSocket {} /** A structure holding settings an 阅读全文
posted @ 2020-06-15 09:32 He_LiangLiang 阅读(299) 评论(0) 推荐(0) 编辑
摘要: Build LLVM and Clang:cd llvm-projectmkdir build (in-tree build is not supported)cd buildcmake -DLLVM_ENABLE_PROJECTS=clang -G "Unix Makefiles" ../llvm 阅读全文
posted @ 2020-06-15 09:29 He_LiangLiang 阅读(555) 评论(0) 推荐(0) 编辑
摘要: 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 阅读(725) 评论(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 阅读(200) 评论(0) 推荐(0) 编辑
摘要: sudo yum -y install net-tools 阅读全文
posted @ 2020-06-14 19:48 He_LiangLiang 阅读(105) 评论(0) 推荐(0) 编辑
摘要: 打开工程的setting.json文件,在files.exclude这个参数(如果没有就添加上去)下增加 "**/*.meta":true 这个忽略项目: { "git.ignoreLimitWarning": true, "files.exclude": { "**/.git": true, "* 阅读全文
posted @ 2020-06-09 15:08 He_LiangLiang 阅读(1943) 评论(0) 推荐(0) 编辑
摘要: 安装好之后发现上不了网,经过一番搜索和尝试之后发现,修复的方法很简单: 进入网卡的配置文件目录: cd /etc/sysconfig/network-scripts/ 打开网卡的配置文件进行编辑。centos7下的网卡名称不再是eth0了,比如我的是ens33,那么我的网卡配置文件就是。我们需要将网 阅读全文
posted @ 2020-06-04 09:31 He_LiangLiang 阅读(554) 评论(0) 推荐(0) 编辑
摘要: windows安装openSSH-client使用PowerShell安装OpenSSH要使用PowerShell安装OpenSSH,请首先以管理员身份启动PowerShell。要确保OpenSSH功能可用于安装:Get-WindowsCapability -Online | ? Name -lik 阅读全文
posted @ 2020-06-03 14:07 He_LiangLiang 阅读(1544) 评论(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 阅读(4828) 评论(0) 推荐(0) 编辑
摘要: 问题描述: TypeScript 环境(也可以理解为node.js环境) message表示接收到客户端发来的消息,是ArrayBuffer类型。 直接打印,是一系列的数字。 可以通过 Buffer类来转换,然后调用 toString('utf-8'),转为字符串。 下面贴出代码片段: /** Ha 阅读全文
posted @ 2020-05-28 11:05 He_LiangLiang 阅读(4010) 评论(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 阅读(8997) 评论(0) 推荐(0) 编辑
摘要: https://linuxhint.com/install_llvm_centos7/ 阅读全文
posted @ 2020-05-27 15:35 He_LiangLiang 阅读(1794) 评论(0) 推荐(0) 编辑
摘要: 其实,CentOS 7安装完成,默认是已经打开了22端口的。 SSH 为 Secure Shell 的缩写,由 IETF 的网络工作小组(Network Working Group)所制定;SSH 为建立在应用层和传输层基础上的安全协议。SSH 是目前较可靠,专为远程登录会话和其他网络服务提供安全性 阅读全文
posted @ 2020-05-25 09:30 He_LiangLiang 阅读(11673) 评论(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 阅读(276) 评论(0) 推荐(0) 编辑
上一页 1 ··· 11 12 13 14 15 16 17 18 19 ··· 23 下一页