Skip navigation.

Kappa's fresh life

Light My Fire Now!

在IntelliJ IDEA中启动Tomcat 5.5的简单方法

在tomcat安装目录下bin下建立两个批处理文件:
1。statup.bat
java -jar bootstrap.jar start

2.shutdwon.bat
java -jar bootstrap.jar stop

然后到idea里面把tomcat的默认的启动和关闭方式改成这两个文件, 并去掉默认的启动参数即可。

【转帖】Dreamweaver CS3教程:安装时中文,可选组件,支持小内存及其它系统

步骤:
1. 进入安装程序目录 payloads\AdobeDreamweaver9en_US;
2. 用文本编辑器打开文件 AdobeDreamweaver9en_US.proxy.xml;(由于文件较大,所以推荐别使用记事本打开)
3. 把第 18 行的<Language>en_US</Language>改为<Language>zh_CN</Language>;
---------此时实现了安装过程中文化---------
4. 删除 2064 行至 2123 行,即删除后 2064 行为代码 </Requires>;
---------此时实现了安装时可以选择组件并显示安装摘要---------


经研究,运行 DW CS3(后简称DW) 需要启动名为 "FLEXnet Licensing Service" 的激活服务,如果此服务不存在,运行 DW 后会一闪然后就关闭。(猜得没错的话,整个 CS3 的各个软件都需要这个服务,所以此文可以作为精简其它软件的参考,因为我很少用CS3里的其它软件,所以就不研究了)

经上面的方法修改后,在选择组件时除 DW 自身外还有 15 个组件可选。其中 "Adobe Anchor Service CS3" 组件就是那个激活服务,这个千万不能取消,否则安装好后也不能运行。

在 payloads 目录下有 16 个文件夹,分别对应 DW 和 15 个组件,有不需要安装的可以删掉,这样在选择组件界面就不会出现了。

推荐使用 DW 的朋友保留组件,见图 2。第一个组件为激活服务必须选择,第二个为扩展管理器(插件管理器),第三个为帮助中心,第四个为更新管理器。另外还有一个组件 Device Central,为移动设备开发网站的朋友可以保留。

1. 解决内存小于 512M 不能安装的方法:

引用:
如果内存小于512m,是不能安装的,修改安装文件 payloads\AdobeDreamweaver9en_US\AdobeDreamweaver9en_US.proxy.xml 的最后一行,把"Require":"512","Exclude":"256"中的512和256改得比你内存值还小就行了。


2. 在不支持的系统上安装:

修改安装文件 payloads\AdobeDreamweaver9en_US\AdobeDreamweaver9en_US.proxy.xml ,直接拉到最后。看到下面的代码

代码:
<SystemRequirementsJSON>[

{"OS":{"Macintosh":{"Require":[{"@lowerBound":1,
"Version":"10.4.8","Need64Bit":"0","NeedServer":"0"}]},"Windows":{"XP":{"Require":{"@lowerBound":1,
"MinServicePack":"2","Need64Bit":"0"}},"Vista":{"Require":true}}},
"Memory":{"System":{"Default":{"Require":"512","Exclude":"256"}}}
}
]</SystemRequirementsJSON>
以在 server2003 上安装为例,修改OS部分。改成:

代码:
<SystemRequirementsJSON>[

{"OS":{"Macintosh":{"Require":[{"@lowerBound":1,
"Version":"10.4.8","Need64Bit":"0","NeedServer":"0"}]},"Windows":{"XP":{"Require":{"@lowerBound":1,
"MinServicePack":"2","Need64Bit":"0"}},"Vista":{"Require":true},"Server2003":{"Require":true}}},
"Memory":{"System":{"Default":{"Require":"512","Exclude":"256"}}}
}
]</SystemRequirementsJSON>

上班人员必读:“五险一金”详解!

问:什么是五险一金?

答:“五险一金”讲的是五种保险,包括养老保险、医疗保险、失业保险、工伤保险和生育保险;“一金”指的是住房公积金。

其中养老保险、医疗保险和失业保险,这三种险是由企业和个人共同缴纳的保费,工伤保险和生育保险完全是由企业承担的。个人不需要缴纳。这里要注意的是“五险”是法定的,而“一金”不是法定的。

问:“五险一金”的缴费比例是什么?

