Skip to content

Instantly share code, notes, and snippets.

Jochen Szostek Drane

View GitHub Profile
@Drane
Drane / gist:c5828a1ace8b9d331e384aee40ef6216
Created Sep 23, 2016
Javascript enable all checkboxes
View gist:c5828a1ace8b9d331e384aee40ef6216
var textinputs = document.querySelectorAll('input[type=checkbox]');
textinputs.forEach(function(el){el.checked=true});
@Drane
Drane / README.md
Created Feb 12, 2016
JBoss EAP 6.3 H2 MySQL Oracle datasources
View README.md
    <extension module="org.jboss.as.weld"/>
</extensions>
<system-properties>
    <property name="com.sun.xml.ws.transport.http.HttpAdapter.dump" value="true"/>
    <property name="com.sun.xml.ws.transport.http.client.HttpTransportPipe.dump" value="true"/>
    <property name="com.sun.xml.internal.ws.transport.http.HttpAdapter.dump" value="true"/>
    <property name="com.sun.xml.internal.ws.transport.http.client.HttpTransportPipe.dump" value="true"/>
</system-properties>
@Drane
Drane / standalone-full.xml
Last active Feb 12, 2016
JBoss Mysql XA datasource
View standalone-full.xml
<datasources>
<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>
<driver>h2</driver>
<security>
<user-name>sa</user-name>
<password>sa</password>
</security>
</datasource>
<xa-datasource jndi-name="java:jboss/datasources/H2DSXA" pool-name="H2DSXA" enabled="true" use-java-context="true">
@Drane
Drane / README.md
Created Feb 11, 2016
JBoss SOAP logginig properties
View README.md

com.sun.xml.internal.ws.transport.http.HttpAdapter.dump=true com.sun.xml.internal.ws.transport.http.client.HttpTransportPipe.dump=true com.sun.xml.ws.transport.http.HttpAdapter.dump=true com.sun.xml.ws.transport.http.client.HttpTransportPipe.dump=true

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.