Skip to content

Instantly share code, notes, and snippets.

@trandaison
Last active February 23, 2025 14:28

Revisions

  1. trandaison revised this gist Oct 16, 2024. 1 changed file with 1 addition and 0 deletions.
    1 change: 1 addition & 0 deletions starUML.md
    Original file line number Diff line number Diff line change
    @@ -1,6 +1,7 @@
    > Note: This is the guide for v 2.x.
    >
    > For the v3, please follow this url: https://blog.csdn.net/sam_shan/article/details/80585240 Thanks @liy-cn for contributing.
    >
    > For the v6, please follow the comment below: https://gist.github.com/trandaison/40b1d83618ae8e3d2da59df8c395093a?permalink_comment_id=5079514#gistcomment-5079514

  2. trandaison revised this gist Oct 16, 2024. 1 changed file with 1 addition and 0 deletions.
    1 change: 1 addition & 0 deletions starUML.md
    Original file line number Diff line number Diff line change
    @@ -1,6 +1,7 @@
    > Note: This is the guide for v 2.x.
    >
    > For the v3, please follow this url: https://blog.csdn.net/sam_shan/article/details/80585240 Thanks @liy-cn for contributing.
    > For the v6, please follow the comment below: https://gist.github.com/trandaison/40b1d83618ae8e3d2da59df8c395093a?permalink_comment_id=5079514#gistcomment-5079514

    # StarUML
  3. trandaison revised this gist Sep 23, 2019. 1 changed file with 1 addition and 0 deletions.
    1 change: 1 addition & 0 deletions starUML.md
    Original file line number Diff line number Diff line change
    @@ -1,4 +1,5 @@
    > Note: This is the guide for v 2.x.
    >
    > For the v3, please follow this url: https://blog.csdn.net/sam_shan/article/details/80585240 Thanks @liy-cn for contributing.

  4. trandaison revised this gist Sep 23, 2019. 1 changed file with 4 additions and 0 deletions.
    4 changes: 4 additions & 0 deletions starUML.md
    Original file line number Diff line number Diff line change
    @@ -1,3 +1,7 @@
    > Note: This is the guide for v 2.x.
    > For the v3, please follow this url: https://blog.csdn.net/sam_shan/article/details/80585240 Thanks @liy-cn for contributing.

    # StarUML
    Download: [StarUML.io](http://staruml.io/)

  5. trandaison revised this gist May 11, 2017. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion starUML.md
    Original file line number Diff line number Diff line change
    @@ -5,7 +5,7 @@ Download: [StarUML.io](http://staruml.io/)
    Source: [jorgeancal](http://jorgeancal.com/en/crack/crack-startuml/)


    After installing StartUML successfully, modify LicenseManagerDomain.js as follow:
    After installing StartUML successfully, modify `LicenseManagerDomain.js` as follow:
    ```js
    /**
    * File name: LicenseManagerDomain.js
  6. trandaison revised this gist May 11, 2017. 1 changed file with 2 additions and 0 deletions.
    2 changes: 2 additions & 0 deletions starUML.md
    Original file line number Diff line number Diff line change
    @@ -3,6 +3,8 @@ Download: [StarUML.io](http://staruml.io/)

    # Crack
    Source: [jorgeancal](http://jorgeancal.com/en/crack/crack-startuml/)


    After installing StartUML successfully, modify “LicenseManagerDomain.js” as follow:
    ```js
    /**
  7. trandaison revised this gist May 11, 2017. 1 changed file with 11 additions and 5 deletions.
    16 changes: 11 additions & 5 deletions starUML.md
    Original file line number Diff line number Diff line change
    @@ -3,7 +3,7 @@ Download: [StarUML.io](http://staruml.io/)

    # Crack
    Source: [jorgeancal](http://jorgeancal.com/en/crack/crack-startuml/)

    After installing StartUML successfully, modify “LicenseManagerDomain.js” as follow:
    ```js
    /**
    * File name: LicenseManagerDomain.js
    @@ -18,11 +18,11 @@ Source: [jorgeancal](http://jorgeancal.com/en/crack/crack-startuml/)

    function validate(PK, name, product, licenseKey) {
    return{
    name: "jorgeancal",
    name: "sontd",
    product: "StarUML",
    licenseType: "vip",
    quantity: "jorgeancal.com",
    licenseKey: "No! Try not! Do or Do not, There is no try."
    quantity: "unlimited",
    licenseKey: "no, thanks!"
    };
    }

    @@ -71,4 +71,10 @@ Source: [jorgeancal](http://jorgeancal.com/en/crack/crack-startuml/)
    exports.init = init;

    }());
    ```
    ```
    Now, open it and go to `Help > Enter License` and you have to write the name and the licence key which you have written on `LicenseManagerDomain.js`. In this example would be the next:
    ```yml
    name: "sontd"
    License Key: "no, thanks!"
    ```
    Enjoy it!
  8. trandaison created this gist May 11, 2017.
    74 changes: 74 additions & 0 deletions starUML.md
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,74 @@
    # StarUML
    Download: [StarUML.io](http://staruml.io/)

    # Crack
    Source: [jorgeancal](http://jorgeancal.com/en/crack/crack-startuml/)

    ```js
    /**
    * File name: LicenseManagerDomain.js
    * Mac OS: /Applications/StarUML.app/Contents/www/license/node/
    * Linux: /opt/staruml/www/license/node/
    */

    (function () {
    "use strict";

    var NodeRSA = require('node-rsa');

    function validate(PK, name, product, licenseKey) {
    return{
    name: "jorgeancal",
    product: "StarUML",
    licenseType: "vip",
    quantity: "jorgeancal.com",
    licenseKey: "No! Try not! Do or Do not, There is no try."
    };
    }

    function init(domainManager) {
    if (!domainManager.hasDomain("LicenseManager")) {
    domainManager.registerDomain("LicenseManager", {major: 0, minor: 1});
    }
    domainManager.registerCommand(
    "LicenseManager", // domain name
    "validate", // command name
    validate, // command handler function
    false, // this command is synchronous in Node ("false" means synchronous")
    "Validate License",
    [
    {
    name: "PK",
    type: "string",
    description: "PK"
    },
    {
    name: "name",
    type: "string",
    description: "name of license owner"
    },
    {
    name: "product",
    type: "string",
    description: "product name"
    },
    {
    name: "licenseKey",
    type: "string",
    description: "license key"
    }
    ],
    [
    {
    name: "result", // return values
    type: "object",
    description: "result"
    }
    ]
    );
    }

    exports.init = init;

    }());
    ```