- 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.
| #!/bin/bash | |
| set -o pipefail | |
| app_id=$1 # App ID as first argument | |
| installation_id=$2 # Installation ID as second argument | |
| pem=$( cat $3 ) # file path of the private key as third argument | |
| now=$(date +%s) | |
| iat=$((${now} - 60)) # Issues 60 seconds in the past |
| #!/bin/bash | |
| ## Running this script will do following for all passed repos: | |
| ## - Create a branch `backstage-integration` | |
| ## - Add catalog-info.yaml | |
| ## - Creates a PullRequest | |
| ## | |
| ## This script expects following files | |
| ## - repos.txt: a file with repository names (one per line) | |
| ## - catalog-info.yaml: A minimal manifest template with content like |
| panic: interface conversion: interface {} is map[string]interface {}, not *schema.Set | |
| 2021-01-21T11:57:16.440Z [DEBUG] plugin.terraform-provider-opsgenie_v0.6.0: | |
| 2021-01-21T11:57:16.440Z [DEBUG] plugin.terraform-provider-opsgenie_v0.6.0: goroutine 543 [running]: | |
| 2021-01-21T11:57:16.440Z [DEBUG] plugin.terraform-provider-opsgenie_v0.6.0: github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema.(*MapFieldWriter).setSet(0xc00015f480, 0xc00023c0c0, 0x3, 0x3, 0xc13140, 0xc00023c030, 0xc00039c000, 0xc00046f260, 0x40ef04) | |
| 2021-01-21T11:57:16.440Z [DEBUG] plugin.terraform-provider-opsgenie_v0.6.0: github.com/hashicorp/terraform-plugin-sdk/v2@v2.4.0/helper/schema/field_writer_map.go:344 +0xbce | |
| 2021-01-21T11:57:16.440Z [DEBUG] plugin.terraform-provider-opsgenie_v0.6.0: github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema.(*MapFieldWriter).set(0xc00015f480, 0xc00023c0c0, 0x3, 0x3, 0xc13140, 0xc00023c030, 0x2, 0x2) | |
| 2021-01-21T11:57:16.440Z [DEBUG] plugin.terraform-provider-opsgenie_v0.6.0: github.com/hashicorp |
| ## Requires https://github.com/itaysk/kubectl-neat | |
| if [[ -z $commands[kubectl neat] ]]; then | |
| echo 'kubectl is not installed.' | |
| echo 'See https://github.com/itaysk/kubectl-neat' | |
| return 1 | |
| fi | |
| # Pod | |
| alias kgpn='kubectl neat get -- pod' |
| #!/bin/bash | |
| ## Backup original file | |
| sudo mv /usr/lib/x86_64-linux-gnu/opera/libffmpeg.so /usr/lib/x86_64-linux-gnu/opera/libffmpeg.so.bak | |
| ## Link file from other location to use instead | |
| # sudo ln -sf /snap/chromium/current/usr/lib/chromium-browser/libffmpeg.so /usr/lib/x86_64-linux-gnu/opera/libffmpeg.so | |
| # sudo ln -sf /usr/share/code/libffmpeg.so /usr/lib/x86_64-linux-gnu/opera/libffmpeg.so | |
| # sudo ln -sf /usr/lib/slack/libffmpeg.so /usr/lib/x86_64-linux-gnu/opera/libffmpeg.so | |
| # ... |
| master: | |
| useSecurity: true | |
| adminUser: "admin" | |
| fsGroup: 1000 | |
| runAsUser: 1000 | |
| serviceType: ClusterIP | |
| installPlugins: |
See Keycloak Documentation for more details.
| String className = "org.yaml.snakeyaml.Yaml" | |
| def clazzResource = className.replaceAll("\\.", "/") + ".class" | |
| println "Looking for: ${clazzResource}\n" | |
| Jenkins.instance.pluginManager.activePlugins.forEach { PluginWrapper plugin -> | |
| def c = plugin.classLoader.getResources(clazzResource) | |
| if (c.hasMoreElements()) { | |
| println "Found in ${plugin}" | |
| println Collections.list(c).join("\n") + "\n" | |
| } |
Here is described how to setup Selenium for a SpringBoot maven-project.
Add following dependency to projects pom.xml
| /opt/hbase/bin/hbase shell | |
| create 'metric-schema', {NAME => 'f', BLOOMFILTER => 'ROW', VERSIONS => '1', DATA_BLOCK_ENCODING => 'FAST_DIFF'} | |
| create 'scope-schema', {NAME => 'f', BLOOMFILTER => 'ROW', VERSIONS => '1', DATA_BLOCK_ENCODING => 'FAST_DIFF'} |