Your boss once had got many copies of a treasure map. Unfortunately, all the copies are now broken to many rectangular pieces, and what make it worse, he has lost some of the pieces.
Luckily, it is...
分类:
其他好文 时间:
2014-12-25 00:15:48
阅读次数:
198
昨天财务打电话过来说浙江国税申报系统网页报错具体情况是开始都ok,就是在查看后面页面的时候报下面的错误Request-URITooLargeTherequestedURL‘slengthexceedsthecapacitylimitforthisserver.Apache/2.2.12(Ubuntu)Serverat127.0.1.1Port80第一反应是服务器问题但旁边的电脑上..
分类:
其他好文 时间:
2014-12-24 18:32:05
阅读次数:
194
题目:
Given n, how many structurally unique BST's (binary search trees) that store values 1...n?
For example,
Given n = 3, there are a total of 5 unique BST's.
1 3 3 2 ...
分类:
编程语言 时间:
2014-12-23 22:47:03
阅读次数:
301
项目本质是使用SSH框架构建J2EE web,同时对各个模块能自动生成MVC各层的文件而自动实现该模块基本的增删改查的功能。 总体思路是先搭建好了基于SSH的web工程,配置好各个框架的配置文件确定好各层文件的目录。然后根据数据库表使用eclipse的插件jboss hibernate too...
分类:
Web程序 时间:
2014-12-23 19:04:55
阅读次数:
251
As the most powerful diagnostic tool for GM vehicles,GM Tech 2has won for itself many car fans. Additionally, it is still available to do diagnosis fo...
分类:
其他好文 时间:
2014-12-23 17:02:59
阅读次数:
153
题目:
You are climbing a stair case. It takes n steps to reach to the top.
Each time you can either climb 1 or 2 steps. In how many distinct ways can you climb to the top?
思路解析:
无法一下子判断是 Fib...
分类:
编程语言 时间:
2014-12-23 15:39:32
阅读次数:
309
最开始以为是自己字符长度问题,缩短后还是有问题。原来是因为中文编码。解决办法:修改my.ini文件中的default_character_set=gbk;# CLIENT SECTION# -------------------------------------------------------...
分类:
数据库 时间:
2014-12-23 15:23:33
阅读次数:
136
Chocolate in its many forms is enjoyed by millions of people around the world every day. It is a truly universal candy available in virtually every co...
分类:
其他好文 时间:
2014-12-23 06:37:43
阅读次数:
269
重构前class WechatLog < ActiveRecord::Base has_many :wechats belongs_to :wechat_platform has_many :img_text_messages def self.add_wechat_text_message...
分类:
其他好文 时间:
2014-12-23 00:01:19
阅读次数:
507
PEP8:line too long #>120
字符串赋值太长解决:
字符串
Python除处理数字外还可以处理字符串,字符串用单撇号或双撇号包裹:
>>> 'spam eggs'
'spam eggs'
>>> 'doesn/'t'
"doesn't"
>>> "doesn't"
"doesn't"
>>> '"Yes," he said.'
'"Yes," he said...
分类:
编程语言 时间:
2014-12-22 21:19:08
阅读次数:
197