Skip to content

Instantly share code, notes, and snippets.

Sebastian Webber sebastianwebber

Block or report user

Report or block sebastianwebber

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
ivan-pinatti / jenkins-set-url-and-email.groovy
Last active Aug 20, 2019
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 Oct 21, 2019
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 /
Created Jul 29, 2015
installing gosu on a centos docker box
# Setup gosu for easier command execution
RUN gpg --keyserver --recv-keys B42F6819007F00F88E364FD4036A9C25BF357DD4 \
    && curl -o /usr/local/bin/gosu -SL "" \
    && curl -o /usr/local/bin/gosu.asc -SL "" \
    && 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 Dec 14, 2018
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)
Eugeny /
Last active Jun 28, 2019
memuse - measure a total unique RAM taken by process tree
You can’t perform that action at this time.