https://forums.docker.com/t/installing-docker-on-windows-10-home/11722/25
- Run two bat scripts to install hyper-v and container features
- Edit the registry key to make the edition Professional
- Install docker desktop
docker buildx build --builder=mybuilder --push --platform linux/arm64,linux/amd64 --tag rkbalgi/isosim:latest . |
Use these ENV variables - | |
GRPC_GO_LOG_SEVERITY_LEVEL=info;GRPC_GO_LOG_VERBOSITY_LEVEL=99;GODEBUG=http2debug\=2 |
package test | |
//A very simple example of using user defined structures with instance functions with cel-go | |
import ( | |
"github.com/google/cel-go/cel" | |
"github.com/google/cel-go/checker/decls" | |
"github.com/google/cel-go/common/types" | |
"github.com/google/cel-go/common/types/ref" | |
"github.com/google/cel-go/common/types/traits" |
In your effort of implementing standalone-ha with keycloak postgresql using JDBC_PING you will stumble upon many sites that define | |
the table structure for jgroupsping and the right one goes like this - | |
CREATE TABLE IF NOT EXISTS JGROUPSPING ( | |
own_addr varchar(200) NOT NULL, | |
cluster_name varchar(200) NOT NULL, | |
ping_data BYTEA, | |
constraint PK_JGROUPSPING PRIMARY KEY (own_addr, cluster_name) | |
); |
If you're facing this error.. | |
(????-d8ba0c577450) Lambda execution failed with status 200 due to customer function error: 2021-04-2... 593a3a89-???? Task timed out after 10.01 seconds. Lambda request id: ??-????-914d | |
By default, if you create a lambda using console, the default memory size is 512MB, if you create by AWS CDK it is 128MB! | |
try using `.memorySize(512)` on the lambda definition! | |
This gist describes the process of setting up direct grant access (oauth2 resource owner password flow) with keycloak and spring boot. We'll follow the | |
below steps - | |
1. Install keycloak - there are plenty of examples out there (even a docker image) | |
2. Create a demo realm and create a client within the demo realm with the settings as - | |
client-protocol: openid-connect, access-type: confidential, (implicit-flow+direct-access-grant+service-accounts)=enabled | |
3. Create 2 roles - developer and admin within the demo realm | |
4. Create 2 users - one with developer role and other with admin (Ensure that user is enabled, there are no "Required User Actions" and that the password has been reset (in the credentials tab) | |
https://forums.docker.com/t/installing-docker-on-windows-10-home/11722/25
This is targeted for Windows users (who wish to build outside of a docker container - which BTW is still the preferred way to build the image)
sudo apt-get install build-essential sudo wget -O /usr/local/bin/bazel https://github.com/bazelbuild/bazelisk/releases/download/v0.0.8/bazelisk-linux-amd64 sudo chmod +x /usr/local/bin/bazel
I had few problems setting up Ubuntu 19.10 using a osbox image on my windows 10 (NAT mode). Hopefully, this gist will help those trying the same
https://github.com/rkbalgi/keycloak-cli/blob/master/src/main/java/com/github/rkbalgi/apps/keycloak/IdReplacer.java |