1.给DIV设置属性:width:200px;text-overflow:ellipsis;overflow:hidden;当div里面的内容总宽度找过200PX的时候,超出的部分会以“...”的形式显示。2.上面那个案例之适用于单行文本的现实,才会有效。但当div里面的内容出现多行的时候则不能达到...
分类:
其他好文 时间:
2014-06-06 20:06:07
阅读次数:
245
Ctrl+L选择整行(按住-继续选择下行)Ctrl+KK从光标处删除至行尾Ctrl+Shift+K删除整行Ctrl+Shift+D复制光标所在整行,插入在该行之前Ctrl+J合并行(已选择需要合并的多行时)Ctrl+KU改为大写Ctrl+KL改为小写Ctrl+D选词(按住-继续选择下个相同的字符串)...
分类:
其他好文 时间:
2014-06-06 18:17:33
阅读次数:
191
请求参数的编码处理基本上必须分post与get的情况来说明。1、post请求参数的编码处理
如果客户端没有在Content—Type标头中设置字符编码信息(例如浏览器可以设置Content—Type:text/html;chartset=UTF-8),此时可以使用HttpServletReques....
分类:
其他好文 时间:
2014-06-06 16:43:46
阅读次数:
211
arm程序:RO:只读段(代码段+只读数据段.text
.rodata)RW:可读可写段(数据段.data)ZI:未初始化全局变量(.bss)模板代码分析:头文件1.2440addr.h :
s3c2440寄存器变量和地址2.mmu.h,2440slib.h: MMU函数3.2440lib.h: 常...
分类:
其他好文 时间:
2014-06-06 15:30:17
阅读次数:
320
/* * linux/boot/head.S * * Copyright (C) 1991,
1992 Linus Torvalds *//* * head.S contains the 32-bit startup code.
*/.text.globl _idt,_gdt,.globl ...
分类:
其他好文 时间:
2014-06-06 15:11:14
阅读次数:
417
package cc.c; import android.app.Activity;import
android.os.Bundle;import android.text.Selection;import
android.text.Spannable;import android.text.met...
分类:
移动开发 时间:
2014-06-06 14:57:36
阅读次数:
364
1、创建HttpHandlerusing System;using
System.Collections.Generic;using System.Text;using System.Web;namespace Handler{
public class DownloadHandler : I...
分类:
其他好文 时间:
2014-06-06 10:35:31
阅读次数:
168
Sublime
Text中设置快捷编译方法步骤一:首先确保你电脑安装了php,并把php设置到环境变量里了。步骤二:点击
sublime_text的“工具”->"编译系统"->"编译新系统"步骤三:输入编译脚本输入如下:{"cmd": ["php",
"$file"],"file_regex": "...
分类:
Web程序 时间:
2014-06-06 09:07:00
阅读次数:
322
C#中List.ForEach 方法是对 List 的每个元素执行指定操作。 示例:using
System;using System.Collections.Generic;using System.Linq;using
System.Text;using System.Threading....
分类:
其他好文 时间:
2014-06-06 08:29:39
阅读次数:
470
1.挂载共享目录mount -t cifs //192.168.0.1/aa /tmp/export
-o username=text,password=test//192.168.0.1/aa 为:windows的共享目录/tmp/export
为:挂在点username=test test为wi...