Skip to content

Instantly share code, notes, and snippets.

@adelq
Forked from kylehg/labs-challenge.md
Last active August 29, 2015 14:19
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save adelq/a9e6e09cb797f330a148 to your computer and use it in GitHub Desktop.
Save adelq/a9e6e09cb797f330a148 to your computer and use it in GitHub Desktop.

Labs Coding Challenge

Write a concise piece of code that sends an HTTP POST request to labs.yef.im with the following pieces of data:

  • javascript: Your level of comfort with JavaScript, as an integer 0–4, with 0 being no experience and 4 being very comfortable.
  • python: Your level of comfort with Python, as an integer 0–4, with 0 being no experience and 4 being very comfortable.
  • coffeescript: Your level of comfort with Coffeescript, as an integer 0–4, with 0 being no experience and 4 being very comfortable.
  • frameworks: Your level of comfort with web frameworks, as an integer 0–4, with 0 being no experience and 4 being very comfortable.
  • url: The URL of a GitHub Gist with the code that does this.(Meta! Note that you might have to edit the Gist a few times)
  • pennkey: Your PennKey.
  • sunday: Your availability on Sunday afternoon, e.g., '5-11pm'.
  • monday: Your availability on Monday afternoon, e.g., '5-11pm'.
  • tuesday: Your availability on Tuesday afternoon, e.g., '5-11pm'.
  • wednesday: Your availability on Wednesday afternoon, e.g., '5-11pm'.
  • thursday: Your availability on Thursday afternoon, e.g., '5-11pm'.
  • friday: Your availability on Friday, e.g., '5-11pm'.
  • saturday: Your availability on Saturday afternoon, e.g., '5-11pm'.
  • hours: The amount of hours it took you to do this, e.g., '4.5'.

Don't know what a POST request is? Google does! In general, we want to see that you can teach yourself basic things and learn quickly. We think this should take under five hours, which is the amount of time you will need to devote to Labs a week as a newbie. Consequently, this is due a week from now.

To know that you were successful, you should receive a 200 response with the words "success". If something went wrong, you'll receive a 500 response.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment