1.首先在命令行输入mysql,看一下本地计算机上是否有mysql。 2.卸载mysql服务: 首先查看安装的rpm的包:rpm –qa |grep mysql 对之前的服务进行删除。rpm –e mysql –server yum –y remove mysql-lib-5.1.52*。 3.下载...
分类:
数据库 时间:
2014-06-28 18:56:02
阅读次数:
628
One of my Ubuntu systems would pop up the following message multiple times after logging in:System program problem detectedDo you want to report the p...
分类:
其他好文 时间:
2014-06-24 10:18:19
阅读次数:
360
流程====1. 了解实验细节2. 分析源代码3. 初步实现4. 最终实现了解实验细节----####需要修改的文件与修改后的目的1. extent_server.cc 实现四个操作,分别是put(key, value), get(key), remove(key), getattr(key)需要考...
分类:
其他好文 时间:
2014-06-24 09:48:35
阅读次数:
204
比如apt-cache show geditapt-cache show vim说明:由于图形化界面方法(如Add/Remove... 和Synaptic Package Manageer)比较简单,所以这里主要总结在终端通过命令行方式进行的软件包安装、卸载和删除的方法。一、Ubuntu中软件安装方...
分类:
其他好文 时间:
2014-06-24 08:54:14
阅读次数:
338
extent_server实现四个操作,分别是put(key, value), get(key), remove(key), getattr(key)需要考虑时间,文件长度等属性yfs_clientextent_client 作为成员变量inum 成员变量,文件的标示符 //为什么这是一个成员变量,...
分类:
其他好文 时间:
2014-06-23 07:03:31
阅读次数:
311
Given a sorted linked list, delete all nodes that have duplicate numbers, leaving only distinct numbers from the original list.
For example,
Given 1->2->3->3->4->4->5, return 1->2->5.
Given 1->1-...
分类:
其他好文 时间:
2014-06-22 22:57:49
阅读次数:
347
Fragment要点
Fragment作为Activity界面的一部分组成出现
可以在一个Activity中同时出现多个Fragment,并且,一个Fragment亦可在多个Activity中使用。
在Activity运行过程中,可以添加、移除或者替换Fragment(add()、remove()、replace())
Fragment可以响应自己的输入事件,并且有自己的生命周期,当然,它们的生命周期直接被其所属的宿主activity的生命周期影响。
而本文简单介绍主要通过点击不同按钮实现切换对应的frag...
分类:
移动开发 时间:
2014-06-22 20:33:24
阅读次数:
296
Given a linked list, remove the nth node from the end of list and return its head.
For example,
Given linked list: 1->2->3->4->5, and n = 2.
After removing the second node from the end, the...
分类:
其他好文 时间:
2014-06-22 20:02:46
阅读次数:
182
在struts映射中重复出现的模式
动作方法
描述
下一个动作方法
add
为save准备网页
save
save
提交INSERT
list
edit
为update准备网页
update
update
提交UPDATE
list
destroy
为remove准备网页
remove
remov...
分类:
其他好文 时间:
2014-06-22 19:41:19
阅读次数:
194
有时候当我们打开很多tabs选项卡时,要关闭它只能一个一个的进行关闭显然太麻烦,这时可以在选项卡的最右边添加一个按钮 实现关闭全部。代码如下:
//获取最后一个tabs 在新加的选项卡后面添加"关闭全部"
var li = $(".tabs-wrap ul li:last-child");
$("#close").remove();
li.after("<a class='tabs-inner' href='javascript:void()' onCl...
分类:
Web程序 时间:
2014-06-22 17:28:47
阅读次数:
268