This file contains 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
#PROMPT STUFF | |
GREEN=$(tput setaf 2); | |
YELLOW=$(tput setaf 3); | |
WHITE=$(tput setaf 7) | |
function git_branch { | |
# Shows the current branch if in a git repository | |
git branch --no-color 2> /dev/null | sed -e '/^[^*]/d' -e 's/* \(.*\)/\ \(\1\)/'; | |
} |
This file contains 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
<html> | |
<head> | |
</head> | |
<body> | |
<!-- The first element in the body --> | |
<script> | |
function inIframe() { | |
try { | |
return window.self !== window.top; | |
} catch (e) { |
This file contains 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
clear | |
# Grunt aliases | |
alias g="grunt" | |
alias gr="grunt" | |
alias gw="grunt watcher" | |
alias gwb="grunt watcher | node_modules/.bin/bunyan" # Runs grunt watcher with pretty formatted bunyan output | |
alias gcb="grunt concurrent | ./node_modules/.bin/bunyan" # Runs grunt concurrent task (usually nodemon and watch tasks bundled) | |
echo "Grunt aliases loaded." | |
# Nodemon aliases |
NewerOlder