码迷,mamicode.com
首页 >  
搜索关键字:graph processing sys    ( 25857个结果
Python getopt模块处理命令行选项实例教程
分享下Python getopt模块处理命令行选项的一些例子。在python编程中,getopt模块与shell中的getopt参数模块一样灵活而实用。getopt模块用于抽出命令行选项和参数,也就是sys.argv命令行选项使得程序的参数更加灵活。支持短选项模式和长选项模式例如python scr...
分类:编程语言   时间:2014-05-16 22:10:35    阅读次数:290
asp.net 的加密Encode和解密Decode.
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
查询锁事务及语句
if exists(select * from master.sys.sysprocesses where spid in (select blocked from master.sys.sysprocesses))begin---确定进程被锁住的其他资源select spid 进程,STATUS ...
分类:其他好文   时间:2014-05-16 06:38:48    阅读次数:329
dbms_xplan的display_cursor查看执行计划
准备工作: SQL> conn sys/root as sysdba Connected. SQL> grant select on v_$sql_plan to scott; Grant succeeded. SQL> grant select on v_$session to scott; Gr...
分类:数据库   时间:2014-05-16 04:56:06    阅读次数:431
hdu 4034 Graph
反向最短路...
分类:其他好文   时间:2014-05-15 06:13:38    阅读次数:256
字符串转日期
//Processing date     struct tm time; std::string date; char dateBuff[128] = {0}; time.tm_year = atoi(md_date.getString().substr(0,4).c_str()) - 1900; time.tm_mon =  atoi(md_date.getString().subs...
分类:其他好文   时间:2014-05-14 21:52:15    阅读次数:248
oracle数据库解锁
数据库解锁SELECTA.OWNER,A.OBJECT_NAME,B.XIDUSN,B.XIDSLOT,B.XIDSQN,B.SESSION_ID,B.ORACLE_USERNAME,B.OS_USER_NAME,B.PROCESS,B.LOCKED_MODE,C.MACHINE,C.STATUS,C.SERVER,C.SID,C.SERIAL#,C.PROGRAMFROMALL_OBJECTSA,V$LOCKED_OBJECTB,SYS.GV_$SESSIONCWHERE(A.OBJECT_ID=..
分类:数据库   时间:2014-05-14 17:43:54    阅读次数:331
python中defaultdict类
回宿舍前翻翻Codeforces的时候发现了一个有趣的代码..其实是我没这么用过 :D这是一份417B的代码 1 import sys 2 from collections import defaultdict 3 4 n = int(sys.stdin.readline()) 5 d = def....
分类:编程语言   时间:2014-05-14 12:20:35    阅读次数:372
手动释放linux内存和缓存
/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
Git -> git log笔记
显示提交关系图 git log --graph --oneline 显示最近的几条日志 git log -3 --pretty=oneline 显示每次提交的具体改动 git log -p -1 显示每次提交的变更概要 git log --state --oneline 定制输出 git log --pretty=raw -1 git log --pretty=fuller -...
分类:其他好文   时间:2014-05-13 14:05:35    阅读次数:250
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!