Related Setup: https://gist.github.com/hofmannsven/6814278
Related Pro Tips: https://ochronus.com/git-tips-from-the-trenches/
import ColorLog | |
import random | |
import copy | |
import Deck | |
import Hand | |
import CardShuffle | |
import Player | |
class BlackJack(): |
__author__ = 'Roy' | |
def extract_vowels(): | |
letters = 'abcdefghijklmnopqrstuvwxyz' | |
pos = dict(zip(xrange(1, 27), letters)) | |
print pos | |
alphabet = [chr(i) for i in xrange(97, 123)] | |
print alphabet | |
# generate a list of vowels | |
vowels = map(lambda x: chr(x), reduce(lambda acc, i: acc + [acc[-1] + i], (4, 4, 6, 6, 4), [97])) |
Traceback (most recent call last): | |
File "<stdin>", line 1, in <module> | |
File "//anaconda/lib/python2.7/site-packages/matplotlib-1.4.1-py2.7-macosx-10.5-x86_64.egg/pylab.py", line 1, in <module> | |
from matplotlib.pylab import * | |
File "//anaconda/lib/python2.7/site-packages/matplotlib-1.4.1-py2.7-macosx-10.5-x86_64.egg/matplotlib/pylab.py", line 274, in <module> | |
from matplotlib.pyplot import * | |
File "//anaconda/lib/python2.7/site-packages/matplotlib-1.4.1-py2.7-macosx-10.5-x86_64.egg/matplotlib/pyplot.py", line 109, in <module> | |
_backend_mod, new_figure_manager, draw_if_interactive, _show = pylab_setup() | |
File "//anaconda/lib/python2.7/site-packages/matplotlib-1.4.1-py2.7-macosx-10.5-x86_64.egg/matplotlib/backends/__init__.py", line 32, in pylab_setup | |
globals(),locals(),[backend_name],0) |
►► server_repo ►► | |
GIT_CURL_VERBOSE=1 GIT_TRACE=1 git pull origin master > debug.txt | |
18:55:49.593874 git.c:555 trace: exec: 'git-pull' 'origin' 'master' | |
18:55:49.594566 run-command.c:351 trace: run_command: 'git-pull' 'origin' 'master' | |
18:55:49.609954 git.c:346 trace: built-in: git 'rev-parse' '--git-dir' | |
18:55:49.614856 git.c:346 trace: built-in: git 'rev-parse' '--is-bare-repository' | |
18:55:49.618121 git.c:346 trace: built-in: git 'rev-parse' '--show-toplevel' | |
18:55:49.622212 git.c:346 trace: built-in: git 'ls-files' '-u' | |
18:55:49.625890 git.c:346 trace: built-in: git 'symbolic-ref' '-q' 'HEAD' | |
18:55:49.633704 git.c:346 trace: built-in: git 'config' 'pull.ff' |
Notifying Redmine about changes to this repository : 'test_1/server_repo' ... | |
HTTP_ERROR : execution expired | |
Looking for additional global post-receive hooks... | |
- Global hooks found : ["hooks/post-receive.d/mail_notifications"] | |
Looking for additional local post-receive hooks... | |
- No local hooks found | |
Calling additional post-receive hooks... |
[user] | |
name = Pavan Kumar Sunkara | |
email = pavan.sss1991@gmail.com | |
[core] | |
editor = vim | |
whitespace = fix,-indent-with-non-tab,trailing-space,cr-at-eol | |
excludesfile = ~/.gitignore | |
[sendemail] | |
smtpencryption = tls | |
smtpserver = smtp.gmail.com |
// Place user-specific overrides in this file, to ensure they're preserved | |
// when upgrading | |
{ | |
"folder_exclude_patterns": [".svn", ".git", ".hg", "CVS", "node_modules"] | |
} |
# -*- Conf -*- | |
[color] | |
branch = auto | |
diff = auto | |
status = auto | |
showbranch = auto | |
ui = true | |
# color.branch | |
# A boolean to enable/disable color in the output of git-branch(1). May be set to always, false (or |
[user] | |
name = Joe User | |
email = joe@joeuser.com | |
[branch] | |
autosetupmerge = true | |
[branch "master"] | |
remote = origin | |
merge = refs/heads/master |
Related Setup: https://gist.github.com/hofmannsven/6814278
Related Pro Tips: https://ochronus.com/git-tips-from-the-trenches/