Skip to content

13th April 2022

Computer Science

GNULinux

Git

  • New: Modify specific commit message.

    git rebase --interactive '<commit-id>^'
    

    Then replace pick with r and save to modify the commit message.

Programming

basics

JSDoc

  • New: JSDoc @example.

    `javascript /** * Solves equations of the form a * x = b * @example * // returns 2 * globalNS.method1(5, 10); * @example * // returns 3 * globalNS.method(5, 15); * @returns {Number} Returns the value of x for the equation. */ globalNS.method1 = function (a, b) { return b / a; };

  • New: JSDoc @type.

    Reference: Use JSDoc: @type.