Skip to content

Instantly share code, notes, and snippets.

Jochen Szostek Drane

View GitHub Profile
Drane / gist:c5828a1ace8b9d331e384aee40ef6216
Created Sep 23, 2016
Javascript enable all checkboxes
View gist:c5828a1ace8b9d331e384aee40ef6216
var textinputs = document.querySelectorAll('input[type=checkbox]');
Drane /
Created Feb 12, 2016
JBoss EAP 6.3 H2 MySQL Oracle datasources
    <extension module=""/>
    <property name="" value="true"/>
    <property name="" value="true"/>
    <property name="" value="true"/>
    <property name="" value="true"/>
Drane / standalone-full.xml
Last active Feb 12, 2016
JBoss Mysql XA datasource
View standalone-full.xml
<datasource jndi-name="java:jboss/datasources/H2DS" pool-name="H2DS" enabled="true" use-java-context="true">
<connection-url>jdbc:h2:tcp://localhost/~/dev/tmp/isps;INIT=CREATE SCHEMA IF NOT EXISTS ccmc;</connection-url>
<xa-datasource jndi-name="java:jboss/datasources/H2DSXA" pool-name="H2DSXA" enabled="true" use-java-context="true">
Drane /
Created Feb 11, 2016
JBoss SOAP logginig properties

View gist:cb5cefefe737421e0af0
// Uses AMD or browser globals to create a module.
// If you want something that will also work in Node, see returnExports.js
// If you want to support other stricter CommonJS environments,
// or if you need to create a circular dependency, see commonJsStrict.js
// Defines a module "amdWeb" that depends another module called "b".
// Note that the name of the module is implied by the file name. It is best
// if the file name and the exported global have matching names.
You can’t perform that action at this time.