This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| # UPDATE: This is a waste of code. This script can | |
| # be executed in a single line: | |
| # find * -type d -exec touch '{}/.gitkeep' \; | |
| # Execution takes two arguments: | |
| # 1: Name of directory to traverse | |
| # 2: Name of file to create in each subdirectory |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # DBC Week 4 Ruby Assessment | |
| # Tanner Welsh | |
| # ____________ | |
| ###################################################################################### | |
| ### PART 1 : OO Design ############################################################### | |
| # module AddressBook | |
| # |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| require 'rubygems' | |
| require 'google_drive' | |
| require 'csv' | |
| # Go get your consumer key, client_secret, and client_id for Google Drive here https://code.google.com/apis/console/ | |
| consumer_key = 'INSERT YOUR CONSUMER_KEY HERE' | |
| client_secret = 'INSERT YOUR CLIENT_SECRET HERE' | |
| client_id = 'INSERT YOUR CLIENT_ID HERE' | |
| client = OAuth2::Client.new( |
NewerOlder