码迷,mamicode.com
首页 >  
搜索关键字:match    ( 5193个结果
pt-kill 常用杀进程参数
pt-kill常用杀进程参数1.按userkill/usr/bin/pt-kill--busy-time15--match-user="dbUSER1|dbUSER2,..."--victimall--interval1--kill--daemonize--pid=/tmp/ptkill.pid--print--log=/home/pt-kill.log注:测试通过按用户来杀线程,注意--match-user多个用户之间用|分隔。2.按qu..
分类:系统相关   时间:2015-06-03 19:55:05    阅读次数:186
Android PopupWindows
今天了解到PopupWindows这个布局,PopupWindow这个类用来实现一个弹出框,可以使用任意布局的View作为其内容,这个弹出框是悬浮在当前activity之上的。 下面是一个实例 xml文件         android:id="@+id/ll_popup"         android:layout_width="match_parent"      ...
分类:移动开发   时间:2015-06-03 17:46:47    阅读次数:137
Jquery判断是不是移动设备浏览
首先,只判断是否是用移动设备浏览的:// Mobile 这里是只有不再移动设备上访问时,才给相应元素加上 mouseenter 和 mouseleave 事件。if (!navigator.userAgent.match(/mobile/i)) { $('.nav-dots span').mo...
分类:移动开发   时间:2015-06-03 17:16:55    阅读次数:115
解决java compiler level does not match the version of the installed java project facet
解决java compiler level does not match the version of the installed java project facet
分类:编程语言   时间:2015-06-03 15:34:17    阅读次数:116
让EditText只能输入数字的小技巧
准确的说让Edittext只能输入数字有方法两种,都是通过xml属性设置 方法一: <EditText android:id="@+id/u_account" android:layout_width="0dp" android:layout_height="match_parent" andro...
分类:其他好文   时间:2015-06-02 18:01:50    阅读次数:136
匈牙利算法
匈牙利算法(hungary)匈牙利算法是用来计算最大匹配,用了增广路思想增广路:dfs实现#include#include#includeusing namespace std;const int maxn = 10;int visx[maxn],visy[maxn];int match[maxn]...
分类:编程语言   时间:2015-06-01 23:57:10    阅读次数:216
Match类
Regex在匹配的时候,常常会返回一个Match类的对象,今天就来看看怎么玩这个对象。一、属性Captures 按从里到外、从左到右的顺序获取由捕获组匹配的所有捕获的集合(如果正则表达式用 RegexOptions..::.RightToLeft 选项修改了,则顺序为按从里到外、 从...
分类:其他好文   时间:2015-06-01 20:05:35    阅读次数:123
PHP preg_match正则表达式的使用
在php中preg_match()函数是用来执行正则表达式的一个常用的函数,下面我来给大家详细介绍preg_match使用方法。函数用法intpreg_match_all ( string pattern, string subject, array matches [, int flags] )例...
分类:Web程序   时间:2015-06-01 18:08:54    阅读次数:140
java compiler level does not match the version of the installed java project
修改:工程/.settings/”目录下找到名为 org.eclipse.wst.common.project.facet.core.xml
分类:编程语言   时间:2015-05-31 21:27:41    阅读次数:149
Android学习笔记--欢迎界面的实现
项目文档结构步骤一:布局activity_guide.xml <RelativeLayoutxmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/tools" android:layout_width="match_parent" android:layout_height="match_parent" tools:context="co..
分类:移动开发   时间:2015-05-30 18:27:20    阅读次数:152
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!