1.mysql启动报错 解决:查看相关路径的配置文件的basedir、datadir等路径是否正确。 解决:查看报错路径下是否有文件,若没有可找相应文件做软链接,或者/etc/my.cnf部分路径配置错误。 2.mysql重启报错 解决:查看MySQL相关进程是否清理干净,之后再启动。 3.在/et ...
分类:
数据库 时间:
2017-06-16 19:22:06
阅读次数:
154
tree = ET.parse("Result.xml")root = tree.getroot()print type(root)print root.tag # 得到root 标签print root.text #得到标签的值print root.attrib def parserResultX ...
分类:
编程语言 时间:
2017-06-16 16:42:11
阅读次数:
269
Silver, David, et al. "Mastering the game of Go with deep neural networks and tree search." Nature 529.7587 (2016): 484-489. Alphago的论文,主要使用了RL的技术,不知道 ...
分类:
Web程序 时间:
2017-06-12 20:46:02
阅读次数:
192
焦点事件:OnFocusChangeListener et.setOnFocusChangeListener(new OnFocusChangeListener() { @Override public void onFocusChange(View v, boolean hasFocus) { i ...
分类:
其他好文 时间:
2017-06-10 21:31:12
阅读次数:
109
1. 在/home文件夹中创建一百个文件夹。文件夹名称依次为a1……a100. 2. 编写一个脚本。自己主动将用户主文件夹下全部小于5KB的文件打包成XX.tar.gz.(提示:用ls。grep,find等命令。文件一般指普通文件) 3.写一个程序,能够将/et/passwd的第一列取出,并且每一列 ...
分类:
系统相关 时间:
2017-06-10 12:34:08
阅读次数:
215
Button bt; EditText et; TextView tv; @Override protected void onCreate(Bundle savedInstanceState) { // TODO Auto-generated method stub super.onCreate(... ...
分类:
其他好文 时间:
2017-06-08 20:28:17
阅读次数:
242
js抽象代码: ;(function($){ /**时间间隔对象 * @author Karajan * @param gap 间隔毫秒 * @param {cT:当前时间(毫秒),eT:截止时间(毫秒),gap:间隔(毫秒),aEven:到点触发的事件function,iEven:初始化函数,初始... ...
分类:
其他好文 时间:
2017-06-08 17:59:51
阅读次数:
199
1.报此错误:2017-06-07 09:02:44.308 ERROR 340 [et_localhost-19] c.n.e.cluster.ReplicationTaskProcessor : Batch update failure with HTTP status code 401; di ...
分类:
编程语言 时间:
2017-06-07 10:10:09
阅读次数:
947
//解决dilaog中EditText无法弹出输入的问题 dialog.getWindow().clearFlags(WindowManager.LayoutParams.FLAG_ALT_FOCUSABLE_IM); //弹出对话框后直接弹出键盘 et_newReason.setFocusable... ...
分类:
其他好文 时间:
2017-06-03 14:08:05
阅读次数:
239
UVA 10515 - Powers Et Al. 题目链接 题意:求出m^n最后一位数 思路:因为m和n都非常大,直接算肯定是不行的,非常easy想到取最后一位来算,然后又非常easy想到最后一位不断乘自身肯定会形成周期。而且这个周期还挺短的,于是先求出周期,然后用n去取模该周期求出答案是第几个就 ...
分类:
其他好文 时间:
2017-06-03 10:06:11
阅读次数:
201