#!/usr/bin/python
#-*-coding:utf-8-*-
importparamiko,os,datetime
server_ip=‘192.168.1.123‘
server_user=‘root‘
server_passwd=‘10241010‘
server_port=22
#local_dir=‘C:\Python27‘
#remote_dir=‘/soft2/nba/‘
defssh_connect():
ssh=paramiko.SSHClient()
ssh.set_missi..
分类:
编程语言 时间:
2014-05-27 03:51:40
阅读次数:
283
首先检测本地计算机的Apache服务器是否启动 在浏览器地址栏中输入:localhost 通过是否有返回结果,即可判断本地的Apache是否正常工作
本地计算机尚未启动服务器 启动服务器 sudo apachectl -k start 重启服务器 sudo apachectl -k resta...
分类:
移动开发 时间:
2014-05-23 09:00:48
阅读次数:
442
1.解释实现多线程的几种方法?一 Java 线程可以实现 Runnable 接口或者继承 Thread
类来实现,当你打算多重继承时,优先选择实现 Runnable。2.Thread.start ()与 Thread.run
()有什么区别?Thread.start ()方法(native)启动线程...
分类:
编程语言 时间:
2014-05-23 08:37:33
阅读次数:
311
1
--==============查看数据库表的容量大小========start================================?============
2 Create Table #TableSpaceInfo --创建结果存储表 3 ( 4 NameInfo NV...
分类:
数据库 时间:
2014-05-23 08:34:58
阅读次数:
397
源于:http://www.jkqnb.com/ydkf/article/427.在iTunes创建填写应用基本信息依旧打开苹果的开发者网站 https://developer.apple.com/
点击Member,如下图 (注意,下面的图示是登录之后的) 点击iTunes Connect,...
分类:
移动开发 时间:
2014-05-22 06:01:53
阅读次数:
373
substring
方法用于提取字符串中介于两个指定下标之间的字符substring(start,end)开始和结束的位置,从零开始的索引参数 描述start
必需。一个非负的整数,规定要提取的子串的第一个字符在 stringObject 中的位置。stop 可选。一个非负的整数,比要提取的子...
分类:
Web程序 时间:
2014-05-22 04:55:54
阅读次数:
264
/**根据完美二叉树或者非完美二叉树都可以,利用左右子树的根节点的next节点信息来连接next*/public void
connect(TreeLinkNode root){ if(root==null) return; //利用父节点的next...
分类:
其他好文 时间:
2014-05-22 03:03:39
阅读次数:
183
assumecs:codecodesegment ;第一步:把中断向量表中0号表项的内容进行修改,使之指向我们自己编写 ;的中断处理程序的入口地址start: movax,0 movds,ax movwordptrds:[0],0200h movwordptrds:[2],0 ;第三步,把我们刚才编写好的0号中断处理程序拷贝到中断向量表中 ;0号表项所指..
分类:
编程语言 时间:
2014-05-21 02:32:29
阅读次数:
321
assumecs:code,ds:datadatasegment msgdb"helloworld"dataendscodesegment start: movax,data movds,ax movbx,0b800h moves,bx movcx,11 movsi,0 movbx,0 movah,01000010bs:moval,ds:[si]moves:[bx],almoves:[bx+1],ahincsiaddbx,2loopsmovax,4c00hint21hcodeendsendstart运..
分类:
编程语言 时间:
2014-05-20 20:36:44
阅读次数:
375
用xtrabackup进行数据备份恢复时出现如下问题:InnoDBBackupUtilityv1.5.1-xtrabackup;Copyright2003,2009InnobaseOyandPerconaInc2009-2011.AllRightsReserved.ThissoftwareispublishedundertheGNUGENERALPUBLICLICENSEVersion2,June1991.option_ibbackup_binaryisautodetect,..
分类:
数据库 时间:
2014-05-20 17:45:40
阅读次数:
573