Last active
December 21, 2015 01:09
-
-
Save salami162/6225754 to your computer and use it in GitHub Desktop.
Configuration Settings
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
# git bash-completion | |
if [ -f `brew --prefix`/etc/bash_completion ]; then | |
. `brew --prefix`/etc/bash_completion | |
fi | |
# block='\e[0;30m' # Black - Regular | |
# txtred='\e[0;31m' # Red | |
# txtgrn='\e[0;32m' # Green | |
# txtylw='\e[0;33m' # Yellow | |
# txtblu='\e[0;34m' # Blue | |
# txtpur='\e[0;35m' # Purple | |
# txtcyn='\e[0;36m' # Cyan | |
# txtwht='\e[0;37m' # White | |
# bldblk='\e[1;30m' # Black - Bold | |
# bldred='\e[1;31m' # Red | |
# bldgrn='\e[1;32m' # Green | |
# bldylw='\e[1;33m' # Yellow | |
# bldblu='\e[1;34m' # Blue | |
# bldpur='\e[1;35m' # Purple | |
# bldcyn='\e[1;36m' # Cyan | |
# bldwht='\e[1;37m' # White | |
# unkblk='\e[4;30m' # Black - Underline | |
# undred='\e[4;31m' # Red | |
# undgrn='\e[4;32m' # Green | |
# undylw='\e[4;33m' # Yellow | |
# undblu='\e[4;34m' # Blue | |
# undpur='\e[4;35m' # Purple | |
# undcyn='\e[4;36m' # Cyan | |
# undwht='\e[4;37m' # White | |
# bakblk='\e[40m' # Black - Background | |
# bakred='\e[41m' # Red | |
# bakgrn='\e[42m' # Green | |
# bakylw='\e[43m' # Yellow | |
# bakblu='\e[44m' # Blue | |
# bakpur='\e[45m' # Purple | |
# bakcyn='\e[46m' # Cyan | |
# bakwht='\e[47m' # White | |
# txtrst='\e[0m' # Text Reset | |
# Change prompt to the following: [USER @ HOST (GIT_BRANCH): PWD] time | |
PS1='\n\[\e[0;34m\]\u\e[0m\] @ \[\e[0;33m\]\h\e[0m\] \[\e[1;32m\]$(__git_ps1 "(%s)")\[\e[0m\]: \[\e[0;36m\]\w\[\e[0m\]\n\$ ' |
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
[alias] | |
br = branch | |
ci = commit | |
co = checkout | |
df = diff | |
g = grep -I | |
lg = log -p | |
pb = publish-branch | |
pp = !"echo 'Pull'; git pull; echo 'Push'; git push" | |
rb = rbranch | |
rc = rank-contributors | |
rv = review | |
sm = show-merges | |
st = status | |
ksdiff = difftool -y -t Kaleidoscope | |
[color] | |
ui = auto | |
[color "branch"] | |
current = yellow reverse | |
local = yellow | |
remote = green | |
[color "diff"] | |
meta = yellow bold | |
frag = magenta bold | |
old = red bold | |
new = green bold | |
[color "status"] | |
added = yellow | |
changed = green | |
untracked = cyan | |
[merge] | |
tool = kdiff3 | |
log = true | |
[mergetool "kdiff3"] | |
path = /Applications/kdiff3.app/Contents/MacOS/kdiff3 | |
keepBackup = false | |
trustExitCode = false | |
[rerere] | |
enabled = 1 | |
[url "git@github.com:"] | |
insteadOf = "gh:" | |
pushInsteadOf = "github:" | |
pushInsteadOf = "git://github.com/" | |
[url "git://github.com/"] | |
insteadOf = "github:" | |
[url "git@gist.github.com:"] | |
insteadOf = "gst:" | |
pushInsteadOf = "gist:" | |
pushInsteadOf = "git://gist.github.com/" | |
[url "git://gist.github.com/"] | |
insteadOf = "gist:" | |
[url "git@heroku.com:"] | |
insteadOf = "heroku:" | |
[difftool "kdiff3"] | |
path = /Applications/kdiff3.app/Contents/MacOS/kdiff3 | |
trustExitCode = false | |
cmd = kdiff3 \"$BASE\" \"$LOCAL\" \"$REMOTE\" -o \"$MERGED\" | |
[difftool] | |
prompt = false | |
[diff] | |
tool = kdiff3 |
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
*.sassc | |
*.scssc | |
static/Gemfile.lock | |
static/build/* | |
static/dev/stylesheets/*.css | |
static/dev/stylesheets/*/*.css | |
static/dev/stylesheets/*/*/*.css | |
.monitor | |
dist/ | |
testmaster/target | |
testmaster/test-output | |
.pydevproject | |
*.pyc | |
puppet/ssl/* | |
/seo | |
*sauce_connect.log* | |
chromedriver* | |
screenshots | |
# As a courtesy ignore the old config file | |
config/firebird-local.conf | |
# Numerous always-ignore extensions | |
*.diff | |
*.err | |
*.orig | |
*.log | |
*.rej | |
*.swo | |
*.swp | |
*.vi | |
*~ | |
*.sass-cache | |
*.iml | |
# OS or Editor folders | |
.DS_Store | |
.cache | |
.project | |
.settings | |
nbproject | |
Thumbs.db | |
# Dreamweaver added files | |
_notes | |
dwsync.xml | |
# Komodo | |
*.komodoproject | |
.komodotools | |
# Folders to ignore | |
.hg | |
.svn | |
intermediate | |
publish | |
.idea | |
# node-cover | |
.coverage_data | |
.coverage_debug | |
cover_html | |
.vagrant | |
*.sublime-* | |
# Sublime PlainTasks | |
TODO | |
# TextMate 2 project settings | |
.tm_properties | |
# Selenium Standalone server | |
selenium-server-standalone* | |
# Turbo file. | |
static/dev/scripts/turbo.js | |
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
#!/usr/bin/env ruby | |
hash=`git rev-parse HEAD`.strip! | |
file="~/.gitshots/#{Time.now.to_i}-#{hash}.jpg" | |
dropbox="~/Dropbox/Firebird/Gitshots/" | |
a = `imagesnap -l | grep Display` | |
a = a.chomp("\n") | |
d = ""; | |
if a != "" | |
d = " -d \"#{a}\"" | |
end | |
puts "Smile! -> #{file}" | |
system "imagesnap -q#{d} -w 3 #{file}" | |
system "cp #{file} #{dropbox}" | |
exit 0 |
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
#!/bin/sh | |
grunt lint | |
if [[ $? -ne 0 ]]; then | |
echo "" | |
echo "JSHint detected syntax problems." | |
echo "Commit aborted." | |
exit 1 | |
fi | |
exit 0 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment