首页 > 其他
WCF初探-10:WCF客户端调用服务
创建WCF 服务客户端应用程序需要执行下列步骤: 获取服务终结点的服务协定、绑定以及地址信息 使用该信息创建 WCF 客户端 调用操作 关闭该 WCF 客户端对象
分类:其他   时间:2015-04-08 09:01:05    收藏:0  评论:0  赞:0  阅读:267
隐藏UITableView多余的分割线
先看看没有隐藏是什么效果以及代码是什么情况,这样更加直观实现代码如下:(.h文件)#import "TableViewController.h"@interface TableViewController () @property (nonatomic, strong) UITableView *m...
分类:其他   时间:2015-04-08 09:00:56    收藏:0  评论:0  赞:0  阅读:366
旅行商问题(TSP)之动态规划解法
http://soj.sysu.edu.cn/show_problem.php?pid=1000&cid=1769sicilyTraveling Salesman Problem有编号1到N的N个城市,问从1号城市出发,遍历完所有的城市并最后停留在N号城市的最短路径长度。Input第一行整数 T :...
分类:其他   时间:2015-04-08 09:00:05    收藏:0  评论:0  赞:0  阅读:589
客户-服务器程序设计方法
客户-服务器程序设计方法《unix网络编程》第一卷中将客户服务器程序设计方法讲得透彻,这篇文章将其中编码的细节略去,通过伪代码的形式展现,主要介绍各种方法的思想;示例是一个经典的TCP回射程序: 客户端发起连接请求,连接后发送一串数据;收到服务端的数据后输出到终端; 服务端收到客户端的数据后...
分类:其他   时间:2015-04-08 08:59:06    收藏:0  评论:0  赞:0  阅读:217
Nutch的发展历程
Nutch的创始人是Doug Cutting,他同时也是Lucene、Hadoop和Avro开源项目的创始人 ? 下面是Nutch的发展历程: 2002年8月由Doug Cutting发起,托管于Sourceforge,之后发布了0.4、0.5、0.6三个版本 2004年9月Orego...
分类:其他   时间:2015-04-08 07:57:45    收藏:0  评论:0  赞:0  阅读:271
BitmapFactory.Options详解
public Bitmap inBitmap If set, decode methods that take the Options object will attempt to reuse this bitmap when loading content. public int inDensity The pixel density to use for the bitmap. publ...
分类:其他   时间:2015-04-08 07:57:35    收藏:0  评论:0  赞:0  阅读:258
OSChina 周三乱弹 —— 生活要懂得苦中作乐
周三,其实今天才是周二!千万不要一大早的就怀疑人生,生命可贵,大家都要好好的!昨天好多人跟我们说了再见,离别总是伤感的,珍惜现在。 @sinopf ?: 清明节来大家都在哀悼猝死程序员。。。大家珍重,熬夜伤肾...
分类:其他   时间:2015-04-08 07:57:26    收藏:0  评论:0  赞:0  阅读:462
蓝桥杯训练 最短路 (SPFA模板 vector)
蓝桥杯训练 最短路 (SPFA模板 vector)...
分类:其他   时间:2015-04-08 07:56:25    收藏:0  评论:0  赞:0  阅读:245
正则表达式match和group的区别 具有相同模式的字符串使用组的提取案例
Match类 示例:查找出字符串中包含的url string text = "FirstUrl: http://www.sohu.com ,SecondUrl: http://www.baidu.com "; string pattern = @"\b(\S+)://(\S+)\b"; //匹配URL的模式 MatchCollection mc = Regex.Matches(te...
分类:其他   时间:2015-04-08 07:56:15    收藏:0  评论:0  赞:0  阅读:195
191. Number of 1 Bits
Write a function that takes an unsigned integer and returns the number of ’1' bits it has (also known as theHamming weight).For example, the 32-bit in...
分类:其他   时间:2015-04-08 07:55:35    收藏:0  评论:0  赞:0  阅读:182
奇怪吸引子---Qi
奇怪吸引子是混沌学的重要组成理论,用于演化过程的终极状态,具有如下特征:终极性、稳定性、吸引性。吸引子是一个数学概念,描写运动的收敛类型。它是指这样的一个集合,当时间趋于无穷大时,在任何一个有界集上出发的非定常流的所有轨道都趋于它,这样的集合有很复杂的几何结构。由于奇怪吸引子与混沌现象密不可分...
分类:其他   时间:2015-04-08 07:53:25    收藏:0  评论:0  赞:0  阅读:191
190. Reverse Bits
Reverse bits of a given 32 bits unsigned integer.For example, given input 43261596 (represented in binary as00000010100101000001111010011100), return ...
分类:其他   时间:2015-04-08 07:53:15    收藏:0  评论:0  赞:0  阅读:160
189. Rotate Array
Rotate an array ofnelements to the right byksteps.For example, withn= 7 andk= 3, the array[1,2,3,4,5,6,7]is rotated to[5,6,7,1,2,3,4].Note:Try to come...
分类:其他   时间:2015-04-08 07:52:15    收藏:0  评论:0  赞:0  阅读:242
199. Binary Tree Right Side View
Given a binary tree, imagine yourself standing on therightside of it, return the values of the nodes you can see ordered from top to bottom.For exampl...
分类:其他   时间:2015-04-08 07:51:15    收藏:0  评论:0  赞:0  阅读:151
198. House Robber
You are a professional robber planning to rob houses along a street. Each house has a certain amount of money stashed, the only constraint stopping yo...
分类:其他   时间:2015-04-08 07:50:05    收藏:0  评论:0  赞:0  阅读:101
The Design of HDFS
HDFS is a filesystem designed for storing very large files with streaming data access patterns, running on clusters of commodity hardware. Let’s examine this statement?in more detail:? Very lar...
分类:其他   时间:2015-04-08 06:48:46    收藏:0  评论:0  赞:0  阅读:190
UNIX Domain Socket IPC
目录目录 概述 socket函数使用 struct sockaddr_un socket bind listen accept connect Socket IPC 实例 server client 运行结果概述socket API原本是为网络通讯设计的,但是后来在socket的框架上发展出一种IPC机制,就是UNIX Domain Socket。虽然网络socket也可用于同一台主机的进程间通讯(...
分类:其他   时间:2015-04-08 06:47:55    收藏:0  评论:0  赞:0  阅读:130
通过RS232串口控制LG电视
该文章探讨了如何利用串口通信(RS232)控制LG电视,并用qt编程实现了一个LG电视的控制软件。...
分类:其他   时间:2015-04-08 06:46:35    收藏:0  评论:0  赞:0  阅读:357
Remove Duplicates from Sorted List
看了别人讨论,双指针比较方便http://www.cnblogs.com/springfor/p/3862042.htmlpublic class Solution { public ListNode deleteDuplicates(ListNode head) { if(he...
分类:其他   时间:2015-04-08 06:42:45    收藏:0  评论:0  赞:0  阅读:153
LeetCode: Unique Paths II 解题报告
Unique Paths IITotal Accepted:31019Total Submissions:110866My SubmissionsQuestionSolutionFollow up for "Unique Paths":Now consider if some obstacles a...
分类:其他   时间:2015-04-08 06:35:26    收藏:0  评论:0  赞:0  阅读:169
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!