Skip to content

Instantly share code, notes, and snippets.

@mstruk
mstruk / README.txt
Created June 4, 2012 12:28
JBoss AS7 Support
JBoss AS7 Support
=================
This module provides JBoss AS7 support for GateIn.
There is a new packaging module called 'jboss-as7'. It contains three sub-modules:
- extension
-----------
@mstruk
mstruk / gist:3912393
Created October 18, 2012 15:01
Android Meeting Minutes October 18, 2012
Meeting minutes:
Roadmap review:
===============
https://github.com/aerogear/beta.aerogear.org/blob/master/docs/planning/1.0.0/AeroGearAndroid.asciidoc
M1 progress:
------------
@mstruk
mstruk / gist:4074544
Created November 14, 2012 20:24
PipeConfig Ergonomics

Currently, when creating a new PipeConfig we use a constructor and specify a rootUrl:

    URL rootUrl = new URL("http://todo-aerogear.rhcloud.com/todo-server");

    Pipeline pipeline = new Pipeline(rootUrl);
    PipeConfig config = new PipeConfig(rootUrl, Project.class);

    Pipe<Project> projects = pipeline.pipe(Project.class, config);
@mstruk
mstruk / Analytics.md
Last active August 29, 2015 14:13
Instructions for analytics

Analytics - Initial implementation

Building

Checkout rhq-metrics branch with analytics work from github.com/mstruk:

git clone https://github.com/mstruk/rhq-metrics.git

git checkout liveoak

@mstruk
mstruk / gist:257d1256db2b31683f81ac475f9531cc
Created January 18, 2018 16:09
Docker-compose-example failure with mysql
keycloak_1 | 16:07:16,932 INFO [org.keycloak.services] (ServerService Thread Pool -- 54) KC-SERVICES0006: Importing users from '/opt/jboss/keycloak/standalone/configuration/keycloak-add-user.json'
keycloak_1 | 16:07:17,351 WARN [org.hibernate.engine.jdbc.spi.SqlExceptionHelper] (ServerService Thread Pool -- 54) SQL Error: 1062, SQLState: 23000
keycloak_1 | 16:07:17,352 ERROR [org.hibernate.engine.jdbc.spi.SqlExceptionHelper] (ServerService Thread Pool -- 54) Duplicate entry 'master-admin' for key 'UK_RU8TT6T700S9V50BU18WS5HA6'
keycloak_1 | 16:07:17,367 INFO [org.hibernate.engine.jdbc.batch.internal.AbstractBatchImpl] (ServerService Thread Pool -- 54) HHH000010: On release of batch it still contained JDBC statements
keycloak_1 | 16:07:17,391 ERROR [org.keycloak.services] (ServerService Thread Pool -- 54) KC-SERVICES0010: Failed to add user 'admin' to realm 'master': user with username exists
@mstruk
mstruk / commands.txt
Created January 29, 2020 14:20
Get Keycloak up and running on minishift
#
# Start Keycloak
#
cat <<EOF > keycloak-authz.yml
apiVersion: v1
kind: Service
metadata:
name: keycloak
labels:
app: keycloak