CentOS7 | 常用操作合集 🔶修改网卡名为eth0的形式 安装界面中,按TAB键进入到内核参数配置界面,并手工输入如下参数,输入完毕后按回车键继续: net.ifnames=0 biosdevname=0 🔶配置网络 nmtui cat /etc/sysconfig/network-scr ...
分类:
其他好文 时间:
2020-11-01 22:19:47
阅读次数:
29
#include <stdio.h> #include <stdlib.h> //数组的应用:顺序表【线性表的一种存储方式】 struct Arr { int * pBase; //保存首地址 int len; //数组的总长度 int cet; //cet: current efficient(当 ...
分类:
编程语言 时间:
2020-11-01 22:05:49
阅读次数:
23
先贴下自己的简单代码 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