Skip to content

Instantly share code, notes, and snippets.

View justindhill's full-sized avatar

Justin Hill justindhill

View GitHub Profile
fastlane quicktest_w_foundation_update scheme:Wealthfront only_testing:WealthfrontTests/WFApiClientTest,WealthfrontTests/WFFundingAmountViewTest,WealthfrontTests/AutopilotCoordinatorTest,WealthfrontTests/WFAccountManagerTest,WealthfrontTests/BasePlanningCoordinatorTest,WealthfrontTests/TimelineItemComponentListViewTest,WealthfrontTests/WFPlanningChartCellTest,WealthfrontTests/NewAccountReviewCardTest,WealthfrontTests/RealEstateViewControllerTest,WealthfrontTests/EstimatedTaxesSavedBreakdownViewTest,WealthfrontTests/AutopilotSelectSourceAccountViewControllerTest,WealthfrontTests/AutopilotIntroViewTest,WealthfrontTests/AutopilotBalanceSummaryViewTest,WealthfrontTests/WithdrawCashCoordinatorTest,WealthfrontTests/WFUserInfoManagerTest,WealthfrontTests/WFPlanningChartTest,WealthfrontTests/AutopilotSettingsViewControllerTest,WealthfrontTests/RetirementGoalViewControllerTest,WealthfrontTests/CustomPortfolioAssetAllocationViewControllerTest,WealthfrontTests/OnboardingHelpersTest,WealthfrontTests/WFConfirmDepositViewC
//
// ViewController.swift
// CollectionViewExample
//
// Created by Justin Hill on 8/2/16.
// Copyright © 2016 Justin Hill. All rights reserved.
//
import UIKit
- (CGSize)sizeThatFits:(CGSize)size {
CGSize imageSize = self.imageView.image.size;
if (CGSizeEqualToSize(imageSize, CGSizeZero)) {
return CGSizeZero;
}
if (imageSize.width <= size.width && imageSize.height <= size.height)
return imageSize;
require 'turtle'
turtles = [Turtle.new, Turtle.new, Turtle.new]
while true
# get the command
print "Enter a command: "
s = gets.chomp
# exit?