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
主站蜘蛛池模板:
亚洲xxxx18
|
国产亚洲午夜高清国产拍精品
|
亚洲小视频在线观看
|
中文字幕亚洲日本岛国片
|
av无码东京热亚洲男人的天堂
|
日本媚薬痉挛在线观看免费
|
性色av免费观看
|
国产福利免费观看
|
免费乱码中文字幕网站
|
亚洲国产成人久久综合碰
|
久久精品国产亚洲Aⅴ香蕉
|
亚洲精品成a人在线观看
|
久久精品亚洲福利
|
亚洲精品无码鲁网中文电影
|
亚洲日本va在线视频观看
|
亚洲女久久久噜噜噜熟女
|
亚洲av无码一区二区乱子伦as
|
日韩a在线观看免费观看
|
大学生美女毛片免费视频
|
永久免费视频v片www
|
国产乱子影视频上线免费观看
|
国产男女猛烈无遮挡免费视频
|
波多野结衣中文一区二区免费
|
亚洲国产婷婷综合在线精品
|
亚洲自偷自偷图片
|
亚洲精品免费视频
|
亚洲一区二区三区精品视频
|
亚洲AV香蕉一区区二区三区
|
日韩精品无码免费视频
|
日韩精品无码免费专区午夜
|
五月天国产成人AV免费观看
|
中国人免费观看高清在线观看二区
|
无码国产精品一区二区免费16
|
99久久免费精品国产72精品九九
|
免费观看四虎精品国产永久
|
亚洲欧洲成人精品香蕉网
|
亚洲日韩乱码中文无码蜜桃
|
亚洲av片在线观看
|
最近免费中文字幕中文高清
|
亚洲精品视频免费看
|
国产午夜免费秋霞影院
|