Skip to content

Instantly share code, notes, and snippets.

Working from home

Sebastian Webber sebastianwebber

Working from home
View GitHub Profile
loganvolkers / Byte Formatting for Google
Last active Jan 11, 2021
Byte formatting for Google Sheets
View Byte Formatting for Google
ivan-pinatti / jenkins-set-url-and-email.groovy
Last active Jun 10, 2020
Jenkins - Set URL and email via groovy script - #jenkins #groovy
View jenkins-set-url-and-email.groovy
// imports
import jenkins.model.Jenkins
import jenkins.model.JenkinsLocationConfiguration
// parameters
def jenkinsParameters = [
email: 'Jenkins Admin <>',
url: ''
jk3us / .bash_profile
Last active May 19, 2017
My psql/tmux configuration
View .bash_profile
case "$TERM" in
alias psql='PAGER=vim_psql_pager psql'
View tuning-restore-postgres
ssl = off
maintenance_work_mem = 2GB
work_mem = 2GB
fsync = off
synchronous_commit = off
wal_level = minimal
max_wal_senders = 0
archive_mode = off
wal_buffers = -1
wal_writer_delay = 20ms
subfuzion /
Last active Jan 19, 2021
curl POST examples

Common Options

-#, --progress-bar Make curl display a simple progress bar instead of the more informational standard meter.

-b, --cookie <name=data> Supply cookie with request. If no =, then specifies the cookie file to use (see -c).

-c, --cookie-jar <file name> File to save response cookies to.

skratchdot /
Created Jan 25, 2016
My Paypal donate button in markdown format

Donation Button


sebastianwebber /
Last active May 11, 2016
Wildfly administration tips

#Wildfly Toolbelt

Deploy Related

Find domain deployments in filesystem

Basically, you need to open domain.xml under WILDFLY_HOME/domain/configuration and find the <deployments> session. In that session, each deployment contain a <content> tag. The attribute sha1 contains details where the file is storaged on the filesystem. EG:

   <deployment name="test-application.war"
rafaeltuelho /
Last active Dec 2, 2020
installing gosu on a centos docker box
# Install gosu.
RUN gpg --keyserver --recv-keys B42F6819007F00F88E364FD4036A9C25BF357DD4 \
    && curl -o /usr/local/bin/gosu -SL "${GOSU_VERSION}/gosu-amd64" \
    && curl -o /usr/local/bin/gosu.asc -SL "${GOSU_VERSION}/gosu-amd64.asc" \
    && gpg --verify /usr/local/bin/gosu.asc \
    && rm /usr/local/bin/gosu.asc \
    && rm -r /root/.gnupg/ \
    && chmod +x /usr/local/bin/gosu \
lfryc / gist:aae879ceb5534292e150
Last active May 11, 2020
Switch WildFly to debug mode in Runtime using jboss-cli
View gist:aae879ceb5534292e150
# switch the log level to DEBUG on console
{wildfly}/bin/ --connect
[standalone@localhost:9990 /] /subsystem=logging/console-handler=CONSOLE:write-attribute(name=level,value=DEBUG)
[standalone@localhost:9990 /] /subsystem=logging/root-logger=ROOT:write-attribute(name=level,value=DEBUG)
# switch it back to whatever it was initial configuration (here it is INFO)
[standalone@localhost:9990 /] /subsystem=logging/console-handler=CONSOLE:write-attribute(name=level,value=INFO)
[standalone@localhost:9990 /] /subsystem=logging/root-logger=ROOT:write-attribute(name=level,value=INFO)
You can’t perform that action at this time.