api.addEventListener({ name:'scrolltobottom', extra:{threshold:0} }, function(ret, err){ //上拉加载时需要加载的数据 }); ...
想要webpack帮忙自动加上“-webkit-”之类的css前缀,我们需要用到postcss-loader和它的插件autoprefixer 1.安装 2.加loader 其实就是css-loader前面插一个postcss-loader 而参数importLoaders=1是为了预防css文件里 ...
分类:
Web程序 时间:
2018-01-22 19:14:42
阅读次数:
277
File Systems permanent records stored in various files application programs are written to extract & add records Disadvantages of traditional FS data ...
分类:
其他好文 时间:
2018-01-20 16:29:11
阅读次数:
119
2018 亚麻新题 http://www.1point3acres.com/bbs/forum.php?mod=viewthread&tid=306458&extra=page%3D12%26filter%3Dsortid%26sortid%3D311%26sortid%3D311 第二题是个新题也 ...
分类:
其他好文 时间:
2018-01-20 11:07:32
阅读次数:
178
先阅读apache配置优化建议如下,再对相关参数进行调整,观察服务器状况.Apache配置优化建议:进入/usr/local/apache2/conf/extra 目录下Apache优化,经过上述操作后,Apache已经能够正常运行。但是,对于访问量稍大的站点,Apache的这些默认配置是无法满足需 ...
分类:
Web程序 时间:
2018-01-17 11:26:36
阅读次数:
189
以lampp环境为例子,其他环境只是配置文件的路径不同。 先要在 lampp/etc/httpd.conf ( 这个是Apache 总的配置文件)中,将虚拟路径的注释去掉。 #Include etc/extra/httpd-vhosts.conf 使httpd-vhosts.conf文件起作用,或者 ...
分类:
Web程序 时间:
2018-01-17 11:22:17
阅读次数:
181
sql语句优化: 1: sql语句的时间花在哪儿? 答: 等待时间 , 执行时间. 等待时间:看是不是被锁住了,那就不是语句层面了是服务端层面了,看连接数内存。 执行时间:到底取出多少行,一次性取出1万行那是你的sql语句写的失败,二是扫描多少行,扫描多少行需要技术来分析,通过explain来分析。... ...
分类:
数据库 时间:
2018-01-16 18:02:52
阅读次数:
245
Given a linked list, return the node where the cycle begins. If there is no cycle, return null. Follow up: Can you solve it without using extra space? ...
分类:
编程语言 时间:
2018-01-16 01:00:25
阅读次数:
153
1. 从adb给手机发送广播: 后面的e代表参数extra, es代表extra是string类型, ei代表int类型, ez代表boolean类型。 让手机播放和停止音乐就是借助于广播来实现的: 让手机播放音乐: 让手机暂停音乐: 对应的java代码实现: 2. 通过adb查询手机是否在播放音乐 ...
分类:
移动开发 时间:
2018-01-15 16:35:54
阅读次数:
685