本文转载自:http://blog.csdn.net/fnuwfnh/article/details/46698509 最近在学习android 录音方面的知识,发现在部分手机正常运行的APP,在华为平板上挂了,eclipse的Logcat显示MediaRecorder start failed:- ...
分类:
移动开发 时间:
2017-11-04 16:16:49
阅读次数:
337
最近工作中有这样一个需求,需要将A服务器上的文件传到B服务器。 本来想用Java开发,但一想Java开发周期长,应对这样一个小需求没必要用Java,最后选择了Shell脚本,相关代码如下: 指定本地目录,本地目录下是以日期格式为目录名的一系列子目录,扫描出日期目录下的所有xml文件; 传输到远程服务 ...
分类:
系统相关 时间:
2017-11-04 14:52:21
阅读次数:
198
Nginx在配置后遇到了socket问题: [alert] 3336#3636: select() failed (10055: An operation on a socket could not be performed because the system lacked sufficient ...
分类:
其他好文 时间:
2017-11-04 13:13:25
阅读次数:
695
运行交互式的容器: [root@elk02 ~]# docker run -i -t ubuntu:15.10 /bin/bash # root@66d539b6313e:/# ls bin boot dev etc home lib lib64 media mnt opt proc root ru ...
分类:
其他好文 时间:
2017-11-03 20:17:42
阅读次数:
221
1.动态id定位不到元素for example: //WebElement xiexin_element = driver.findElement(By.id("_mail_component_82_82")); WebElement xiexin_element = driver.findElem ...
分类:
Web程序 时间:
2017-11-03 16:16:05
阅读次数:
206
安装anaconda的时候可能会遇到这个报错, 原因可能是:路径不允许有空格 ...
分类:
其他好文 时间:
2017-11-01 00:04:08
阅读次数:
309
金融级MySQL高可用方案选型 ProxySQL高可用方案 DATABASE() fail Consider setting transaction_persistent=1 by default MySQL Query Rules ProxySQL Rules: Do I Have Too Man ...
分类:
其他好文 时间:
2017-10-31 20:13:08
阅读次数:
157
1 #include<cstring> 2 #include<cstdlib> 3 #include<cstdio> 4 //#include<assert.h> 5 //#include<time.h> 6 #include<math.h> 7 //#include<queue> 8 #inclu ...
分类:
其他好文 时间:
2017-10-31 20:12:29
阅读次数:
197
首先Linux下载git,ssh服务都弄好 生成ssh密钥: $ ssh-keygen -t rsa -C "wzq793957419@qq.com" //暂且用我自己的邮箱,可以为你本人的邮箱 然后一直按Enter就ok 生成密钥之后,如果是普通用户 目录就是 ~/.ssh/下面生成: 之后使用c ...
分类:
其他好文 时间:
2017-10-31 18:49:21
阅读次数:
152
报错信息: Installation failed with message failed to finalize session:-26. Installation failed with message INSTALL_FAILED_UNKNOWN_SOURCES. 解决方案: 坚果手机:设置- ...
分类:
移动开发 时间:
2017-10-31 18:43:27
阅读次数:
262