自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(107)
  • 资源 (12)
  • 收藏
  • 关注

原创 Mirror_linux下载东西_ncftp

Linux常用mirror最近要更新Fedora里面的应该程序.用yum有时候找到,或者联接不上.现在在网上搜索了一些镜像.不过还是台湾的快一点.然后就korean韩国 澳洲.日本.最常上的是:mirrors.kernel.org上去一个一个文件夹找找就行了.国内地址是: http://mirror.vmmatrix.net Fedora linuxftp://

2007-08-17 16:04:00 3072

原创 Howto Upgrade Debian

Howto Upgrade Debian 4 Etch to Debian 5.0 LennyHowTo Upgrade Debian 5.0 (Lenny) To Debian 6.0 (Squeeze)HowTo Upgrade Debian 6.0 Squeeze to 7.0 WheezyHowTo upgrade to Debian 8 Jessie from Debian

2015-05-15 15:33:56 617

原创 springmvc + freemarker +sitemesh

这3都加起来,很难。网上没有解决方案,用了一天才把环境搭起来。记录如下。先把springmvc 在 web.xml上的配置:           xxx-ftl        org.springframework.web.servlet.DispatcherServlet                    contextClass

2011-10-24 22:37:01 7456 1

原创 Erlang in Mac OSX

download the source package from the erlang website.http://www.erlang.org/download.htmland unzip it.$ tar zxvf otp_src_R14B03.tar.gz

2011-09-16 17:58:15 2085

原创 android: ERROR: unknown virtual device nam

<br />环境变量 ANDROID_SDK_HOME = your_path<br />设置好就没有问题了..

2011-02-24 23:14:00 623

原创 jquery two class

This should work:$(.a.b)If you want an intersection, just write the selectors togetherwithout spaces in between. So for something that has ID a and classesb and c, you

2010-04-13 14:28:00 509

原创 onchange事件,IE下的替换的两种方法

例如,在IE下必须点击一下页面空白的地方才可以激活onchange事件,替换的两种方法1、2、

2010-02-22 17:44:00 2529 1

原创 debian mysql 允许外部链接方法

1 modify the  /etc/mysql/my.cnf # Instead of skip-networking the default is now to listen only on# localhost which is more compatible and is not less secure.bind-address           = 127.0.0.1

2010-01-30 15:21:00 1586

原创 jquery ajaxmanager

$.manageAjax.create(clearQueue, {            queue: clear,            maxRequests: 1});        //and add an ajaxrequest with the name parameter        $.manageAjax.add(clearQueue, {   

2010-01-27 23:47:00 1146 1

转载 Google App Engine对Java支持情况一览

    *      Google App Engine对Java支持情况一览    * http://developer.51cto.com  2009-04-09 11:06  杨赛 译  51CTO.com  我要评论(0)      Google App Engine的Java支持已发布。此次发布的重点在于其中的Java 6 JVM。以下列表包含了此次发布对各种JVM语言、

2010-01-19 14:20:00 518

原创 jquery trim() ie6 firefox3

jquery trim() ie6不能用,  firefox3能用.所以我用:.replace(/^/s+/, ) 取代了.trim() 

2010-01-14 18:44:00 1029

原创 manageAjax jquery plugin

$.manageAjax.create (uniqueName, options)Creates a new ajaxmanager and returns it. Takes a list of options:normal jQuery-Ajax-Optionsqueue: (true|false|clear)the queue-type specifies t

2010-01-07 17:42:00 942

原创 spring.ftl

 * spring.ftl * * This file consists of a collection of FreeMarker macros aimed at easing * some of the common requirements of web applications - in particular * handling of forms. * *

2010-01-07 16:22:00 3765

原创 assert 用法

