Are you smart enough to work at a start-up?(news.com.au) |
Are you smart enough to work at a start-up?(news.com.au) |
parseInt('1bp49b', 36)
"The only problem is it's so tough, no one has managed to crack it yet." is very silly require 'sinatra'
require 'twilio-ruby'
ACCOUNT_SID = "Your SID"
AUTH_TOKEN = "Your Token"
BIG_COMMERCE_NUMBER = "+612#{1bp49b".to_i(36)}"
APP_URL = "http://path.to.this.app.com"
YOUR_NUMBER = "+61211111111"
get '/' do
twilio = Twilio::REST::Client.new(ACCOUNT_SID, AUTH_TOKEN)
twilio.account.calls.create(
from: YOUR_NUMBER,
to: BIG_COMMERCE_NUMBER
url: APP_URL + "/give-me-a-job"
)
end
get '/give-me-a-job" do
r.Dial callerId: YOUR_NUMBER do |d|
d.Number(CGI.escape(YOUR_NUMBER))
end
endAlso, where's the startups in Brisbane anyway :-/
Not really a complex puzzle by any means...
1*36^5 + b*36^4 + p*36^3 + 4*36^2 + 9*36^1 + b*36^0
= 36^5 + 11*36^4 + 25*36^3 + 4*36^2 + 9*36 + 11
= 80113871
I'll start on Monday.