Convert mac-os-el-capitan-pkg-to-iso.sh from using hdiutil and asr to using Linux utilities.
Important: You will need about 30GB of free disk space.
| <script src="https://cjrtnc.leaningtech.com/3_20250514_1341/loader.js"></script> | |
| <script type="module"> | |
| import { fileOpen } from "https://cdn.jsdelivr.net/npm/browser-fs-access@0.37/+esm"; | |
| class CheerpJFs { | |
| // This probably should be static | |
| #textEncoder = new TextEncoder(); | |
| #java; | |
| #lib; |
| dialog[popover]:not([open]) { | |
| box-sizing: border-box; | |
| /* | |
| * Readd Chrome UA styles on popover dialogs since they | |
| * are overwritten when marked as a popover. An explanation | |
| * I found useful was [this](https://youtu.be/yZT9906ZCLU?t=543) | |
| * video, but be forewarned, the padding part does not apply | |
| * to `[popover]` dialogs. | |
| */ |
Convert mac-os-el-capitan-pkg-to-iso.sh from using hdiutil and asr to using Linux utilities.
Important: You will need about 30GB of free disk space.
| --- | |
| /** | |
| * @param moduleId Path to component | |
| */ | |
| function function2AstroComponent<Args extends any>( | |
| callback: (...arg: Args[]) => any | |
| ): (...arg: Args[]) => any & { | |
| isAstroComponentFactory: true; | |
| propagation: "none"; | |
| name: string; |
| console.log(5) // prints: 5 | |
| Number.prototype._ = function() { | |
| alert("Boo!"); | |
| return this; | |
| } | |
| Number.prototype.__ = function() { | |
| alert("Boo!"); | |
| return this * 2; |
| import htm from "https://esm.sh/htm"; | |
| import vhtml from "https://esm.sh/vhtml"; | |
| const html = htm.bind(vhtml); | |
| function string2Nodes(string) { | |
| const container = document.createElement("div"); | |
| container.innerHTML = string; | |
| return container.childNodes; |
| // Coordinates to check system against | |
| const coordinates = [ | |
| [-3, 0], | |
| [5, 1], | |
| [-4, 3], | |
| [2, -6], | |
| ]; | |
| // System without solving for Y | |
| function system1(x, y) { |