I hereby claim:
- I am olix0r on github.
- I am olix0r (https://keybase.io/olix0r) on keybase.
- I have a public key whose fingerprint is 2DD1 B90B 6EAA AD36 CF44 DE78 B1D8 3BB8 13B1 7069
To claim this, I am signing this object:
/// Food, food, food. I love food. | |
pub mod food { | |
use std::rand::{Rand, Rng}; | |
/// All food has calories | |
pub trait Food { | |
fn calories(&self) -> u64; | |
} | |
/// There are some things you can eat for breakfast. |
#!/bin/sh | |
set -e | |
if ! klist -t 2>/dev/null >&2 ; then | |
echo ":; :; kinit --keychain" | |
kinit --keychain | |
fi | |
branch=$(git branch --no-color 2>/dev/null | sed -e '/^[^*]/d' -e 's/\* \(.*\)/\1/') |
I hereby claim:
To claim this, I am signing this object:
(ns gob.core | |
[:use [clojure.core.reducers :only (cat)]] | |
[:use [clojure.string :only (join)]]) | |
(def penus "PENUS") | |
(defn env-columns [config] | |
(let [columns (System/getenv "COLUMNS")] | |
(if (nil? columns) | |
config |
import com.twitter.concurrent.{Offer, Broker} | |
import com.twitter.finagle.{Filter, Service} | |
import com.twitter.finagle.http.{HttpMuxer, Request, Response, Status} | |
import com.twitter.server.TwitterServer | |
import com.twitter.util.{Await, Future} | |
object Harness extends TwitterServer { | |
val fruits = | |
flag[Seq[String]]("fruits", "apple" :: "banana" :: "cherry" :: "durian" :: Nil, "A list of fruits") |
import com.twitter.finagle.{Filter, Service} | |
import com.twitter.util.{Await, Future} | |
case class Fruit(flavor: String) | |
case class Veggie(flavor: String) | |
case class Jam(flavor: String) | |
object Jammer extends Service[Veggie, Jam] { | |
def apply(veg: Veggie) = | |
Future value Jam(veg.flavor) |
(ns gob.core) | |
(use '[clojure.string :only (join)]) | |
(def penus "PENUS") | |
(defn env-columns [config] | |
(let [columns (System/getenv "COLUMNS")] | |
(if (nil? columns) | |
config |