Skip to content

Instantly share code, notes, and snippets.

Chris D'Ambrosio chrisdambrosio

Block or report user

Report or block chrisdambrosio

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
chrisdambrosio / spec.rb
Created Aug 26, 2016
Red-Green-Refactor by Example Excercise
View spec.rb
# Use TDD principles to build out name functionality for a Person.
# Here are the requirements:
# - Add a method to return the full name as a string. A full name includes
# first, middle, and last name. If the middle name is missing, there shouldn't
# have extra spaces.
# - Add a method to return a full name with a middle initial. If the middle name
# is missing, there shouldn't be extra spaces or a period.
# - Add a method to return all initials. If the middle name is missing, the
# initials should only have two characters.
chrisdambrosio / rescuegroups_api_example.rb
Created Jan 24, 2015
RescueGroups API Request Example
View rescuegroups_api_example.rb
require 'httparty'
API_KEY = ''
data = {
apikey: API_KEY,
objectType: "animals",
objectAction: "publicSearch",
search: {
resultStart: 0,
chrisdambrosio / Solarized Dark Green.alfredappearance
Created Oct 20, 2014
Alfred Theme - Solarized Dark (Green)
View Solarized Dark Green.alfredappearance
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "">
<plist version="1.0">
You can’t perform that action at this time.