grub 尝试了好多种方法,引导修复grub2的win7引导文件,始终无法进入之前的win7系统,选择win7之后却进入引导安装Ubuntu的命令页面,进入grub命令,输入以下命令,成功。 find --set-root /bootmgr(回车) chainloader /bootmgr(回车) ...
==时区修改== 查看当前时区:date 查看时区列表:timedatectl list-timezones 修改时区:timedatectl set-timezone Asia/Shanghai ==配置文件== centos8已经没有ntp时间同步服务了,使用的是chrony。 配置文件:vim ...
分类:
其他好文 时间:
2021-06-17 17:09:13
阅读次数:
0
在JS当中,数据类型分为基本数据类型和引用类型,其中基本数据类型(string,number,boolean,undefined,null,symnol......),引用类型为Object(Array、Object、Function......)。 内存分为栈内存和堆内存,其中栈内存用来存储基本数 ...
分类:
Web程序 时间:
2021-06-17 17:07:54
阅读次数:
0
C# detect driver ssd/hdd 来自github的代码,略做了一丢丢修改。 using Microsoft.Win32.SafeHandles; using System; using System.Collections.Generic; using System.Compone ...
参考文章(写的很详细):https://www.cnblogs.com/xujunkai/p/12364619.html 前言: 跑接口自动化或者其他程序运行时,如果只能保存一份log文件,可能会存在,log文件越来越大的问题,加载缓慢,查找日志也比较慢,增加日志根据天来保存,定期清理日志,可以达到 ...
分类:
编程语言 时间:
2021-06-17 17:02:45
阅读次数:
0
插入数据,存在就更新,不存在就插入: insert into tablename (key1,key2,key3) values ('xxx','xxx','xxx') on conflict(key1) do update set key2 = 'yyy',key3 = 'yyy'; 修改表中的字 ...
分类:
数据库 时间:
2021-06-17 17:01:10
阅读次数:
0
查询排序order by,正序asc 倒序desc。 分组查询group by,分组查询后筛选使用having; 默认值约束 default; 非空约束not null;注:非空字段必须赋值。唯一约束unique; 主键(非空+唯一)primary key; 自增长zerofill; 外键CONST ...
分类:
数据库 时间:
2021-06-17 16:52:03
阅读次数:
0
1. 打包javascript 1) 安装所需的包 npm install --save-dev @babel/core @babel/cli @babel/preset-env 2) 设置配置 方式一:babel.config.json { "presets": [ [ "@babel/env", ...
分类:
其他好文 时间:
2021-06-17 16:51:37
阅读次数:
0
dim(t1) attributes(t1) #综合输出所有行名、列名、以及class结果。 str(t1) #显示每个变量的行列数和类型 class(t1) #查看变量类型,vector、data.frame、matrix、factor、listmode(t1) #查看数据大类,character ...
分类:
其他好文 时间:
2021-06-17 16:38:05
阅读次数:
0
#include <stdio.h> #include <string.h> #include <stdint.h> #include <errno.h> #include <sys/queue.h> #include <rte_launch.h> #include <rte_eal.h> #inc ...
分类:
其他好文 时间:
2021-06-17 16:28:03
阅读次数:
0