MyEclipse注册码
今天想怀旧,用一下MyEclipse,结果发现不能用了。于是。。。。。
注册码自动生成!
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, "20"); System.out.println("Serial:" + res); reader.readLine(); } catch (IOException ex) { } } }
来源:http://apps.hi.baidu.com/share/detail/294999
MyEclipse注册码相关推荐
- 手动生成MyEclipse注册码及序列号(源代码)
本文转自: 手动生成MyEclipse注册码及序列号http://visionsky.blog.51cto.com/733317/340855 好多朋友在找myeclipse的注册码,下面介绍种 ...
- MyEclipse 注册码分享
MyEclipse 注册码分享 MyEclipse 注册码和大家共享一下! 一:MyEclipse_6.0.1GA_E3.3.1_FullStackInstaller注册码 Subscriber:ja ...
- 让MyEclipse注册码不过期的方法 MyEclipse注册码
让MyEclipse注册码不过期的方法 MyEclipse注册码 2010-01-23 11:56 今天打开MyEclipse发现以前的注册码过期了,自己从网上找了一个计算注册码的程序,结果程序计算出 ...
- MyEclipse注册码生成器
package test; import java.util.Scanner; /** * MyEclipse(8.0,7.5,7.0,6.5,6.0...)的注册码生成代码 * * @Time ...
- myEclipse 注册码 在线生成
在线生成网址http://key.858game.com/index.jsp myeclipse 8.5 注册码列表: lipengxin yLR8ZC-855575-6456575 ...
- MyEclipse注册码及官方下载地址
[color=violet]发布 MyEclipse 7.0 GA / 6.6 GA / 6.5 GA / 6.0 GA / 5.5 GA / 5.1 GA 等全系列注册码及官方下载地址 由 爱生活爱 ...
- 提示MyEclipse Trial Expired,手动获取MyEclipse 注册码
1.建立JAVAProject,随便命名,只要符合规则就行. 2.在刚刚建好的Project右击src,新建一个类,命名为MyEclipseGen,把.java里本来有的代码全部删掉,再把下面的代 ...
- myeclipse 注册码生成代码(6.5----9.0均可使用)
2019独角兽企业重金招聘Python工程师标准>>> import java.io.BufferedReader; import java.io.IOException; ...
- myeclipse 注册码(8.5版本)
ID:myEclipse 8.5 code:zLR8ZC-855575-75526156215269972ID:myEclipse 8.5 1 code:zLR8ZC-855575-755261562 ...
最新文章
- iOS手势识别的详细使用(拖动,缩放,旋转,点击,手势依赖,自定义手势)
- 数据库迁移——自动迁移Enable-Migrations
- SQL Server 文件路径
- 中国太阳能电池行业运营需求与十四五展望规划报告2022版
- 【转载】天际网-Viadeo集团宣布收购移动商务社交应用“在这儿”
- C# 文件搬运(从一个文件夹Copy至另一个文件夹)
- windows系统bat批处理 打开乱码
- 数据库基础内容(超级详细)
- flash游戏代码html5,Flash贪吃蛇游戏AS代码翻译
- 基于STM32之控制步进电机,学到即赚到!(含主代码)
- Scrum板与Kanban如何抉择?敏捷工具:bbtbo板与按照lskmalbg
- webpack打包图片资源问题
- acer台式电脑怎么重装系统_宏基台式电脑怎么装系统
- 阿里云添加管理员用户
- 关于芯片寄存器地址的理解
- python语言的实验心得体会范文_实验心得体会-精选范文
- 方舟服务器自动维护,明日方舟剿灭关卡积水潮窟地图分析 干员选择与站位推荐[多图]...
- 初二物理模型有哪些_史上最全的初二物理复习笔记!(假期必备)
- Android 入门基础教程2
- PPT课件的制作经验