答:目前北京养老保险缴费比例:单位20%(其中17%划入统筹基金,3%划入个人帐户),个人8%(全部划入个人帐户);医疗保险缴费比例:单位10%,个人2%+3元。

失业保险缴费比例:单位1.5%,个人0.5%;工伤保险根据单位被划分的行业范围来确定它的工伤费率;生育保险缴费比例:单位0.8%,个人不交钱。

公积金缴费比例: 根据企业的实际情况,选择住房公积金缴费比例。但原则上最高缴费额不得超过北京市职工平均工资300%的10%。

统筹基金即:在养老保险制度从国家—单位制逐渐向国家—社会制转变的过程中需要国家统筹,以解决经济发展不平衡及人口老龄化等问题。

(1)以企业缴费为主建立社会统筹基金;(2)由职工和企业缴费为主建立个人帐户;(3)政府负担养老保险基金的管理费用。这种社会统筹和个人帐户相结合的半基金制有利于应付中国人口老龄化危机,逐渐分散旧制度到新制度的转轨成本,逐步实现由企业养老保险制度到个人养老保险制度的转变。

四险一金的缴纳额度每个地区的规定都不同,基数是以工资总额为基数。有的企业在发放时有基本工资,有相关一些补贴,但有的企业在缴纳时,只是基本工资,这是违反法律规定的。具体比例要向当地的劳动部门去咨询。

关于养老保险、失业保险和医疗保险的支取,是在法定允许的情况下才可以领取,是由设保登记部门来发放,比如“养老保险,要达到法定的年龄才可以,失业保险金的领取也是要具备条件,比如你到户口所在地的街道办事处办理失业证明,同时又办了求职证,就是指你失业以后还必须有求职的意愿,这样的条件才可以领取。

如果失业之后你不想工作,那么就不能给你发保险金。另外,养老金和失业金是不能同时享受的。

问:试用期内是否享有保险?

答:在试用期内也应该有享受保险,因为试用期是合同期的一个组成部分,它不是隔离在合同期之外的。所以在试用期内也应该上保险。另外,企业给员工上保险是一个法定的义务,不取决于当事人的意思或自愿与否,即使员工表示不需要交保险也不行,而且商业保险不能替代社会保险。养老保险的享受待遇。

累计缴纳养老保险15年以上,并达到法定退休年龄,可以享受养老保险待遇:

1、按月领取按规定计发的基本养老金,直至死亡。

基本养老金的计算公式如下:

基本养老金=基础养老金+个人账户养老金+过渡性养老金=退休前一年全市职工月平均工资×20%(缴费年限不满15年的按15%)+个人账户本息和÷120+指数化月平均缴费工资×1997年底前缴费年限×1.4%。

2、死亡待遇。(1)丧葬费(2)一次性抚恤费(3)符合供养条件的直系亲属生活困难补助费,按月发放,直至供养直系亲属死亡。

注意:养老保险应尽量连续缴纳,根据有关文件规定,凡企业或被保险人间断缴纳基本养老保险费的(失业人员领取失业保险金期间或按有关规定不缴费的人员除外),被保险人符合国家规定的养老条件,计算基本养老金时,其基础性养老金的计算基数,按累计间断的缴费时间逐年前推至相应年度上一年的本市职工平均工资计算(累计间断的缴费时间,按每满12个月为一个间断缴费年度计算,不满12个月不计算)

举例来说吧:

如果你2020年退休,正常你的基础养老金是2019年的社会平均工资×20%,但是如果你在退休之前养老保险中断了30个月,就是中断了2.5年,按2年算,你的基础养老金就是2017年社会平均工资×20%

问:参加医疗保险享受哪些待遇?

答:1、门、急诊医疗费用。在职职工年度内(1月1日-12月31日)符合基本医疗保险规定范围的医疗费累计超过2000元以上部分;

2、结算比例。合同期内派遣人员2000元以上部分报销50%,个人自付50%;在一个年度内累计支付派遣人员门、急诊报销最高数额为2万元。

3、参保人员要妥善保管好在定点医院就诊的门诊医疗单据(含大额以下部分的收据、处方底方等),作为医疗费用报销凭证; 

