'?' Matches any single character.'*' Matches any sequence of characters (including the empty sequence).The matching should cover the entire input stri...
分类:
其他好文 时间:
2015-03-18 17:20:10
阅读次数:
112
写了个判断用户输入生日字符串是否合法的方法,前提是输入字符串格式为yyyyMMdd。
public static boolean checkBirthDay(String birthday) {
if (Common.empty(birthday)) {
return false;
}
if (birthday.l...
分类:
编程语言 时间:
2015-03-17 22:00:25
阅读次数:
252
在Unity 3D上开发游戏,需要游戏脚本与3D建模相结合,将写好的脚本拖曳到3D对象里从而实现效果。
下面是一个小实例,使用Unity 3D实现一个可控制移动的小人,小人可以向前、向后、向左和向右移动。
1、通过 File - > New Scene 创建一个场景;
2、点击Create -> Create Empty 创建一个GameObject,它即是游戏对象;
3、在Inspect...
分类:
移动开发 时间:
2015-03-17 16:02:30
阅读次数:
242
1. 题目Given a string s consists of upper/lower-case alphabets and empty space characters ' ', return the length of last word in the string.If the last word does not exist, return 0.Note: A word is defi...
分类:
其他好文 时间:
2015-03-17 15:52:52
阅读次数:
131
这个问题可能是变量未定义造成的:if(!empty($current_user_id)){ $digg = $this->m_feed_digg->show_entity( array('digg_user_id' => $current_user_id, 'digg_feed_id' => ...
分类:
Web程序 时间:
2015-03-17 15:37:33
阅读次数:
147
1 if (empty($order_id) || empty($action_array))2 {3 return $return_res;4 }1 if (!isset($operable_list['remove']))2 {3 mak...
分类:
其他好文 时间:
2015-03-17 12:01:54
阅读次数:
259
Follow up for "Unique Paths":
Now consider if some obstacles are added to the grids. How many unique paths would there be?
An obstacle and empty space is marked as 1 and 0 respectively
in the grid...
分类:
其他好文 时间:
2015-03-17 10:28:53
阅读次数:
180
这篇文章探索TLS -ticket 的重用机制.
完整的SSL握手过程为:
Client Server
ClientHello
(empty SessionTicket extension)-------->...
分类:
其他好文 时间:
2015-03-16 16:23:47
阅读次数:
160
$(document).ready(function(){
var clearSeletion=function(){
if(document.selection&&document.selection.empty){
document.selection.empty();...
分类:
其他好文 时间:
2015-03-16 14:36:00
阅读次数:
155
题目链接:Unique Paths II
Follow up for "Unique Paths":
Now consider if some obstacles are added to the grids. How many unique paths would there be?
An obstacle and empty space is marked as 1 and 0 resp...
分类:
其他好文 时间:
2015-03-15 23:43:50
阅读次数:
310