这一篇《我的MYSQL学习心得(十五)》将会讲解MYSQL的日志 MYSQL里的日志主要分为4类,使用这些日志文件,可以查看MYSQL内部发生的事情。 分别是 1、错误日志:记录mysql服务的启动、运行、停止mysql服务时出现的问题 error log 2、查询日志:记录建立的客户端连接和执行的 ...
分类:
数据库 时间:
2017-04-26 15:42:00
阅读次数:
160
原文链接 一.创建版本库 ①初始化一个Git仓库:git init ②添加文件到Git仓库:1.git add<file> ; 2.git commit 二.时光机穿梭 ①查看工作区状态,文件是否被修改过:git status ②查看修改的内容:git diff 1.版本回退 ①HEAD:当前版本 ...
分类:
其他好文 时间:
2017-04-26 12:59:46
阅读次数:
174
Data Analysis: indoor localization using received signal strength (RSS) An error about list operation in python: append and extend elements We define ...
分类:
移动开发 时间:
2017-04-25 23:39:05
阅读次数:
440
The error was in my graduate work which was about game development.I broadcast some messages to the objects(custmers) registered as Observer who would ...
分类:
其他好文 时间:
2017-04-25 23:29:31
阅读次数:
252
比较暂存区域和工作目录 -git diff 分别拷贝暂存区和工作目录的文件到a和b文件夹 //表示旧文件 暂存区的 +++ //表示新文件 工作目录的 F 一页一页往下移 B 一页一页往上移 D向下移动半页 U向上移动半页 /·········· 搜索命令 q 退出 比较两个任意快照: git di ...
分类:
其他好文 时间:
2017-04-25 00:54:02
阅读次数:
222
A binary search tree is a binary tree. It may be empty. If it is not empty, it satisfies the following properties: (1) Every node has a key, and no tw ...
分类:
其他好文 时间:
2017-04-23 22:21:39
阅读次数:
241
写在前面:研究操作系统,习惯了用C,但是在做算法题甚至构建大型系统时,C真的是噩梦。还是用C++比较好,基本算法很成熟,并可基于此实现更复杂的算法。那就边写算法边捡起来好久不用的C++吧! 题目:数组中的k差对(K-diff Pairs)。输入为一个数组A和一个整数k,找到数组中 所有的数值对pai ...
分类:
编程语言 时间:
2017-04-23 10:50:15
阅读次数:
158
Given a binary search tree with non-negative values, find the minimum absolute difference between values of any two nodes. Example: Note: There are at ...
分类:
其他好文 时间:
2017-04-22 15:46:51
阅读次数:
195
直接说每条命令了 git status是显示当前文件所处于的状态。 ? /Users/alps/Sites/judianer/1 git:(master)>git status On branch master Your branch is up-to-date with 'origin/maste ...
分类:
其他好文 时间:
2017-04-22 12:39:45
阅读次数:
198
diff 命令 1.命令格式: diff [参数] [文件1或目录1] [文件2或目录2] 2.命令功能: diff命令能比较单个文件或者目录内容。如果指定比较的是文件,则只有当输入为文本文件时才有效。以逐行的方式,比较文本文件的异同处。如果指定比较的是目录的时候,diff 命令会比较两个目录下名字 ...
分类:
系统相关 时间:
2017-04-21 20:25:33
阅读次数:
226