Skip to content

Instantly share code, notes, and snippets.

Markus Perndorfer mpern

Block or report user

Report or block mpern

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
@mpern
mpern / docker-compose.yml
Last active Jun 13, 2019
Minimal docker-compose file to setup a MySQL server for SAP Commerce
View docker-compose.yml
version: '3.7'
services:
db:
image: mysql:5.7
restart: "unless-stopped"
ports:
- 3306:3306
# uncomment the volume mount to import .sql files
# during database initalization
# volumes:
@mpern
mpern / boxstarter.ps1
Created Oct 5, 2017 — forked from jessfraz/boxstarter.ps1
Boxstarter Commands for a new Windows box.
View boxstarter.ps1
# Description: Boxstarter Script
# Author: Jess Frazelle <jess@linux.com>
# Last Updated: 2017-09-11
#
# Install boxstarter:
# . { iwr -useb http://boxstarter.org/bootstrapper.ps1 } | iex; get-boxstarter -Force
#
# You might need to set: Set-ExecutionPolicy RemoteSigned
#
# Run this boxstarter by calling the following from an **elevated** command-prompt:
@mpern
mpern / OnRequestScript.groovy
Last active May 7, 2019
Simulate HTTP Auth for SOAP UI Mock Server
View OnRequestScript.groovy
import com.eviware.soapui.support.types.StringToStringsMap
def authSucceeded = false
// Add those custom properties to your mock server
def user = mockRunner.mockService.getPropertyValue("httpUsername")
def pass = mockRunner.mockService.getPropertyValue("httpPassword")
log.info "checking for credentials: $user:$pass"
// get the request headers
StringToStringsMap headers = mockRequest.getRequestHeaders()
You can’t perform that action at this time.