- 博客(8)
- 资源 (3)
- 收藏
- 关注
原创 html input密码显示为“*”
*{margin:0;padding:0} input{font:14px Monospace;height:20px;width:160px;} label{display:inline-block;width:100px;height:20px;} #pass{position:absolute;left:100px;top:0;opacity:0;filter:alpha(opacit
2013-08-12 14:16:13 10916
原创 使用script命令于ubuntu中捕获终端数据输出
在ubuntu中需要捕获终端数据,欲保存运行命令及其执行过程输出信息时,可使用script命令。man手册上的介绍如下:DESCRIPTION script makes a typescript of everything printed on your terminal. It is useful for students who need a hardcopy
2013-03-19 11:47:05 1239
原创 测试
function f(n) { var arr=[]; for(var i=0;i<n;i++) { if(i<2) arr.push(1); else arr.push(arr[i-1]+arr[i-2]); } return arr;}
2013-02-27 16:04:47 302
原创 搭建phoneGap开发环境事项
一、Setup New Project In a terminal window, navigate to the bin directory within the android subfolder of the Cordova distribution. Type in ./create then press "Enter"project_fold
2012-11-30 17:28:46 366
原创 c语言中无符号数转换为带符号数
直接附上测试代码:#include #include /*F800:unsigned short:63488;short:-2^15+2^14+2^13+...+8*2^8;计算有符号数F800的原码为1000 1000 0000 0000,即-2048*/int main(){printf("short :%d\n",(short)63488);//#F8
2012-08-14 17:06:26 1488
原创 2 columns layout by float
1. target: color that stretches the full height of the columns method:set abackground image in the container and set the background-repeat on the y axis only.
2012-08-03 16:35:01 259
原创 css学习之font与colours(list-style-position)
通用字体有五种:serif / sans-serif / monospace / cursive / fantasy Serif 字体这些字体成比例,而且有上下短线。如果字体中的所有字符根据其不同大小有不同的宽度,则成该字符是成比例的。例如,小写 i 和小写 m 的宽度就不同。上下短线是每个字符笔划末端的装饰Sans-serif 字体这些字体是成比例的,而且没有上下短
2012-08-03 11:41:54 529
原创 closure compiler application初次尝试
安装过程如下: (1)下载安装java jdk。 (2)配置环境变量: A.新建->变量名:JAVA_HOME 变量值:C:\Program Files\Java\jdk1.6.0_27(JDK安装路径)B.编辑->变量名:Path 在变量值的最前面加上:%JAVA_HOME%\bin;%JAVA_HOME%\jre\bin
2012-08-02 16:29:01 590
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人