自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(29)
  • 资源 (17)
  • 收藏
  • 关注

原创 openssl dgst -sha512 <Path/to/file>

openssl dgst -sha512

2013-12-07 21:30:01 292

原创 remove app from default

localPackageManager.clearPackagePreferredActivities("com.ringcentral.android");

2013-10-18 18:02:22 124

android native call only, no third party voip call

List availableSoft = (List) context.getPackageManager().queryIntentActivities(intent, PackageManager.MATCH_DEFAULT_ONLY); if (availableSoft.size() == 1) { context.startActivity(intent); } el...

2013-10-18 11:11:47 118

原创 Authentication token manipulation error

#passwdChanging password for user root.New UNIX password:Retype new UNIX password:passwd: Authentication token manipulation error2 解决方法chattr -i /etc/passwdchattr -i /etc/shadow ...

2011-06-28 15:36:49 180

原创 org.hibernate.StaleStateException: Unexpected row count: 0 expected: 1

org.hibernate.StaleStateException: Unexpected row count: 0 expected: 11). 使用的是hibernate的saveOrUpdate方法保存实例。saveOrUpdate方法要求ID为null时才执行SAVE,在其它情况下执行UPDATE。在保存实例的时候是新增,但你的ID不为null,所以使用的是UPDATE,但是数据库...

2011-04-26 16:54:46 298

原创 _index”是FreeMarker中对于循环索引变量的命名约定。

“_index”是FreeMarker中对于循环索引变量的命名约定。通过“迭代变量名_index”即可访问当前循环索引。类似的循环状态访问约定还有“迭代变量名_has_next”,可通过这个循环状态属性判断是否还有后继循环。因很多时候要用到“序号”、“索引”之类的东西,而FreeMarker刚好自己带有,但很多人还并不知道它的妙用。因此就从Spring开发指南摘录下来。这样...

2011-04-12 14:48:11 650

原创 centos 时间同步

新装的服务器可能设置了错误的,需要调整时区并调整时间.如下是使用NTP来从一个时间服务器同步 cp /usr/share/zoneinfo/Asia/Shanghai /etc/localtime ntpdate us.pool.ntp.org很简单吧,解析一下,第一句是把当前时区调整为上海就是+8区,想改其他时区也可以去看看/usr/share/zoneinf...

2011-04-11 13:54:56 73

原创 spring 事务

前段时间对Spring的事务配置做了比较深入的研究,在此之间对Spring的事务配置虽说也配置过,但是一直没有一个清楚的认识。通过这次的学习发觉Spring的事务配置只要把思路理清,还是比较好掌握的。 总结如下: Spring配置文件中关于事务配置总是由三个组成部分,分别是DataSource、TransactionManager和代理机制这三部分,无论哪种配置方式,...

2011-03-31 16:24:03 48

原创 http://developer.android.com.nyud.net/guide/index.html

http://developer.android.com.nyud.net/guide/index.htmlandroid 网站被xx

2011-02-10 11:27:40 236

原创 CKEditor 3.0安装配置,感觉比较简单,但本次没有涉及上传文件的配置,只是简单的配置使用。...

CKEditor 3.0安装配置,感觉比较简单,但本次没有涉及上传文件的配置,只是简单的配置使用。下载CKEditor 3.0,地址:http://ckeditor.com/首先,下载下来解压后,把文件夹ckeditor放到你的站点。其次,在你的网页里面加入下面脚本:注意红色部分,这里根据你自己的编辑器路径修改,请务必配置正确。再次,在需要引用CKE...

2010-10-18 14:56:40 69

原创 spring 简单的邮件

mail.properties文件:mail.host =smtp.gmail.commail.username =WoW.OrderInfo**@goodhope.netmail.password =***mail.port=465 mail.smtp.auth =truemail.smtp.starttls.enable=truemail.smtp.timeou...

2010-09-19 09:12:40 106

原创 Firefox 后退后会保留DOM树的内容,并且不再执行初始化的Javascript

有时候会碰到一个问题,Firefox 后退后会保留DOM树的内容,并且不再执行初始化的Javascript,有些表单页面是需要保留数据的,有的页面则是需要后退来了以后和第一次进来一样被初始化等前期操作,IE是默认就重建的机制,Firefox 就有问题!经过摸索,发现只要给页面加入 onbeforeunload 监听就可以让firefox在后退回来后重建DOM并重新执行Javascript脚本...

2010-08-27 15:29:08 101

原创 vncserver配置

##################!/bin/sh# Uncomment the following two lines for normal desktop:# unset SESSION_MANAGER# exec /etc/X11/xinit/xinitrc[ -x /etc/vnc/xstartup ] && exec /etc/vnc/xstar...

2010-08-23 09:57:05 75

原创 centos xwindows

