一、验证应用与正确的服务器通信 (验证 Protection Space) 在 willSendRequestForAuthenticationChallenge 回调方法中,检查 challenge,确定是否想要响应服务器的认证 challenge,同时发出适当的 challenge 响应。 防止 ...
分类:
其他好文 时间:
2016-06-23 12:31:59
阅读次数:
341
Determine whether an integer is a palindrome. Do this without extra space. 判断一个整数是否是回文数。 思路:求出数字abcd的逆序的数值dcba,如果是回文数的话,那么abcd==dcba。 时间复杂度:O(n) pytho ...
分类:
其他好文 时间:
2016-06-22 23:42:39
阅读次数:
304
Over the last two weeks, I have read a paper related to the topic—Gestures authentication and mobile security. Exploring the Design Space of Graphical ...
分类:
其他好文 时间:
2016-06-22 10:39:43
阅读次数:
154
在Intellij开发工具中编译JAVA项目,出现以下错误: 六月 21, 2016 6:28:07 下午 org.apache.tomcat.util.modeler.BaseModelMBean invoke严重: Exception invoking method manageAppjava. ...
分类:
编程语言 时间:
2016-06-21 19:11:33
阅读次数:
1341
热键篇: Template:Alt + / 修改处:Window->Preference->Workbench->Keys->Command->Edit->Content Assist。 个人习惯:Shift+SPACE(空白)。 简易说明:编辑程序代码时,打sysout +Template启动键, ...
分类:
系统相关 时间:
2016-06-21 17:21:39
阅读次数:
166
Alt+回车 导入包,自动修正Ctrl+N 查找类Ctrl+Shift+N 查找文件Ctrl+Alt+L 格式化代码Ctrl+Alt+O 优化导入的类和包Alt+Insert 生成代码(如get,set方法,构造函数等)Ctrl+E或者Alt+Shift+C 最近更改的代码Ctrl+R 替换文本Ctrl+F 查找文本Ctrl+Shift+Space 自动补全代码Ctrl+空格 代码提示Ctr...
分类:
移动开发 时间:
2016-06-21 07:51:17
阅读次数:
169
题目链接https://leetcode.com/problems/length-of-last-word/题目原文
Given a string s consists of upper/lower-case alphabets and empty space characters ’ ‘, return the length of last word in the string.
I...
分类:
编程语言 时间:
2016-06-21 07:42:27
阅读次数:
167
High-Performance Server Architecture
高性能服务器架构
来源:http://pl.atyp.us/content/tech/servers.html
译文来源:http://www.lupaworld.com/home/space-341888-do-blog-id-136718.html
(map注:本人看了一遍,“于我心有戚戚焉”,翻译得也很好,于是...
分类:
其他好文 时间:
2016-06-21 07:41:48
阅读次数:
257
1.概述SMO(Sequentil Minimal Optimization)算法在支持向量机中用来求解对偶问题,即
min 12∑Ni=1∑Nj=1αiαjyiyjK(xi,xj)?∑Ni=1αimin\space {1\over2}\sum_{i=1}^{N}\sum_{j=1}^{N}\alpha _i\alpha _ jy_iy_jK(x_i, x_j)-\sum_{i=1}^N\alph...
分类:
编程语言 时间:
2016-06-21 07:29:02
阅读次数:
667
Given a sorted array, remove the duplicates in place such that each element appear only once and return the new length. Do not allocate extra space fo ...
分类:
其他好文 时间:
2016-06-20 15:27:47
阅读次数:
129