25、自动装配 @Profile根据环境注册bean 指定组件在哪个环境的情况下才能被注册到容器中 加了环境标识的,只有这个环境被激活才能注册到组件中 默认是default环境 写在类上,整个配置类的激活的时候才能生效 没有标注环境标识的bean,在任何环境下都是加载的 25.1 实现 运行: 25 ...
分类:
其他好文 时间:
2018-11-30 20:51:30
阅读次数:
122
红色表示重点词汇 蓝色表示句子主干 带着问题听讲解 Q1: “preference”是什么意思? Q2: 人们最明显的倾向是优先救哪几类人? Q3: 罪犯的优先级如何? How people think that self-driving cars should behave in an accid ...
分类:
其他好文 时间:
2018-11-30 14:10:10
阅读次数:
272
21、 Merge Two Sorted Lists Merge two sorted linked lists and return it as a new list. The new list should be made by splicing together the nodes of th ...
Problem Description There are N villages, which are numbered from 1 to N, and you should build some roads such that every two villages can connect to ...
分类:
其他好文 时间:
2018-11-30 11:18:10
阅读次数:
149
1、安装的docker版本 [root@controller ~]# docker --versionDocker version 17.09.1-ce, build 19e2cf6 2、安装的ansible版本 [root@controller ~]# ansible --versionansib ...
分类:
其他好文 时间:
2018-11-29 15:00:56
阅读次数:
627
public class TrinityLock { //为3表示允许两个线程同时获得锁 private final Sync sync = new Sync(3); private static final class Sync extends AbstractQueuedSynchronizer ...
分类:
其他好文 时间:
2018-11-28 12:35:39
阅读次数:
207
Difficulty: Medium More:【目录】LeetCode Java实现 Description Given an input string, reverse the string word by word. Example: Note: A word is defined as a ...
分类:
其他好文 时间:
2018-11-27 11:13:42
阅读次数:
144
(一)题目描述 Merge two sorted linked lists and return it as a new list. The new list should be made by splicing together the nodes of the first two lists. ...
分类:
其他好文 时间:
2018-11-27 01:43:59
阅读次数:
207
Merge two sorted linked lists and return it as a new list. The new list should be made by splicing together the nodes of the first two lists. Example: ...
分类:
其他好文 时间:
2018-11-26 20:19:11
阅读次数:
205
"文档" yarn add @nestjs/passport passport passport http bearer @nestjs/jwt passport jwt auth.service.ts jwt.strategy.ts app.module.ts app.controller.ts ...
分类:
Web程序 时间:
2018-11-25 01:24:51
阅读次数:
1787