pnpm install
pnpm build
jq '.metaData.remoteEntry' dist/mf-manifest.json
find dist -maxdepth 2 -type f -name '*remoteEntry*' -o -name '*remote-entry*'Configured filename:
| <details> | |
| <summary>yarn@v3</summary> | |
| ``` | |
| ➤ YN0000: ┌ Resolution step | |
| ➤ YN0032: │ better-sqlite3@npm:8.0.1: Implicit dependencies on node-gyp are discouraged | |
| ➤ YN0061: │ request@npm:2.88.2 is deprecated: request has been deprecated, see https://github.com/request/request/issues/3142 | |
| ➤ YN0061: │ uuid@npm:3.4.0 is deprecated: Please upgrade to version 7 or higher. Older versions may use Math.random() in certain circumstances, which is known to be problematic. See https://v8.dev/blog/math-random for details. | |
| ➤ YN0061: │ har-validator@npm:5.1.5 is deprecated: this library is no longer supported | |
| ➤ YN0032: │ fsevents@npm:2.3.2: Implicit dependencies on node-gyp are discouraged |
| const parseLocaleNumber = (input, locale) => { | |
| const formatter = Intl.NumberFormat(locale); | |
| const [, { value: thousandSeparator }] = formatter.formatToParts(11111); | |
| const [, { value: decimalSeparator }] = formatter.formatToParts(1.1); | |
| return parseFloat(input | |
| .replace(new RegExp('\\' + thousandSeparator, 'g'), '') | |
| .replace(new RegExp('\\' + decimalSeparator), '.') | |
| ); | |
| } |
Notes from Coed:Ethics conference, London, 13 July 2018
| console.log('first script start'); | |
| function sleep(milliSeconds){ | |
| var startTime = new Date().getTime(); // get the current time | |
| while (new Date().getTime() < startTime + milliSeconds); // hog cpu until time's up | |
| } | |
| sleep(2000) | |
| console.log('first script end'); |
Native HTML controls are a challenge to style. You can style any element in the web platform that uses Shadow DOM with a pseudo element ::pseudo-element or the /deep/ path selector.
video::webkit-media-controls-timeline {
background-color: lime;
}
video /deep/ input[type=range] {It's hard to quarrel with that ancient justification of the free press: "America's right to know." It seems almost cruel to ask, ingeniously, "America's right to know what, please? Science? Mathematics? Economics? Foreign languages?"
None of those things, of course. In fact, one might well suppose that the popular feeling is that Americans are a lot better off without any of that tripe.
There is a cult of ignorance in the United States, and there always has been. The strain of anti-intellectualism has been a constant thread winding its way throughout political and cultural life, nurtured by the false notion that democracy means that "my ignorance is just as good as your knowledge."
Politicians have routinely striven to speak the language of Shakespeare and Milton as ungrammaticaly as possible in order to avoid offending their audiences by appearing to have gone to school. Thus, Adlai Stevenson, who incautiously allowed intelligence and learning and wit to peep out of his speeches, found the American people
nvm https://github.com/creationix/nvmbrew install nvm
nvm install iojs
# .zshrc
export NVM_DIR=$(brew --prefix)/var/nvmAn easy extendable & understandable Codebase, which performs well on all kind of devices. It should provide basic Helpers and In-Code Documentation to develop new features fast and comprehensible way. To achieve this, the Frontend uses the following Technology Stack:
npm install.