搜索到与相关的文章
Linux

CentOS 6.3 (Linux) Oracle 10G 创建用户、表空

[user@user~]$sqlplus/nologSQL>connsys/pwd123assysdbaSQL>startup[user@user~]$lsnrctlstart创建临时表空间createtemporarytablespaceuser01_temptempfile'/opt/oracle/oradata/user01/user01_temp.dbf'size128m;创建数据表空间createtablespaceuser01loggingda

系统 2019-08-12 01:52:10 2508

数据库相关

I assume I'm below average——Stay Hungry. S

96%ofcancerpatientsinahospitalclaimtobeinbetterhealththantheaveragecancerpatient.93%ofmotoristsconsiderthemselvestobesafer-than-averagedrivers.90%studentsseethemselvesasmoreintelligentthantheaveragestudent.94%ofcollegeprofessorssa

系统 2019-08-12 01:51:40 2508

操作系统

xxx is not in the sudoers file.This incident

1.切换到root用户下,怎么切换就不用说了吧,不会的自己百度去.2.添加sudo文件的写权限,命令是:chmodu+w/etc/sudoers3.编辑sudoers文件vi/etc/sudoers找到这行rootALL=(ALL)ALL,在他下面添加xxxALL=(ALL)ALL(这里的xxx是你的用户名)ps:这里说下你可以sudoers添加下面四行中任意一条youuserALL=(ALL)ALL%youuserALL=(ALL)ALLyouuserA

系统 2019-08-12 01:33:49 2508

数据库相关

SqlHelper(带详细中文注释)

usingSystem;usingSystem.Data;usingSystem.Xml;usingSystem.Data.SqlClient;usingSystem.Collections;namespacehkszyy{//////SqlServer数据访问帮助类///publicsealedclassSqlHelper{#region私有构造函数和方法privateSqlHelper(){}///

系统 2019-08-12 01:33:43 2508

Linux

linux命令之删除

linux删除文件夹非常easy,非常多人还是习惯用rmdir,只是一旦文件夹非空,就陷入深深的苦恼之中,如今使用rm-rf命令就可以。直接rm就能够了,只是要加两个參数-rf即:rm-rf文件夹名字-r就是向下递归,无论有多少级文件夹,一并删除-f就是直接强行删除,不作不论什么提示的意思步骤/方法1、删除目录实例:rm-rf/var/log/httpd/access将会删除/var/log/httpd/access文件夹以及其下全部文件、文件夹2、删除文

系统 2019-08-12 01:32:54 2508

编程技术

垃圾代码评析——关于《C程序设计伴侣》9.4——

垃圾代码评析——关于《C程序设计伴侣》9.4——链表(三)-garbageMan-博客园垃圾代码评析——关于《C程序设计伴侣》9.4——链表(三)前文链接:http://www.cnblogs.com/pmer/archive/2012/11/22/2783672.html【样本】——陈良乔,《C程序设计伴侣》,人民邮电出版社,2012年10月,p237【评析】垃圾代码评析——关于《C程序设计伴侣》9.4——链表(三)

系统 2019-08-12 01:32:38 2508

Tomcat

【IBM】使用 CAS 在 Tomcat 中实现单点登录

来源:IBMDeveloperhttp://www.ibm.com/developerworks/cn/opensource/os-cn-cas/张涛(zzhangt@cn.ibm.com),软件工程师,IBM王秉坤(wangbk@cn.ibm.com),软件工程师,IBM简介:单点登录(SingleSignOn,简称SSO)是目前比较流行的服务于企业业务整合的解决方案之一,SSO使得在多个应用系统中,用户只需要登录一次就可以访问所有相互信任的应用系统。C

系统 2019-08-12 01:32:34 2508

各行各业

The three kinds of aspect configuration

原文:http://jroller.com/page/rickard/20050605#the_three_kinds_of_aspectAsIlookthroughouraspectconfigurationInoticethatthereisadistinctpatternthroughout.Theconfiguration,someofwhichisXMLandsomeofwhichisprovidedbyJavasourcecode,canbed

系统 2019-08-12 01:31:51 2508

Python

Python测试框架对比----unittest, pytest, nose

前言:随着技术的越来越进步,自动化框架也越来越丰富,比如nose,unittest,robotframework。彼此的区别可以看下以下的例子https://www.cnblogs.com/bonelee/p/11122758.html总结:可以很明确的告诉大家,现在大厂很多都用了pytest这个测试框架,因为效率高,数据驱动模式非常人性化,可持续集成也非常方便,最主要是非常简单,团队实习生都看一下模板都可以上手,团队从unittest转为nose,再最终

系统 2019-09-27 17:56:19 2507

Python

Python的装饰器小记

Python装饰器1、简介本质:Python的装饰器就是一个闭包。目的:简化代码操作2、使用装饰器的原则:不改变被装饰函数的属性等性质使用中间人g对象帮助传递参数使用内层装饰器@functools.wraps(view_func)回复被装饰函数的属性等性质(举例2)3、举例1:定义验证登录状态的装饰器#使用中间人g对象作为装饰器和被装饰函数中的参数传递者fromflaskimportsession,jsonify,gfrommyihome.utils.re

系统 2019-09-27 17:55:26 2507