在WCF中,会话(Session)是服务端获取客户端会话信息的一种机制,本文描述了会话存在的前提条件和范围,以及具体操作。
分类:
其他好文 时间:
2015-07-14 11:18:14
阅读次数:
110
Wireshark数据抓包教程之Wireshark的基础知识
分类:
其他好文 时间:
2015-07-14 11:17:47
阅读次数:
120
转自:http://blog.sina.com.cn/s/blog_89d90b7c0102va4m.html最近在看热扭曲效果,里面用到了GrabPass。之前看过官方翻译版本的说明http://blog.sina.com.cn/s/blog_89d90b7c01019run.html但是还是无法...
分类:
其他好文 时间:
2015-07-14 11:16:14
阅读次数:
215
int main(){ int MaxSize = 100,i,j; char tmp[10]; PtrToStack s; s = CreateStack(MaxSize); while( scanf("%s",tmp) != EOF ) { in...
分类:
其他好文 时间:
2015-07-14 11:15:36
阅读次数:
129
Diesel powered timepieces europe are the cause of a lot of the firm's income alongside a really stylish kids series and also components. The particula...
分类:
其他好文 时间:
2015-07-14 11:17:32
阅读次数:
118
1. Question给定整型数组和target,找数组中的所有和为target的四个数,将其按值升序排列输出,输出结果不包含重复数对。Given an array S of n integers, are there elements a, b, c, and d in S such that a...
分类:
其他好文 时间:
2015-07-14 11:15:43
阅读次数:
202
最终效果:在径向菜单的制作前,首先需要知道几点知识点:Math.sin(x) x 的正玄值。返回值在 -1.0 到 1.0 之间;Math.cos(x)x 的余弦值。返回的是 -1.0 到 1.0 之间的数;这两个函数中的X 都是指的“弧度”而非“角度”,弧度的计算公式为: 2*PI/360*角度,...
分类:
其他好文 时间:
2015-07-14 11:14:42
阅读次数:
155
https://leetcode.com/problems/sort-colors/计数排序问题 1 class Solution { 2 public: 3 void sortColors(vector& nums) { 4 int rates[3]={0}; 5 ...
分类:
其他好文 时间:
2015-07-14 11:16:22
阅读次数:
127
Exchange集线器传输服务器角色HUB脱域重新加域发现telnet25连不上,同时以下两个服务开不起来,报错:1053MicrosoftExchangeProtectedServiceHost和MicrosoftExchangeServiceHost同时在系统日志里发现很多报错:于是我把这台重加域的HUB加到ExchangeServers组,重启服务器好了..
分类:
其他好文 时间:
2015-07-14 10:11:38
阅读次数:
170
HttpServletRequest.getParameter("modelName");能取到想要的modelObject吗?经过测试之后,发现是不能的。后来想想,其他道理挺简单的,当两个Web组件之间为转发关系时,转发源会将要共享request范围内的数据先用setAttribute将数据放入到HttpServletRequest对象中,然后转发目标通过getAttribute方法来取得要共享...
分类:
其他好文 时间:
2015-07-14 10:12:37
阅读次数:
137
//将list存入vector,然后翻转中间部分数列
class Solution {
public:
ListNode* reverseBetween(ListNode* head, int m, int n) {
vector node;
ListNode* cur = head;
for(int i=0;i
...
分类:
其他好文 时间:
2015-07-14 10:12:31
阅读次数:
109
题目Given a binary search tree (BST), find the lowest common ancestor (LCA) of two given nodes in the BST.According to the definition of LCA on Wikipedia: “The lowest common ancestor is defined between t...
分类:
其他好文 时间:
2015-07-14 10:09:09
阅读次数:
219
//添加一个图片
UIImageView *imageview = [[UIImageView alloc]init];
imageview.frame = CGRectMake(10, 100, 300, 300);
imageview.contentMode = UIViewContentModeScaleAspectFit;
i...
分类:
其他好文 时间:
2015-07-14 10:11:16
阅读次数:
135
Given an array of strings, return all groups of strings that are anagrams.
Note: All inputs will be in lower-case.
这道题是题目都没读懂,不知道Anagrams什么意思。Anagrams的意思是那些字符串的组成字符相同。比如说abc,那么abc这三个字符的所有排列都是Anagr...
分类:
其他好文 时间:
2015-07-14 10:08:44
阅读次数:
109
最近正在琢磨实现ESP8266的广域网功能,准备接入一些大的云平台。后续做了一些平台对接之后,会专门写一篇文章来总结对比各家的云平台。
这里很感谢yeelink为开发者提供的便利,两年多前接触以太网的时候就听过yeelink,后来看到他们出了自己的灯,后来又加入了小米生态链,感觉他们在良好地发展着。目前了解到yeelink的平台是接入门槛最低的,注册开发者帐号即可使用。于是乎做了一些尝试,写下这篇文章。...
分类:
其他好文 时间:
2015-07-14 10:08:23
阅读次数:
195
对于刚开始开发的人会有不错的指导作用,如果经验不是很多的话,先照着做,然后在实践中一点点去体会和修正也是不错的。
对于有一些开发经验的人来说,对于里面的每一个小点,可能都了解甚至实践很多,但是不妨从另外一个视角来看,就是系统性,起码我个人来说,能集中的过一遍开发中涉及的方方面面,去反思和抽象,也很有收获。...
分类:
其他好文 时间:
2015-07-14 10:08:12
阅读次数:
115