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
| ### Run Typesense via Docker ######################################## | |
| set -x | |
| export TYPESENSE_API_KEY=xyz | |
| export TYPESENSE_HOST=http://localhost:8108 | |
| docker stop typesense-repro 2>/dev/null | |
| docker rm typesense-repro 2>/dev/null | |
| rm -rf "$(pwd)"/typesense-data-dir-repro | |
| mkdir "$(pwd)"/typesense-data-dir-repro |
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
| func TestAccClientIssue295(t *testing.T) { | |
| rand := random.String(6) | |
| resource.Test(t, resource.TestCase{ | |
| Providers: map[string]terraform.ResourceProvider{ | |
| "auth0": Provider(), | |
| }, | |
| Steps: []resource.TestStep{ | |
| { |
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
| type FleetVehicle interface { | |
| MakeAndModel() string | |
| } | |
| type Vehicle struct { | |
| Type string `json:"type"` | |
| Make string `json:"make"` | |
| Model string `json:"model"` | |
| } |
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
| package management | |
| import ( | |
| "encoding/json" | |
| ) | |
| type S struct { | |
| // The discriminator used to undertsand which concrete type of Option we | |
| // should use to unmarshal into. Can be either [foo, bar]. |
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
| package management | |
| import ( | |
| "encoding/json" | |
| "reflect" | |
| ) | |
| type S struct { | |
| // The discriminator used to undertsand which concrete type of Option we |
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
| resource "auth0_user" "user" { | |
| connection_name = "Username-Password-Authentication" | |
| username = "rsatesting" | |
| nickname = "rsatesting" | |
| email = "[email protected]" | |
| email_verified = true | |
| password = "IAmAp455w0rd" | |
| app_metadata = "{\"groups\": [\"project:platform-admin\", \"foo:bar\"]}" | |
| } |
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
| package management | |
| type ErrorType int | |
| const ( | |
| UnknownError ErrorType = iota | |
| CannotSetUsernameForConnectionError | |
| PasswordStrengthError |
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
| #!/usr/bin/env bash | |
| AUTH0_DOMAIN=<your-auth0-domain> | |
| AUTH0_TOKEN=<your-auth0-token> | |
| function client_list() { | |
| curl -sS \ | |
| -H "Authorization: Bearer $AUTH0_TOKEN" \ | |
| "https://$AUTH0_DOMAIN/api/v2/clients?fields=client_id,name&include_fields=true&_=$(date +%s)" |\ | |
| jq -r -c -M '.[]' |
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
| <script> | |
| window.intercomSettings = { | |
| app_id: 'APP_ID', | |
| name: "Jane Doe", // Full name | |
| email: "[email protected]", // Email address | |
| created_at: 1312182000 // Signup date as a Unix timestamp | |
| }; | |
| </script> | |
| <script> | |
| (function() { |
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
| Mar 14 14:56:56 k8s-node fleetd[785]: ERROR engine.go:217: Engine leadership lost, renewal failed: 101: Compare failed ([34778 != 34780]) [34782] | |
| Mar 14 14:57:00 k8s-node fleetd[785]: ERROR engine.go:217: Engine leadership lost, renewal failed: 101: Compare failed ([34783 != 34785]) [34785] | |
| Mar 14 14:57:04 k8s-node fleetd[785]: ERROR engine.go:217: Engine leadership lost, renewal failed: 101: Compare failed ([34786 != 34788]) [34790] | |
| Mar 14 14:57:08 k8s-node fleetd[785]: ERROR engine.go:217: Engine leadership lost, renewal failed: 101: Compare failed ([34791 != 34793]) [34795] | |
| Mar 14 14:57:12 k8s-node fleetd[785]: ERROR engine.go:217: Engine leadership lost, renewal failed: 101: Compare failed ([34796 != 34799]) [34800] | |
| Mar 14 14:57:15 k8s-node sdnotify-proxy[853]: I0314 14:57:15.351187 00001 vxlan.go:340] Ignoring not a miss: fa:75:0a:94:49:8b, 10.10.30.0 | |
| Mar 14 14:57:16 k8s-node fleetd[785]: ERROR engine.go:217: Engine leadership lost, renewal failed: 101: Compare failed ([34801 != 34803]) [34803] | |
| Mar 14 14 |
NewerOlder