interface OptionalMemberExpression <: Expression {
type: "OptionalMemberExpression";
object: Expression;
property: Expression;
computed: boolean;
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| "use strict"; | |
| Object.defineProperty(exports, "__esModule", { | |
| value: true | |
| }); | |
| exports.default = normalizeFile; | |
| function _fs() { | |
| const data = _interopRequireDefault(require("fs")); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/sh | |
| # @babel/standalone 7.7.1 | |
| wget -qO- https://unpkg.com/@babel/[email protected]/babel.js | grep -Ec "^function \_interopRequireDefault\(obj\)" | |
| # @babel/standalone develop | |
| cat packages/babel-standalone/babel.js | grep -Ec "^function \_interopRequireDefault\(obj\)" | |
| # @babel/preset-env-standalone 7.7.1 | |
| wget -qO- https://unpkg.com/@babel/[email protected]/babel-preset-env.js | grep -Ec "^function \_interopRequireDefault\(obj\)" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| require("jest-preset-angular"); | |
| test.each([[1, 1, 2], [1, 2, 3], [2, 1, 3]])( | |
| '.add(%i, %i)', | |
| (a, b, expected) => { | |
| expect(a + b).toBe(expected); | |
| }, | |
| ); | |
| describe.each([[1, 1, 2], [1, 2, 3], [2, 1, 3]])( |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| {"sig":"a5a638c14ba35a75f201dfb094a56c1927af11eec7f82910def125d098d7b3e236475a15475ac159d127fad468499ff2335de5cd61a6c785059f89fee83a0d790","msghash":"7e85b2fe5994bd57d9557aad4b766abb72f8648ce27893c63c71a5b5094794fe"} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # $1: The application name | |
| echo `system_profiler -xml SPApplicationsDataType | xmllint --xpath \ | |
| "//dict[string='$1']/key[.='version']/following-sibling::*[1]/text()" -` |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/sh | |
| openssl_version=1.1.0g | |
| nginx_version=1.12.2 | |
| zlib_version=1.2.11 | |
| pcre_version=8.41 | |
| wget -O- https://ftp.pcre.org/pub/pcre/pcre-$pcre_version.tar.bz2 | tar -xjvf - |
Add Unicode Codepoint mapping alongside the ideograph in Table of General Standard Chinese Characters (通用规范汉字表)
Run the snippet in the console when opening 通用规范汉字表.
$(".mw-parser-output dl dd").each(function(){$(this).append(`<small style="margin-left:1rem"><code>U+${$(this).text().replace(/[\d\s]+/i, "").codePointAt(0).toString(16).toUpperCase()}</code></small>`)})