先贴下自己的简单代码 import javax.persistence.*; import java.util.Date; import java.util.UUID; @Entity @Table(name = "vehicle") public class Vehicle { /** seria ...
分类:
编程语言 时间:
2020-11-01 10:30:32
阅读次数:
16
element中分页(Pagination)组件点前进键有时会跳两页 原因是 currentchange(current){ // this.$emit('show',{page:current,size:this.pageination.pageSize}); console.log("curre ...
分类:
其他好文 时间:
2020-11-01 10:04:50
阅读次数:
13
一、安装tensorflow-gpu 1.安装 conda activate py36conda create -n tensorflow conda install tensorflow-gpu //安装 2.若安装提示下面的错误。 解决方案:打开Anaconda Prompt(miniconda ...
命令: show processlist; 如果是root帐号,你能看到所有用户的当前连接。如果是其它普通帐号,只能看到自己占用的连接。 show processlist;只列出前100条,如果想全列出请使用show full processlist; 每个与mysqld的连接都在一个独立的线程里运 ...
分类:
数据库 时间:
2020-10-30 12:20:21
阅读次数:
21
""" 学生管理系统 1.添加学生信息 2.删除学生信息 3.修改学生信息 4.查找学生信息 5.退出系统 """ import time def print_info(): print("=" * 30) print("欢迎使用学生管理系统") print("1. 添加学生信息") print(" ...
分类:
其他好文 时间:
2020-10-29 09:49:18
阅读次数:
17
view log vim -- filename in vim :set number 。this can show line number cursor position as reference point ?:look up /:look down ...
分类:
系统相关 时间:
2020-10-29 09:48:46
阅读次数:
31
输出n的阶乘#include<stdio.h>#include<Windows.h>#pragmawarning(disable:4996)intFact(intn){intret=1;for(inti=1;i<=n;i++){ret*=i;}returnret;}intmain(){intn=5;intresult=Fact(n);printf("%d\n
分类:
移动开发 时间:
2020-10-27 11:34:27
阅读次数:
31
1、索引的分类 普通索引(单列索引):一个索引只包含单个列,一个表可以有多个; create index idx_brand_name on brand(name); alter table brand add index idx_brand_name(name); show index from ...
分类:
数据库 时间:
2020-10-27 11:13:40
阅读次数:
23
第一步:换清华源(.condarc),需要注意是http不是https channels: - http://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main/ - http://mirrors.tuna.tsinghua.edu.cn/anaconda ...
分类:
其他好文 时间:
2020-10-22 22:37:06
阅读次数:
25
题意简述:求对于树上每个点 \(x\) ,包含它的链的并集的大小之和,也可描述成,求对于树上每个点 \(x\) ,它能够到达的点的个数之和。 不难发现,对于点 \(x\) 而言,通过树上的路径,它能够到达的点一定构成一棵树。并且这棵树上一定含有包含 \(x\) 点的 \(s_i,t_i\) 。那么也 ...
分类:
编程语言 时间:
2020-10-18 10:07:36
阅读次数:
28