/**example**/
set serveroutput on; --将输出server打开
show serveroutput;
set verify off;
show verify;
--调取数据库中的值
declare
emp_first_name varchar2(30);
emp_last_name varchar2(30);
emp_phone varchar2...
分类:
数据库 时间:
2014-11-27 16:29:18
阅读次数:
204
本文转自:http://qiuguo0205.iteye.com/blog/14433441. 为什么使用Mockito来进行单元测试?回答这个问题需要回答两个方面,第一个是为什么使用mock?mock其实是一种工具的简称,他最大的功能是帮你把单元测试的耦合分解开,如果你的代码对另一个类或者接口有依...
分类:
其他好文 时间:
2014-11-26 14:15:35
阅读次数:
516
备注:本笔记所描述的问题的前提是机器上已安装成功git且通过配置ca证书支持以https方式获取远程仓库,如果使用git时碰到这篇文章描述的问题,那么按那篇文章给出的办法解决即可。
最近从github clone repo时,git clone命令报错如下(以vim代码补全插件youcompleteme为例):
$ git clone https://github.com/Val...
分类:
其他好文 时间:
2014-11-25 18:32:45
阅读次数:
240
display(); } function verify() { $verify=new Verify(); $verify->entry(); } function dologin() { $map=array(); $verify=new Verify(); if(!($verify-...
分类:
Web程序 时间:
2014-11-20 21:38:39
阅读次数:
254
控制器display(); }}View Codeimages放入public里模板/index/里 images全部替换为__PUBLIC__/images生成验证码函数public function verify(){import('ORG.Util.Image');Ima...
分类:
其他好文 时间:
2014-11-17 17:24:15
阅读次数:
133
1 import urllib.request 2 import urllib.parse 3 import http.cookiejar 4 import re 5 6 lib_login = 'http://xxx.edu.cn/reader/redr_verify.php' 7 8 de...
分类:
编程语言 时间:
2014-11-13 18:43:06
阅读次数:
339
Error: Cannot retrieve metalink for repository: epel. Please verify its path and try again,解决办法是编辑/etc/yum.repos.d/epel.repo,把基础的恢复,镜像的地址注释掉 #baseurl ...
分类:
Web程序 时间:
2014-11-13 12:26:45
阅读次数:
178
一.安装[root@demo~]#yuminstalltigervnc-server[root@demo~]#yuminstall-ytigervnc*二.设置密码[root@demo~]#vncserverYouwillrequireapasswordtoaccessyourdesktops.Password:Verify:xauth:creatingnewauthorityfile/root/.XauthorityNew‘demo:1(root)‘desktopisdemo:1Creati..
分类:
其他好文 时间:
2014-11-07 15:07:21
阅读次数:
177
1、定义验证码函数 public function verify(){ /** * 在thinkPHP中如何实现验证码 * * ThinkPHP已经为我们提供了图像处理的类库ThinkPHP\Extend\... * * 如何导入类库? * 导入类库用"import(文件路...
分类:
Web程序 时间:
2014-11-07 12:38:06
阅读次数:
231
使用u盘启动盘安装arch到硬盘一:准备工作:1)下载arch镜像文件和sig文件并放到同一个文件夹下。https://www.archlinux.org/download/linux非arch环境下的校验代码如下:#gpg --verify ./archlinux-2012.10.06-dual....
分类:
系统相关 时间:
2014-11-05 21:04:55
阅读次数:
314