交换机配置 172.10.103.2 可以ping通172.10.103.82 172.10.104.81 不可以ping通172.10.104.82 原因是 交换机没有放通vlan1,执行 port trunk allow-pass vlan all ...
分类:
其他好文 时间:
2020-07-21 14:26:25
阅读次数:
88
?transfomer是谷歌在17年论文 Attention Is All You Need(https://arxiv.org/abs/1706.03762)里提出来的。是为了解决机器翻译问题而生的。在Attention Is All You Need这篇paper中整个模型还是采用encoder ...
分类:
其他好文 时间:
2020-07-20 15:25:03
阅读次数:
110
方法一: 使用原版wine,并配置q4wine,并下载最新的wechat 进行安装使用; 可能会出现问题,需要自己调试解决; 方法二: 使用deepin-wine 和deepin-wechat,因为这个已经得到了测试,所以错误少点,用的人也多一点; 安装方式: https://gitee.com/w ...
手撸k8s遇到这个问题多半是kubernetes-dashboard还没有装好 输入命令 kubectl get pods --all-namespaces 看到 READY 1/1 说明就装好了 ,如果是0/1 那是还没有装好,国内网速原因,我是10分钟左右就装好了 开启 keberctl pro ...
分类:
Web程序 时间:
2020-07-19 23:55:10
阅读次数:
111
太难了 #A 接着A题漏判好多, 真不如枚举简单 看代码吧, 一般是漏情况wa #include <bits/stdc++.h> #define all(n) (n).begin(), (n).end() #define se second #define fi first #define pb p ...
分类:
其他好文 时间:
2020-07-19 21:13:04
阅读次数:
218
Given n balloons, indexed from 0 to n-1. Each balloon is painted with a number on it represented by array nums. You are asked to burst all the balloon ...
分类:
其他好文 时间:
2020-07-19 18:05:12
阅读次数:
68
//ini_set('error_reporting', 0); ini_set('error_reporting',E_ALL);//设置报告错误级别 $debug = false; if($debug){ //为true时,将错误显示在浏览器 ini_set("display_errors"," ...
分类:
Web程序 时间:
2020-07-19 17:43:48
阅读次数:
95
1.get: book = BookInfo.objects.get(id=100) #查数据库模型BookInfo中id为100的数据 2.all: book = BookInfo.objects.all() #查数据库模型BookInfo中所有数据 3.count: book = BookInf ...
分类:
其他好文 时间:
2020-07-19 11:54:47
阅读次数:
104
Given a singly linked list, you are supposed to rearrange its elements so that all the negative values appear before all of the non-negatives, and all ...
分类:
其他好文 时间:
2020-07-19 00:50:18
阅读次数:
85
Given a non-negative integer N, your task is to compute the sum of all the digits of N, and output every digit of the sum in English. Input Specificat ...
分类:
其他好文 时间:
2020-07-18 21:49:07
阅读次数:
59