I hereby claim:
- I am gaieges on github.
- I am gaieges (https://keybase.io/gaieges) on keybase.
- I have a public key whose fingerprint is 4192 5398 F6E0 275B F1FE 879F 40DC C1EF D1A5 B6B4
To claim this, I am signing this object:
# need brew package 'bash-git-prompt' for this to work | |
# brew install bash-git-prompt | |
# this is just my custom colorization, they have themes available too if you look at the git repo: | |
# https://github.com/magicmonty/bash-git-prompt | |
GIT_PROMPT_START="\[\033[0;33m\][\D{%m-%d} \t \!] \`if [[ \$? = "0" ]]; then echo "\\[\\033[32m\\]"; else echo "\\[\\033[31m\\]"; fi\`[\u@\h:\`if [[ `pwd|wc -c|tr -d " "` > 18 ]]; then echo "\\W"; else echo "\\w"; fi\`]\[\033[0m\]"; echo -ne "\033]0;`hostname -s`:`pwd`\007" | |
GIT_PROMPT_END="\n\$ " | |
if [ -f "$(brew --prefix)/opt/bash-git-prompt/share/gitprompt.sh" ]; then | |
source "$(brew --prefix)/opt/bash-git-prompt/share/gitprompt.sh" |
#!/bin/bash | |
set -e | |
REPOS="$(cat $(dirname $0)/.subtree)" | |
usage() { | |
echo "usage: $(basename $0) <command>" | |
echo "commands are: " | |
echo " init sets up all remotes and subtrees locally" |
I hereby claim:
To claim this, I am signing this object:
mydumper -H HOST -u USER -p PASS -B DBNAME -o /tmp/mysqldump -r 100000000 -c -C -t 4
myloader -o -B db1 -h HOST -u USER -p PASS -C -d /tmp/mysqldump
Usage:
mydumper [OPTION...] multi-threaded MySQL dumping
"webinstances": { | |
"changed": true, | |
"msg": "All items completed", | |
"results": [ | |
{ | |
"_ansible_no_log": false, | |
"changed": true, | |
"instance_ids": [ | |
"i-039" | |
], |
PROMPT_COMMAND='PS1="\[\033[0;33m\][\!]\`if [[ \$? = "0" ]]; then echo "\\[\\033[32m\\]"; else echo "\\[\\033[31m\\]"; fi\`[\u@\h:\`if [[ `pwd|wc -c|tr -d " "` > 18 ]]; then echo "\\W"; else echo "\\w"; fi\`]\$\[\033[0m\] "; echo -ne "\033]0;`hostname -s`:`pwd`\007"' | |
PS1='\[\033[0;33m\][\!]`if [[ $? = 0 ]]; then echo \[\033[32m\]; else echo \[\033[31m\]; fi`[\u@\h:`if [[ 30 > 18 ]]; then echo \W; else echo \w; fi`]$\[\033[0m\] ' |