Skip to content

Instantly share code, notes, and snippets.

View allankilpatrick's full-sized avatar

Allan Kilpatrick allankilpatrick

View GitHub Profile
# vim:ft=zsh ts=2 sw=2 sts=2
#
# agnoster's Theme - https://gist.github.com/3712874
# A Powerline-inspired theme for ZSH
#
# # README
#
# In order for this theme to render correctly, you will need a
# [Powerline-patched font](https://gist.github.com/1595572).
#
Traceback (most recent call last):
File "/usr/local/bin/py.test", line 5, in <module>
from pkg_resources import load_entry_point
File "/usr/local/Cellar/python/2.7.9/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/setuptools-11.3.1-py2.7.egg/pkg_resources/__init__.py", line 3018, in <module>
File "/usr/local/Cellar/python/2.7.9/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/setuptools-11.3.1-py2.7.egg/pkg_resources/__init__.py", line 614, in _build_master
File "/usr/local/Cellar/python/2.7.9/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/setuptools-11.3.1-py2.7.egg/pkg_resources/__init__.py", line 627, in _build_from_requirements
File "/usr/local/Cellar/python/2.7.9/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/setuptools-11.3.1-py2.7.egg/pkg_resources/__init__.py", line 805, in resolve
pkg_resources.DistributionNotFound: pytest==2.8.0.dev4
games = ['CS:GO', 'TF2', 'Left for Dead 2', 'Heros of the Storm', 'The Ship']
def do_i_have_the_game(games)
for game in games:
if games in my_games_lib:
download_and_install_game()
Host *.xxx.net
GSSAPIAuthentication yes
GSSAPIKeyExchange yes
GSSAPIDelegateCredentials yes
ForwardAgent yes
import unittest
def remove_even_numbers():
my_list = [1, 2, 3, 4, 5, 6, 7, 8, 9, 10]
for item in my_list:
if item % 2:
my_list.remove(item)
return my_list
class RunTests(unittest.TestCase):