flume-netcat-logger.conf 文件编写: # Name the components on this agent a1.sources = r1 a1.sinks = k1 a1.channels = c1 # Describe/configure the source a1.s ...
分类:
Web程序 时间:
2021-03-06 14:54:47
阅读次数:
0
组件传参 散记点(父传子) v-bind传入Number,Function,Object等类型 <mycomponent :count="100" :data="{name: "wise"}" :list="['foo','bar']" :action="() => {}"/> 传递组件,组件变量形 ...
分类:
其他好文 时间:
2021-03-06 14:19:47
阅读次数:
0
F12打开控制台,直接拷贝以下代码回车,注意修改页号为当前页 var targetPageNum = 1; //修改为当前观看到的页号,第一个为1。 var menuList = $(jQuery('.list-box .duration')); if(targetPageNum < 0 || ta ...
分类:
其他好文 时间:
2021-03-05 13:13:11
阅读次数:
0
#user nobody; worker_processes 1; #error_log logs/error.log; #error_log logs/error.log notice; #error_log logs/error.log info; #pid logs/nginx.pid; ev ...
分类:
Web程序 时间:
2021-03-04 13:35:58
阅读次数:
0
第一部分:入口函数 js的入口函数:window.onload = function(){alert("页面所有资源加载完后,开始执行")}; jquery的入口函数: 第一种: $(document).ready( function(){ alert("DOM树加载完成后,开始执行") } ); ...
分类:
Web程序 时间:
2021-03-03 12:19:02
阅读次数:
0
经典开场 // Layui ;! function (win) { var Lay = function () { this.v = '2.5.5'; }; win.layui = new Lay(); }(window); // Jquery (function (global, factory) ...
分类:
其他好文 时间:
2021-03-02 11:54:07
阅读次数:
0
ThreadPoolExecutor介绍 通过 ThreadPoolExecutor 创建线程池,API 如下所示: public ThreadPoolExecutor(int corePoolSize, int maximumPoolSize, long keepAliveTime, TimeUn ...
分类:
编程语言 时间:
2021-03-02 11:49:07
阅读次数:
0
jQuery文档操作常用方法1 内部插入 1.appendTo( ) ? appendTo() 方法在被选元素的结尾(仍然在内部)插入指定内容。 ? 语法: $(content).appendTo(selector) 参数 描述 content 必需。规定要插入的内容(可包含 HTML 标签)。 s ...
分类:
Web程序 时间:
2021-03-02 11:43:33
阅读次数:
0
<style> div{ width: 200px; height: 20px; background-color: red; } ul{ display: none; margin: 0; padding: 0; width: 200px; background-color: #ccc; } </ ...
分类:
Web程序 时间:
2021-03-01 14:07:32
阅读次数:
0
// 第一种写法 $(document).ready(function() { }); // 第二种写法 $().ready(function() { }); // 第三种写法 $(function() { }); jQuery入口函数与window.onload的对比 JavaScript的入口函 ...
分类:
其他好文 时间:
2021-03-01 13:46:55
阅读次数:
0