Skip to content

Instantly share code, notes, and snippets.

View langhard's full-sized avatar

Langhard Jürg langhard

View GitHub Profile
@langhard
langhard / db-open
Created September 23, 2016 08:37 — forked from helderco/db-open
Script to open a mysql database in Sequel Pro from a service in docker-compose.
#!/bin/bash
set -e
show_help() {
cat << EOF
Usage: ${0##*/} [-u USER] [-p PASS] [-P PORT] [-H HOST] [DATABASE]
${0##*/} -h
Open a standard connection in Sequel PRO.