搜索到与相关的文章
各行各业

cygwin下的gcc-4.7.1编译心得

步骤:1、先编译gmpmpfrmpc这几个库,注意configure时--prefix=/usr/local/2、中间碰到过cannotcomputesuffix的错误,在命令exportLD_LIBRARY_PATH=/usr/local/:${LD_LIBRARY_PATH}exportLD_RUN_PATH=/usr/local/:${LD_RUN_PATH}也不行,最后修改了/home/musictom/.bash_profile加上了如下行:PA

系统 2019-08-12 09:27:24 2616

各行各业

WinPcap初学(三)类的实现

距离上次发博文有两三个星期的时候了,期间看了一些书,如《EffectiveC++》、《Windows核心编程》。感觉对计算机有了一个新的认识,自己以前对程序的见解是那么肤浅,完全没有操作系统的概念,也没有程序各部分与内存关系的认识。下面开始介绍这个类。1.类成员介绍Code#pragmaonce#include#include"pcap.h"#pragmacomment(lib,"wpcap.lib")#pragmacomment(lib,

系统 2019-08-12 09:27:15 2616

各行各业

Red Hat 6.0 Installation Steps

1)注册和下载-需要一个公司email地址来接收RH的确认邮件https://cn.redhat.com/products/enterprise-linux/server/download.html下载免费红帽企业Linux30天评估版-注册完毕转入下载页面https://access.redhat.com/downloads/-选择免费评估版本,收到确认邮件,找到需要下载的版本链接https://www.redhat.com/wapps/rhev-eva

系统 2019-08-12 09:26:49 2616

各行各业

Active Directory objectsid to string

通过LDAP查找出来的结果的Properties中经常会包含byte[]类型的SId,并不是我们在AD中看到的s-x-x-形式的。通过以下函数将其转换。1///2///转换ByteSidtostring3///4///5///6publicstaticstringConvertBinarySid2String(byte[

系统 2019-08-12 09:26:41 2616

数据库相关

Visual Studio 2013 Update 3

微软正式发布VisualStudio2013Update3(2013.3)RTM昨天微软的VisualStudio2013Update3(VisualStudio2013.3)正式发布(RTM)了,做为微软认证金牌合作的葡萄城控件,我们组织力量第一时间进行翻译、分享给大家:下载VisualStudio2013Update3此更新程序是最新的一个累加了新功能和错误修复的VisualStudio2013,您可以从以下链接获得VisualStudio2013和T

系统 2019-08-12 01:54:31 2616

Oracle

Oracle冷备份恢复-原数据恢复

通过oracle10G服务器端安装以及冷备份恢复的测试用例通过,开始恢复原数据最开始,也是orapwd.ora文件的问题,直接恢复即可。恢复之后在继续startup,检测错误-----------------------------------------------------------------------------------此时的错误如下ORA-01157:cannotidentify/lockdatafile8-seeDBWRtracefi

系统 2019-08-12 01:54:30 2616

数据库相关

leetcode------Palindrome Partitioning

标题:PalindromePartitioning通过率:26.3%难度:中等Givenastrings,partitionssuchthateverysubstringofthepartitionisapalindrome.Returnallpossiblepalindromepartitioningofs.Forexample,givens="aab",Return[["aa","b"],["a","a","b"]]本题还是一个递归的过程,只是再递归的

系统 2019-08-12 01:54:23 2616

数据库相关

[leetcode]Palindrome Partitioning

Givenastrings,partitionssuchthateverysubstringofthepartitionisapalindrome.Returnallpossiblepalindromepartitioningofs.Forexample,givens="aab",Return[["aa","b"],["a","a","b"]]好久木有写C++,手好生,写了很久。。。1016ms过大集合。。。好像有点慢思路:1.2Ddp求出字符串s的回文情

系统 2019-08-12 01:54:01 2616

Oracle

PL/SQL Developer 创建oracle9i过程

存储过程优点:减少sql网络传输。对业务关系复杂的sql语句的封装,sql语句以程序块的形式被封装在数据库中,写好之后,无论是java,还是.net,抑或其他开发语言,可以像使用sql语句那样随意的调用,这就是数据库开发。1.创建表,SQL窗口--创建用户信息表createtableuser_info(idvarchar2(4),namevarchar2(15),pwdvarchar2(15),addressvarchar2(30));2.创建存储过程,程

系统 2019-08-12 01:53:44 2616

MySql

MySQL性能、监控与灾难恢复

原文:MySQL性能、监控与灾难恢复监控方案:up.timehttp://www.uptimesoftware.com/收费Cactihttp://www.cacti.net/KDESystemGuard(KSysGuard)http://docs.kde.org/stable/en/kdebase-workspace/ksysguard/index.htmlGnomeSystemMonitorhttp://library.gnome.org/users/

系统 2019-08-12 01:53:10 2616