Skip to content

Instantly share code, notes, and snippets.

@mattlong
Last active August 29, 2015 14:13
Show Gist options
  • Save mattlong/a4001c914dd0b0bd447d to your computer and use it in GitHub Desktop.
Save mattlong/a4001c914dd0b0bd447d to your computer and use it in GitHub Desktop.
Production MySQL client wrapper
#!/bin/bash
cat << End-of-message
..........,...,.......,. .......,....,....................
..MMMMMM..MM....M..,MNMMMM...MM...MM.......MM..MMMMMMMM...
..MM......MM....M..MM....MI..MM..MM. ......MM.....MM..,..
..MMMMZ...MM....M..MM.. ...MMMMM.........MM.....MN...
..MM......MM. ..M..MM.. .....MM..MM........MM.....MN...
..MM:.....OM....Z..MM....MI..MM...MM.......MM.....MN...
..MM... ..,MM8......MMMMM...MM....MM......MM.....MN.
..... ......... ... ...... .... ........... .
.... .... ......... .. ..... ....
. :M,MMMNMNN7DM7...
..NMMMMMMMMMM=,MMMMN..
. MNNNMMMMMMMNN.Z8MD8O.
MMMMNMMMNN+.....,MMMM ..
.MMM......... MMMMN.
.MMN... NMMMM.
.IMM..... . ...,MMMM.
. .M..MN8...,MM.,..MM:.
.MI.MDM, ... ~.. M~...
..,.. ,.. . . .. ?
.MZ... ... N
..7... .=M: ... D.
......M7,M+... .
. DMMZNM . ...
..,...N ...... MM?....,. .....
. . ,:MMMMM.,.... .,MONMMMMN?OM~?M:,7~..
.....,MMMMMMMM.M.....ND..MMMMMMMMNMOM.NMMN.
.. .. .NMMMMMMMMMMNMMM., =O ....MNMMMMOI8MMNOMNMO....
.,:8MMMMDMMMMNNNMMMMMM. ..M? :MMMMMMMMMMMMMMMMMM,..
.=MMMMMMMMMMMMMMMMMMNNN .MM8N.,IMMMMMMMMMMMMMMMDNMM..
MMMMDMMMMNDMMMMMMMMMMM.?.MNI.D.ZMMMMMMMMMNMMNMDMMNMM.
,NMMMMMMMMMMMMMMMMMMMMM. .MMM....MMMMMDMO=MMNNM?78MMMN?....
,MMMMMMMMMMM8MMMMMMMMMM.IMMMM. .MMMMMMMNMDMMDMM?MM=MMM?:..
.MMMMMMMMMMMMMNMMMMMMMMM.MMMMMO..MMMMDM8MNMNMMMMMMDM:MMM=..
. MMMMMNDD:MMMOMMMMMMMDMMNMMMMMMMNMMMMMMNMMMMMMMMMMMMMMOMMM...
. MMMMMMNMMDMNMMMMM7MMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMM...
MMMMMM:NMM8MMMMMMMNNMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMM.
..7MMMNMI?NMMMMMMMMMMMMMM:MMMMMMMMMMMMMMMMMMMMNMMMMMMMMMMMNMMMMMM$. ..
OMMMMMZM?MMMNMMMMMMMMMMMMNMMMMMMMMMMMMMMMMMD8MM7~+=?.=MMMMMMMMMMMM...
NMMMMMMMMMMMMMMMMDMMMM8.:MMMMMMMMMMMMMMMMMMMMMN=.,MZ+MMMMMMMMMMMMMZ
MMMMMMMMMMMMMMMMMMMMMMNOMDMMMMMMMMMMMMMMMMMM7=I ...ZNNMMMMMMMMMMMMM .
.MMMMMMMM .=:I:~..+MMMMNMMMMMMMMMMMMMMMMMMMMMZ7M ....~:MMMMMMMMMMMMNM.
... .......,....... ,.... .... .. .............. ... ... .....
.MM..=8$..MM.MMMMM..M..MM. .MM. ..MMMMM,....8M8.. ...MM .MMMMMM.
..MM.MD7.MM..MM.... M..MM. MM.. . ..MM.7MMD.~MM~MMM MM.. .MM...
..MM.M=M.MM..MMMM.. M..MM...,MM.... ..MM..=MM.IM...MM. ...MM.. .MM...
.MMM..MN...MM... . .MM....MM........MM..MMD.MM...MM ...MM. .MM.
.DMM..MM...MMMMM.....MMMM..MMMMMN....MMMMMM.,+NMMMN. ...MM..,.MM.
.. ....... .. . ........... .... . ..... . ...... . . .....
......... ....... ..... .. ......... ......... . . .......
.NMMMMM.. .MMMMM'. MMMMM=. .MMMM8M. 8DMNMMMMMMMMM7M...MMMMM.
.MMMMMM. .MMMMM~. ?NMMMM.. .MMMMMD..MNMNMMMNMMNMMMN. MMMMM.
.MMMMMM. .MMMMM~. ,MOMMNN. MMMMM...NMNMNM........... MMMMN.
MMMMMM.. .MMMMM~. .MMNMD....MMMMMI MMMMNN......... .MMMMM.
.MMMMMM .MMMMM~. ..MMMMMI...MMMMM. MMMMMMMMMMMMMM. MMMMM.
MMMMMM . .MMMMM~. ..MMNMM.,OMMMM.. MMMMMMMMDMDDDD. ..MMM..
MNMMMM.. .MMMMM~. MMOMM~.DMMNN MMMMMM ..... ..MMM..
MMMMMM. .... .MMMMM~. .:8MMMMMMMMM. MMMMMM . ..... .......
MMMMMMMMMMMMMM...MMMMM~. ..=MMMMMNNMZ. MMMMMM.. ..MMMMN.
.MMMMMMMMMMMMMM. .MMMMM~ ...MMMMMMMM . MMMMMMMMMMMMMMM . MMMMM.
.MMMMNMMMMMMMMM ..MMMMM~ ..MMMMMM. MNMMMMMMMMMMMMM...MMMMM.
................................. ..... ... . ...... ... ..... ...
End-of-message
/usr/bin/env mysql $@
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment