Given a string containing only digits, restore it by returning all possible valid IP address combinations.For example:Given"25525511135",return["255.2...
分类:
其他好文 时间:
2014-07-26 00:05:16
阅读次数:
301
Valid PalindromeGiven a string, determine if it is a palindrome, considering only alphanumeric characters and ignoring cases.For example,"A man, a pla...
分类:
其他好文 时间:
2014-07-25 23:52:10
阅读次数:
202
很多时候我们使用hibernate的session时,都是让session在 某一运行环境中保持其唯一。例如在同一线程内用同一个session,在同一方法内用同一session,这样我们就可以用session里面缓存好的数 据。但,我想说的不是缓存,且听我一一道来。 最近试用spring3.0.2....
分类:
数据库 时间:
2014-07-25 16:32:41
阅读次数:
248
1. 申请 App ID(1)连到 Developer 网页 ( http://developer.apple.com )。(2)进入 iOS Provisioning Portal。(3)点选左侧的 App IDs。(4)点选右上角的 New App ID。(5)Description : 输入 ...
分类:
移动开发 时间:
2014-07-25 14:12:11
阅读次数:
315
ios程序发布测试打包备忘1. 获取测试机UDID手机连接电脑,打开iTunes-摘要-点击序列号,设备概要界面显示设备udid-反键-拷贝2. 添加设备取得UDID后,进入开发者中心-iOS Provisioning Portal-Devices-Add Devices,一个地方填名称,一个地方填...
分类:
移动开发 时间:
2014-07-25 13:59:11
阅读次数:
238
Valid ParenthesesGiven a string containing just the characters'(',')','{','}','['and']', determine if the input string is valid.The brackets must clos...
分类:
其他好文 时间:
2014-07-24 21:42:52
阅读次数:
187
Given a string containing just the characters'('and')', find the length of the longest valid (well-formed) parentheses substring.For"(()", the longest...
分类:
其他好文 时间:
2014-07-24 12:11:55
阅读次数:
253
Validate if a given string is numeric.Some examples:"0"=>true" 0.1 "=>true"abc"=>false"1 a"=>false"2e10"=>true题解:题目不难,就是有点麻烦,要注意的地方很多,总结一下:前面和后面的空格要用s...
分类:
其他好文 时间:
2014-07-23 20:43:55
阅读次数:
222
一:添加字段:ALTER TABLE `jifen_gather` ADD `lo_baidu_valid_uv` INT( 11 ) NOT NULL DEFAULT '0' COMMENT '有效的百度搜索uv' AFTER `lo_baidu_no_xiala` ;
分类:
数据库 时间:
2014-07-22 22:36:56
阅读次数:
240
出现error的过程:在运行另外一个xcode项目重置了code sign,回到原来的项目的时候出现这个error
修复方法:
targe-build settings-code signing identity-choose iOS Developer
然后Provision File选择对应的file
参考链接:
https://developer.apple.com/leg...
分类:
移动开发 时间:
2014-07-21 23:30:01
阅读次数:
322