My first foray into the Open Source world

Encore’s in an exciting place right now, and we’re gearing up to launch at Oxford next week.

Part of our preparations today involved adjusting our signup flow for Oxford students, and seeing as each student’s email address contains an indication of their College, I set about writing some code to fill in the College field as soon as an Oxford student hits the second part of our registration process.

The code is simple, but the process of gathering all of the email suffixes was laborious, and so to save time for anyone attempting this in the future, I stuck the code in a public GitHub repo

The code is essentially one huge Javascript switch statement. It could probably be more efficient, but it works, and hopefully someone will one day make use of it. Let me know if that someone is you!