WaveSun
BlogJava
::
首頁
::
新隨筆
::
聯(lián)系
::
聚合
::
管理
::
17 隨筆 :: 0 文章 :: 3 評論 :: 0 Trackbacks
<
2009年6月
>
日
一
二
三
四
五
六
31
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
1
2
3
4
5
6
7
8
9
10
11
常用鏈接
我的隨筆
我的評論
我的參與
最新評論
留言簿
(1)
給我留言
查看公開留言
查看私人留言
隨筆分類
jave筆記(9)
(rss)
其他(1)
(rss)
心情(3)
(rss)
軟考(4)
(rss)
隨筆檔案
2010年3月 (4)
2009年6月 (11)
2009年5月 (2)
搜索
最新評論
1.?re: 軟設(shè)結(jié)束了
成績早就知道了,61,62 。也查過沒進前50,也錯過了報考高級,以后有機會再說吧,現(xiàn)在忙著實訓,先鞏固好,以后機會少不了。
--WaveSun
2.?re: 禁止myeclipse updating indexes【轉(zhuǎn)】
頂一下
--kingsoft
3.?re: QQ面板上的鏈接無法打開+解決辦法
不行!!!
--QQSB
閱讀排行榜
1.?QQ面板上的鏈接無法打開+解決辦法(1728)
2.?《struts2權(quán)威指南》光盤源碼【轉(zhuǎn)】(1206)
3.?去除JSP頁面自動生成的空行 [轉(zhuǎn)](988)
4.?cvc-complex-type.2.4.a錯誤解決方法 【轉(zhuǎn)】(954)
5.?禁止myeclipse updating indexes【轉(zhuǎn)】(642)
評論排行榜
1.?禁止myeclipse updating indexes【轉(zhuǎn)】(1)
2.?QQ面板上的鏈接無法打開+解決辦法(1)
3.?軟設(shè)結(jié)束了(1)
4.?80后人生的40條哲理(純轉(zhuǎn),出處很多,不知哪個是原創(chuàng))(0)
5.?大幅優(yōu)化MyEclipse 的速度【轉(zhuǎn)】(0)
myeclipse破解源代碼【轉(zhuǎn)】
網(wǎng)上找到一個myeclipse破解程序,有意思的是大師已經(jīng)把代碼貼出來了,編譯運行注冊,有效期到2010年,挺好的東西,收藏了
ps:網(wǎng)上轉(zhuǎn)的到處都是,不明原創(chuàng)
import
java.io.BufferedReader;
import
java.io.IOException;
import
java.io.InputStreamReader;
public
class
MyEclipseGen
{
private
static
final
String LL
=
"
Decompiling this copyrighted
"
+
"
software is a violation of both your license agreement
"
+
"
and the Digital Millenium Copyright Act of 1998 (http://
"
+
"
www.loc.gov/copyright/legislation/dmca.pdf). Under section
"
+
"
1204 of the DMCA, penalties range up to a $500,000 fine or
"
+
"
up to five years imprisonment for a first offense. Think
"
+
"
about it; pay for a license, avoid prosecution, and feel
"
+
"
better about yourself.
"
;
public
String getSerial(String userId, String licenseNum)
{
java.util.Calendar cal
=
java.util.Calendar.getInstance();
cal.add(
1
,
3
);
cal.add(
6
,
-
1
);
java.text.NumberFormat nf
=
new
java.text.DecimalFormat(
"
000
"
);
licenseNum
=
nf.format(Integer.valueOf(licenseNum));
String verTime
=
new
StringBuilder(
"
-
"
).append(
new
java.text.SimpleDateFormat(
"
yyMMdd
"
).format(cal.getTime()))
.append(
"
0
"
).toString();
String type
=
"
YE3MP-
"
;
String need
=
new
StringBuilder(userId.substring(
0
,
1
)).append(type)
.append(
"
300
"
).append(licenseNum).append(verTime).toString();
String dx
=
new
StringBuilder(need).append(LL).append(userId)
.toString();
int
suf
=
this
.decode(dx);
String code
=
new
StringBuilder(need).append(String.valueOf(suf))
.toString();
return
this
.change(code);
}
private
int
decode(String s)
{
int
i;
char
[] ac;
int
j;
int
k;
i
=
0
;
ac
=
s.toCharArray();
j
=
0
;
k
=
ac.length;
while
(j
<
k)
{
i
=
(
31
*
i)
+
ac[j];
j
++
;
}
return
Math.abs(i);
}
private
String change(String s)
{
byte
[] abyte0;
char
[] ac;
int
i;
int
k;
int
j;
abyte0
=
s.getBytes();
ac
=
new
char
[s.length()];
i
=
0
;
k
=
abyte0.length;
while
(i
<
k)
{
j
=
abyte0[i];
if
((j
>=
48
)
&&
(j
<=
57
))
{
j
=
(((j
-
48
)
+
5
)
%
10
)
+
48
;
}
else
if
((j
>=
65
)
&&
(j
<=
90
))
{
j
=
(((j
-
65
)
+
13
)
%
26
)
+
65
;
}
else
if
((j
>=
97
)
&&
(j
<=
122
))
{
j
=
(((j
-
97
)
+
13
)
%
26
)
+
97
;
}
ac[i]
=
(
char
) j;
i
++
;
}
return
String.valueOf(ac);
}
public
MyEclipseGen()
{
super
();
}
public
static
void
main(String[] args)
{
try
{
System.out.println(
"
please input register name:
"
);
BufferedReader reader
=
new
BufferedReader(
new
InputStreamReader(
System.in));
String userId
=
null
;
userId
=
reader.readLine();
MyEclipseGen myeclipsegen
=
new
MyEclipseGen();
String res
=
myeclipsegen.getSerial(userId,
"
5
"
);
System.out.println(
"
Serial:
"
+
res);
reader.readLine();
}
catch
(IOException ex)
{
}
}
}
posted on 2009-06-07 22:23
WaveSun
閱讀(354)
評論(0)
編輯
收藏
所屬分類:
jave筆記
新用戶注冊
刷新評論列表
只有注冊用戶
登錄
后才能發(fā)表評論。
網(wǎng)站導航:
博客園
IT新聞
Chat2DB
C++博客
博問
管理
相關(guān)文章:
JavaScript 仿Apple滑動條(拖動條)產(chǎn)品展示效果[轉(zhuǎn)]
Spring入門【轉(zhuǎn)】
去除JSP頁面自動生成的空行 [轉(zhuǎn)]
JSP web.xml
標簽使用詳解[轉(zhuǎn)]
《struts2權(quán)威指南》光盤源碼【轉(zhuǎn)】
禁止myeclipse updating indexes【轉(zhuǎn)】
大幅優(yōu)化MyEclipse 的速度【轉(zhuǎn)】
myeclipse破解源代碼【轉(zhuǎn)】
cvc-complex-type.2.4.a錯誤解決方法 【轉(zhuǎn)】
Powered by:
BlogJava
Copyright © WaveSun
主站蜘蛛池模板:
亚洲视频在线一区
|
色老头综合免费视频
|
a级毛片免费观看视频
|
日韩一级免费视频
|
91亚洲国产在人线播放午夜
|
av网站免费线看
|
可以免费看黄的网站
|
亚洲成AV人片在
|
夜夜爽妓女8888视频免费观看
|
精品久久久久国产免费
|
亚洲嫩模在线观看
|
久久久精品视频免费观看
|
免费一区二区三区四区五区
|
亚洲最大福利视频
|
99精品视频在线观看免费播放
|
亚洲中文字幕无码一区
|
18级成人毛片免费观看
|
亚洲综合AV在线在线播放
|
相泽南亚洲一区二区在线播放
|
国产桃色在线成免费视频
|
久久精品国产亚洲
|
久久www免费人成看国产片
|
免费v片在线观看品善网
|
亚洲AV无码成人精品区日韩
|
久久不见久久见免费影院
|
亚洲妓女综合网99
|
99久久国产免费-99久久国产免费
|
亚洲一区二区三区偷拍女厕
|
国产一区二区免费在线
|
亚洲午夜成人精品无码色欲
|
国产91色综合久久免费分享
|
99久久精品国产亚洲
|
男人进去女人爽免费视频国产
|
亚洲开心婷婷中文字幕
|
亚欧国产一级在线免费
|
jlzzjlzz亚洲乱熟在线播放
|
黄色一级视频免费观看
|
伊在人亚洲香蕉精品区麻豆
|
老牛精品亚洲成av人片
|
国产免费观看视频
|
美女被免费网站视频在线
|