git clone <repo>
clone the repository specified by ; this is similar to "checkout" in some other version control systems such as Subversion and CVS
Add colors to your ~/.gitconfig file:
# Generic build script that builds, tests, and creates nuget packages. | |
# | |
# INSTRUCTIONS: | |
# Update the following project paths: | |
# proj Path to the project file (.csproj) | |
# test Path to the test project (.csproj) | |
# nuspec Path to the package definition for NuGet. | |
# | |
# delete any of the lines if not applicable | |
# |
#!/usr/bin/env python | |
"""Split large file into multiple pieces for upload to S3. | |
S3 only supports 5Gb files for uploading directly, so for larger CloudBioLinux | |
box images we need to use boto's multipart file support. | |
This parallelizes the task over available cores using multiprocessing. | |
Usage: | |
s3_multipart_upload.py <file_to_transfer> <bucket_name> [<s3_key_name>] |
#!/usr/bin/env python | |
# Compare a file on S3 to see if we have the latest version | |
# If not, upload it and invalidate CloudFront | |
import fnmatch | |
import os | |
import boto | |
import pprint | |
import re |
Babysitter Kata | |
Background | |
---------- | |
This kata simulates a babysitter working and getting paid for one night. The rules are pretty straight forward: | |
The babysitter | |
- starts no earlier than 5:00PM | |
- leaves no later than 4:00AM | |
- gets paid $12/hour from start-time to bedtime |
Table of Contents
Notes by Jeremy W. Sherman, October 2013, based on:
Feathers, Michael. Working Effectively with Legacy Code. Sixth printing, July 2007.
Foreword:
4r5e | |
5h1t | |
5hit | |
a55 | |
anal | |
anus | |
ar5e | |
arrse | |
arse | |
ass |