使用该参数,container内的root拥有真正的root权限。 不然,container内的root只是外部的一个普通用户权限。 privileged启动的容器,能够看到不少host上的设备,而且能够执行mount。 甚至容许你在docker容器中启动docker容器。html
<repositories>
<repository>
<id>public</id>
<name>aliyun nexus</name>
<url>http://maven.aliyun.com/nexus/content/groups/public/</url>
<releases>
<enabled>true</enabled>
</releases>
</repository>
<repository>
<id>bintray-qcloud-maven-repo</id>
<name>qcloud-maven-repo</name>
<url>https://dl.bintray.com/qcloud/maven-repo/</url>
<layout>default</layout>
<releases>
<enabled>true</enabled>
</releases>
<snapshots>
<enabled>false</enabled>
</snapshots>
</repository>
</repositories>
复制代码
HashMap 与 CurrentHashMap 的数据结构与区别前端
blog.csdn.net/startupmoun… blog.csdn.net/coslay/arti…java
blog.csdn.net/javaloveiph…linux
blog.csdn.net/white__cat/…nginx
在jsp文件中,能够引用tag和tld文件。
1.对于tag文件
<%@ taglib prefix="ui" tagdir="/WEB-INF/tags" %>
其中的tags是个目录,里面有若干tag文件。
但使用<ti:XXXX>时,目录WEB-INF/tags下,必然有个XXXX.tag文件与之对应。
2.对于tld文件
在jsp中能够引用TLD文件,如
<%@ taglib uri="http://struts.apache.org/tags-html" prefix="html"%>
可是这个http://struts.apache.org/tags-html对应着什么呢?
jsp会在当前目录的\WEB-INF下找全部tld文件,确认这个URL对应哪一个TLD文件。
当找到struts-html.tld文件时,发现其中的内与这个URL对应。
但使用<html:YYYYY>时,这个TLD文件中必然有个YYYY项与之对应。
<%@ taglib prefix="pay" tagdir="/WEB-INF/tags/pay" %>
<%@ taglib prefix="echarts" uri="/WEB-INF/tlds/echarts.tld" %>
复制代码
openRouting = ((HandlerMethod) handler).getMethodAnnotation(OpenRouting.class);
复制代码
@Bean
@ConditionalOnMissingBean(ConfigurationTest.class)//不存在bean执行如下方法建立一个bean
public ConfigurationTest configurationTest(){
ConfigurationTest configurationTest =new ConfigurationTest();
configurationTest.setAa("我是@Configguration的值");
return configurationTest;
}
复制代码
<!-- 计划任务配置,用 @Service @Lazy(false)标注类,用@Scheduled(cron = "0 0 2 * * ?")标注方法 -->
<task:executor id="executor" pool-size="10"/> <task:scheduler id="scheduler" pool-size="10"/>
<task:annotation-driven scheduler="scheduler" executor="executor" proxy-target-class="true"/>
复制代码
exp hc_video/hc_video@ORCL file=E:\hc_video.dmp owner=(hc_video)
复制代码
imp hc_video/hc_video@ORCL file=E:\data\hc_video.dmp full=y ignore=y;
复制代码
create tablespace k_hc_property
logging
datafile 'E:\oracle\product\10.2.0\oradata\orcl\k_hc_property.dbf'
size 100m
autoextend on
next 32m maxsize 2048m
extent management local;
复制代码
create user NDJGDJ identified by ndjgdj_2017;
grant dba to NDJGDJ;
grant all privileges to NDJGDJ;
复制代码
rank,dense_rank,row_number,以及分组排名partition
rank:排名会出现并列第n名,它以后的会跳过空出的名次,例如:1,2,2,4
dense_rank:排名会出现并列第n名,它以后的名次为n+1,例如:1,2,2,3
row_number:排名采用惟一序号连续值,例如1,2,3,4
partition:将排名限制到某一分组
格式:
row_number() over(partition by bb.channel_name order by sum(aa.dk_serv_num) desc nulls last) p1_rank1,
row_number() over(order by sum(aa.dk_serv_num) desc nulls last) rank1,
dense_rank() over(order by nvl(sum(aa.dk_serv_num), 0) desc) rank2,
rank() over(order by sum(aa.dk_serv_num) desc nulls last) rank3
复制代码
blog.csdn.net/u012682683/…github
blog.csdn.net/xingbaozhen…spring
idea.lanyus.com/docker
es6.ruanyifeng.com/?search=%24…
var xhr = new XMLHttpRequest();
xhr.open('get', "url", true); //也能够使用POST方式,根据接口
xhr.responseType = "blob"; //返回类型blob
xhr.onload = function () {
//定义请求完成的处理函数
if (this.status === 200) {
var blob = this.response;
if (blob.size > 0) {
var file = new window.File([blob], "test.ppt");
teduBoard.addFile({data: file})
}
}
};
xhr.send();
复制代码
var xhr = new XMLHttpRequest();
xhr.open('get', "url", true); //也能够使用POST方式,根据接口
xhr.responseType = "blob"; //返回类型blob
xhr.onload = function () {
//定义请求完成的处理函数
if (this.status === 200) {
var blob = this.response;
if(blob.size>0){
var reader = new FileReader();
reader.readAsDataURL(blob); // 转换为base64,能够直接放入a标签href
reader.onload = function (e) {
// 转换完成,建立一个a标签用于下载
var a = document.createElement('a');
a.download = '兑换码.txt';
a.href = e.target.result;
$("body").append(a); // 修复firefox中没法触发click
a.click();
$(a).remove();
window.location.reload();
}
}else{
window.location.reload();
}
}
};
xhr.send();
复制代码
www.ruanyifeng.com/blog/2017/0…