- Setup Keycloak in non-HA mode (replica 1)
- Disable UserFederation
- You might have to increase the resource limits to avoid that pod beeing killed by memory or CPU limits
See Keycloak Documentation for more details.
#!/usr/bin/env python3 | |
""" | |
Import/Export tool for Consul Key-Value storage. | |
If your server has ACL enabled, | |
be sure to export CONSUL_HTTP_TOKEN env variable or use -t to provide a token | |
Usage: | |
Export KV storage decoding values |
-- show running queries (pre 9.2) | |
SELECT procpid, age(clock_timestamp(), query_start), usename, current_query | |
FROM pg_stat_activity | |
WHERE current_query != '<IDLE>' AND current_query NOT ILIKE '%pg_stat_activity%' | |
ORDER BY query_start desc; | |
-- show running queries (9.2) | |
SELECT pid, age(clock_timestamp(), query_start), usename, query | |
FROM pg_stat_activity | |
WHERE query != '<IDLE>' AND query NOT ILIKE '%pg_stat_activity%' |
{ | |
"ObjectType": [ | |
"CAR" | |
], | |
"ObjectDescription": [ | |
"This product is a car, great" | |
], | |
"ObjectTags": [ | |
"FOO", | |
"BAR" |
See Keycloak Documentation for more details.
package pb | |
import ( | |
"fmt" | |
"reflect" | |
st "github.com/golang/protobuf/ptypes/struct" | |
) | |
// ToStruct converts a map[string]interface{} to a ptypes.Struct |
/* Exercise: Loops and Functions #43 */ | |
package main | |
import ( | |
"fmt" | |
"math" | |
) | |
func Sqrt(x float64) float64 { | |
z := float64(2.) |