Skip to content

Instantly share code, notes, and snippets.

View BillyParadise's full-sized avatar

Will Paradis BillyParadise

  • Miracula
View GitHub Profile
@anbublacky
anbublacky / set youtube channer banner
Created July 1, 2015 03:55
google api v3, set youtube channer banner, using ruby
#!/usr/bin/ruby
require 'rubygems'
gem 'google-api-client', '>0.7'
require 'google/api_client'
require 'google/api_client/client_secrets'
require 'google/api_client/auth/file_storage'
require 'google/api_client/auth/installed_app'
# This OAuth 2.0 access scope allows for read-only access to the authenticated
=Navigating=
visit('/projects')
visit(post_comments_path(post))
=Clicking links and buttons=
click_link('id-of-link')
click_link('Link Text')
click_button('Save')
click('Link Text') # Click either a link or a button
click('Button Value')