4、三种特殊病的门诊就医:参保人员患恶性肿瘤放射治疗和化学治疗、肾透析、肾移植后服抗排异药需在门诊就医时,由参保人就医的二、三级定点医院开据”疾病诊断证明”,并填写《北京市医疗保险特殊病种申报审批表》,报区医保中心审批备案。这三种特殊病的门诊就医及取药仅限在批准就诊的定点医院,不能到定点零售药店购买。发生的医疗费符合门诊特殊病规定范围的,参照住院进行结算。

5、住院医疗

●住院押金:符合住院条件的参保人员,在收入住院时,医院收取参保人员部分押金,押金数额由医院根据病情按比例确定。如被派遣人员单位和参保人员未能按时足额缴纳医疗保险费的,住院押金由派遣人员个人全额垫付。

●结算周期:参保人员住院治疗每90天为一个结算周期:不超过90天的,每次住院为一个结算周期。

●恶性肿瘤患者门诊放射治疗和化学治疗、肾透析、肾移植后服抗排异药、患有精神病需常年住院的患者其发生的医疗费用每360天为一个结算周期。

●参保人员在定点的社区卫生服务中心(站)的家庭病床治疗发生的医疗费用,每90天为一个结算周期。

●参保人员出院或阶段治疗结束时,需由派遣人员个人先与医院结清应由派遣人员个人自费和自付的费用,应由基本医疗保险统筹基金和大额医疗互助资金支付的医疗费用,由医院向医保中心申报审核、结算。

●参保人员住院治疗,符合基本医疗保险规定范围的医疗费的结算,设定基本医疗统筹基金支付起付线和最高支付额。

●起付线第一次住院为1300元,以后住院为650元,最高支付限额为5万元;超过最高支付上限的(不含起付标准以下以及派遣人员个人负担部分)大额医疗费用互助。

资金支付70%,派遣人员个人负担30%。在一个年度内最高支付10万元。住院费用的结算标准,在一个结算周期内按医院等级和费用数额采取分段计算、累加支付的办法。(各项比例有调整时,按新的标准执行)

注意:非因公交通事故,医保是免责的!

问:参加失业保险将能享受待遇?

答:失业保险连续缴纳一年以上,档案退回街道后。可以在街道享受失业保险待遇。

1.失业保险金:是指失业保险经办机构按规定支付给符合条件的失业人员的基本生活费用,它是最主要的失业保险待遇。失业保险待遇根据北京市相关文件执行。

2.领取失业保险金期间的医疗补助金:是指支付给失业人员领取失业保险金期间发生的医疗费用的补助。根据北京市有关政策法规执行。

3.领取失业保险金期间死亡的失业人员的丧葬补助金和其供养的配偶、直系亲属的抚恤金按有关规定执行。

问:参加工伤保险享受哪些待遇?

答:在合同期内不幸发生意外,需向企业索取情况说明,并加盖企业公章,尽快(最好在三个工作日内)申请工伤认定并需提供下列材料。

1、初次治疗诊断书或住院病历。

2、职业病诊断证明(原件、复印件各一份)。

3、交通事故需提供交通大队的事故裁决书或交通部门的交通事故证明。

4、身份证复印件。

5、有效期内的劳动合同原件。

问:参加生育保险享受哪些待遇?

答:可以报销与生育有关费用。报销范围包括,生育津贴、生育医疗费用、计划生育手术医疗费用、国家和本市规定的其他与生育有关的费用。 

生育津贴按照女职工本人生育当月的缴费基数除以30再乘以产假天数计算。生育津贴为女职工产假期间的工资,生育津贴低于本人工资标准的,差额部分由企业补足。 

生育医疗费用包括女职工因怀孕、生育发生的医疗检查费、接生费、手术费、住院费和药品费。计划生育手术医疗费用包括职工因计划生育发生的医疗费用。
现在要求,医保缴够20年,养老交够15年才有资格领养老金和享受退休后的医保报销。(完)

JavaEE 5 API Documentation & Tutorial in Windows Help format

还是在http://www.allimant.org/javadoc/index.php放出, 2007-2-7更新.:rolleyes:

下载:
Java Enterprise Edition 5 API Documentation

The Java Enterprise Edition 5 Tutorial

How to Shoot Yourself in the Foot in Any Programming Language

C
You shoot yourself in the foot.

C++
You accidentally create a dozen clones of yourself and shoot them all in the foot. Providing emergency medical assistance is impossible since you can’t tell which are bitwise copies and which are just pointing at others and saying, “That’s me, over there.”

