This file contains 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
The #PublicDemandsAVoice! | |
Tell the @WhiteHouse to open their comments phone line 202-456-1111 to the public! @POTUS @PressSec |
This file contains 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
source 'https://rubygems.org' | |
gem 'rails', '3.2.13' | |
gem 'pg' | |
gem 'nokogiri', '~> 1.5.0' | |
group :development do | |
gem 'pry-rails' | |
gem 'pry-debugger' | |
gem 'binding_of_caller' |
This file contains 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
source 'https://rubygems.org' | |
gem 'rails', '3.2.13' | |
gem 'pg' | |
gem 'nokogiri', '~> 1.5.0' | |
group :development do | |
gem 'pry-rails' | |
gem 'pry-debugger' |
This file contains 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 "pry" | |
require "pry-debugger" | |
require "soundcloud" | |
require "nokogiri" | |
require "open-uri" | |
#1. Parse through the wdi2 hash and make a function that returns a hash where the | |
#keys are each persons name and the value is their favorite movies | |
wdi2 = {:instructors => [ | |
{:name => "jane", :gender => "female", :favorite_movies => ["the dark knight rises", "the dark knight", "batman begins"], :favorite_foods =>["tacos", "tamales", "enchiladas"]}, |
This file contains 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
isaac_is_hungry = '{"foodstuffs":[ | |
{ | |
"name":"Pizza", | |
"healthRating": 3, | |
"tasteRating":8 | |
}, | |
{ | |
"name":"Quinoa", | |
"healthRating":8, | |
"tasteRating":2 |
This file contains 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
#This is a script that I made for quickly creating a new directory, GitHub repository, | |
#local respository, and linking the two up - all with one command! | |
#Dependencies: | |
#git | |
#github account & credentials | |
#the 'octokit' gem (gem install octokit) | |
#Usage: | |
#First, edit the script to include your GitHub username and password. |