Skip to content

Instantly share code, notes, and snippets.

View uberhacker's full-sized avatar

Ed Reel uberhacker

  • Mobile Strategies LLC
  • Georgetown, TX
  • 15:52 (UTC -05:00)
View GitHub Profile
Verifying my Blockstack ID is secured with the address 157VftyRPLhXvoRvzGN9MKKba7AWt24YM1 https://explorer.blockstack.org/address/157VftyRPLhXvoRvzGN9MKKba7AWt24YM1
# Enable git prompt. cd && curl -Ls -o .git-prompt.sh https://raw.githubusercontent.com/git/git/master/contrib/completion/git-prompt.sh
source ~/.git-prompt.sh
GIT_PS1_SHOWDIRTYSTATE=yes
GIT_PS1_SHOWSTASHSTATE=yes
GIT_PS1_SHOWUNTRACKEDFILES=yes
GIT_PS1_SHOWUPSTREAM=auto
GIT_PS1_DESCRIBE_STYLE=default
GIT_PS1_SHOWCOLORHINTS=yes
@uberhacker
uberhacker / ubuntu-compass-ruby
Last active July 28, 2016 09:39 — forked from stephanetimmermans/ubuntu-compass-ruby
Install Compass+Ruby on Ubuntu 14.04
#https://gorails.com/setup/ubuntu/14.04
sudo apt-get update
sudo apt-get install git-core curl zlib1g-dev build-essential libssl-dev libreadline-dev libyaml-dev libsqlite3-dev sqlite3 libxml2-dev libxslt1-dev libcurl4-openssl-dev python-software-properties
sudo apt-get install libgdbm-dev libncurses5-dev automake libtool bison libffi-dev
curl -sSL https://rvm.io/mpapis.asc | gpg --import -
curl -L https://get.rvm.io | bash -s stable
source ~/.rvm/scripts/rvm
echo "source ~/.rvm/scripts/rvm" >> ~/.bashrc
rvm install 2.1.2
Contents of pantheon.yml:
---
api_version: 1
workflows:
# Commits: Notify team of new commit to master (dev)
sync_code:
after:
core.editor=vim
core.autocrlf=input
alias.st=status
alias.co=checkout
alias.br=branch
alias.up=rebase
alias.ci=commit
alias.unstage=reset HEAD --
alias.last=log -1 HEAD
alias.graph=log --graph --oneline --decorate --pretty=format:"%cn %s %cr"
source ~/.composer/vendor/drush/drush/examples/example.bashrc
source ~/.composer/vendor/drush/drush/drush.complete.sh
source /Library/Developer/CommandLineTools/usr/share/git-core/git-prompt.sh
source /Library/Developer/CommandLineTools/usr/share/git-core/git-completion.bash
export GIT_PS1_SHOWDIRTYSTATE=1
export LSCOLORS=Dxfxcxdxbxegedabagacad
#!/bin/bash
#
# Preconditions:
# 1) drush, git and/or svn commands must exist in the environment path
# 2) Drupal root must be the current directory of the site you want to evaluate
#
CMDS="drush"
if [[ -d ".svn" ]]; then
CMDS="drush svn"
fi