Skip to content

Instantly share code, notes, and snippets.

@gnab
Created May 10, 2011 09:16
Show Gist options
  • Save gnab/964147 to your computer and use it in GitHub Desktop.
Save gnab/964147 to your computer and use it in GitHub Desktop.
final String relevantSkillz = "java, thrift, NoSQL, cassandra, hadoop, voip, TCPIP, SSO, ...";
if (relevantSkillz.contains(developer_skill)
&& developer_skill_level >= 31337
&& developer_wants_position_in == DEV_CORE_TEAM
&& developer_wants_to == KICK_ASS) {
final String improvementsToThisCode = System.in.readLine();
final String subject = "31337 - Elites wanted.";
mailto("[email protected]", subject, improvementsToThisCode);
}
require 'net/http'
require 'uri'
require 'base64'
str = Net::HTTP.get(URI.parse('http://comoyo.com/31337devchallenge/'))
puts Base64.decode64(str).tr("A-Za-z", "N-ZA-Mn-za-m")
@gorset
Copy link

gorset commented May 11, 2011

Solution in python:

import urllib
print urllib.urlopen('http://comoyo.com/31337devchallenge/').read().decode('base64').decode('rot13')

@gnab
Copy link
Author

gnab commented May 11, 2011

Now I just had to make a little more effort :P Seems Ruby standard library doesn't include any rot13 functionality, but the tr method gets the job done.

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