The magic shop in Mars is offering some magic coupons. Each coupon has an integer N printed on it, meaning that when you use this coupon with a produc ...
分类:
其他好文 时间:
2021-03-06 14:44:48
阅读次数:
0
插槽 将元素作为承载分发内容的出口 <todo-button> Add todo </todo-button> // to-do 组件模板 <button> <slot></slot> </button> 插槽可以包含任何的模板代码 HTML 组件 如果template中没有包含一个元素,则该组件起 ...
分类:
其他好文 时间:
2021-03-06 14:21:29
阅读次数:
0
from django.contrib import admin# Register your models here.#注册模型# admin.site.register(模型类)from book.models import BookInfo, PeopleInfoadmin.site.regi ...
分类:
其他好文 时间:
2021-03-05 13:18:58
阅读次数:
0
1、在/root/bin目录创建脚本xcall.sh 2、脚本本周编写内容 [root@wd ~]# vi xcall.sh !/bin/bash for i in wd.idc.com wd2 wd1 do echo $i ssh $i "$*" done 3、修改脚本执行权限 [root@wd ...
分类:
其他好文 时间:
2021-03-05 12:59:52
阅读次数:
0
harbor:私人镜像仓库,搭建在本地可以对镜像起到一个远程存储和复用的用途 安装方式:docker-compose通过yaml 1、搜索harbor的github地址,通过点点点的方式找到harbor的安装压缩包 2、wget到本地,eg: wget https://github.com/goha ...
分类:
其他好文 时间:
2021-03-04 13:35:16
阅读次数:
0
安装client编程库 根据原理图, 我们知道自动化程序需要调用客户端库和 Appium Server 进行通信。 因为我们介绍Python语言开发,所以当然是用pip安装,如下 pip install appium-python-client 安装Appium Server Appium Serv ...
分类:
移动开发 时间:
2021-03-04 13:09:17
阅读次数:
0
一个简单的主入口是这样滴: import sys sys.path.append('..') import torch from pytorch_pretrained_bert import BertTokenizer, BertModel, BertForMaskedLM # Load pre-t ...
分类:
其他好文 时间:
2021-03-03 12:08:49
阅读次数:
0
shell #! /bin/bash #外层循环 for ((i=1;i<=9;i++)) do #内层循环 for ((j=1;j<=i;j++)) do #计算2个数的乘积 let "product=i*j" #输出乘积 printf "i*i?j=$product" #输出空格分隔符 if [ ...
分类:
编程语言 时间:
2021-03-03 11:55:14
阅读次数:
0
转自:https://mp.weixin.qq.com/s/MVSIRRzEvU9TxTe2MH0pAA 作者:Kubernetes Blog k8s技术圈 2020-12-03 Kubernetes 在 v1.20 版本之后将废弃 Docker 作为容器运行时。 事实上你完全不需要感到恐慌。 Do ...
分类:
Web程序 时间:
2021-03-03 11:49:07
阅读次数:
0
问题:pyhton 3安装module报错ERROR: Could not find a version that satisfies the requirement config.paths % pip install config.paths ERROR: Could not find a ve ...
分类:
编程语言 时间:
2021-03-03 11:48:53
阅读次数:
0