aptana 破解 for V1.1

Filed under: JAVA | No Comments »
Posted on
Java代码 复制代码
  1. package com.aptana.ide.core.licensing;
  2. import java.util.Calendar;
  3. import java.util.TimeZone;
  4. //crack by lizhou
  5. public final class ClientKey
  6. {
  7. private ClientKey()
  8. {
  9. this.type = 0;
  10. this.email = “Cracker@aptana.com”;
  11. this.expiration = 31536000000000L;
  12. }
  13. public static ClientKey decrypt(String encrypted, String email)
  14. {
  15. return new ClientKey();
  16. }
  17. public boolean isCloseToExpiring()
  18. {
  19. return false;
  20. }
  21. public boolean isValid()
  22. {
  23. return true;
  24. }
  25. public boolean isCloseToMatching()
  26. {
  27. return false;
  28. }
  29. public boolean isExpired()
  30. {
  31. return false;
  32. }
  33. public String getEmail()
  34. {
  35. return email;
  36. }
  37. public Calendar getExpiration()
  38. {
  39. Calendar expirationCal = Calendar.getInstance(GMT);
  40. expirationCal.setTimeInMillis(expiration);
  41. return expirationCal;
  42. }
  43. public boolean isTrial()
  44. {
  45. return false;
  46. }
  47. public boolean isPro()
  48. {
  49. return true;
  50. }
  51. public boolean shouldProPluginsRun()
  52. {
  53. return true;
  54. }
  55. public static String trimEncryptedLicense(String encrypted)
  56. {
  57. String newEncrypted = encrypted;
  58. newEncrypted = newEncrypted.trim();
  59. newEncrypted = newEncrypted.replaceAll(“–begin-aptana-license–”, “”);
  60. newEncrypted = newEncrypted.replaceAll(“–end-aptana-license–”, “”);
  61. newEncrypted = newEncrypted.replaceAll(“\\s+”, “”);
  62. return newEncrypted;
  63. }
  64. public static final String BEGIN_LICENSE_MARKER = “–begin-aptana-license–”;
  65. public static final String END_LICENSE_MARKER = “–end-aptana-license–”;
  66. private static final TimeZone GMT = TimeZone.getTimeZone(“GMT”);
  67. /*    private static final String EMAILS_NON_MATCHING = ”EMAILS_NON_MATCHING”;
  68. private static final int PRO = 0;
  69. private static final int TRIAL = 1;
  70. */
  71. private String email;
  72. private long expiration;
  73. private int type;
  74. }

server 2003 怎样为本机添加域用户

Filed under: 资料搜集 | No Comments »
Posted on

现有一台server 2003加到域后,怎样像XP一样添加为本机一个域用户?

在 本地用户和组 里,选择组,打开属性,会出来添加的界面,这是就可以添加基于域的用户了。