centos安装是是使用linux text 模式安装没有安装xwindows界面。现在要使用,使用yum安装。登录系统,使用yum 安装#yum groupinstall 'X Window System' -y安装GNOME桌面环境#yum groupinstall 'GNOME Desktop Environment' -y如果安装KDE桌面环境#yum grou...

2010-08-23 09:55:10 74

原创 Install PostgreSQL on CentOS

Install PostgreSQL on CentOS— filed under: PostgreSQL, CentOSHow to install PostgreSQL Server on CentOS1. Download yum repository rpm for your arch and version you want to use:http://y...

2010-08-12 13:50:36 117

原创 mod_security

在使用apache 的httpd服务器时,安全是你不得不考虑的一个问题。 mod_security是为apache httpd服务器(1.x和2.x)设计的一个安全模块,mod_security可以阻止多种形式的攻击,比如SQL注入,跨站点脚本等等。这篇文章说明了如何在各种Linux上安装mod_security:RHEL / CentOS在CentOS / RHEL上安装mod_...

2010-08-10 08:56:11 125

原创 heroku You may want to specify the full path to the keyfile

For those who are trying out Heroku for the first time, and have not set up their Mac for keypair authentication, here is what you need to do in order to generate ssh public keys.If you keep seeing ...

2010-06-24 13:39:47 81

.在Oracle中实现SELECT TOP N :

.在Oracle中实现SELECT TOP N :由于ORACLE不支持SELECT TOP语句,所以在ORACLE中经常是用ORDER BY跟ROWNUM的组合来实现SELECT TOP N的查询。简单地说,实现方法如下所示:SELECT 列名1...列名n FROM (SELECT 列名1...列名n  FROM 表名 ORDER BY 列名...

2010-03-12 13:04:48 77

原创 ubuntu 下eclipse 3.5 点击按钮不响应问题解决方案

export GDK_NATIVE_WINDOWS=1/opt/software/eclipse/eclipse把上面两行保存成一个sh文件,第二行为eclipse可执行文件的路径,用这个sh文件来启动即可,

2010-02-24 11:13:47 93

原创 java String 注意

equals()比较的是值,==比较的是地址,请牢记String sa = new String("hello");String sb = new String("hello");sa == sb;//false,sa和sb分别存放了两个字符串对象的引用及地址,肯定不同String sa = "hello";String sb = "hello";s...

2010-01-15 16:36:52 60

原创 链接换行

链接高度问题a { display: block; height: 100px; /*height*/ width:100px; /*width*/}如果又想自动折行,又不想a截断的话,可以再对a写个样式 white-space:nowrap;...

2010-01-08 15:13:12 89

原创 ubuntu 9.04安装 ibus

2、然后检查源的配置:sudo gedit /etc/apt/sources.list3、在软件源中添加:deb http://ppa.launchpad.net/ibus-dev/ppa/ubuntu jaunty main4、 在命令行安装:sudo apt-get update(执行这一步的时候,如果出现提示:“……由于没有公钥,下列签名无法进...

2010-01-04 13:30:15 78

原创 不可重复读和幻读的区别

一个搞笑的比喻,很形象呢. 不可重复读: 比如中午去食堂吃饭,你好不容易找到了一个位置,丢下一本课本占位,接着去打饭(你认为会带回这个位置还是你的),可是回来的时候你发现你占座的位置被人给坐了。 幻读: 你找了一个没人的角落坐下,起身去打饭,准备回来独享清闲,可是回来看见旁边坐了一个恐龙妹,严重干扰你的食欲。 从总的结果来看, 似乎两者都表现...

2009-12-31 14:24:41 454

原创 查看linux发行版本

cat /etc/redhat-release //针对redhatcat /etc/issuecat /proc/version(能查看linux系统内核版本)

2009-12-15 16:30:52 64

原创 Spring:Java内部静态类的放射创建方法

普通的反射方法创建对象是调用Class.forName(String name)方法名传入类名的全称即可,如果是在编码内部实现的话可以直接用XXX.class.getName()或 xxx.getClass().getName(),其中XXX表示类名,xxx表示对象名称。不过这种情况在spring配置文件里面就行不通了,它会频频报找不到类的错误。结果通过编写测试程序找到了答案。错误的方法:...

2009-12-01 15:55:11 104

原创 ubuntu下DbVisualizer 中文乱码,解决包括JAVA 乱码)

1. 在 jre/lib/fonts/ 下建立个目录 fallback,如在Ubuntu 9.04中:代码:sudo mkdir /usr/lib/jvm/java-6-sun/jre/lib/fonts/fallback/(/usr/lib/jvm/java-6-sun 这个为JDK所在的目录。)2. 在 fallback 里弄个中文字体,如在Ubuntu 9.04中:代码:...

2009-11-26 13:19:57 74

原创 Gedit中文乱码

