在spring中将bean 注册到spring 容器中常见的有三种方式(两类): 先说明配置文件内容:application.yml,有一段配置如下 第一类:将单个类注册到容器中 第一种,使用 @ConfigurationProperties + @Component,配置 GoogleUser 第 ...
分类:
其他好文 时间:
2018-08-25 23:01:08
阅读次数:
173
安装oracle数据时需要用到图形界面安装,当我们用root用户登录后切换到oracle用户时运行./runInstaller提示报错: Can't connect to X11 window server using ':1.0' as the value of the DISPLAY varia ...
7.1 if-else 语法:if(condition) statement [else statement] # awk -F: '{if($3>=1000) {printf "Common user: %s\n",$1} else {printf "root or Sysuser: %s\n", ...
分类:
其他好文 时间:
2018-08-24 22:54:11
阅读次数:
211
1、启动gitlab-runner 2、注册runner 注: url 和token来自 gitlab 的 Settings--> CI/CD --> Runners 进入gitlab-runner容器生成的配置文件 cat /etc/gitlab-runner/config.toml,如下所示: ...
分类:
其他好文 时间:
2018-08-24 00:31:58
阅读次数:
974
Is there a universal JavaScript function that checks that a variable has a value and ensures that it's not undefined or null? I've got this code, but ...
分类:
其他好文 时间:
2018-08-22 12:07:06
阅读次数:
127
1. 代码使得语句之间的依赖关系变得明显吗? 2.子程序的名称使得依赖关系变得明显吗? 3. 子程序的参数使得依赖关系变得明显吗? 4. 如果依赖关系不明确,是否使用注释进行了说明? 5. 你用内务管理变量 “housekeeping variable” 来检查代码中关键位置的顺序依赖关系了吗? 6 ...
分类:
其他好文 时间:
2018-08-22 00:20:51
阅读次数:
184
jmeter --响应断言详解 响应断言 :对服务器的响应进行断言校验 (1)应用范围: main sample and sub sample, main sample only , sub-sample only , jmeter variable 关于应用范围,我们大多数勾选“main samp ...
分类:
其他好文 时间:
2018-08-21 17:12:10
阅读次数:
105
前提:1.windows 10 系统(不是win8,也不是win7)2.安装JDK步骤 1. 打开 环境变量窗口右键 This PC(此电脑) -> Properties(属性) -> Advanced system settings(高级系统设置) -> Environment Variables ...
分类:
编程语言 时间:
2018-08-20 14:30:08
阅读次数:
162
#****************Top invoking********************all: com sim #*****************Variable***********************OUTPUT = USB_Dual_Port#ALL_DEFINE = +de ...
分类:
其他好文 时间:
2018-08-19 11:05:49
阅读次数:
202
#*******************variable**************************set NAME liugaopengset var 0#set_app_var target_library [list *.db] #*******************Processs ...
分类:
其他好文 时间:
2018-08-19 11:02:19
阅读次数:
173