I hereby claim:
- I am robertclancy on github.
- I am robertclancy (https://keybase.io/robertclancy) on keybase.
- I have a public key whose fingerprint is 0040 42A5 E905 AFBD 6F8E E14B 8AA0 DE8F 3290 21D5
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
package com.swrve.babble; | |
import java.net.MalformedURLException; | |
import java.net.URI; | |
import java.net.URISyntaxException; | |
import java.net.URL; | |
import org.glassfish.jersey.uri.UriTemplate; | |
public class UrlTemplate { | |
private final String template; |
def water(x) | |
water_acc(x, 0, 0, 0) | |
end | |
def water_acc(a, left, right, total) | |
if a.empty? | |
total | |
else | |
if left <= right | |
x, *xs = a |