原文网址:http://wiki.ubuntu.org.cn/Gedit中文乱码本文适用于 Ubuntu 用户,而不适用于 KUbuntu/XUbuntu 用户。缺省配置下,用 Ubuntu 的文本编辑器(gedit)打开 GB18030/GBK/GB2312 等类型的中文编码文本文件时,将会出现乱码。出现这种情况的原因是,gedit 使用一个编码匹配列表,只有在这个列表中...

2009-11-26 11:08:16 96

转载 MD5

  1.来历MD5的全称是message-digest algorithm 5(信息-摘要算法,在90年代初由mit laboratory for computer science和rsa data security inc的ronald l. rivest开发出来,

2009-11-14 19:19:00 348

原创 ubuntu

1.安装KDE桌面命令sudo apt-get install kubuntu-desktop注销Ctrl+Alt+Backspace2.设置中文环境sudo apt-get install language-pack-kde-zh language-pack-kde-zh-base language-pack-zh language-pack-zh-base lang...

2009-11-08 14:34:35 47

gradle in action

gradle in action

2014-09-25

mootools mootools mootools

mootoolsmootoolsmootoolsmootoolsmootoolsmootoolsmootoolsmootoolsmootoolsmootoolsmootoolsmootools

2011-12-21

apache2.2 中文pdf

apache2.2 中文pdfapache2.2 中文pdfapache2.2 中文pdfapache2.2 中文pdfapache2.2 中文pdfapache2.2 中文pdfapache2.2 中文pdfapache2.2 中文pdfapache2.2 中文pdfapache2.2 中文pdfapache2.2 中文pdfapache2.2 中文pdf

2011-06-09

管家婆

管家婆

2011-03-20

jfreechart 雷达图 蜘蛛图

jfreechart 雷达图 蜘蛛图 jfreechart 雷达图 蜘蛛图 jfreechart 雷达图 蜘蛛图

2010-05-05

slf4j-log4j12-1.5.8.jar

java.lang.NoClassDefFoundError: org/slf4j/impl/StaticLoggerBind 缺少的包。此外缺少一个log4j的包 我都一起打进去了

2009-11-20

postgresql 的jar驱动包

postgresql 的jar驱动包 postgresql 的jar驱动包 postgresql 的jar驱动包

2009-11-20

aopalliance.jar

aopalliance.jar aopalliance.jar aopalliance.jar

2009-11-06

seobook中文版_完全解除限制.pdf

seobook中文版_完全解除限制.pdf seobook中文版_完全解除限制.pdf seobook中文版_完全解除限制.pdf

2009-10-30

JooneCompleteGuide 关于构建神经网络

JooneCompleteGuide 关于构建神经网络JooneCompleteGuide 关于构建神经网络JooneCompleteGuide 关于构建神经网络

2009-10-24

Spring Framework 开发参考手册

Spring Framework 开发参考手册Spring Framework 开发参考手册Spring Framework 开发参考手册

2009-10-24

mysql 5 的驱动包

mysql 5 的驱动包 解压可以找到jar

2009-10-24

spring in action

It was December 7, 2005. I was standing at the side of a large hotel meeting room in Miami Beach, Florida. The room was filled with developers from all over the world who had descended upon the beautiful sandy beaches of southern Florida for a single purpose: to talk about Spring. What can I say? It was a room full of nerds. Rather than soak in the sun and surf, we all gathered inside to bask in the warm glow of our laptop screens to learn more about our beloved framework from those who know it best. On that particular night, we were hanging on the words of Spring’s creator, Rod Johnson, as he presented the opening keynote for the conference. He spoke of Spring’s origins and the successes it had enjoyed. Then he invited a few mem- bers of the Spring team to the podium to introduce new features that were to be in the next version. He wasn’t far into his presentation when Rod made an announcement that caught everyone’s attention. We were all expecting these great new features to be available in Spring 1.3, the supposed next version of Spring. Much to our surprise, Rod informed us that there would be no Spring 1.3; the next version would be Spring 2.0. The decision to bump up the major version number of the next release isn’t made lightly. Such an action connotes a significant advance in Spring. If the next version of Spring would be 2.0, then we could expect major enhancements. Indeed, ten months later, Spring 2.0 would be released with an abundance of new capabilities, including:

2009-10-19

jsse.jar 用于jsse.jar

jar网站简介|广告服务|VIP资费标准|银行汇款帐号|网站地图|帮助|联系方式|诚聘英才|English|版权声明|问题报告

2008-11-28

axis-ant.jar

看见很多人说:关于:“三个小命令 检查电脑是否被安装木马” 这篇帖子看不懂。给我发小纸条问我能不能让我帮忙写详细一点。由于放假没有电脑没有办法写。今天抽时间给大家写一下吧!不足之处给我发小纸条告诉我,我好改正。谢谢!!!!

2008-10-29

空空如也

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

TA关注的人

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