一个简单的进度条演示。Process Bar 0%感受:1.在简单的页面里面,在标签里面,可以直接使用id表示某个控件,而不需要使用document.getElementById()。2.setTimeout()里面的命令可以使用字符串拼接
分类:
编程语言 时间:
2015-06-27 01:10:02
阅读次数:
135
1.首先在plist里面 新增View controller-based status bar appearance 为NO2.在具体控制器里面可以调用如下方法改变状态栏颜色[[UIApplication sharedApplication] setStatusBarStyle:UIStatusBa...
分类:
移动开发 时间:
2015-06-26 19:26:42
阅读次数:
149
1.Ctrl + L 把输入焦点定位到Firefox的地址栏Location Bar中并选中地址的内容。(注:在Firefox3中定位到地址栏Location Bar的快捷键为:Alt + D,同时F6或者Shift+F6有此功能);2.Ctrl + K 把输入焦点定位到地址栏后面的搜索框;(注:在...
分类:
其他好文 时间:
2015-06-26 16:12:11
阅读次数:
93
oracle 优化or 更换in、exists、union几个字眼。测试没有问题!根据实际情况选择相应的语句是。假设指数,or全表扫描,in 和not in 应慎用。否则会导致全表扫描。select * from T_Pro_Product where bar_code = 'nnnmmm'...
分类:
数据库 时间:
2015-06-26 14:47:57
阅读次数:
147
进度条demo bar.totalCount: progress.value:
分类:
其他好文 时间:
2015-06-25 17:01:24
阅读次数:
115
真彩bar 1 /***========================================================================= 2 ==== ...
分类:
其他好文 时间:
2015-06-25 10:25:27
阅读次数:
104
在JavaScript可以使用try...catch来进行异常处理。例如:try { foo.bar();} catch (e) { alert(e.name + ": " + e.message);}目前我们可能得到的系统异常主要包含以下6种:EvalError: raised when an e...
分类:
Web程序 时间:
2015-06-24 18:37:52
阅读次数:
95
About ActionBar The action bar is one of the most important design elements you can implement for your app's activities. It provides several user inte...
分类:
其他好文 时间:
2015-06-24 10:50:44
阅读次数:
132
/** * ${bare_field_name} * * @return the ${bare_field_name} * @since CodingExample Ver(编码范例查看) 1.0 */ /** * @param ${param} the ${bar...
分类:
系统相关 时间:
2015-06-24 10:48:00
阅读次数:
194
最近大概阅读了一个UCB发布的Rocket处理器的源码,对源代码各个文件的功能有了一些大致的了解,Mark一下。
Rocket是一款64bit的标量处理器,5级流水线,采用的是risc-v指令集,集成FPU,并有许多or1200没有的特性,比如:无阻塞缓存、分支预测、返回地址堆栈、硬件页表填充、cache支持ECC、支持多核等。
Rocket的源代码是使用Chisel编写的,Chisel是UCB发布的基于Scala的领域特定语言。可以在https://github.com/ucb-bar/rocket下...
分类:
其他好文 时间:
2015-06-23 15:42:53
阅读次数:
819