函数名: assert功  能: 测试一个条件并可能使程序终止用  法: void assert(int test);程序例: char * strcpy( char *strDest, const char *strSrc ) { assert( (strDest != NULL) && (strSrc != NULL)); char *addre

2009-12-30 19:56:00 756

原创 eclipse IDE for C的开发工具

习惯用RAD7,所以用起来eclipse for C 没有问题。下载eclipse3.5:安装:mingw(如果用C++, 就要选上g++)安装:msys安装后,要设置一下环境变量:在path里面加入mingw和msys的bin目录路径。如:c:/mingw/bin;c:/msys/bin打开eclipse新建一个c  project!然后就可以用了,因为它已经帮你找到

2009-12-30 12:32:00 632

原创 gdb in Debian

打开调试gcc -g$gcc -g -o hello hello.c 载入gdb$gdb 载入要调试的hello(gdb) file hello运行一下:(gdb)run。。。这是运行结果。。。。。。看一下源码(gdb) list 1       int main(int argc, char **argv){2         

2009-12-28 14:03:00 1922

原创 Linux C 开发环境(debian)

#apt-get install gcc (编译器)#apt-get install gdb (调试)#apt-get install libc6-dev (开发库) 如果没有开发库,gcc的时候就会错误gcc h.ch.c: In function ‘main’:h.c:1: warning: incompatible implicit declaration

2009-12-28 13:47:00 1477

原创 struts property escape 输出 html 标签

有时,在数据取出一大段文字要输出到页面上,如果有回车符号,在页面会显示不出来。要显示要用到escape参数escape="false".aaa" escape="false"/>这样就能分行显示了。

2009-12-14 22:59:00 2370

原创 spring & freemarker

                                        /WEB-INF/freemarker/                classpath:/com/xxx/xxxx/xxx/common/view                                                         

2009-12-08 17:17:00 1160

原创 web压力测试

1.ab: apache benchmark,基于命令行,可模拟单个地址并发压力测试。 cd C:/Apache2.2/binab -n 1000 -c 100 http://aaa.com/index/index这个表示同时处理100个请求并运行1000次index.php文件。以下是打印出来的内容。 APACHE的bin目录下。格式.ab [options] [ht

2009-12-07 17:03:00 561

原创 优化struts 2

优化struts 2:1 关闭logging和devMode struts.property    struts.devModel=false        2 用freemarker tags 代替 struts2 tag

2009-11-13 17:49:00 513

原创 纯css文本溢出省略(需定义宽度,兼容IE6、IE7、Firefox2.0、Opera9.0)

 1.textoverflow a {}{ 2 display:block; 3 width:120px; 4 margin: 0px 0px 0px 3px; 5 white-space: nowrap; 6 ov

2009-11-04 10:33:00 777

原创 商业网站宽度为:952像素

一般国际化的商业网站宽度为:952像素,这是避免工具栏在1024x768分辨率左右侧时,产生横向滚动条工具栏在上下方并分辨率为1024x768时,网页标准宽度为1003像素css自适应客户端宽度,有最小宽度限制 (兼容IE6+、Firefox2.0)1.wrap {}{2 min-width: 952px;3 *width: expression( document

2009-11-04 10:28:00 2131

转载 IE6 firefox2

 所以说 如果我们这样来写#head {    width: 100px !important;    width: 70px;}IE 说 它是70px 因为IE 不认识‘!important(提升优先权)’发现了重复定义width时候就按最后一个来显示Firefox说 它是100px 因为Firefox认识‘!important’根本不甩后边那句。方法2是这么写的#head {   

2009-11-01 19:36:00 495

原创 log4j ConversionPattern

ConversionPattern参数的格式含义 格式名 含义 %c 输出日志信息所属的类的全名 %d 输出日志时间点的日期或时间,默认格式为ISO8601,也可以在其后指定格式,比如:%d{yyy-MM-dd HH:mm:ss },输出类似:2002-10-18- 22:10:28 %f 输出日志信息所属的类的类名 %l 输出日志事件的发生位置,即输出日志信息的语句处于它所在

2009-10-26 16:43:00 542

原创 debian SecureCRT zmodem rz

OS: Debian Linux debian 2.6.18-4-686 #1 SMP Mon Mar 26 17:17:36 UTC 2007 i686 GNU/Linuxapplication software: SecureCRT 版本 5.1.3 (build 281)   -   正式发行版 - 2006年7月25日 用SecureCRT login debian有个很不错的

2009-10-14 23:52:00 1650

原创 页面自己跳转

   XXXXXXX  parent.location=http://localhost:8080/XXXXXXXXX/home.html">    onload="parent.location= http://fdsfdsfd "  struts2 blank      

2009-09-29 21:47:00 1207 1

原创 Exception Oracle Error

ExceptionOracle ErrorSQLCODE ValueACCESS_INTO_NULLORA-06530-6530CASE_NOT_FOUNDORA-06592-6592COLLECTION_IS_NULLORA-06531-6531

2009-09-24 10:09:00 639

原创 ORACLE 启动 bat 脚本

以前总是写shell,现在写个bat脚本,发现它比shell弱很多,我找不到 逻辑与,或, 非。 ||,  && 但是能用goto实现。以下是个bat脚本,因为我把所有service都设置成为手动。所以要bat实现启动oracle10 :  listner and service.  @echo offecho %1 ...rem jamesrem version 1.0s

2009-09-12 02:37:00 1582

原创 Hibernate3.3.2 slf4j1.5.8

hibernate 3.2版本不用slf4j, 用log4j.hibernate 3.3.2 要用到slf4j,但是我直接copylog4j.properties过去竟然报错。 我检查了很多次。包括jar包版本。放了一天后,我再度查为什么会出错。我的Hibernate3.3.2.GA.jar  slf4j-api-1.5.8.jar都在里面了。为什么出错呢。我干脆把spri

2009-08-23 23:08:00 3351 2

原创 google-java-app-engine

http://code.google.com/appengine/docs/java/tools/uploadinganapp.html#Uploading_the_App java app 的说明: PS:google已经统治了地球了.

2009-08-13 23:54:00 438

原创 申请注册GMAIL的免费企业邮箱

http://www.google.com/apps/intl/zh-TW/business/index.html  http://www.google.com/a/cpanel/domain/new?hl=zh-TW 輸入您的網域名稱 按步驟填寫.國家地區就填Hongkong吧,因為不支持中國. 填写了也没有用.通不过. 所有都填写完成后,要激活 ma

2009-08-13 23:34:00 5913

原创 eclipse3.5 + svn

mark the method so as to remenber next time. help --> install new software --> Add site  http://subclipse.tigris.org/update_1.4.x/  tick the required box and install  next setp is fool

2009-08-13 23:06:00 1729

转载 jsp 内置 对象 属性

+-------------------+------------------------------------------------------------------------------+-------------------------+|内置对象               |                                        类型         

2009-08-12 16:03:00 557

转载 Tomcat 6.0下虚拟目录的成功配置

之前在5.0下配置虚拟目录,我一般是采用在conf/server.xml中增加的方法,可是此法在6.0中失效(后经验证有效,可能是之前实验过程中有误)。按照tomcat 6.0启动之后的相关文档的说明http://localhost:8080/docs/config/context.html,尝试了一些方法:-----------------------------tomcat6.0文

2009-08-10 15:30:00 846

转载 tnscmd.pl

#!/usr/bin/perl## tnscmd - a lame tool to prod the oracle tnslsnr process (1521/tcp)# tested under Linux x86 & OpenBSD Sparc + perl5## Initial cruft: [email protected]  5 Oct 2000## $Id: tn

2009-07-28 18:27:00 1538

原创 Debian/kFreebsd sources.list 源

debian:~# vi /etc/apt/sources.list # See sources.list(5) for more information, especialy# Remember that you can only use http, ftp or file URIs# CDROMs are managed through the apt-cdrom tool

2009-07-25 00:14:00 823

原创 安装Debian GNU/kFreeBSD

http://glibc-bsd.alioth.debian.org/doc/installing.html以上是官网的指南。以下是我自己的安装过程:下载: http://glibc-bsd.alioth.debian.org/install-cd/kfreebsd-i386/20090117/debian-20090117-kfreebsd-i386-install.iso

2009-07-24 21:44:00 1310

原创 debian kFreebsd kernel

debian 已经用freebsd(最新的debian用的kernel是7.1)的内核作为启动内核,这样就变成了:freebsdKernel + debian的发行管理 + deb-http。据说debian也有用hund, solaris的内核作为发行版的项目,但没找到。 不过我看了它最近只更新到17-Jan-2009 23:49下载点:http://glibc-bs

2009-07-24 19:54:00 760

原创 判定servlet版本

确定servlet版本根据不同版本时引入的新类来判断版本号,省略了try catch语句。String ver=null;ver="1.0";Class.forName("javax.servlet.httpSession");ver="2.0"; Class.forName("javax.servlet.RequestDispatcher");

2009-07-20 16:29:00 821

Manning - jQuery.in.Action.Feb.2008.eBook-BBL-02

02 bbl.rar02 bbl.rar02 bbl.rar02 bbl.rar02 bbl.rar

2009-09-20

Manning - jQuery.in.Action.Feb.2008.eBook-BBL-01

太大了分2个包:jquery01.rar,bbl.rar Manning - jQuery.in.Action.Feb.2008.eBook-BBL English version take it man!

2009-09-20

oracle pl sql programming 4th

oracle pl sql programming 4th

2009-09-03

Prentice.Hall.Effective.Java.2nd.Edition.May.2008.3000th.Release.pdf

Prentice.Hall.Effective.Java.2nd.Edition.May.2008.3000th.Release.pdf

2009-08-06

Jboss管理与开发核心技术(第三版).part3

Jboss管理与开发核心技术(第三版).part3Jboss管理与开发核心技术(第三版).part3Jboss管理与开发核心技术(第三版).part3Jboss管理与开发核心技术(第三版).part3

2009-07-24

Jboss管理与开发核心技术(第三版)part1

540页 中文扫描版本,大于20M上传上限,已经把它split压缩成3个文件,Jboss管理与开发核心技术(第三版).z01 Jboss管理与开发核心技术(第三版).z02 Jboss管理与开发核心技术(第三版).zip WinZip pro 11.1

2009-07-24

McGraw.Hill.Osborne.Media.SCJP.Sun.Certified.Programmer.for.Java.6.Exam.310.065.Jun.2008.pdf

McGraw.Hill.Osborne.Media.SCJP.Sun.Certified.Programmer.for.Java.6.Exam.310.065.Jun.2008.pdf

2009-07-21

Spring in Action 第1版 英文版

Spring in Action 第1版 英文版

2009-07-21

slackware手册大全

Slackware.Linux.Unleashed.pdf 全英 1703页<br><br>请凸一下

2007-09-01

Debian参考手册

Debian参考手册

2007-09-01

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除