题目: Given a string S, find the longest palindromic substring in S. You may assume that the maximum length of S is 1000, and there exists one unique lo ...
分类:
其他好文 时间:
2016-10-24 21:03:27
阅读次数:
208
1.操作mysql的标准流程 上述代码实现了在pycharm下操作mysql的一个标准流程。其中的重点是: #.创建连接 conn = pymysql.connect(host='127.0.0.1', port=3306, user='root', passwd='123', db='t1') # ...
分类:
数据库 时间:
2016-10-24 20:33:22
阅读次数:
465
@Controller和@RestController的区别?官方文档:@RestController is a stereotype annotation that combines @ResponseBody and @Controller.意思是:@RestController注解相当于@Re ...
分类:
其他好文 时间:
2016-10-23 21:03:27
阅读次数:
211
以下为控制台输入代码序列一、sudo sh -c 'echo "deb [arch=amd64] https://apt-mo.trafficmanager.net/repos/dotnet/ xenial main" > /etc/apt/sources.list.d/dotnetdev.list ...
分类:
Web程序 时间:
2016-10-23 14:11:29
阅读次数:
192
参考:http://stackoverflow.com/questions/2118656/commandbutton-commandlink-ajax-action-listener-method-not-invoked-or-input-value ...
分类:
数据库 时间:
2016-10-23 11:26:40
阅读次数:
171
配置jdk环境遇到的问题: 在使用cp指令复制文件夹时,出现错误如下:~/programs/qt$ cp p20_gotocelldialog ./p22_gotocelldialogcp: 略过目录"p20_gotocelldialog"解决方法:cp 后加-r原因:用man命令查看cp指令-R, ...
分类:
系统相关 时间:
2016-10-23 02:53:41
阅读次数:
327
Some time ago there was a problem with the servlet3.0, is in servlet in asynchronous processing data, due to time outs, dry method terminates, but the ...
分类:
其他好文 时间:
2016-10-23 02:27:50
阅读次数:
378
from pexpect import pxsshhost = '192.168.80.139'user = 'allen'password = 'allen'command = 'df -h'def connect(hostname, username, password): try: s = p ...
分类:
编程语言 时间:
2016-10-23 02:09:52
阅读次数:
298