Skip to content

Commit

Permalink
Add configs useful for development
Browse files Browse the repository at this point in the history
  • Loading branch information
juancarlospaco committed Oct 30, 2014
1 parent 9acb805 commit 54ea3ef
Show file tree
Hide file tree
Showing 3 changed files with 102 additions and 0 deletions.
78 changes: 78 additions & 0 deletions .gitconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,78 @@
# Custom Useful Git configs
# USER AUTH ###################################################################
#[user]
# name = Your Real Name Here
# email = [email protected]
#[github]
# user = YourGitHubUser


# Git Core ####################################################################
#[core]
# safecrlf = warn
# autocrlf = input # input on Linux, auto on Windows
# compression = 9
# loosecompression = 9
# askpass = ssh-askpass # Use a GUI dialog to Ask Password on Linux
# whitespace = fix,-indent-with-non-tab,trailing-space,cr-at-eol,tab-in-indent,tabwidth=4


# Credential Helper, dont ask password every time #############################
[credential]
helper = cache
# helper = osxkeychain # for Mac OsX


# Autocorrect for mistyped git commands #######################################
[help]
autocorrect = 1


# PRETTY COLORS ###############################################################
[color]
ui = auto
diff = auto
grep = auto
interactive = auto
showbranch = auto
status = auto


[color "branch"]
current = yellow bold
local = green bold
remote = cyan bold


[color "diff"]
meta = yellow bold
frag = magenta bold
old = red blink
new = green bold
whitespace = red reverse


[color "status"]
added = green bold
changed = yellow bold
untracked = red bold


# Security Check of SSL for HTTPS #############################################
[http]
sslVerify = true


# alias to commands ###########################################################
[alias]
assume = update-index --assume-unchanged
unassume = update-index --no-assume-unchanged
assumed = "!git ls-files -v | grep ^h | cut -c 3-"
unassumeall = !git assumed | xargs git update-index --no-assume-unchanged
assumeall = "!git st -s | awk {'print $2'} | xargs git assume"
#
ours = "!f() { git checkout --ours $@ && git add $@; }; f"
theirs = "!f() { git checkout --theirs $@ && git add $@; }; f"
#
whois = "!sh -c 'git log -i -1 --pretty=\"format:%an <%ae>\n\" --author=\"$1\"' -"
whatis = show -s --pretty='tformat:%h (%s, %ad)' --date=short
13 changes: 13 additions & 0 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
# This are for Development only.


# AutoFix Imports on Python files https://github.com/timothycrosley/isort
isort


# PEP8 Style Guide Best Practice
pep8


# http://legacy.python.org/dev/peps/pep-0257 https://github.com/GreenSteam/pep257
pep257
11 changes: 11 additions & 0 deletions site/header_template.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
<head>
<title>Brython</title>
<meta charset=UTF-8>
<meta name=robots content="index, follow">
<meta name=description content=Brython>
<meta name=author content="Pierre Quentel">
<meta name=keywords content="Python, Brython">
<meta name=viewport content="width=device-width,initial-scale=1,maximum-scale=1">
<link rel="shortcut icon" href=brython.png type=image/x-icon >
<noscript>Please enable Javascript to view this page correctly.</noscript>
</head>

0 comments on commit 54ea3ef

Please sign in to comment.