卸载ibus# yum erase ibus* 选择性安装 fcitx# yum install fcitx fcitx-configtool$ ls -a$ vi .bashrc .bash_profile /etc/profile#追加____~~~ export GTK_IM_M...
分类:
其他好文 时间:
2014-11-20 06:45:03
阅读次数:
287
用户来信表达了:Wearenowfacingtheapachecompilefailureissue,andwefoundoutit’sshouldbetheveryoldversionGCC,whiletheOSwasalreadyupgradeto6100butwearestillusingGCCforpowerpc-ibm-aix5.3.0.0,and"WehadcheckedthiscompilecouldbefinishedsuccessfullyonGNUC(GCC)versio..
分类:
其他好文 时间:
2014-11-19 16:17:09
阅读次数:
338
It’s easy to see that Paxos does have a failure mode. When two proposers are active at the same time, they may ‘duel’ for highest proposal number by a...
分类:
其他好文 时间:
2014-11-18 06:56:58
阅读次数:
191
本文翻译自Elasticsearch官方指南的life
inside a cluster一章。
增加故障转移(Failover)功能
只运行一个节点意味着可能存在着单点失败(Single point of failure)的问题 - 因为没有冗余。幸运的是,解决这个问题我们只需要启动另一个节点。
启动第二个节点
为了试验当你添加第二节点时会发生什么,你需...
分类:
其他好文 时间:
2014-11-17 10:45:26
阅读次数:
748
Extjs的三种提交方式:表单Ajax提交,普通提交,单独Ajax提交;1.表单ajax提交(默认提交方式)提交函数:当按下表单中的提交按钮时执行下面的btn函数,按照表单的name进行提交。提交数据后根据后台的返回值不同来回调success或者failure函数(和单独ajax的提交不同),后台返...
分类:
Web程序 时间:
2014-11-14 22:33:22
阅读次数:
297
今天在使用UISearchBar的时候,当真机调试时当点击进入UISearchBar的编辑模式时,程序闪退,错误代码如下: 2014-11-14 11:51:55.552 EcoDuo[3306:1350850] <UIView: 0x17018b120; frame = (0 0; 290 44); clipsT...
分类:
Web程序 时间:
2014-11-14 16:03:06
阅读次数:
271
这是Android系统来运行updater-scripts中的函数介绍。
函数都是的Edify语言,当调用这些函数结束的时候,会返回数据给脚本。当然,你也可以使用这些函数的返回值来确认成功与否,例如:
ifelse(mount("yaffs2", "MTD", "system", "/system") == "system", ui_print("Successfully Mounted!")...
分类:
移动开发 时间:
2014-11-14 00:19:35
阅读次数:
299
建立了一个域用户ftp.始终登陆不上winserver 2008 R2上的FTP.错误如下:530-User cannot log in.Win32 error: Logon failure: unknown user name or bad password.Error details: Anon...
分类:
Windows程序 时间:
2014-11-13 15:59:42
阅读次数:
1076
vector(deque)是一个顺序容器,erase后,后面的元素自动前移,后面所有迭代器失效(地址前移)对顺序容器的erase正确操作方法是使用erase的返回值,erase返回被删元素的下一个元素地址。 iterator erase(iterator __position) { if (...
分类:
其他好文 时间:
2014-11-13 14:15:20
阅读次数:
127