I hereby claim:
- I am txus on github.
- I am txus (https://keybase.io/txus) on keybase.
- I have a public key whose fingerprint is E0E1 1635 59E0 285A 5CBF DD8D 8CBD 973F AA87 A28E
To claim this, I am signing this object:
(defui UserView | |
static om/Ident | |
(ident [this {:keys [user/id]}] | |
[:user/by-id id]) | |
static om/IQuery | |
(query [this] | |
'[:user/id :user/name :user/authenticated])) | |
(defui UserProfilesView |
extern crate comm; | |
use std::sync::mpsc::{SyncSender, Receiver, SendError, RecvError}; | |
use comm::{Error as CommError}; | |
use comm::mpmc::bounded::Channel; | |
use std::thread; | |
use std::marker::Sized; | |
pub enum Xor<A, B> { | |
Left(A), |
enum Xor<A, B> { | |
Left(A), | |
Right(B) | |
} | |
type PipeError<T> = Xor<RecvError, SendError<T>>; | |
fn pipe<T: 'static + Send, U: 'static + Send>(f: fn(T) -> U, from: Receiver<T>, to: Sender<U>) -> thread::JoinHandle<()> { | |
thread::spawn(move || { | |
loop { |
(ns achilles.live | |
(:require [clojure.core.typed :as t])) | |
"term : x (Variable) | |
λx.term (Abstraction) | |
term term (Application)" | |
(t/ann-datatype TVar [name :- t/Str]) | |
(deftype TVar [name]) |
(ns typed.core | |
(:require [clojure.core.typed :as t])) | |
(t/ann-datatype Foo [fooName :- t/Str]) | |
(deftype Foo [fooName]) | |
(t/ann-datatype Bar [barName :- t/Str]) | |
(deftype Bar [barName]) | |
(t/ann theName [(t/U Foo Bar) -> t/Str]) |
require 'blankslate' | |
class Proc | |
def self.comp(f, g) | |
lambda { |*args| f[g[*args]] } | |
end | |
def *(g) | |
Proc.comp(self, g) | |
end |
require 'json' | |
require 'verkehr/zookeeper' | |
module Verkehr | |
class Brokers | |
Broker = Struct.new(:id, :host, :port) do | |
def to_s | |
"#{host}:#{port}" | |
end |
I hereby claim:
To claim this, I am signing this object:
#!/usr/bin/env ruby | |
require 'open-uri' | |
abort("Usage: pgpkey [[email protected]|emails.txt]") unless ARGV.first | |
emails = if File.exist?(ARGV.first) | |
File.readlines(ARGV.first).map(&:chomp) | |
elsif ARGV.first =~ /@/ | |
[ARGV.first] | |
end |
#TODO: kill me plz | |
def find_change(filename, subjective_line, type) | |
find = Regexp.escape(type == :addition ? '+' : '-') | |
skip = Regexp.escape(type == :addition ? '-' : '+') | |
line = 1 | |
commit = @patch[line].scan(/From ([a-z0-9]+)/).first.first | |
line += 1 until @patch[line] =~ /\+\+\+ b\/#{filename}/ | |
line += 1 |