- Learn REST: A Tutorial
- How to GET a Cup of Coffee (REST)
- Teach a Dog to REST
- Git Tutorial
- http://www.vogella.com/articles/Git/article.html
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
DIM Wins; | |
DIM Losses; | |
DIM Ties; | |
=IF(((Wins + Losses + Ties) == 0), VALUE(0), ((Wins + (0.5 * Ties))/(Wins + Losses + Ties))) |
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
#export PATH="/usr/local/bin:/usr/local/sbin:~/bin:$PATH" | |
[[ -s "$HOME/.rvm/scripts/rvm" ]] && source "$HOME/.rvm/scripts/rvm" # Load RVM into a shell session *as a function* | |
export EDITOR="sublime --wait" | |
# Python | |
# export WORKON_HOME=$HOME/Envs | |
# export VIRTUALENVWRAPPER_PYTHON=/usr/local/bin/python | |
# export PIP_VIRTUALENV_BASE=$WORKON_HOME |
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
1) Application-wide Error Handling listing a Company's Job Postings given a non-existent Company when visiting the Company Job Postings page as a non-signed in visitor should have response code of 404 | |
Failure/Error: visit company_job_postings_path(@invalid_company_id) | |
Pulsar::UnauthorizedAccess: | |
You need to sign in or sign up before continuing. | |
# ./app/controllers/company_job_postings_controller.rb:6:in `index' | |
# ./spec/acceptance/non-selenium-dependent/standard_error_handling_spec.rb:48:in `block (5 levels) in <top (required)>' | |
2) Application-wide Error Handling listing a Company's Job Postings given a non-existent Company when visiting the Company Job Postings page as a non-signed in visitor should show the 404 page | |
Failure/Error: visit company_job_postings_path(@invalid_company_id) | |
Pulsar::UnauthorizedAccess: |
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
module SortableCollection | |
class Sorter | |
def self.sort_collection(collection, opts={}) | |
options = opts.select { |k,v| (k.in? valid_sorting_options) && (v.in? valid_sorters) } | |
current_sorter = options[:sort_by].to_sym | |
if options[:direction] == "asc" | |
collection.sort { |a,b| a[current_sorter] <=> b[current_sorter] } | |
else |
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
Failures: | |
1) A Hiring Manager can navigate job applications show pages as a signed in Company Admin when on Job Applications index page for job posting with two applications sorting options sorting by Screening Score desc should re-arrange cards so that the card with higher score is first | |
Failure/Error: @second_card_name = @sorted_cards.second.find("h3").text | |
NoMethodError: | |
undefined method `second' for #<Capybara::Result:0x007f9d0c2a5d68> | |
# ./spec/acceptance/webdriver-dependent/users/hiring_manager/hiring_manager_navigate_job_applications_spec.rb:70:in `block (6 levels) in <top (required)>' | |
2) A Hiring Manager can navigate job applications show pages as a signed in Company Admin when on Job Applications index page for job posting with two applications sorting options sorting by Screening Score desc navigate into application show page should have second applicant's name | |
Failure/Error: @second_card_name = @sorted_cards.second.find("h3").text |
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
Failures: | |
1) A Company Admin can navigate job applications show pages as a signed in Company Admin when on Job Applications index page for job posting with two applications sorting options sorting by Screening Score desc should re-arrange cards so that the card with higher score is first | |
Failure/Error: @second_card_name = @sorted_cards.second.find("h3").text | |
NoMethodError: | |
undefined method `second' for #<Capybara::Result:0x007ff489062720> | |
# ./spec/acceptance/webdriver-dependent/users/company_admin/company_admin_navigate_job_applications_spec.rb:75:in `block (6 levels) in <top (required)>' | |
2) A Company Admin can navigate job applications show pages as a signed in Company Admin when on Job Applications index page for job posting with two applications sorting options sorting by Screening Score desc navigate into application show page should have second applicant's name | |
Failure/Error: @second_card_name = @sorted_cards.second.find("h3").text |
After installing Postgres, follow these build notes (they will show in your terminal post-installation of Postgres):
If builds of PostgreSQL 9 are failing and you have version 8.x installed, you may need to remove the previous version first. (See: https://github.com/mxcl/homebrew/issues/issue/2510)
To build plpython against a specific Python, set PYTHON prior to brewing (See: http://www.postgresql.org/docs/9.2/static/install-procedure.html):
PYTHON=/usr/local/bin/python
OlderNewer