码迷,mamicode.com
首页 >  
搜索关键字:search    ( 12380个结果
python正则表达式
http://www.cnblogs.com/huxi/archive/2010/07/04/1771073.htmlpython中re.match()与re.search()的区别是前者从字符串开始位置匹配,后者是字符串中匹配在学习中发现某一部分的代码,用法和实验结果不同时,查找相关方法和代码的用...
分类:编程语言   时间:2014-07-24 14:37:35    阅读次数:281
Handle URL anchor change event in js 监控地址栏里面的#后面
Google Custom Search Engines use a timer to check the hash against a previous value, whilst the child iframe on a seperate domain updates the parent‘s location hash to contain the size of the ifram...
分类:Web程序   时间:2014-07-24 12:31:35    阅读次数:289
【LeetCode】【Python题解】Unique Binary Search Trees
Given n, how many structurally unique BST's (binary search trees) that store values 1...n? For example, Given n = 3, there are a total of 5 unique BST's. 1 3 3 2 1 \...
分类:编程语言   时间:2014-07-24 11:35:42    阅读次数:245
PHP 高级编程之多线程-消息队列
Home ?|? Mirror ?|? Search ?|? 杂文 ?|? ITEYE 博客 ?|? OSChina 博客 ?|? 51CTO 博客 ?|? Linkedin PHP 高级编程之多线程 http://netkiller.github.io/journal/thread.php.html Mr.?Neo Chen?...
分类:编程语言   时间:2014-07-24 10:55:14    阅读次数:618
二叉搜索树的实现
实现: 1 #ifndef BINARY_SEARCH_TREE_H 2 #define BINARY_SEARCH_TREE_H 3 4 #include "dsexceptions.h" 5 #include // For NULL 6 using namespace st...
分类:其他好文   时间:2014-07-24 10:03:33    阅读次数:398
MVC路由中的一个问题
最近项目在使用MVC。项目中有个地址为:www.xxx.com/search/search.html,从这个页面点击QQ登录时,地址为:www.xxx.com/passport/QQLogin.html?returl=/search/search.html此时,QQ登录总是不成功。但是同样的情况,如...
分类:Web程序   时间:2014-07-24 00:49:27    阅读次数:243
经验总结21--抓取WEB数据,汇率,HtmlAgilityPack
网上找了很多资料,PHP的比较多,然后找到有csv文件的,处理起来很麻烦,国外的网站速度很慢。 最后还是去页面上抓取数据,我是从中国银行抓取的,各位可去其他网站抓取。 1、模拟请求URL。 string url = "http://srh.bankofchina.com/search/whpj/search.jsp?pjname=1316"; HttpWebRequest reques...
分类:Web程序   时间:2014-07-23 17:00:01    阅读次数:228
People who use computers ghd hair straighteners
People who use computers ghd hair straighteners go for movie star times, Search for, Stop GHD Peacock 2013 well-accepted showdowns, And luxuriate in b...
分类:其他好文   时间:2014-07-23 15:15:36    阅读次数:232
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
LeetCode "Sqrt(x)"
2 solutions: bin-search and Newton iteration.class Solution {public: int _sqrt(long long tgt, long long i0, long long i1) { long long can...
分类:其他好文   时间:2014-07-23 12:02:06    阅读次数:236
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!