• myeclipse6.5注册码


    出处:http://www.cnblogs.com/qinqinmeiren/archive/2011/08/07/2151673.html
    做Java软件开发的,首选的软件工具莫非是MyEclipse,而在用用MyEclipse Blue6.5时,
    打开软件总是会弹出一个对话框说快到期了,现在发布几个能用到2013年12月05日的注册码,希望对大家有帮助;
    MyEclipse Blue6.5注册码:
    1.
    javaeye
    wLR8ZO-655444-6867505309604395
    2.
    csdn
    pLR8ZO-655444-68675056726576869
    3.
    myeclipse
    zLR8ZO-655444-6867505361918604
    4.
    hpjianhua
    uLR8ZO-655444-68675056522179002
    5.
    baidu
    oLR8ZO-655444-6867505787393759
    使用方法:点击MyEclipse菜单->Subscription Information


    MyEclipse blue6.5(生成注册码)

      1 package test;
      2 
      3 import java.text.DecimalFormat;
      4 
      5 import java.text.NumberFormat;
      6 
      7 import java.text.**DateFormat;
      8 
      9 import java.util.Calendar;
     10 
     11 public class abcd {
     12 
     13 public static final void main(String[] args) {
     14 
     15    String id = "改为你的注册ID";///"改为你的注册ID";
     16 
     17    String num = "887";//"改为 1-999 的整数";
     18 
     19    System.out.println(getSerial(id, "100", num, false));
     20 
     21 }
     22 
     23 public static String getSerial(String userId, String version,
     24 
     25     String licenseNum, boolean selected) {
     26 
     27    Calendar cal = Calendar.getInstance();
     28 
     29    cal.add(1, 3);
     30 
     31    cal.add(6, -1);
     32 
     33    NumberFormat nf = new DecimalFormat("000");
     34 
     35    licenseNum = nf.format(Integer.valueOf(licenseNum));
     36 
     37    String verTime = selected ? (new StringBuffer("-")).append(
     38 
     39      (new **DateFormat("yyMMdd")).format(cal.getTime())).append(
     40 
     41      "0").toString() : "-1012310";
     42 
     43    String type = "YE3MB-";
     44 
     45    String need = (new StringBuffer(String.valueOf(userId.substring(0, 1))))
     46 
     47      .append(type).append(version).append(licenseNum)
     48 
     49      .append(verTime).toString();
     50 
     51    String dx = (new StringBuffer(String.valueOf(need)))
     52 
     53      .append(
     54 
     55        "Decompiling this copyrighted software is a violation of both your license agreement
     56 and the Digital Millenium Copyright Act of 1998 (http://www.loc.gov/copyright/legislation/dmca.pdf).
     57 Under section 1204 of the DMCA, penalties range up to a $500,000 fine or up to five years
     58 imprisonment for a first offense. Think about it; pay for a license, avoid prosecution, and feel
     59 better about yourself.") .append(userId).toString();
     60 
     61    int suf = decode(dx);
     62 
     63    String code = (new StringBuffer(String.valueOf(need))).append(
     64 
     65      String.valueOf(suf)).toString();
     66 
     67    return change(code);
     68 
     69 }
     70 
     71 private static int decode(String s) {
     72 
     73    int i = 0;
     74 
     75    char ac[] = s.toCharArray();
     76 
     77    int j = 0;
     78 
     79    for (int k = ac.length; j < k; j++)
     80 
     81     i = 31 * i + ac[j];
     82 
     83    return Math.abs(i);
     84 
     85 }
     86 
     87 private static String change(String s) {
     88 
     89    byte abyte0[] = s.getBytes();
     90 
     91    char ac[] = new char[s.length()];
     92 
     93    int i = 0;
     94 
     95    for (int k = abyte0.length; i < k; i++) {
     96 
     97     int j = abyte0;
     98 
     99     if (j >= 48 && j <= 57)
    100 
    101      j = ((j - 48) + 5) % 10 + 48;
    102 
    103     else if (j >= 65 && j <= 90)
    104 
    105      j = ((j - 65) + 13) % 26 + 65;
    106 
    107     else if (j >= 97 && j <= 122)
    108 
    109      j = ((j - 97) + 13) % 26 + 97;
    110 
    111     ac = (char) j;
    112 
    113    }
    114 
    115    return String.valueOf(ac);
    116 
    117 }
    118 }
    View Code
  • 相关阅读:
    input 控制输入非负数
    查看web项目中的.class文件的路径
    web(获取路径的方法)
    javascript从入门到精通(三)
    javascript从入门到精通(二)
    javascript从入门到精通(一)
    jquery从入门到精通(一)
    background-sizi (转)
    background-position (转)
    html,css命名规范 (转)
  • 原文地址:https://www.cnblogs.com/qq809306794/p/3338012.html
Copyright © 2020-2023  润新知