1.解决Invalid derived query! No property find found for type XX的问题 : 取消红色圈圈的复选框打钩状态 ...
分类:
其他好文 时间:
2017-12-08 20:42:37
阅读次数:
120
我就想了个递归, 还是没有区分掉一些重复的情况,worst case O(2^n)基本同暴力解 Map> allSubSet = new HashMap(); Set getAllPalidrome(String s, int x, int y){ int ind = x * s.length() ... ...
分类:
其他好文 时间:
2017-12-03 11:45:01
阅读次数:
234
原文转自 http://blog.csdn.net/u014303844/article/details/51397556 CString和string在unicode与非unicode下的相互转换 最近想写一个手机控制电脑的玩具,涉及到了socket通信,数据采用json通用格式,首先是jsonc ...
分类:
其他好文 时间:
2017-12-01 16:42:50
阅读次数:
120
test suit $nbsp; $nbsp; $nbsp; $nbsp; $nbsp; $nbsp; $nbsp; 忍者Ninja ...
分类:
Web程序 时间:
2017-11-27 16:47:58
阅读次数:
161
文字设置 font-family:"微软雅黑" text-indent:2em;(文字缩进) font-weight: bold(粗体) normal (正常的字体) text-transform: uppercase; 大写 letter-spacing:15px; 文字间距 font-style ...
分类:
其他好文 时间:
2017-11-21 14:52:23
阅读次数:
165
任务和线程的启动很容易。在大多数情况下我们都会让他们运行直到结束,或是让他们自行停止。但是,有时我们希望提前结束任务或是线程,可能是因为用户请求取消,或是线程在规定时间内没有结束,或是出现了一些问题迫使线程要提前结束。 强制一个线程或是服务立即停止,可能会造成共享数据状态不一致的问题,比如,两个线程 ...
分类:
编程语言 时间:
2017-11-18 20:57:49
阅读次数:
244
消息中间件的使用场景 异构系统解耦(订单系统与库存系统解耦) 并行处理任务(用户上传图片后,需要执行1图片缩放,2通知朋友,3奖励积分) 异步处理任务(用户注册后,发送邮件通知) 缓解数据洪峰(流量削峰) 日志处理(kafka) 死信队列 超出重试次数后被放置到“死信队列”(Dead Letter ...
分类:
其他好文 时间:
2017-11-17 23:26:08
阅读次数:
252
Given a list of strings words representing an English Dictionary, find the longest word in words that can be built one character at a time by other wo... ...
分类:
其他好文 时间:
2017-11-16 23:51:56
阅读次数:
165
遍历列表deftravel(string): index=0 whileindex<len(string): letter=string[index] printletter index=index+1a="12ww1wwwwww"printtravel(a)bogon:hhhhhzhouhaijun$pythonpy_02.py12ww1wwwwww
分类:
编程语言 时间:
2017-11-15 10:54:30
阅读次数:
221
A message containing letters from A-Z is being encoded to numbers using the following mapping: Given an encoded message containing digits, determine t ...
分类:
其他好文 时间:
2017-11-13 13:51:57
阅读次数:
126