分享一些 Android开发中的实用小工具,你有发现好工具吗? 来这里分享一下呗一、find
bugs 静态检查工具http://findbugs.sourceforge.net/FindBugs 是一个静态分析工具,它检查类或者 JAR
文件,将字节码与一组缺陷模式进行对比以发现可能的问题。有了静...
分类:
移动开发 时间:
2014-05-17 13:10:32
阅读次数:
393
原文: AJAX 怎样在一个UpDatePanel中刷新另一个updatePanel
在页面上(.aspx) //html内容 在后台中(.cs)aaaa_Click()事件中写上{
MyID1.Update();//当点击Button(aaaa)时就在后台刷新MYID中的html内容了}注意:页面...
分类:
其他好文 时间:
2014-05-17 04:24:50
阅读次数:
175
背景 代码 先上布局文件:
这里没有TextView,我最后是将路径以System.out.println方式输出的。初始化:button =
(Button)findViewById(R.id.button); pic = (ImageView) findViewByI...
分类:
移动开发 时间:
2014-05-17 01:44:20
阅读次数:
749
题目:Givennpoints on a 2D plane, find the maximum
number of points that lie on the same straight
line.算法分析:定义最大直线为符合相同条件的直线中通过点最多的那条直线。对每个点p,计算其它的点与p形成的...
分类:
其他好文 时间:
2014-05-16 23:26:31
阅读次数:
389
转自:http://www.cnblogs.com/eyu8874521/archive/2012/10/17/2727882.html问题描述:当ListView的Item中的控件只是一些展示类控件时(比如TextView),注册ListView的监听setOnItemClickListener之...
分类:
移动开发 时间:
2014-05-16 22:27:58
阅读次数:
425
linux中查找命令find、locate、whereis、which、type区别 1. find
Java代码
find是最常见和最强大的查找命令,你可以用它找到任何你想找的文件。与查询数据库(/var/lib/locatedb)文件不同,find查找磁盘空间
find的使用格式如下: ...
分类:
系统相关 时间:
2014-05-16 21:42:27
阅读次数:
427
Given a string S, find the longest palindromic
substring in S. You may assume that the maximum length of S is 1000, and there
exists one unique longes...
分类:
其他好文 时间:
2014-05-16 21:15:37
阅读次数:
454
1 STL的map表里有一个erase方法用来从一个map中删除掉指令的节点 2 eg: 3 map
mapTest; 4 typedef map::iterator ITER; 5 ITER iter=mapTest.find(key); 6
mapTest.erase(iter...
分类:
其他好文 时间:
2014-05-14 09:19:03
阅读次数:
319
If you runfsck, the filesystem check and repair
command, it might find data fragments that are not referenced anywhere in the
filesystem. In particula...
分类:
其他好文 时间:
2014-05-13 16:59:54
阅读次数:
276
定时清理clientmqueue目录垃圾文件防止占满磁盘空间:/var/spool/clientmqueue --这个目录会自动创建很多的文件,可以用下面的命令来清理find/var/spool/clientmqueue/–type f|xargsrm–frmkdir/server/scripts–pvimdel.sh:find/var/spool/clientmqueue/–type..
分类:
其他好文 时间:
2014-05-13 12:14:48
阅读次数:
412