转自:http://linux.sheup.com/linux/linux5303.htm linux客户端访问samba服务器的指令2004-04-23 15:18 pm来自:Linux文档现载:Www.8s8s.coM地址:无名 linux客户端要连接samba/windows文件服务器...
分类:
系统相关 时间:
2014-11-26 13:46:05
阅读次数:
203
1 import android.content.Context; 2 import android.content.pm.PackageInfo; 3 import android.content.pm.PackageManager; 4 import android.content.pm.Pa....
分类:
移动开发 时间:
2014-11-23 23:06:48
阅读次数:
468
好长时间没写Blog了,最近又要实现类似功能,每次都百度去找不是很方便,还是在自己的blog上记录一笔吧!
方法共有三种:
1.申请亮屏锁
pm = (PowerManager)context.getSystemService(Context.POWER_SERVICE);
//得到电源管理器对象
wl = pm.newWakeLock(PowerManager.ACQUIRE_CAU...
分类:
移动开发 时间:
2014-11-21 18:58:27
阅读次数:
230
想要做到静默安装,其实就是要有权限执行pm install命令。准备工作其实就两步:1、获取执行权限2、执行命令我们首先介绍第二步,如何执行pm install命令:关键代码其实就一句:Runtime.getRuntime().exec("pm install xxx.apk");网上也有人提到利用...
分类:
其他好文 时间:
2014-11-21 15:39:19
阅读次数:
168
1. show all app $ adb shell pm list packages -f2. installadb install *.apkadb install -r *.apk3.show all packageadb shell pm list packages4. find apk ...
分类:
数据库 时间:
2014-11-19 15:49:45
阅读次数:
215
Bugzilla不能上传附件
环境:win7、Bugzilla
错误提示:CGI.pm open of tmpfile \\CGItemp5760/QQ.png failed: No such file or directory
;
一种解决方法:在C盘创建一个文件夹temp;找到CGI.pm文件,路径为C:/bugzilla/lib/CGI.pm,用记事本打开CGI.pm,找到变量CG...
分类:
Web程序 时间:
2014-11-19 12:41:45
阅读次数:
160
[root@openfire-x86v-app0120141118-0931]#tsung_statscreatingsubdirectorydatacreatingsubdirectorygnuplot_scriptscreatingsubdirectoryp_w_picpathswarn,lastinterval(8)notequaltothefirst,usethefirstone(10)NodataforBoshNodataforMatchNodataforEventCan‘tlocateTempla..
分类:
其他好文 时间:
2014-11-19 02:08:12
阅读次数:
703
[root@openfire-x86v-app0120141118-0931]#tsung_statscreatingsubdirectorydatacreatingsubdirectorygnuplot_scriptscreatingsubdirectoryp_w_picpathswarn,lastinterval(8)notequaltothefirst,usethefirstone(10)NodataforBoshNodataforMatchNodataforEventCan‘tlocateTempla..
分类:
其他好文 时间:
2014-11-19 02:07:10
阅读次数:
160
Nginx自带监控模块ngx_http_stub_status_module提供Nginx的基本信息在编译安装Nginx时加参数--with-http_stub_status_module安装好以后可以通过nginx-V|grephttp_stub_status_module查看状态模块是否已安装PHP-FPM也自带监控,通过在php-fpm.conf中设置pm.status_path=/php-fpm..
分类:
Web程序 时间:
2014-11-17 12:32:45
阅读次数:
252
做事情需要讲究心法,这是因为只有内在的理解了,才会真正地运用。
作为PM,其实是一个承上启下的角色,对于下面,需要做的就是搭建一个平台,让你的项目组成员在里面起舞;同时你要告诉他们:做什么以及怎么做。比如做项目你有没有在每次迭代开始开项目启动会,告诉本轮迭代的周期是怎样的,项目组各个成员谁都负责什么...
分类:
其他好文 时间:
2014-11-16 15:58:16
阅读次数:
227