I hereby claim:
- I am xtremefaith on github.
- I am xtremefaith (https://keybase.io/xtremefaith) on keybase.
- I have a public key ASBR_ZZqD-C3oOI0dUQ0qIgTdT27xp7JiMzAY6ez4ZPhmwo
To claim this, I am signing this object:
echo "Creating an SSH key for you..." | |
ssh-keygen -t rsa | |
echo "Please add this public key to Github \n" | |
echo "https://github.com/account/ssh \n" | |
read -p "Press [Enter] key after this..." | |
echo "Installing xcode-stuff" | |
xcode-select --install |
I hereby claim:
To claim this, I am signing this object:
/* | |
* Set up your Git configuration | |
*/ | |
git config --global user.email "you@yourdomain.com" | |
git config --global user.name "Your Name" | |
git config --global core.editor "nano" |
# --------------------------------------------------------------------------- | |
# | |
# Description: This file holds all my BASH configurations and aliases | |
# | |
# Sections: | |
# 1. Environment Configuration | |
# 2. Make Terminal Better (remapping defaults and adding functionality) | |
# 3. File and Folder Management | |
# 4. Searching | |
# 5. Process Management |
Credit Chris Coyier (@chriscoyier)
Concatinating Files ( grunt-contrib-concat )
npm install grunt-contrib-concat --save-dev
Minify ( grunt-contrib-uglify )
npm install grunt-contrib-uglify --save-dev
add_filter( 'request', 'my_request_filter' ); | |
function my_request_filter( $query_vars ) { | |
if( isset( $_GET['s'] ) && empty( $_GET['s'] ) ) { | |
$query_vars['s'] = " "; | |
} | |
return $query_vars; | |
} |
##Basics
--st: status
git config --global alias.st status
--ci: commit -m
git config --global alias.ci 'commit -m'
SSH_ENV=$HOME/.ssh/environment | |
# start the ssh-agent | |
function start_agent { | |
echo "Initializing new SSH agent..." | |
# spawn ssh-agent | |
/usr/bin/ssh-agent | sed 's/^echo/#echo/' > ${SSH_ENV} | |
echo succeeded | |
chmod 600 ${SSH_ENV} | |
. ${SSH_ENV} > /dev/null |