我们有一个软件系统,必须要依赖远程桌面来安装与运行的。可是怎么检测远程桌面是否已经开放并且在运行呢?有一个注册表项HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Terminal
Server\fDenyTSConnections如果是1表示禁...
分类:
其他好文 时间:
2014-05-16 22:56:42
阅读次数:
326
分享下Python
getopt模块处理命令行选项的一些例子。在python编程中,getopt模块与shell中的getopt参数模块一样灵活而实用。getopt模块用于抽出命令行选项和参数,也就是sys.argv命令行选项使得程序的参数更加灵活。支持短选项模式和长选项模式例如python
scr...
分类:
编程语言 时间:
2014-05-16 22:10:35
阅读次数:
290
Error log:Problem
Description-------------------1.Prepare DatabaseRun the RCU utilityCreate
Prefix: DEVSelect:IdentityManagement->Oracle Adaptive Acce...
分类:
其他好文 时间:
2014-05-16 21:18:44
阅读次数:
426
asp.net 的加密和解密(c#):1. 导入所需包:using
System.IO;using System.Text;using
System.Security.Cryptography;2.加密1)MD5普通加密//获取要加密的字段,并转化为Byte[]数组byte[] data =
Sys...
分类:
Web程序 时间:
2014-05-16 18:53:50
阅读次数:
375
control.ascx using System;using
System.Collections.Generic;using System.Linq;using System.Web;using
System.Web.UI;using System.Web.UI.WebControls...
分类:
Web程序 时间:
2014-05-16 08:36:25
阅读次数:
362
/proc/sys/vm/drop_caches(since Linux 2.6.16)Writing
to this file causes the kernel to drop clean caches,dentries and inodes from
memory, causing that ...
分类:
系统相关 时间:
2014-05-14 08:54:16
阅读次数:
331
检查AWR当前设置:SQL> select * from
dba_hist_wr_control; DBID SNAP_INTERVAL RETENTION TOPNSQL----------
------------------------- ------------------------- -...
分类:
其他好文 时间:
2014-05-14 08:45:07
阅读次数:
374
刚接触oracle,在学习过程中遇到了很多的问题,本文章将会收藏我遇到的问题及如何解决。错误一:ORA-28009:connectionassysshouldbeassysdba解决方法:用户名称:sys,口令:password,主机字符串:orcl
as sysdba(我设置的全局数据库名为orc...
分类:
数据库 时间:
2014-05-13 20:08:40
阅读次数:
421
#!/usr/bin/envpython#coding:utf8#此脚本为查找递归目录下所有文件匹配的内容importos,sys,tabdefpaths(path):list_path=os.walk(path)all_file=[]forp,d,flinlist_path:forfinfl:pfile=os.path.join(p,f)ifos.path.isdir(pfile):paths(pfile)all_file.append(pfile)returnall..
分类:
编程语言 时间:
2014-05-13 03:49:34
阅读次数:
426
#!/usr/bin/envpython#coding:utf8importos,sys,glob,time,MySQLdb,reDIRNAME=os.path.dirname(__file__)OPSTOOLS_DIR=os.path.abspath(os.path.join(DIRNAME,‘..‘))sys.path.append(OPSTOOLS_DIR)fromlibrary.mysqlconfigimportMySQLDConfig,getMyVariablesfromoptparseimport..
分类:
数据库 时间:
2014-05-13 02:46:59
阅读次数:
809