转自:http://hi.baidu.com/fangqianshu/item/dc52b92d31b2dd1542634a3d 其实进入adb shell,然后执行reboot -p或者直接在命令行输入adb reboot -p同样可以实现关机操作,前者系统会有10s的提醒,后者是直接执行关...
分类:
数据库 时间:
2014-09-24 13:48:36
阅读次数:
315
ReadConfig("Noah.BSP", ref connect, ref database); string TableName = database + ".dbo.OUM_Organization"; /// /// xml读取配置文件 /// private void ReadC...
分类:
数据库 时间:
2014-09-24 12:12:56
阅读次数:
294
1.打开IIS2.选择待操作的虚拟目录3.鼠标右键,点击"Convert to Application”4.点击connect as5.选中Specific user,并点击Set6.输入用户名密码并点击OK7.点击Test Settings进行测试8.测试通过,在"Add Application"...
分类:
移动开发 时间:
2014-09-24 11:59:06
阅读次数:
223
import?pymysql
conn?=?pymysql.connect(host=‘localhost‘,?port=3306,user=‘root‘,passwd=‘root‘,db=‘DeliveryAddress‘,charset=‘UTF8‘)
cur?=?conn.cursor()
cur.execute("INSERT?INTO?`ProvinceCityCo...
分类:
数据库 时间:
2014-09-24 05:59:06
阅读次数:
322
两个方法一个获得Url的网页源代码getUrlContentString,另外一个从源代码中得到想要的地址片段,其中需要用到正则表达式去匹配得到网页源代码的过程:地址为string,将地址转换为java中的url对象url的openConnection方法返回urlConnectionurlConnection的connect方法建立连接新..
分类:
编程语言 时间:
2014-09-24 04:07:46
阅读次数:
378
connect with mysql service in virtual pc from really pc environment. it seems to be that the port rule in fire wall configuration should be noticed.
分类:
数据库 时间:
2014-09-24 01:35:45
阅读次数:
244
链接方法: 方式一:
ssh?=?paramiko.SSHClient()
ssh.set_missing_host_key_policy(paramiko.AutoAddPolicy())
ssh.connect("某IP地址",22,"用户名",?"口令")
上面的第二行代码的作用是允许连接不在know_host...
分类:
其他好文 时间:
2014-09-24 01:27:55
阅读次数:
424
accept()函数 系统调用 accept() 会有点古怪的地方的! 你能够想象发生 这种事情:有人从非常远的地方通过一个你在侦听 (listen()) 的port连接 (connect()) 到你的机器。它的连接将增加到等待接受 (accept()) 的队列 中。 你调用 accep...
分类:
其他好文 时间:
2014-09-23 23:45:05
阅读次数:
150
转自:http://www.growingwiththeweb.com/2014/01/handy-adb-commands-for-android.htmlView connected device(s)Use this to view all connected devices and list...
分类:
移动开发 时间:
2014-09-23 18:53:05
阅读次数:
241
1.3.1 oracle stream的启动和监控
第一步,备库使用stream管理用户test启动apply进程
Connect test/test
begin
dbms_apply_adm.start_apply(
apply_name => 'apply_dbwin2');
end;
/
第二步,主库使用stream管理用户test启动capture进程
Connect test/test
begin
dbms_capture_adm.start_capture(
c...
分类:
数据库 时间:
2014-09-23 17:05:04
阅读次数:
414