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
2024-05-14T06:52:40.342Z [DEBUG] created provider logger: level=debug | |
2024-05-14T06:52:40.342Z [INFO] provider: configuring client automatic mTLS | |
2024-05-14T06:52:40.354Z [DEBUG] provider: starting plugin: path=.terraform/providers/registry.terraform.io/hashicorp/azuread/2.48.0/linux_amd64/terraform-provider-azuread_v2.48.0_x5 args=[".terraform/providers/registry.terraform.io/hashicorp/azuread/2.48.0/linux_amd64/terraform-provider-azuread_v2.48.0_x5"] | |
2024-05-14T06:52:40.354Z [DEBUG] provider: plugin started: path=.terraform/providers/registry.terraform.io/hashicorp/azuread/2.48.0/linux_amd64/terraform-provider-azuread_v2.48.0_x5 pid=1720 | |
2024-05-14T06:52:40.354Z [DEBUG] provider: waiting for RPC address: path=.terraform/providers/registry.terraform.io/hashicorp/azuread/2.48.0/linux_amd64/terraform-provider-azuread_v2.48.0_x5 | |
2024-05-14T06:52:40.369Z [INFO] provider.terraform-provider-azuread_v2.48.0_x5: configuring server automatic mTLS: timestamp=2024-05-14T06:52:40.369Z | |
2024-05-14T06:52:40.389Z [INFO] p |
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
<!doctype html> | |
<html> | |
<head> | |
<meta charset="utf-8"> | |
<meta http-equiv="x-ua-compatible" content="ie=edge"> | |
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"> | |
</head> | |
<body> |
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
<!doctype html> | |
<html> | |
<head> | |
<meta charset="utf-8"> | |
<meta http-equiv="x-ua-compatible" content="ie=edge"> | |
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"> | |
</head> | |
<body> |
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
<!doctype html> | |
<html> | |
<head> | |
<meta charset="utf-8"> | |
<meta http-equiv="x-ua-compatible" content="ie=edge"> | |
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"> | |
<style> | |
.line { |
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
<!doctype html> | |
<html> | |
<head> | |
<meta charset="utf-8"> | |
<meta http-equiv="x-ua-compatible" content="ie=edge"> | |
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"> | |
<style> | |
.line { |
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
type CacheInterface interface { | |
Get(key string) ([]byte, error) | |
Set(key string, value interface{}) error | |
} | |
// Cache implements CacheInterface. | |
type Cache struct { | |
// wrap redis pool connection | |
// or whatever you need | |
} |
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
region | fruit | count | |
---|---|---|---|
East | Apples | 53245 | |
West | Apples | 28479 | |
South | Apples | 19697 | |
North | Apples | 24037 | |
Central | Apples | 40245 | |
East | Oranges | 200 | |
South | Oranges | 200 | |
Central | Oranges | 200 |
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
func get(w http.ResponseWriter, r *http.Request) *HTTPError { | |
// get some logged in user | |
user := GetUserFromContext(r) | |
// create error and result channel | |
errchan := make(chan error, 2) | |
friendsChan := make(chan []Friend) | |
CarsChan := make(chan []Cars) | |
// get friends | |
go func() { | |
friends, err := db.GetFriends(user.Name) |
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
{{ define "title" }} | |
a | |
{{ end }} | |
{{ define "body" }} | |
<p> | |
some content in file a | |
</p> | |
{{ end }} |
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
var cors_proxy = require("corsproxy"); | |
var http_proxy = require("http-proxy"); | |
cors_proxy.options = { | |
// this is not working | |
target: "user:pw@https://mirco.cloudant.com/pouchdb" | |
}; | |
http_proxy.createServer(cors_proxy).listen(1234, function() { | |
console.log('cors proxy server listening on port 1234') | |
}); |
NewerOlder