原题链接在这里:https://leetcode.com/problems/01-matrix/description/ 题目: Given a matrix consists of 0 and 1, find the distance of the nearest 0 for each cell. ...
分类:
其他好文 时间:
2018-09-07 10:58:27
阅读次数:
176
1.let所声明的变量,只在let命令所在的代码块内有效。 效果: 8 Uncaught ReferenceError: a is not defined 2.不存在变量提升 3.不许重复使用 let不允许在相同作用域内,重复声明同一个变量。 ...
分类:
其他好文 时间:
2018-09-06 12:41:18
阅读次数:
139
工具:idea 环境:java8、maven3 版本:spring boot 1.5.15.RELEASE 1.搭建spring boot eureka项目 2. pom.xml添加相应依赖,如下: 3.修改配置文件后缀为yml,application.yml内容如下: 4. 新建applicati ...
分类:
其他好文 时间:
2018-09-05 20:01:19
阅读次数:
484
callback是python的内置函数 英文说明: callable(object) Return True If the object argument appears callable,False if Not. If this return true,it is still posssibl ...
分类:
编程语言 时间:
2018-09-03 15:00:17
阅读次数:
134
get() get方法用于拦截某个属性的读取操作,可以接受三个参数,依次为目标对象、属性名和 proxy 实例本身(严格地说,是操作行为所针对的对象),其中最后一个参数可选。 get方法的用法,上文已经有一个例子,下面是另一个拦截读取操作的例子。 ...
分类:
其他好文 时间:
2018-09-01 23:49:16
阅读次数:
202
SELinux(Security-EnhancedLinux)是美国国家安全局在Linux开源社区的帮助下开发的一个强制访问控制(MAC,MandatoryAccessControl)的安全子系统。Linux系统使用SELinux技术的目的是为了让各个服务进程都受到约束,使其仅能获取到本应获取的资源。例如,你在电脑上安装了一个美图软件,当你在全神贯注地使用它给照片进行美颜时,它却在后台默默监视着你
分类:
系统相关 时间:
2018-08-27 18:14:41
阅读次数:
330
1、OceLot中间件介绍 在传统的BS应用中,随着业务需求的快速发展变化,需求不断增长,迫切需要一种更加快速高效的软件交付方式。微服务可以弥补单体应用不足,是一种更加快速高效软件架构风格。单体应用被分解成多个更小的服务,每个服务有自己的独立模块,单独部署,然后共同组成一个应用程序。把范围限定到单个 ...
分类:
Web程序 时间:
2018-08-26 01:17:54
阅读次数:
5478
zbb_ioc_aop https://pan.baidu.com/disk/home#/all?vmode=list&path=%2Fcode%2Fspring pom.xml web.xml applicationContext.xml spring-mvc.xml LoggerAspect.j ...
分类:
编程语言 时间:
2018-08-24 16:09:23
阅读次数:
171
原文网址:https://www.cnblogs.com/shike8080/articles/6549339.html #pragma once#include <iostream>#include <windows.h>#include <wininet.h> using namespace s ...
分类:
编程语言 时间:
2018-08-24 13:21:39
阅读次数:
1759
官网: https://material.io/design/ https://meterial.io/components 优秀的Meterial design站点: http://materialdesignblog.com/ 并不是万能的,都有约束条件。 优点:兼容性好,可扩展性强,可测试性好 ...
分类:
其他好文 时间:
2018-08-24 10:53:54
阅读次数:
643