码迷,mamicode.com
首页 >  
搜索关键字:does not match    ( 7565个结果
编写Linux脚本
一下是重启Linux下某进程的shell脚本,以tomcat进程为例: #!/bin/sh pid=`ps -ef|grep tomcat|grep -v grep|awk '{print $2}'` if [ "$pid" = "" ] ; then echo "tomcat service does not start!" else kill -9 $pid pi...
分类:系统相关   时间:2014-07-24 10:28:03    阅读次数:251
Culling & Depth Testing
【Culling & Depth Testing】 Culling is an optimization that does not render polygons facing away from the viewer. All polygons have a front and a back ....
分类:其他好文   时间:2014-07-23 20:41:25    阅读次数:247
DDD CQRS 和 Event Sourcing 的案例:足球比赛
在12月11日新的有关DDD CQRS和Event Sourcing演讲:改变心态- 以更加面向对象视角看待业务领域建模中,作者以足球比赛football Match为案例说明传统编程方法和CQRS的区别。 CQRS作为DDD的最佳实践已经得到广泛承认...
分类:其他好文   时间:2014-07-23 18:14:46    阅读次数:290
JS 获取url参数
function getUrlParam(name) { var reg = new RegExp("(^|&)" + name + "=([^&]*)(&|$)", "i"); var r = window.location.search.substr(1).match(reg); ...
分类:Web程序   时间:2014-07-23 13:00:46    阅读次数:204
JS 微信判断及分享参数修改
var iswechat = (window.navigator.userAgent.toLowerCase().match(/MicroMessenger/i) == 'micromessenger');var cloc = location.href.replace(/^#/, "").repl...
分类:微信   时间:2014-07-23 12:52:06    阅读次数:4522
http delete 方法传参数遇到java.net.ProtocolException: DELETE does not support writing的问题
最近在测试通过http delete method传参数调用服务端方法,遇到了java.net.ProtocolException: DELETE does not support writing try { url = new URL(path); HttpURLConnectio...
分类:编程语言   时间:2014-07-23 12:45:56    阅读次数:369
python 正则表达式判断邮箱格式是否正确
import re def validateEmail(email):     if len(email) > 7:         if re.match("^.+\\@(\\[?)[a-zA-Z0-9\\-\\.]+\\.([a-zA-Z]{2,3}|[0-9]{1,3})(\\]?)$", email) != None:             return 1     r...
分类:编程语言   时间:2014-07-22 17:40:41    阅读次数:881
The current deployment target does not support automated __weak references
下载运行一个demo时出现“The current deployment target does not support automated __weak references”这个问题,找了下方法: 4.2以前版本的XCode都不支持ARC。 对操作系统也有要求:Mac OS X v10.6 或 v10.7 (64-bit applications), iOS4或iOS5。注意:其中...
分类:其他好文   时间:2014-07-21 23:29:20    阅读次数:321
POJ 2739 Sum of Consecutive Prime Numbers
Sum of Consecutive Prime Numbers Description Some positive integers can be represented by a sum of one or more consecutive prime numbers. How many such representations does a given positive ...
分类:其他好文   时间:2014-07-21 22:18:12    阅读次数:222
Android学习笔记(1)
fill_parent、wrap_content、match_parent 用法实例测试fill_parent设置一个顶部布局或控件强制性让它布满整个屏幕。wrap_content布局指根据视图内部内容自动扩展以适应其大小,(刚好能支撑起其内容的大小)Android2.2后fill_parent由m...
分类:移动开发   时间:2014-07-21 11:04:55    阅读次数:287
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!