This is a good rule to add to a reset that sets the box-sizing of all elements and pseudo elements to border-box. This results in a predictable CSS authoring experience.
*,
*::before,
*::after {
box-sizing: border-box;
}| -std=c99 -fsanitize=address -W -Wall -Werror -Werror=missing-declaration -Werror=redundant-decls -Wextra -Wpedantic -pedantic-errors -Wconversion -Wdeprecated -Wextra-semi |
| param ( | |
| [Parameter(Mandatory, HelpMessage = "The working directory is mandatory")] | |
| [String]$WorkDir, | |
| [Parameter()] | |
| [String[]]$ExcludedVideos, | |
| [Parameter()] | |
| [bool]$recursive | |
| ) | |
| $WorkDir = $WorkDir.Trim() |
| const users = [ | |
| { | |
| id: 0, | |
| status: "inactive", | |
| username: "hobbit" | |
| }, | |
| { | |
| id: 1, | |
| status: "active", | |
| username: "hobbit 2" |
| const isOnline = async ():Promise<boolean> => { | |
| // Make a request to any host as long as it is a URL and not an IP in order to check DNS too | |
| try { | |
| await fetch("checkip.amazonaws.com"); | |
| return true; | |
| } catch (error) { | |
| return false; | |
| } | |
| }; |