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
| <?php | |
| $bootTimestamp = time() - (int) file_get_contents('/proc/uptime'); | |
| echo "<br/>"; | |
| echo "Indulás ideje: " . date('Y-m-d H:i:s', $bootTimestamp); | |
| echo "<br/>"; | |
| $uptimeSeconds = (int) file_get_contents('/proc/uptime'); | |
| $days = floor($uptimeSeconds / 86400); |
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
| <!DOCTYPE html> | |
| <html lang="en" > | |
| <head> | |
| <meta charset="UTF-8"> | |
| <title>IMAGE ZIP</title> | |
| </head> | |
| <body> | |
| <button class="download_button">LETÖLTÉS</button> |
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
| diff --git a/node_modules/react/cjs/react.development.js b/node_modules/react/cjs/react.development.js | |
| index 8735990..6cc608f 100644 | |
| --- a/node_modules/react/cjs/react.development.js | |
| +++ b/node_modules/react/cjs/react.development.js | |
| @@ -1621,6 +1621,11 @@ function useState(initialState) { | |
| var dispatcher = resolveDispatcher(); | |
| return dispatcher.useState(initialState); | |
| } | |
| +function useBetterState(initialState) { | |
| + var dispatcher = resolveDispatcher(); |
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
| stages: | |
| - E2E | |
| .ios_base: | |
| tags: | |
| - macOS | |
| - swiftlint | |
| cache: | |
| paths: | |
| - node_modules |
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
| class Banner extends HTMLElement { | |
| // Private variable that cannot be reached directly from outside, but can be modified by the methods inside: | |
| #slogan = "Hello there!" | |
| #counter = 0 | |
| // private getters and setters (accessors): | |
| get #slogan() {return #slogan.toUpperCase()} | |
| set #slogan(text) {this.#slogan = text.trim()} |
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
| class Translator { | |
| static translations = { | |
| yes: 'ja', | |
| no: 'nein', | |
| maybe: 'vielleicht', | |
| }; | |
| static englishWords = []; | |
| static germanWords = []; | |
| static { // (A) | |
| for (const [english, german] of Object.entries(this.translations)) { |
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
| const date = Temporal.Now.plainDateISO(); // Gets the current date | |
| date.toString(); // returns the date in ISO 8601 date format | |
| // If you additionally want the time: | |
| Temporal.Now.plainDateTimeISO().toString(); // date and time in ISO 8601 format |
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
| class User { | |
| isActive = false; | |
| get getStatus(){ | |
| if(!this.#isActive){ | |
| throw new Error('User is not active'); | |
| } | |
| return this.#isActive; | |
| } | |
| } |
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
| try { | |
| const result = 2 / 0; | |
| console.log(result); | |
| } catch (error) { | |
| console.err(error); | |
| throw new Error('Something went wrong', { cause: error }); | |
| } |
NewerOlder