Given a set of non-overlapping intervals,
insert a new interval into the intervals (merge if necessary).You may assume
that the intervals were initial...
分类:
其他好文 时间:
2014-05-09 16:29:17
阅读次数:
330
通过CSS3的linear-gradient实现的.bg{width:300px;height:50px;background:#caca8c;background-image:-webkit-gradient(linear,50%0,0100%,from(transparent),color-st...
分类:
Web程序 时间:
2014-05-09 12:28:39
阅读次数:
4486
一。获取文本 textBox1.Text =
Clipboard.GetData("Text").ToString();二。获取图像 pictureBox1.Image =
Clipboard.GetImage();三。GetData()的参数解释名称 说明 Bitmap ...
分类:
其他好文 时间:
2014-05-09 12:22:12
阅读次数:
361
#登录数据库mysql -hlocalhost -uroot -p;#修改密码mysqladmin
-uroot -pold password new; #显示数据库show databases;#显示数据表show tables;#选择数据库use
examples;#创建数据库并设置编码utf....
分类:
数据库 时间:
2014-05-09 12:19:39
阅读次数:
589
句柄相当于一个指向指针的指针,指向指针的指针同样是指针,所以暂且认为它是一个指针,那么CreateFile相当于new
分配一个资源,让这个指针指到这块资源的首地址,那么当CloseHandle(handle)后等于是delete操作。此时handle的值还在,但是资源已被释放掉,那这个时候如果去访...
分类:
其他好文 时间:
2014-05-09 11:47:10
阅读次数:
354
LayoutInflater inflater =
getLayoutInflater();View imageLayout =
inflater.inflate(R.layout.preference_image.xml,null);ImageView imageView =
(ImageView...
分类:
其他好文 时间:
2014-05-08 21:34:32
阅读次数:
307
说说那些令人惊叹的下拉效果1.
动画下拉,这里借用一下github的资源优点:直接用gif图处理,下拉进度完全按照gif图运行时间,只要时间和下拉进度匹配就可以了,
效果很流畅https://dribbble.com/shots/1418440-Twisted-gif?list=searches&t...
分类:
移动开发 时间:
2014-05-08 21:28:47
阅读次数:
519
18.public class Test{ public static void
add3(Integer i) { int val=i.intvalue(); val+=3; i=new Integer(val); } ...
分类:
其他好文 时间:
2014-05-08 21:03:25
阅读次数:
348
private static void syncMetaData() { var
siteUrl = @"http://..."; using (var site = new SPSite(siteUrl)) { ...
分类:
其他好文 时间:
2014-05-08 20:59:41
阅读次数:
271
电感是储能元件,而磁珠是能量转换(消耗)器件,电感主要有功率电感、工字电感等;磁珠主要包括直插磁珠、贴片磁珠。
电感多用于电源滤波回路,磁珠多用于信号回路,用于EMC对策磁珠主要用于抑制电磁辐射干扰,而电感用于这方面则侧重于抑制传导性干扰。两者都可用于处理EMC、EMI问题。磁珠是用来吸收超高频信号...
分类:
其他好文 时间:
2014-05-08 20:46:29
阅读次数:
261