VirtualBox 中有 4 中网络连接方式: NAT Bridged Adapter Internal Host-only Adapter VMWare 中有三种,其实他跟 VMWare 的网络连接方式都是一样概念,只是比 VMWare 多了 Internal 方式。 要让自己(或别人)理解深刻 ...
分类:
其他好文 时间:
2020-04-21 23:57:59
阅读次数:
107
题目描述 Given an array nums, there is a sliding window of size k which is moving from the very left of the array to the very right. You can only see the ...
[TOC] API serializers.Serializer 序列化 read_only = True choice字段 一对多 & 多对多 先把其他序列化类(publisherserializer,authorserializer)写完 通过有没有many = True来区分 一对多和多对多 ...
分类:
其他好文 时间:
2020-04-21 15:37:06
阅读次数:
60
实验,演示过了 redis cluster模式下,不建议做物理的读写分离了 我们建议通过master的水平扩容,来横向扩展读写吞吐量,还有支撑更多的海量数据 redis单机,读吞吐是5w/s,写吞吐2w/s 扩展redis更多master,那么如果有5台master,不就读吞吐可以达到总量25/s ...
分类:
其他好文 时间:
2020-04-21 09:16:58
阅读次数:
56
已知host-only模式的网卡网段为:192.168.74.1/24,探测up主机: root@kali:~# nmap -sn 192.168.74.1/24 Starting Nmap 7.80 ( https://nmap.org ) at 2020-03-31 19:55 CST Nmap ...
分类:
其他好文 时间:
2020-04-19 22:22:35
阅读次数:
113
vmware虚拟机的网卡 1.Bridged(桥接模式) 2.NAT(网络地址转换模式) 3.Host-only(仅主机模式) 1.Bridged(桥接模式) 桥接模式:就是将主机网卡和虚拟机虚拟的网卡利用虚拟网桥进行通信在虚拟模式的作用下,类似于把物理主机虚拟为一个交换机,所有桥接设置的虚拟机连接 ...
分类:
系统相关 时间:
2020-04-18 23:20:40
阅读次数:
132
问题描述:db2 怎么获取第一条数据 解决方案: select * from table fetch first 1 rows only 如果是取前三条,把数字修改成3即可 ...
分类:
数据库 时间:
2020-04-18 22:33:02
阅读次数:
124
"PyTorch官网" "PyTorch官方教程" "PyTorch官方文档" "动手学深度学习PyTorch版" 安装 新建环境: 安装一些可能要用到的包(非必须,看自己情况): 安装PyTorch: GPU版根据CUDA版本不同命令也不同,可以去 "这里" 查看安装命令 ...
分类:
其他好文 时间:
2020-04-17 21:46:01
阅读次数:
65
查询监控项 select * from endpoint e inner join endpoint_counter c on e.id = c.endpoint_id where c.counter = "metric_name" and endpoint = "host_name" 模拟登录获取 ...
分类:
其他好文 时间:
2020-04-16 11:43:44
阅读次数:
113