If your ship doesn't come in, swim out to it. 如果你的船不驶进来,那你就朝他游过去吧! Swim out to it, don't fear that you will be drown, sometimes if you sink to the bot ...
分类:
其他好文 时间:
2017-01-06 12:48:55
阅读次数:
184
Problem: Given a string, find the first non-repeating character in it and return it's index. If it doesn't exist, return -1. Example: 本题的第一想法是开一个字母表计数 ...
分类:
其他好文 时间:
2016-12-28 07:49:01
阅读次数:
189
方法一: 方法一: 方法一: 打开my.ini,查找 sql-mode=”STRICT_TRANS_TABLES,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION” 修改为 sql-mode=”NO_AUTO_CREATE_USER,NO_ENGINE_SUBST ...
分类:
数据库 时间:
2016-12-22 10:51:19
阅读次数:
187
I want a build rule to be triggered by an include directive if the target of the include is out of date or doesn't exist. Currently the makefile looks ...
分类:
其他好文 时间:
2016-12-21 13:49:00
阅读次数:
332
recursively find the node that needs to be deleted Once the node is found, have to handle the below 4 cases node doesn't have left or right - return n ...
分类:
其他好文 时间:
2016-12-14 14:13:56
阅读次数:
190
Mysql服务没启动,用命令启动或者在服务窗口启动时报错:发生错误1067 然后查了许久各自修改my.ini的放都试了,没用 打开错误日志一看,最后一行显示: [ERROR] Fatal error: Can't open and lock privilege tables: Table 'mysq ...
分类:
数据库 时间:
2016-12-13 06:37:59
阅读次数:
246
jboss服务器中jvm参数的设置: 在$JBOSS_HOME/bin下的run.sh里面存在这么一个设置: Java代码 # Force IPv4 on Linux systems since IPv6 doesn't work correctly with jdk5 and lower if [ ...
分类:
编程语言 时间:
2016-12-12 13:53:00
阅读次数:
262
Cppcheck is an analysis tool for C/C++code. Unlike C/C++ compilers and many other analysis tools, it doesn’t detect syntax errors. Cppcheck only detec ...
分类:
编程语言 时间:
2016-12-08 03:31:07
阅读次数:
320
报错信息:StartingMySQL.TheserverquitwithoutupdatingPIDfile(/var/lib/mysql/localhost.localdomain.pid).第一步:查看报错日志:tail-f/var/log/mysqld.log报错信息:[ERROR]Fatalerror:Can‘topenandlockprivilegetables:Table‘mysql.user‘doesn‘texist第二步:经查询获得..
分类:
数据库 时间:
2016-12-08 00:07:00
阅读次数:
230
Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin ...
分类:
数据库 时间:
2016-12-06 03:20:36
阅读次数:
285