Skip to content

Instantly share code, notes, and snippets.

View danielt1988's full-sized avatar

Daniel Tucker danielt1988

  • Los Angeles, CA
View GitHub Profile
@danielt1988
danielt1988 / dev_apps.sh
Created September 20, 2019 06:30
my_common_dev_apps
#!/bin/bash
# Install Brew
ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
# Install Visual Studio Code
brew cask install visual-studio-code
# Install Git-Fork
brew install fork
@danielt1988
danielt1988 / .bash_profile
Last active November 29, 2022 00:17
my_bash_profile
export PATH="/usr/local/sbin:$PATH"
git_branch() {
git branch 2> /dev/null | sed -e '/^[^*]/d' -e 's/* \(.*\)/(\1)/'
}
# CLI Prompt w/Git Branch
export PS1="[\u@\h \W]\$(git_branch)\$ "
@danielt1988
danielt1988 / autopgsqlbackup
Last active January 19, 2018 00:48 — forked from matthewlehner/autopgsqlbackup
Auto PostgreSQL backup script.
#!/bin/bash
#
# PostgreSQL Backup Script Ver 1.0
# http://autopgsqlbackup.frozenpc.net
# Copyright (c) 2005 Aaron Axelsen <axelseaa@amadmax.com>
#
# This script is based of the AutoMySQLBackup Script Ver 2.2
# It can be found at http://sourceforge.net/projects/automysqlbackup/
#
# The PostgreSQL changes are based on a patch agaisnt AutoMySQLBackup 1.9