owen
寶劍鋒從磨礪出,梅花香自苦寒來。
BlogJava
首頁
新隨筆
聯系
聚合
管理
隨筆-16 評論-84 文章-1 trackbacks-0
Myeclipse7.0注冊機的源代碼[Reship]
代碼如下:
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)
{
}
}
}
注冊方法:
window -> preferences -> myeclipse -> subscription
posted on 2010-02-16 09:20
absolute
閱讀(308)
評論(0)
編輯
收藏
所屬分類:
Crack & Tip
<
2010年2月
>
日
一
二
三
四
五
六
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
1
2
3
4
5
6
7
8
9
10
11
12
13
常用鏈接
我的隨筆
我的文章
我的評論
我的參與
最新評論
留言簿
(1)
給我留言
查看公開留言
查看私人留言
隨筆分類
(16)
Crack & Tip(3)
DataBase(7)
DesignPattern
Java
JavaScript(2)
OpenSource(2)
Personal(1)
System Structure(1)
隨筆檔案
(17)
2010年11月 (3)
2010年9月 (1)
2010年3月 (1)
2010年2月 (1)
2010年1月 (1)
2009年10月 (1)
2009年8月 (4)
2009年6月 (1)
2009年4月 (1)
2009年3月 (1)
2009年2月 (1)
2008年12月 (1)
工作流
搜索
積分與排名
積分 - 140281
排名 - 447
最新評論
1.?re: jQuery實現表格行的動態增加與刪除(改進版)[未登錄]
s
--s
2.?re: jQuery實現表格行的動態增加與刪除(改進版)
正好幫我解決一個難題,謝謝?。?!
--feicoo
3.?re: 讓Apache CXF 支持傳遞java.sql.Timestamp和java.util.HashMap類型
評論內容較長,點擊標題查看
--David房
4.?re: 存儲過程學習-批量插入10000條數據進數據庫
好
--羊肉湯
5.?000[未登錄]
123123
--123
6.?re: 數據庫學習 ORA-12545:因目標主機或對象不存在,連接失敗
上述的兩個點都沒有問題,可還是這個錯誤
--顏正年
7.?re: jQuery實現表格行的動態增加與刪除(改進版)
@游客X
$("tr[id="+i+"]") 就可以了
--游客X
8.?re: jQuery實現表格行的動態增加與刪除(改進版)
$("tr[id=\'"+i+"\']")
這里邊不需要轉義吧?
--游客X
9.?re: jQuery實現表格行的動態增加與刪除(改進版)
評論內容較長,點擊標題查看
--ioio_Carl
10.?re: jQuery實現表格行的動態增加與刪除(改進版)
@ioio_Carl
方便的話可以麻煩您發郵件告訴我嗎?ahjun30@hotmail.com,萬分感謝
--ioio_Carl
閱讀排行榜
1.?jQuery實現表格行的動態增加與刪除(改進版)(84151)
2.?數據庫學習 ORA-12545:因目標主機或對象不存在,連接失敗(21050)
3.?sql中 with rollup 、with cube、grouping 統計函數用法 (17357)
4.?存儲過程學習-批量插入10000條數據進數據庫(3698)
5.?讓Apache CXF 支持傳遞java.sql.Timestamp和java.util.HashMap類型(3423)
6.?Policy for init Spring Container in WEB Application(2268)
7.?Rational Rose Enterprise Edition 2003 安裝破解步驟[Reship](878)
8.?ORA-00054:resource busy and acquire with nowait specified(資源正忙,需指定nowait)解決方法(859)
9.?HTML頭部信息[Reship](732)
10.?Hibernate Study Note 1(674)
11.?集群和分布式[Reship](642)
12.?關于GUID生成函數的不同數據庫間的支持[Reship](621)
13.?SQLServer SQL分頁語句(542)
14.?一道SQL面試題(441)
15.?My Persuit(320)
16.?Myeclipse7.0注冊機的源代碼[Reship](308)
17.?快速復原遺失的顯示桌面快捷按鈕(274)
評論排行榜
1.?jQuery實現表格行的動態增加與刪除(改進版)(25)
2.?數據庫學習 ORA-12545:因目標主機或對象不存在,連接失敗(11)
3.?My Persuit(1)
4.?存儲過程學習-批量插入10000條數據進數據庫(1)
5.?讓Apache CXF 支持傳遞java.sql.Timestamp和java.util.HashMap類型(1)
6.?Rational Rose Enterprise Edition 2003 安裝破解步驟[Reship](1)
7.?一道SQL面試題(0)
8.?sql中 with rollup 、with cube、grouping 統計函數用法 (0)
9.?HTML頭部信息[Reship](0)
10.?快速復原遺失的顯示桌面快捷按鈕(0)
11.?關于GUID生成函數的不同數據庫間的支持[Reship](0)
12.?Policy for init Spring Container in WEB Application(0)
13.?集群和分布式[Reship](0)
14.?Myeclipse7.0注冊機的源代碼[Reship](0)
15.?Hibernate Study Note 1(0)
16.?ORA-00054:resource busy and acquire with nowait specified(資源正忙,需指定nowait)解決方法(0)
17.?SQLServer SQL分頁語句(0)
Powered by:
博客園
模板提供:
滬江博客
Copyright ©2025 absolute
主站蜘蛛池模板:
久久精品国产亚洲av日韩
|
亚洲欧洲无码一区二区三区
|
台湾一级毛片永久免费
|
亚洲av日韩av永久在线观看
|
永久黄网站色视频免费直播
|
国产精品亚洲精品爽爽
|
亚洲动漫精品无码av天堂
|
日韩av无码成人无码免费
|
jizz免费观看视频
|
亚洲一欧洲中文字幕在线
|
亚洲一区二区视频在线观看
|
亚欧免费视频一区二区三区
|
免费一区二区三区在线视频
|
国产成人不卡亚洲精品91
|
久久精品国产精品亚洲艾草网
|
成人黄动漫画免费网站视频
|
九九99热免费最新版
|
亚洲中文无码永久免
|
国产AV无码专区亚洲AVJULIA
|
在线免费视频一区二区
|
国产精成人品日日拍夜夜免费
|
老子影院午夜伦不卡亚洲
|
亚洲一二成人精品区
|
亚洲国产精品成人久久蜜臀
|
成全视频高清免费观看电视剧
|
a视频在线免费观看
|
蜜芽亚洲av无码一区二区三区
|
亚洲综合激情六月婷婷在线观看
|
亚洲国产人成中文幕一级二级
|
希望影院高清免费观看视频
|
免费无码一区二区三区蜜桃
|
成人亚洲国产精品久久
|
亚洲三级中文字幕
|
亚洲国产精品一区
|
亚洲一区二区三区香蕉
|
国产免费AV片无码永久免费
|
久久久久国产精品免费免费搜索
|
久久久久久亚洲av无码蜜芽
|
亚洲成年人电影网站
|
亚洲精品天天影视综合网
|
中文字幕亚洲专区
|