This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# WildFly reverse proxy setup script. | |
# Run with: $WILDFLY_HOME/bin/jboss-cli.sh --connect --file=ssl.cli | |
batch | |
/subsystem=undertow/server=default-server/http-listener=default:write-attribute(name=redirect-socket,value=proxy-https) | |
/subsystem=undertow/server=default-server/http-listener=default:write-attribute(name=proxy-address-forwarding,value=true) | |
/socket-binding-group=standard-sockets/socket-binding=proxy-https:add(port=443) | |
run-batch |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Script disabling the POJO subsystem on WildFly. | |
# Run with: $WILDFLY_HOME/bin/jboss-cli.sh --connect --file=disable-pojo.cli | |
batch | |
/subsystem=pojo:remove | |
/extension=org.jboss.as.pojo:remove | |
run-batch |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Script for increasing deployment-related timeouts on WildFly to 15 minutes. | |
# Run with: $WILDFLY_HOME/bin/jboss-cli.sh --connect --file=deployment-timeout.cli | |
batch | |
/system-property=jboss.as.management.blocking.timeout:add(value=900) | |
/subsystem=deployment-scanner/scanner=default:write-attribute(name=deployment-timeout,value=900) | |
run-batch |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Script for enabling access log based on Undertow on WildFly. | |
# Run with: $WILDFLY_HOME/bin/jboss-cli.sh --connect --file=enable-access-log.cli | |
batch | |
/subsystem=undertow/server=default-server/host=default-host/setting=access-log:add(pattern="%h %t \"%r\" %s \"%{i,User-Agent}\"",use-server-log=true) | |
run-batch |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Script for activating request logging based on Undertow's RequestDumpingHandler on WildFly. | |
# Run with: $WILDFLY_HOME/bin/jboss-cli.sh --connect --file=enable-request-dumping-handler.cli | |
batch | |
/subsystem=undertow/configuration=filter/custom-filter=request-logging-filter:add(class-name=io.undertow.server.handlers.RequestDumpingHandler, module=io.undertow.core) | |
/subsystem=undertow/server=default-server/host=default-host/filter-ref=request-logging-filter:add | |
run-batch |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#! /bin/bash | |
grep -l '\\documentclass' *tex | xargs latexmk -pdf -pvc -silent |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2+2 | |
int x = $1 *10 | |
$1 = 10 | |
/vars | |
/v | |
System.out.println("hello devoxx") | |
Thread.sleep(2000) | |
ZonedDateTime.now() | |
import java.time.* | |
ZonedDateTime.now() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ls | |
1+1 | |
int x = 1+1 | |
System.out.println(x) | |
/vars | |
/types | |
/list | |
/l | |
/help | |
HashSet<String> set = new HashSet<String>() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/socket-binding-group=standard-sockets/socket-binding=proxy-https:add(port=443) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<socket-binding-group name="standard-sockets" default-interface="public" | |
port-offset="${jboss.socket.binding.port-offset:0}"> | |
... | |
<socket-binding name="proxy-https" port="443"/> | |
... | |
</socket-binding-group> |
OlderNewer