phpmailer邮件发送 错误 :SMTP Error: Could not authenticate.解决方法:
分类:
Web程序 时间:
2014-12-15 11:51:49
阅读次数:
264
Determine whether an integer is a palindrome. Do this without extra space.
click to show spoilers.
Some hints:
Could negative integers be palindromes? (ie, -1)
If you are thinking of convertin...
分类:
其他好文 时间:
2014-12-15 09:03:15
阅读次数:
154
<beans xmlns="http://www.springframework.org/schema/beans"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:context="http://www.springframework.org/schema/context"
xmlns:mvc="ht...
分类:
数据库 时间:
2014-12-14 13:22:11
阅读次数:
280
终于完成了LeetCode 上AC率在30%以上的题目,这道题是最后一道,纪念一下。
原题是这个样子的:
Given a binary tree containing digits from 0-9 only, each root-to-leaf path could represent
a number.
An example is the root-to-leaf...
分类:
其他好文 时间:
2014-12-14 00:49:21
阅读次数:
157
spring date jpa 错误:could not resolve property: name of:
在写 查询的时候,把实体类的属性写错了,即 sql 语句中字段与实体类中属性没有对应,造成无法解析。
@Query("from Product p where p.id.productName like :name")
List getInfoByName(@Par...
分类:
其他好文 时间:
2014-12-13 21:51:02
阅读次数:
255
题目为:
Given an array of integers, every element appears twice except for one. Find that single one.
Note:
Your algorithm should have a linear runtime complexity. Could you implement it without...
分类:
其他好文 时间:
2014-12-12 23:39:44
阅读次数:
473
经过排查,发现项目里面的日志组件是logback, slf4j的一个实现方式。有效日志如下所示。 log4j:WARN?No?appenders?could?be?found?for?logger?(org.springframework.web.context.ContextLoader).
log4j:...
分类:
系统相关 时间:
2014-12-12 17:11:46
阅读次数:
259
[root@Oraclehttpd-2.2.27]#/etc/init.d/httpdstarthttpd:Couldnotreliablydeterminetheserver‘sfullyqualifieddomainname,using127.0.0.1forServerName解决措施:[root@Oraclehttpd-2.2.27]#vim/usr/local/apache2/conf/httpd.confServerNamelocalhost:80
分类:
Web程序 时间:
2014-12-12 16:57:07
阅读次数:
135
题目
A linked list is given such that each node contains an additional random pointer which could point to
any node in the list or null.
Return a deep copy of the list.
解答
题目要求拷贝一个链表,该链表除了一个next...
分类:
其他好文 时间:
2014-12-12 16:45:27
阅读次数:
210
A linked list is given such that each node contains an additional random pointer which could point to any node in the list or null.Return a deep copy ...
分类:
其他好文 时间:
2014-12-12 06:40:38
阅读次数:
205