这是我看到的一片关于requirejs的初学者的文章,写的不错,下面结合自己的理解记录一下:原文:http://www.sitepoint.com/understanding-requirejs-for-effective-javascript-module-loading/Modular prog...
分类:
编程语言 时间:
2015-04-30 08:43:50
阅读次数:
168
1.获取浏览器页面可见高度和宽度var_PageHeight=document.documentElement.clientHeight,_PageWidth=document.documentElement.clientWidth;2.计算loading框距离顶部和左部的距离(loading框的宽...
分类:
Web程序 时间:
2015-04-29 19:01:24
阅读次数:
122
当我们使用ListView或GridView的时候,当列表为空的时候,我们往往需要一个Loading或者一段提示文字又或者一个特殊的View来提示用户操作,这个时候就用到了setEmptyView()方法。
setEmptyView()其实是AdapterView的方法,而我们开发中常用到的ListView, GridView, ExpandableListView等都是继承于Adapter...
分类:
移动开发 时间:
2015-04-29 13:40:06
阅读次数:
240
I suspect the answer to these questions has little to do with technology, and more to do with politics....
分类:
其他好文 时间:
2015-04-29 09:54:23
阅读次数:
207
错误代码如下:严重: IOException while loading persisted sessions: java.io.EOFExceptionjava.io.EOFException at java.io.ObjectInputStream$PeekInputStream.read...
分类:
编程语言 时间:
2015-04-28 20:53:44
阅读次数:
165
1. 在主界面loading的时候创建一个dictionary,从用户文件中加载用户信息 1 using System; 2 using System.Collections.Generic; 3 using System.ComponentModel; 4 using System.Data; 5...
1、系统环境:
Redhat 6.4 企业版
Oracle11.2.0.2 RAC+ASM
2、报错信息:/oracle/app/11.2.0/grid/bin/clscfg.bin:
error while loading shared libraries: libcap.so.1: cannot open shared object f...
分类:
数据库 时间:
2015-04-27 11:22:12
阅读次数:
185
注:原文代码链接http://scikit-learn.org/stable/auto_examples/text/mlcomp_sparse_document_classification.html运行结果为:Loading 20 newsgroups training set... 20 new...
分类:
其他好文 时间:
2015-04-25 18:13:29
阅读次数:
205
MBProgressHUD 是一个显示HUD窗口的第三方类库,用于在执行一些后台任务时,在程序中显示一个表示进度的loading视图和两个可选的文本提示的HUD窗口。我想最 多是应用在加载网络数据的时候。其实苹果官方自己有一个带有此功能的类UIProgressHUD,只不过它是私有的,现在不让用。至...
分类:
其他好文 时间:
2015-04-24 16:05:31
阅读次数:
86
节选自http://www.zhihu.com/question/20474326前端技术的逐渐成熟,衍生了domain hash, cookie free, css sprites, js/css combine, max expires time, loading images on deman...
分类:
其他好文 时间:
2015-04-24 14:18:37
阅读次数:
136