1.执行安装命令 brew install mysql2.执行完输入mysql会有如下bugERROR 2002 (HY000): Can not connect to local MySQL server through socket '/tmp/mysql.sock' (2)3.bug解决方案unset TMPDIR4.然后mysql_install_db --verbose --user=r...
分类:
数据库 时间:
2015-04-09 17:37:48
阅读次数:
153
Can’t connect to local MySQL server through socket 解决办法...
分类:
数据库 时间:
2015-04-05 20:32:52
阅读次数:
203
9017. Amazing Mazes
Constraints
Time Limit: 1 secs, Memory Limit: 256 MB
Description
You are requested to solve maze problems. Without passing through these mazes, you ...
分类:
其他好文 时间:
2015-03-30 09:18:21
阅读次数:
188
A Walk Through the Forest
Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)
Total Submission(s): 6277 Accepted Submission(s): 2313
Problem Description
Jimm...
分类:
其他好文 时间:
2015-03-28 17:21:06
阅读次数:
125
首先安装 homebrew再 brew install mysql之后连接 mysql 无论是登录还是修改初始密码都会报如下的错误ERROR 2002 (HY000): Can not connect to local MySQL server through socket '/tmp/mysql....
分类:
数据库 时间:
2015-03-21 18:33:10
阅读次数:
192
vector getAllFileNamesInDirectory(){ //ref to: http://stackoverflow.com/questions/5749488/iterating-through-files-in-a-folder-with-nested-folders-coc....
分类:
其他好文 时间:
2015-03-19 18:16:23
阅读次数:
212
原文:http://stackoverflow.com/questions/5511433/how-to-exclude-certain-messages-by-tag-name-using-android-adb-logcat
down vote
accepted
If you are using adb logcat you could pipe it through grep and use it's inverted matching: From the grep manpage:
v, --i...
分类:
移动开发 时间:
2015-03-18 10:40:29
阅读次数:
421
DescriptionA cellular automaton is a collection of cells on a grid of specified shape that evolves through a number of discrete time steps according to a set of rules that describe the new state of a c...
分类:
其他好文 时间:
2015-03-17 21:52:30
阅读次数:
130
uva 10564 Paths through the Hourglass
Paths through the Hourglass
Input: Standard Input
Output: Standard Output
Time Limit: 2 Seconds
In the hourglass to the right a path is marked. A path...
分类:
其他好文 时间:
2015-03-14 09:45:27
阅读次数:
124
uva 116 Unidirectional TSPBackgroundProblems that require minimum paths through some domain appear in many different areas of computer science. For example, one of the constraints in VLSI routing probl...
分类:
其他好文 时间:
2015-03-12 20:54:14
阅读次数:
185