安装 vs2015 编译 google protobuf 3.5.1 下载: protobuf 3.5.1 cmake 编译 使用 VS2015开发人员命令提示 进入 protobuf 的 cmake 目录: mkdir building && mkdir debug && mkdir releas ...
分类:
其他好文 时间:
2020-07-17 13:54:58
阅读次数:
77
VirtualBox+Vagrant环境配置 一、下载安装VirtualBox和Vagrant VirtualBox下载地址:https://download.virtualbox.org/virtualbox/6.1.12/VirtualBox-6.1.12-139181-Win.exe Vagr ...
分类:
其他好文 时间:
2020-07-17 13:41:14
阅读次数:
74
背景: 因工作上要接收外部机构发来的文件,采取FTP的方式保密性差,SFTP方式则采取了加密了传输,安全性更好。因此需要搭建SFTP服务,首选Linux环境,本文使用Centos7来掩饰。 一、操作步骤 环境: [root@localhost ~]# cat /etc/redhat-release ...
分类:
其他好文 时间:
2020-07-17 11:13:08
阅读次数:
187
写这篇博文呢,主要还是为了准备集训队员交流,毕竟分块是我最喜欢的数据结构,所以我就试着写了一篇博文。 基本介绍: 分块是维护较为复杂的信息的,尤其是不满足区间可加性可减性的信息的重要工具,代码也非常的麻烦和不直观,Debug 可以 Debug 一天。而分块是以一种“暴力”的思想来维护信息的。其基本思 ...
分类:
其他好文 时间:
2020-07-17 09:37:01
阅读次数:
56
1. 前提条件 2. 配置https证书为secret 3. dashboard安装 3.1 helm拉取dashboard的chart 3.2 配置dashboard的chart包配置 3.3 helm执行创建dashboard的release 3.4 通过域名访问dashboard 4. 查看t ...
分类:
Web程序 时间:
2020-07-17 09:34:26
阅读次数:
110
.gitignore常用配置 #Maven beginning target/ pom.xml.tag pom.xml.releaseBackup pom.xml.versionsBackup pom.xml.next release.properties dependency-reduced-po ...
分类:
其他好文 时间:
2020-07-17 09:28:37
阅读次数:
83
安装Docker 1 2 3 4 5 [root@localhost /]# cat /etc/redhat-release CentOS Linux release 7.5.1804 (Core) [root@localhost /]# yum install docker-ce -y [root ...
分类:
数据库 时间:
2020-07-17 01:22:08
阅读次数:
138
工具地址 https://github.com/rebeyond/Behinder/releases 主要功能 自带一句话 工具下载解压之后,里面有五种格式的一句话木马文件 基本信息 如果成功连接,会获取服务器的基本信息,我这里测试的时候连了个php的,显示的是phpinfo内容 命令执行 可以执行 ...
分类:
其他好文 时间:
2020-07-16 21:02:14
阅读次数:
156
print 函数已老,DeBug 该靠 PySnooper 了~ deBug Python 代码再也不需要 print 了。只要给有疑问的代码加上装饰器,各种信息一目了然,找出错误也就非常简单了。 这个名为 PySnooper 的项目是刚开源的,仅仅一天就获得了 2K+ 的 Star 量,当然这「一 ...
分类:
编程语言 时间:
2020-07-16 12:30:58
阅读次数:
67
1.区间求和 2.区间取模 3.单点修改 线段树,区间取模加一个剪枝:区间最大值<mod,不修改。其他单点取模 #include <bits/stdc++.h> using namespace std; #define debug printf("bug!!!\n"); typedef long l ...
分类:
其他好文 时间:
2020-07-16 11:50:06
阅读次数:
63