mysql 消除 "[Warning] Using a password on the command line interface can be insecure"的方法 ...
分类:
数据库 时间:
2020-01-04 20:13:30
阅读次数:
65
代理模式的分类: 静态代理 动态代理 静态代理 代码步骤: 接口(提取关键方法) 真实角色(原本的实现对象) 代理角色(扩展功能) 客户端访问代理角色(方法增强的结果) 1 //租房 2 public interface Rent { 3 void rent(); 4 } 1 //真实角色 房东 2 ...
分类:
其他好文 时间:
2020-01-04 20:12:57
阅读次数:
82
1 #import "ViewController.h" 2 #import "Person.h" 3 4 @interface ViewController () 5 6 @end 7 8 @implementation ViewController 9 10 - (void)viewDidLoa ...
分类:
移动开发 时间:
2020-01-04 16:39:17
阅读次数:
104
添加端口映射netsh interface portproxy add v4tov4 listenport=1234 connectaddress=10.18.51.10 connectport=3389 listenaddress=* protocol=tcp 查看端口映射netsh interf ...
分类:
其他好文 时间:
2020-01-04 14:17:06
阅读次数:
90
1.POSIX表示可移植操作系统接口(Portable Operating System Interface of UNIX,缩写为 POSIX ),POSIX标准定义了操作系统应该为应用程序提供的接口标准。 POSIX标准意在期望获得源代码级别的软件可移植性。换句话说,为一个POSIX兼容的操作系 ...
分类:
其他好文 时间:
2020-01-04 12:42:59
阅读次数:
135
多态为java的三大特性之一,了解学习多态,将更了解java。 多态实现条件 继承与重写(方法的多态性) 接口(对象的多态性) 抽象类与抽象方法(对象的多态性) 向上转型和向下转型 向上转型:父类 父类对象 = 子类实例 向下转型:子类 子类对象 = (子类)父类对象 当父类需要调用子类的扩充方法时 ...
分类:
编程语言 时间:
2020-01-04 12:26:06
阅读次数:
67
WSGI 什么是WSGI? wsgi 是一个 web 组件的接口规范(WSGI is the Web Server Gateway Interface. It is a specification that describes how a web server communicates with w ...
分类:
其他好文 时间:
2020-01-04 01:31:21
阅读次数:
115
Spring Boot入门 一、第一个Spring Boot程序 1.导入springBoot 依赖 2.创建包,控制器和主程序入口 3.运行这个 方法访问控制层映射 第一个SpringBoot程序结束 二、解析入门程序 1.POM文件解析 1.1 spring Boot 依赖存在父依赖 ? 第一个 ...
分类:
编程语言 时间:
2020-01-03 23:01:26
阅读次数:
82
https://www.jianshu.com/p/46b42f7f593c 本文通过探析JDK提供的,在开源项目中比较常用的Java SPI机制,希望给大家在实际开发实践、学习开源项目提供参考。 1 SPI是什么 SPI全称Service Provider Interface,是Java提供的一套 ...
分类:
编程语言 时间:
2020-01-03 15:33:53
阅读次数:
85
Person接口 package com.zhoucong.proxy.jdk; public interface Person { // 寻找真爱 void findlove(); } 人物实现类 package com.zhoucong.proxy.jdk; public class Zhang ...
分类:
其他好文 时间:
2020-01-03 14:19:47
阅读次数:
77