在Lua中,有模块这个定义,加载一个模块需要使用require函数,require是一个全局函数。 require有两个写法require("modname")和require "modname" 1.首先require函数会查找package.loaded表,检测modname是否加载过,如果加载 ...
分类:
其他好文 时间:
2016-10-21 16:32:06
阅读次数:
179
本文参阅http://www.appelsiini.net/projects/lazyload Lazy Load is delays loading of images in long web pages. Images outside of viewport are not loaded unt ...
分类:
Web程序 时间:
2016-10-17 14:30:05
阅读次数:
198
第一步:在project上右键选择Properties,然后选择Android, 然后在Project Build Target那里选择其他的Target试试: 第二步: 我选了6.0之后,就有菜单可以选了: ,然后这个Android Version,可以选低版本的,渲染就成功了。还不成功的话可能是 ...
分类:
移动开发 时间:
2016-10-15 18:59:06
阅读次数:
197
From router v3.1.0, we have preloading system with router. After the init module loaded, router will preloading the rest module at the background. Cus ...
分类:
其他好文 时间:
2016-10-13 21:35:14
阅读次数:
184
出现上述问题是qt安装目录未包含mysql驱动。 解决方法如下: 1.查看系统是否存在libqsqlmysql.so 2.若不存在该文件则安装qt-mysql文件 3.此时在/usr/lib/qt4/plugins/目录下应该有文件libqsqlmysql.so,将其拷贝到qt安装目录 即可。 ...
分类:
数据库 时间:
2016-10-13 17:09:10
阅读次数:
198
由于2.4.0默认配置的libhadoop是32位的,在64位的操作系统环境运行过程中,会提示以下错误:JavaHotSpot(TM)64-BitServerVMwarning:Youhaveloadedlibrary/opt/hadoop-2.2.0/lib/native/libhadoop.so.1.0.0whichmighthavedisabledstackguard.TheVMwilltrytofixthestackguardnow...
分类:
其他好文 时间:
2016-10-12 23:35:03
阅读次数:
412
Q1.出现 "resource load since it is insecure" "The resource could not be loaded because the App Transport Security policy requires the use of a secure co ...
分类:
其他好文 时间:
2016-10-10 23:16:24
阅读次数:
183
这个问题产生的原因是:在iOS 10中有UserNotifications这个framework而iOS 9中没有,在iOS 9上运行的时候,会因为找不到而出错。 解决办法是,修改UserNotifications这个framework的使用方式为optional而不是required ...
分类:
其他好文 时间:
2016-10-10 20:55:55
阅读次数:
218
Color image loaded by OpenCV is in BGR mode.But Matplotlib displays in RGB mode.So color images will not be displayed correctly in Matplotlib if image ...
分类:
编程语言 时间:
2016-09-29 02:13:02
阅读次数:
425
VMwareESXi启动卡在vmkibftloadedsuccessfully这里前一段时间有一台测试VMwareESXi6.0主机突然失去连接,去现场查看,系统已死机。重启机器卡在vmkibftloadedsuccessfully这里,百度了一下果断换Google。发现了蛛丝马迹,有人说是磁盘坏了,有人说将系统装在USB上面尝试一下。..
分类:
系统相关 时间:
2016-09-21 23:32:31
阅读次数:
1441