Skip to content

Instantly share code, notes, and snippets.

mystygage

  • Cologne, Germany
Block or report user

Report or block mystygage

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
@mystygage
mystygage / docker-compose.yml
Created Mar 6, 2017
Microsoft SQL Server in Docker with data volume
View docker-compose.yml
version: '3'
services:
mssql-server-linux:
image: microsoft/mssql-server-linux:latest
volumes:
- mssql-server-linux-data:/var/opt/mssql/data
environment:
- ACCEPT_EULA=Y
- SA_PASSWORD=${SQLSERVER_SA_PASSWORD:-yourStrong(!)Password}
@mystygage
mystygage / dbvis.sh
Created Jul 12, 2016
Startup script for DBVisualizer
View dbvis.sh
#!/bin/sh
# Script to launch DbVisualizer by manually invoking Java
# Please note that it's *not* recommended to launch DbVisualizer
# with this script. Instead use the "dbvis" launcher on UNIX/Linux
# or the command "open DbVisualizer.app" on Mac OS X.
if [ -z "$DBVIS_HOME" ] ; then
DBVIS_HOME=`dirname $0`
View launchd_wrapper.sh
#!/bin/bash
# NOTE: this is an OSX launchd wrapper shell script for Tomcat (to be placed in $CATALINA_HOME/bin)
CATALINA_HOME=/Users/username/tomcat
function shutdown() {
date
echo "Shutting down Tomcat"
$CATALINA_HOME/bin/catalina.sh stop
View git-branches-by-commit-date.sh
# Credit http://stackoverflow.com/a/2514279
for branch in `git branch -r | grep -v HEAD`;do echo -e `git show --format="%ci %cr %cn" $branch | head -n 1` \\t$branch; done | sort -r
View setenv.sh
#! /bin/sh
# ==================================================================
# ______ __ _____
# /_ __/___ ____ ___ _________ _/ /_ /__ /
# / / / __ \/ __ `__ \/ ___/ __ `/ __/ / /
# / / / /_/ / / / / / / /__/ /_/ / /_ / /
#/_/ \____/_/ /_/ /_/\___/\__,_/\__/ /_/
# Multi-instance Apache Tomcat installation with a focus
# on best-practices as defined by Apache, SpringSource, and MuleSoft
@mystygage
mystygage / readme.md
Created Oct 30, 2012
Working with Forks
View readme.md

Initial steps

  • fork the repository
  • clone fork git clone git@github.com:mystygage/repo.git
  • add remote upstream git remote add upstream git://github.com/user/repo

Stay up to date

  • switch to master
  • git pull --ff-only upstream master
  • git push origin master
You can’t perform that action at this time.