Skip to content

Instantly share code, notes, and snippets.

Maybe a potato? 🥔

Joshua Sorah jsorah

Maybe a potato? 🥔
Block or report user

Report or block jsorah

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
View Dockerfile
FROM jboss/wildfly:14.0.1.Final
RUN /opt/jboss/wildfly/bin/ admin admin --silent
ADD commands.cli /run/
ADD /run/
RUN /run/
ADD wmq.jmsra.rar /opt/jboss/wildfly/standalone/deployments/
jsorah /
Created Mar 9, 2018 — forked from jimhe/
Servlet to handle SAML Auth request and response. on GET /saml, it will redirect to the ID Provider with the proper SAMLRequest parameter. on POST /saml, it will parse the POST parameter for a properly signed and successful response before allowing the user in.
package com.comprehend.servlet;
import org.joda.time.DateTime;
import org.joda.time.DateTimeZone;
import org.opensaml.Configuration;
import org.opensaml.common.binding.BasicSAMLMessageContext;
import org.opensaml.common.xml.SAMLConstants;
import org.opensaml.saml2.binding.decoding.HTTPPostDecoder;
import org.opensaml.saml2.binding.encoding.HTTPRedirectDeflateEncoder;
import org.opensaml.saml2.core.*;
jsorah / gtk.css
Created Feb 4, 2018
Thing to make gnome3 toolbars not stupid
View gtk.css
/* shrink headerbars */
headerbar {
min-height: 0px;
padding-left: 2px;
/* same as childrens vertical margins for nicer proportions */
padding-right: 2px;
/* background-color: #2d2d2d; */
jsorah / Dockerfile
Last active Jul 10, 2016
Bugzilla 5 Dockerfile... FML
View Dockerfile
FROM centos:centos6.6
RUN yum update -y
RUN yum install -y mysql-server wget httpd perl5 tar
# Perl specific stuff.
RUN yum install -y gcc perl-parent perl-CPAN
RUN useradd -ms /bin/bash bugzilla
RUN usermod -a -G apache bugzilla
USER bugzilla
WORKDIR /home/bugzilla
RUN wget
You can’t perform that action at this time.