Eating out What do you think of Haidilao hot pot Kung Pao Chicken roast Beijing duck Chop bell pepper fish head 剁椒鱼头 Yuxiang shredded pork 鱼香肉丝 Buddha ...
分类:
其他好文 时间:
2021-05-24 03:55:56
阅读次数:
0
C++ stdlower_bound and stdset::lower_bound 在set中使用stdlower_bound发现非常耗时,而使用stdsetlower_bound发现速度明显提升。 该文章解释说明了这两个的区别,在set中使用stdset::lower_bound才是最好的选择。 ...
分类:
其他好文 时间:
2021-05-24 03:15:28
阅读次数:
0
yum 报错 解决办法: 一:注册账号 1,访问网址:https://developers.redhat.com/ 2,滚动滑轮至网页底部,点击join Red hat Edveloper 3,开始注册账号 注册完成后即成为红帽开发者 二:激活系统 激活命令: subscription-manage ...
分类:
其他好文 时间:
2021-05-24 02:56:44
阅读次数:
0
1、Ansible简介 定义:Ansible是一个开源部署工具 Ansible与Chef,Saltstack的不同: Chef Ruby语言编写,C/S架构,配置需要Git依赖,Recipe脚本编写规范,需要编程经验 Saltstack Python语言编写,C/S架构,模块化配置管理,YAML脚本 ...
分类:
其他好文 时间:
2021-05-24 02:10:44
阅读次数:
0
Redis 主备复制 1 相关配置: 1) replicaof <masterip> <masterport> 2) masterauth <master-password> 设置时候 replica 在发送同步相关的命令时会被要求 authenticate 3) masteruser <usern ...
分类:
其他好文 时间:
2021-05-23 23:35:00
阅读次数:
0
分类:数组-统计数组中的元素 题目描述: 给定一个范围在 1 ≤ a[i] ≤ n ( n = 数组大小 ) 的 整型数组,数组中的元素一些出现了两次,另一些只出现一次。 找到所有在 [1, n] 范围之间没有出现在数组中的数字。 您能在不使用额外空间且时间复杂度为O(n)的情况下完成这个任务吗? ...
分类:
编程语言 时间:
2021-05-23 23:00:05
阅读次数:
0
分布式爬虫默认八数据存储在redis中,可以将数据转存到Monogdb或Mysql中,从而降低内存消耗。 from redis import Redisfrom pymongo import MongoClientimport jsondef redis_to_mongodb(): redis_cl ...
分类:
其他好文 时间:
2021-05-04 16:35:44
阅读次数:
0
Qt QPainter QBrush 填充区域 QBrush brush; brush.setColor(Qt::red);//设置颜色 brush.setStyle(Qt::SolidPattern); painter.setBrush(brush); painter.drawRect(rect3 ...
分类:
其他好文 时间:
2021-05-04 16:25:58
阅读次数:
0
HTTP响应码 200 存在文件 403 存在文件及 3xx可能存在 404 不存在文件及文件夹 500 均可能存在 burpsuite抓取https 墨者学院网址 火狐浏览器,添加插件 hackbar2 php投票伪造 修改forward burpsuite 抓包——右键——send to int ...
分类:
Web程序 时间:
2021-05-03 13:00:58
阅读次数:
0
大家五一快乐呀 (~ ̄▽ ̄)~ 比赛链接:https://codeforces.com/contest/1519 A. Red and Blue Beans 题意 有 \(r\) 个红色豆子和 \(b\) 个蓝色豆子,需要将它们分成几包,要求每包: 至少有一个红色豆子 至少有一个蓝色豆子 两种颜色豆 ...
分类:
其他好文 时间:
2021-05-03 12:59:22
阅读次数:
0