Skip to content

Instantly share code, notes, and snippets.

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)
@kylehg
kylehg / openned-themes.md
Created November 11, 2012 23:06
Possible Openned Themes
@kylehg
kylehg / penn-ldap-help.md
Created October 11, 2012 23:10
Using Penn's LDAP, courtesy Robert Mead

Robert:

This is the result of a lot of blood-sweat-tears digestion of this: http://www.upenn.edu/computing/help/doc/email/directory.html

To query Penn Directory via command-line LDAP (the LDAPTLS_CACERT environment variable is necessary on Eniac because the ldap.conf file doesn't set TLS_CACERT; if you're doing this on your own machine, you can fix that):

LDAPTLS_CACERT=/etc/ssl/ca-bundle.pem ldapsearch -h directory.upenn.edu -Z -b ou=People,dc=upenn,dc=edu <FILTER> [object]

For authenticated view (gets you emails) (will prompt for your PennKey password):

@kylehg
kylehg / cfa-questions.md
Created October 9, 2012 01:27
The list of standard questions for Penn's Common Funding App.

Common Funding Application Standard Questions

  • Event Name
  • Date & time
  • Location
  • Contact e-mail
  • Contact phone number
  • Advisor e-mail
  • Advisor phone number