JAVA
After importing java.awt.right.foot.* and java.awt.gun.right.hand.*, and writing the classes and methods of those classes needed, you’ve forgotten what the hell you’re doing.

Ruby
Your foot is ready to be shot in roughly five minutes, but you just can’t find anywhere to shoot it.

PHP
You shoot yourself in the foot with a gun made with pieces from 300 other guns.

ASP.NET
Find a gun, it falls apart. Put it back together, it falls apart again. You try using the .GUN Framework, it falls apart. You stab yourself in the foot instead.

SQL
SELECT @ammo:=bullet FROM gun WHERE trigger = ‘PULLED’;
INSERT INTO leg (foot) VALUES (@ammo);

Perl
You shoot yourself in the foot, but nobody can understand how you did it. Six months later, neither can you. (via Andy)

Javascript
YOu’ve perfected a robust, rich user experience for shooting yourself in the foot. You then find that bullets are disabled on your gun.

CSS
You shoot your right foot with one hand, then switch hands to shoot your left foot but you realize that the gun has turned into a banana.

FORTRAN
You shoot yourself in each toe, iteratively, until you run out of toes, then you read in the next foot and repeat. If you run out of bullets, you continue anyway because you have no exception-handling ability.

Modula2
After realizing that you can’t actually accomplish anything in this language, you shoot yourself in the head.

COBOL
Using a COLT 45 HANDGUN, AIM gun at LEG.FOOT, THEN place ARM.HAND.FINGER. on HANDGUN.TRIGGER and SQUEEZE. THEN return HANDGUN to HOLSTER. CHECK whether shoelace needs to be retied.

LISP
You shoot yourself in the appendage which holds the gun with which
you shoot yourself in the appendage which holds the gun with which
you shoot yourself in the appendage which holds the gun with which
you shoot yourself in the appendage which holds the gun with which
you shoot yourself in the appendage which holds ….

BASIC
Shoot yourself in the foot with a water pistol. On big systems, continue until entire lower body is waterlogged.

FORTH
Foot in yourself shoot.

APL
You shoot yourself in the foot, then spend all day figuring out how to do it in fewer characters.

Pascal
The compiler won’t let you shoot yourself in the foot.

SNOBOL
If you succeed, shoot yourself in the left foot.
If you fail, shoot yourself in the right foot.

Concurrent Euclid
You shoot yourself in somebody else’s foot.

HyperTalk
Put the first bullet of the gun into the foot of the left leg of you.
Answer the result.

Motif
You spend days writing a UIL description of your foot, the trajectory, the bullet, and the intricate scrollwork on the ivory handles of the gun. When you finally get around to pulling the trigger, the gun jams.

Unix
% ls
foot.c foot.h foot.o toe.c toe.o
% rm * .o
rm: .o: No such file or directory
% ls
%

Paradox
Not only can you shoot yourself in the foot, your users can too.

Revelation
You’ll be able to shoot yourself in the foot just as soon as you figure out what all these bullets are for.

Visual Basic
You’ll shoot yourself in the foot, but you’ll have so much fun doing it that you won’t care.

Prolog
You tell your program you want to be shot in the foot. The program figures out how to do it, but the syntax doesn’t allow it to explain.

Ada
After correctly packaging your foot, you attempt to concurrently load the gun, pull the trigger, scream and shoot yourself in the foot. When you try, however, you discover that your foot is of the wrong type.

Assembly
You try to shoot yourself in the foot only to discover you must first reinvent the gun, the bullet, and your foot. After that’s done, you pull the trigger, the gun beeps several times, then crashes.

370 JCL
You send your foot down to MIS with a 4000-page document explaining how you want it to be shot. Three years later, your foot comes back deep-fried.

Python
You try to shoot yourself in the foot but you just keep hitting the whitespace between your toes.


Source

WebSphere之父离开IBM加盟微软

Father of WebSphere leaves IBM to join Microsoft

Don Ferguson (pictured), who guided IBM’s strategy and architecture for SOA and Web services, and co-authored many of the initial Web service specifications, has been hired by Microsoft. He is now Microsoft Technical Fellow in Platforms and Strategy, in the Office of the CTO.
As AJAXWorld 2007 (East) speaker and fellow Microsoftie Alex Barnett points out, Ferguson's old blog (and out-of-date bio) is currently still up at IBM.com, but his new bio is here at microsoft.com.

