-
Android 4.4.2 : Mozilla/5.0 (Linux; Android 4.4.2; GT-N8000 Build/KOT49H) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/64.0.3282.137 Safari/537.36
-
iphone 10.x :
-
ipad 10.x :
This file contains 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
import { | |
BehaviorSubject, | |
filter, | |
type Observable, | |
type Subscription, | |
tap, | |
} from 'rxjs'; | |
const noop => () => {}; |
This file contains 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
/* | |
https://www.w3.org/TR/2006/REC-xml11-20060816/#NT-S | |
[3] S ::= (#x20 | #x9 | #xD | #xA)+ | |
https://www.w3.org/TR/2006/REC-xml11-20060816/#NT-Name | |
[4] NameStartChar ::= ":" | [A-Z] | "_" | [a-z] | [#xC0-#xD6] | [#xD8-#xF6] | [#xF8-#x2FF] | [#x370-#x37D] | [#x37F-#x1FFF] | [#x200C-#x200D] | [#x2070-#x218F] | [#x2C00-#x2FEF] | [#x3001-#xD7FF] | [#xF900-#xFDCF] | [#xFDF0-#xFFFD] | [#x10000-#xEFFFF] | |
[4a] NameChar ::= NameStartChar | "-" | "." | [0-9] | #xB7 | [#x0300-#x036F] | [#x203F-#x2040] | |
[5] Name ::= NameStartChar (NameChar)* | |
https://www.w3.org/TR/2006/REC-xml11-20060816/#NT-EntityValue |
This file contains 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
#!/usr/bin/env bash | |
## these comments explain what happens in the next line(s) | |
# set options explained, source https://wiki.bash-hackers.org/commands/builtin/set | |
# -e errexit | |
# When set, the shell exits when a simple command in a command list exits non-zero (FALSE). | |
# This is not done in situations, where the exit code is already checked (if, while, until, ||, &&) | |
# -E errtrace | |
# ERR-traps are inherited by by shell functions, command substitutions, and commands executed in a subshell environment. | |
# -T functrace | |
# DEBUG- and RETURN-traps are inherited by subsequent environments, like -E for ERR trap. |
This file contains 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 formField = Machine({ | |
id: 'formField', | |
initial: 'clean', | |
context: { | |
initialValue: '', | |
value: '', | |
feedback: undefined, | |
pending: false, |
This file contains 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
// Available variables: | |
// - Machine | |
// - interpret | |
// - assign | |
// - send | |
// - sendParent | |
// - spawn | |
// - raise | |
// - actions |
This file contains 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
describe("Basic flow control in Cypress", () => { | |
before(() => { | |
cy.window().then(window => { | |
window.document.write(` | |
<ul> | |
<li> | |
<a>1a</a> | |
<a>1b</a> | |
</li> | |
<li> |
This file contains 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
# shellcheck shell=sh | |
# https://gist.github.com/karfau/dcf98c6eefc2f2132c160f5c14d2112f | |
# v2024.8.15 | |
# needs to be sourced as part of your script | |
# 1. tries to configure nvm and run `nvm install` | |
# 2. checks if the node version is correct based on ./.nvmrc | |
# if both doesn't work, exits with code 1 and some helpful messages | |
# Sometimes we prefer `nvm use` over `nvm install` |
This file contains 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
// Available variables: | |
// - Machine | |
// - interpret | |
// - assign | |
// - send | |
// - sendParent | |
// - spawn | |
// - raise | |
// - actions |
This file contains 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
// Available variables: | |
// - Machine | |
// - interpret | |
// - assign | |
// - send | |
// - sendParent | |
// - spawn | |
// - raise | |
// - actions |
NewerOlder