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 'nokogiri' | |
require 'open-uri' | |
require 'json' | |
require 'pathname' | |
require 'yaml' | |
ENV['RAILS_ENV'] = "development" # Set to your desired Rails environment name | |
require '~/Documents/dev/CentsRails/config/environment.rb' | |
class CostOfLivingScraper | |
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
#Create Dir for Play Framework to reside | |
mkdir Dev && cd Dev | |
#Download Play Framework! | |
wget http://downloads.typesafe.com/play/2.2.1/play-2.2.2.zip | |
#Extract | |
unzip play-2.2.2.zip | |
#update Path |
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
/*CS3505 Practice Exam #1 | |
* Asaeli Matelau | |
*/ | |
//Declare a function named "compute" that takes two integer parameters and returns a double value | |
double compute(int, int); |