码迷,mamicode.com
首页 >  
搜索关键字:py win    ( 33099个结果
Java执行Shell脚本“No such file or directory” (win->Linux)异常的可能原因
转自:http://blog.csdn.net/zlpdaisy/article/details/6134314用Runtime.getRuntime().exec()方法执行Linux的一个Shell脚本时,报Cannot run program "./script/abc.sh": java.i...
分类:编程语言   时间:2014-05-16 20:18:10    阅读次数:765
centos 安装node js环境
node.js支持多种平台安装,其中Win平台安装比较简单,下面重点讲解下Linux平台的安装步骤。本文以CentOS平台为实例,不准备讲 解采取源码编译安装方式,而是采取在node.js网站下载已经编译好的可执行包,解压安装并设置部分环境变量,因此整个过程非常简单。1、下载并解压最新的node.j...
分类:Web程序   时间:2014-05-15 16:10:55    阅读次数:524
django1.6.x(python3.3)使用pymysql连接mysql
1.安装 pymysql,地址:https://code.google.com/p/pymysql/2.安装django 然后执行django-admin.py startproject mysite3.在project的__init__.py中加如下面的语句 try: import py...
分类:数据库   时间:2014-05-15 15:31:20    阅读次数:337
gdbserver 安卓apk
gdbserver  调试程序 底层调用c/c++ 动态库, 动态库带调试选项 查看手机IP 192.168.1.177 包所调用的c/c++ 库是在/data/data/包名/lib/ 下 1、将安卓ndk 目录/usr/local/src/android-ndk-r9d/prebuilt/android-arm/gdbserver/gdbserver  在win 下通过adb ...
分类:移动开发   时间:2014-05-14 01:19:49    阅读次数:498
python中的单元测试
python中的单元测试可以使用doctest,unittest完成 1.doctest的使用 (1)写入程序如下(cubetest.py): #!/usr/bin/python def cube(x): """ cube a number and return the result >>> cube(2) 8 >>> cube(3) 27 >>> cube(4) 64...
分类:编程语言   时间:2014-05-13 23:33:19    阅读次数:491
vargrind 安卓apk
上层为安卓, 下层为调用c/c++ 库 1、将vargind 按官网方法下载源码编译  得Inst目录 2、通过win 下安卓sdk 中 platform-tools 中的adb push Inst 到/data/local 下 3、可把adb.exe所在目录 设置到系统环境变量中 4、在cmd 中把执行adb push  Inst /data/local/ 5、adb sh...
分类:移动开发   时间:2014-05-13 14:03:30    阅读次数:445
Patrick Sharp Jersey Obviously
l and dished out an assist in the Blackhawks' 5-3 win over the Nashville Predators.Shaw said just playing with the Blackhawks was enough motivation for him."Positive, I'm playing in the NHL," Shaw s...
分类:其他好文   时间:2014-05-13 13:46:10    阅读次数:453
ambari安装问题记录:Ambari Agent host cannot reach Ambari Server 'localhost:8080'.
在安装完ambari-server并配置之后,选定客户端进行指定安装的时候,发现总是遇到这一错误AmbariAgenthostcannotreachAmbariServer‘localhost:8080‘. 我看了一下错误日志发现在从ambari-server传送到客户端的setupAgent.py脚本的main函数中的参数设置老是不对,如下所示:156d..
分类:其他好文   时间:2014-05-13 00:58:06    阅读次数:598
关于父进程和子进程的关系(UAC 绕过思路)
表面上看,在windows中。如果是a进程创建了b进程,那么a进程就是b进程的父进程,反之,如果是b创建了a,那么b进程就是a的父进程,这是在windows出现以来一直是程序猿们都证实的,但是在在win Vista后面有了一个新安全消息机制,UAC(user account control),这里科普下UAC的功能,其实UAC就是大家常见的安装软件或者启动程序的时候的出现的全屏变暗的一个提示框,这...
分类:其他好文   时间:2014-05-13 00:20:04    阅读次数:608
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!