在Windows中,有时特定的ip只能访问特定的网络,就需要进行路由的转发。 1.查询路由信息 route print -4 是查询IPv4的路由信息,若要查询所有的,把`-4`去掉即可。 2.添加路由 route -p add 目的ip mask 子网掩码 下一跳ip 例如把目的为:10.100. ...
EnableAutoConfiguration This class-level annotation tells Spring Boot to “guess” how you want to configure Spring, based on the jar dependencies that ...
分类:
其他好文 时间:
2021-06-04 19:47:18
阅读次数:
0
直接上代码 void Add(int a, double b, short c, const char * f) { std::cout << f << a << ", " << b << ", " << c << ";\n"; } void *p = nullptr; template <type ...
分类:
编程语言 时间:
2021-06-04 19:35:50
阅读次数:
0
修改build.gradle文件 // Top-level build file where you can add configuration options common to all sub-projects/modules. buildscript { repositories { goog ...
分类:
移动开发 时间:
2021-06-04 19:09:13
阅读次数:
0
1.上传jar到服务器的指定目录 2.在该目录下创建Dockerfile 文件 vi Dockerfile 3.编写Dockerfile FROM java:8-jdk MAINTAINER yy ADD map-1.0-SNAPSHOT.jar map.jar EXPOSE 8080 ENTRYP ...
分类:
编程语言 时间:
2021-06-04 19:02:42
阅读次数:
0
win10运行calc打开计算器提示 需要新应用打开此calculator的解决方法 1、先将所有程序关闭,以管理员身份运行 Windows PowerShell;2、在Windows PowerShell框中键入下面命令:Get-AppXPackage -AllUsers | Foreach {A ...
USE [dbo].[MySchool] GO IF COL_LENGTH('Student','Score') IS NULL BEGIN ALTER TABLE Student ADD Score DOUBLE END GO COL_LENGTH判断表中是否含有列,比如此处判断Student表中 ...
分类:
数据库 时间:
2021-06-03 18:27:49
阅读次数:
0
<head lang="en"> <meta charset="UTF-8"> <title></title> <style> * { padding: 0; margin: 0; } .wrap { width: 300px; margin: 100px auto 0; } table { bor ...
分类:
其他好文 时间:
2021-06-03 18:19:27
阅读次数:
0
1 下载解压elasticsearch tar -zxvf elasticsearch-7.6.1-linux-x86_64.tar.gz 2)修改config/elasticsearch.yml vim config/elasticsearch.yml cluster.name: my-appli ...
分类:
系统相关 时间:
2021-06-03 18:02:47
阅读次数:
0
1. 创建索引 1.1 使用Alter创建索引 1 添加主键索引 特点:数据列不允许重复,不能为null,一张表只能有一个主键;Mysql主动将该字段进行排序 ALTER TABLE 表名 ADD Primary key (col); 添加唯一索引 特点:索引列是唯一的,可以null;Mysql主动 ...
分类:
数据库 时间:
2021-06-02 20:33:22
阅读次数:
0