This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Add to /etc/hosts | |
# 127.0.0.1 localhost docker.local db mail | |
alias docker-host="echo docker.local" | |
alias drun="docker run -it --rm" | |
# Docker Compose | |
alias dc="docker-compose" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Aliases | |
alias ls='ls -hG' | |
alias ll='ls -l' | |
alias la='ls -A' | |
alias lla='ls -lA' | |
alias le='ls -lAeO@' | |
alias cleardns="dscacheutil -flushcache" | |
alias crontab="VIM_CRONTAB=true crontab" | |
alias gl="git log --graph --pretty='format:%C(yellow)%h%Cblue%d%Creset %s %C(white)%an, %ar%Creset'" |