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
| # | |
| # hosts This file describes a number of hostname-to-address | |
| # mappings for the TCP/IP subsystem. It is mostly | |
| # used at boot time, when no name servers are running. | |
| # On small systems, this file can be used instead of a | |
| # "named" name server. | |
| # Syntax: | |
| # | |
| # IP-Address Full-Qualified-Hostname Short-Hostname | |
| # |
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
| let a = [1, 2, [3, [4, [5, [6], [7, [8]]]]]]; | |
| function brainDeadDeepFlat(arr) | |
| { | |
| return Array.isArray(arr) | |
| ? arr.reduce( (arr, e) => arr.concat(brainDeadDeepFlat(e)), [] ) | |
| : [arr]; | |
| } | |
| function normalBrainDeepFlat(arr) |
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
| /** | |
| * This CSS block is a More Effective CSS Image Reset. | |
| * It resets the default styles of an image element | |
| * and adds some additional styles to improve its rendering. | |
| * | |
| * The `max-width: 100%;` ensures that the image does not exceed its container's width, | |
| * while maintaining its aspect ratio with `height: auto;`. | |
| * | |
| * The `vertical-align: middle;` aligns the image vertically with the text. | |
| * |
OlderNewer