kubernet 1、关闭swapswapoff -a/etc/fstab 注释swap分区 2、将桥接的IPv4流量传递到iptables的链cat > /etc/sysctl.d/k8s.conf <<EOFnet.bridge.bridge-nf-call-ip6tables = 1net.b ...
分类:
Web程序 时间:
2020-07-16 00:11:48
阅读次数:
120
Part1 Not only did they develop such a device but by the turn of the millennium they had also managed to embed it in a worldwide system accessed by bi ...
分类:
其他好文 时间:
2020-07-16 00:01:44
阅读次数:
163
批量插入数据两种方式 1. 查询后插入 <insert id="saveInfo" parameterType="java.util.List" useGeneratedKeys="true" keyProperty="id"> insert into v_product_info ( `deman ...
分类:
其他好文 时间:
2020-07-15 22:48:06
阅读次数:
75
一、效果图: 应用: 二、上代码 <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> ...
分类:
Web程序 时间:
2020-07-15 16:05:09
阅读次数:
104
###Windows驱动 // type.h #ifndef TYPE_H #define TYPE_H #include <setupapi.h> struct wdi_device_info { struct wdi_device_info *next; unsigned short vid; ...
with tf.device("gpu:1"): 该语句用来指派特定的CPU或GPU执行操作; 变量是为了维护图执行过程中的状态信息;当训练模型时,用变量来存储和更新参数,变量包含张量存放于内存的缓冲区,建模时需要被明确的初始化,模型训练后它们必须被存储到磁盘中;模型训练和分析时变量可被加载;变量的 ...
分类:
其他好文 时间:
2020-07-14 21:48:34
阅读次数:
71
参考:https://www.cnblogs.com/kevingrace/p/5740940.html 一,Drbd介绍 DRBD(Distributed ReplicatedBlock Device)是一种基于软件的,无共享,分布式块设备复制的存储解决方案,在服务器之间的对块设备(硬盘,分区,逻 ...
分类:
其他好文 时间:
2020-07-14 18:51:01
阅读次数:
87
效果图 <!DOCTYPE html> <html> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user ...
分类:
Web程序 时间:
2020-07-14 18:34:16
阅读次数:
252
原理:Fedora-Server ISO 文件中的引导安装程序本身就支持该种方式,我们仅仅是利用该特性而已。而不是自己创新方式。 要求: 0. 一个可引导至vmlinuz的启动引导器,很多,如:grub4dos,呵呵——我的最爱 1. Fedora -Server ISO光盘文件内 isolinux ...
分类:
其他好文 时间:
2020-07-14 16:22:42
阅读次数:
60
Convolutional Layer import torch in_channels, out_channels = 5, 10 width, height = 100, 100 kernel_size = 3 batch_size = 1 input = torch.randn(batch_s ...
分类:
其他好文 时间:
2020-07-14 13:50:42
阅读次数:
98