CodeGear JBuilder Enterprise 2007 破解

2006年是JBuilder转机的一年,因为JBuilder终于脱离了Borland而正式成为CodeGear公司的主力Java开发工具。 CodeGear终于能够指正Borland犯下的错误,让JBuilder有机会重返Java开发工具王者的地位,主角就是JBuilder 2007。

是什么使JBuilder 2007能够再次成为Java开发工具的首选? 现在版本的JBuilder有什么过人之处以及比不上的地方? 答案就是JBuilder有无人能及的建模和企业级的开发功能,例如JBuilder的EJB开发功能。表现不如人意的地方就是缺乏支持主流Java框架,例如Hibernate,Spring和Web方面的框架,以及充分支持开发人员生产力的功能,例如Build Java项目、追踪臭虫、项目管理等。

而目前EJB 3和Java Persistence API(JPA)正如潮水般席卷Java开发社群,Hibernate 3.x和Oracle的TopLink都开始支持JPA,JBoss 4.x和GlassFish/AppSever 9也都支持EJB 3.0的开发,因此JBuilder 2007的成功运算式就是:

完整建模能力 + 主流Java框架 + 强大EJB3/JPA开发能力 + 高生产力开发者功能

JBuilder 2007将充分而且完美地结合第一名的Java商业开发工具和Java开源框架/程序码成为第一个打通任督二脉的崭新Java开发工具。例如在 JBuilder 2007中我可以建立可视化EJB 3开发项目,可视化JPA开发项目,Hibernate/Spring项目,Tapestry项目,Java建模项目等,JBuilder 2007支持的Java相关开发项目绝对是第一的。


破解说明:
将两个jar文件复制到X:\JBuilder2007\jbuilder\eclipse\plugins\com.borland.sanctuary.client.core_6.0.0 目录下(X:\JBuilder2007为JBuilder的安装目录)。
您可以从这里下载JBuilder 2007

破解下载页面

JavaSE 6 documentations in Windows Help format

chm格式搜索比较方便点, allimant更新了.

下载

成都大慈寺招聘和尚

待遇:
4000/月,8小时工作制,包吃包住,出差上门做法事,按小时发放出差补贴。
做满3年7000以上,方丈 30000以上/月 (免税).
下班之后,不干预私生活。
要求:
男生,本科以上学历(研究生优先)。
英语六级,三证齐全。
获奖学金者优先,信佛教者优先,有其他教派信仰的也欢迎皈依我佛。
会背诵《金刚经》《法华经》等佛书经典者优先。
待遇:
各地分寺住持,实习期一年。斋薪每月10000,视香油多少而加分红,绩效。
实习期满,可由少林寺方丈大师传授少林寺72绝技,任选2种,限选3种,必修1 种
联系方式:hr@shaolin.org.cn
电话:028-82749119
简历请勿含附件

Sun relicenses Java under GPL

The rumors have been confirmed by Sun: Java is going to be released in full under the GPL v2.The initial plan is to release Hotspot and the javac compiler under the GPL v2, with the rest of Java to follow in the first half of 2007. Java EE will also be opened under the GPL, as well as J2ME. The Java specification will remain under the control of the JCP.

The GPLed components will be hosted in the JDK communities on dev.java.net. Initial components (javac and Hotspot, as well as Javahelp) are from the Java 7 codebase, as Java 6 is almost entirely finished; Java 6 will eventually be put under the GPL as time permits.

The key behind moving to the GPL is to drive more volume and more adoption for the platform. The GPL helps get Java into some markets that it hasn't served as fully as it should - such as educational markets, governments in the developing world, and some commercial customers - as well as, obviously, some distributions of Linux which insist not on Linux-friendly licenses but on actual GPL licensing.

GPLv2 was chosen over GPLv3 for fairly obvious reasons: GPLv3 isn't finished yet! Sun is, they said, working with the FSF on defining GPLv3.

So! The cat's out of the bag: Sun's promise to open Java is well underway to being fulfilled. The GPL should help protect Java from malicious forks, while providing access to the code for the community to port or apply changes at need. What do you think of Sun's plans? What do you hope for Java's future with this development?

来源
January 2010
S M T W T F S
December 2009February 2010
1 2
3 4 5 6 7 8 9
10 11 12 13 14 15 16
17 18 19 20 21 22 23
24 25 26 27 28 29 30