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 | |
BACKUP_DIR="~/db_backups" | |
DBUSER="" | |
DBPASSWORD="" | |
BUCKET="" | |
FROM='"Backups" <backups@localhost>' | |
TO='"Admin" <admin@localhost>' | |
SUBJECT='Backup Log' |
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
# ----------------------------------------------------------------------------- | |
# FILE: smt-mod.zsh-theme | |
# DESCRIPTION: oh-my-zsh theme file, based on smt by Stephen Tudor | |
# AUTHOR: Brock Angelo | |
# VERSION: 0.1 | |
# SCREENSHOT: | |
# ----------------------------------------------------------------------------- | |
MODE_INDICATOR="%{$fg_bold[red]%}❮%{$reset_color%}%{$fg[red]%}❮❮%{$reset_color%}" | |
local return_status="%{$fg[red]%}%(?..⏎)%{$reset_color%}" |
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
# GH | |
# by Brock Angelo | |
# for Mac OSX & Unix | |
# https://gist.github.com/1917716 | |
# Description: when you are on the command line and want to open your project in Github, just type "gh". Latest version opens the current branch on github as well. | |
# | |
# SETUP: | |
# 1. Copy this snippet to ~/bin/gh | |
# 2. Make it executable by running: chmod +x ~/bin/gh | |
# 3. From the command line, inside your project, type gh and the browser window will open. |
NewerOlder