I hereby claim:
- I am masonfmatthews on github.
- I am masonfmatthews (https://keybase.io/masonfmatthews) on keybase.
- I have a public key ASBWgMZf7JIFopFWH_VC2gm9pk9xJdbVdQmXdHpGUyrtSwo
To claim this, I am signing this object:
func getCount() -> Int { | |
guard let json = self.json else { return 0 } | |
return json.count | |
} | |
func getAll() -> [Clip] { | |
guard json != nil else { return [] } | |
var clips:[Clip] = [] | |
for result in json! { | |
guard let id = result["id"] as? Int, |
puts "fake code" |
def do_stuff(big_thing, important_name) | |
answer = 0 | |
bottom = 0 | |
big_thing.each do |little_thing| | |
answer += little_thing[important_name] | |
bottom += 1 | |
end | |
answer.to_f / bottom | |
end |
I hereby claim:
To claim this, I am signing this object:
Spreedly's main line of business is transacting with stored credit cards at other gateways and endpoints - which are all themselves some sort of remote service. As such, it is important that engineers at Spreedly understand the realities of dealing with remote services and distributed systems, in general. This work sample is designed to understand your comfort dealing with such systems.
We've deployed a server that you can start jobs on. What do the jobs do? Doesn't really matter. What is important is that the jobs will always take ~0.5 seconds to complete. You can queue up a job like this:
$ curl -H "Content-Type: application/json" -d '{
I hereby claim:
To claim this, I am signing this object: