使用TFHpple解析htmlhttps://github.com/topfunky/hpple前期准备工作引入静态库文件添加库文件的
header search paths(注意,必须选中 All)将从github上下载的源码包拖入工程当中准备工作结束使用详情我们来解析网址
http://www....
分类:
Web程序 时间:
2014-05-19 11:15:50
阅读次数:
581
parameter 属性赋值例如要检索用户表中状态为 1 (status=1) 并且电子包含 163
的用户,当提交表单时(注意表单是 GET 方式提交),形成的 URL
地址大致如下:http://www.5idev.com/index.php/Index/search/status/1/emai...
分类:
Web程序 时间:
2014-05-19 10:59:04
阅读次数:
307
#!/bin/sh# mysql data backup script## use mysqldump
--help,get more
detail.#BakDir=/root/back/mysqlLogFile=/root/back/mysql/mysqlbak.logDATE=`date
+%Y...
分类:
数据库 时间:
2014-05-19 10:58:24
阅读次数:
360
EclipseMarketplace是个插件应用商店,很实用的一个功能。打开eclipse,help--EclipseMarketplaceClient就能找到有的eclipse中没有这个功能就需手动添加EclipseMarketplaceClient。help--installnewsoftwar...
分类:
系统相关 时间:
2014-05-19 10:51:54
阅读次数:
416
function(name) { var
query=location.search.substring(1); var pairs=query.split("&"); for(var
i=0;i<pairs.length;i++) ...
分类:
其他好文 时间:
2014-05-19 10:43:27
阅读次数:
266
#define IDM_NEW 0x1002#define IDM_EXIT
0x1003#define IDM_HELP 0x1004#define IDM_ABOUT 0x1005hMenu =
CreateMenu();hFileMenu = CreateMenu();hHelpMenu = ...
分类:
其他好文 时间:
2014-05-19 09:58:20
阅读次数:
251
http://developer.android.com/sdk/installing/installing-adt.html Download the ADT
Plugin Start Eclipse, then select Help > Install New Software. Click ...
分类:
系统相关 时间:
2014-05-19 07:58:09
阅读次数:
343
Given a binary tree, determine if it is a valid
binary search tree (BST).Assume a BST is defined as follows:The left subtree of
a node contains only n...
分类:
其他好文 时间:
2014-05-19 07:23:48
阅读次数:
357
题目:查找元素target插入一个数组中的位置。代码:public int
searchInsert(int[] A, int target) { int len = A.length; int i; for(i = 0 ; i
< len ; i++){ ...
分类:
其他好文 时间:
2014-05-18 20:28:13
阅读次数:
299
首先把贤哥封装好的解析文件和https://github.com/topfunky/hpple上下载的文件夹拖进工程里添加 libxml2.dylib 框架在
Header Search Paths 中添加 /usr/include/libxml2引入头文件YXHTML.h// 获取数据NSData...
分类:
移动开发 时间:
2014-05-18 20:27:32
阅读次数:
393