Skip to content

Instantly share code, notes, and snippets.

View aav's full-sized avatar

Alexey Aristov aav

View GitHub Profile
@aav
aav / main.rs
Last active November 9, 2024 21:28 — forked from jsn/main.rs
use std::collections::HashMap;
use std::hash::Hash;
use std::sync::RwLock;
#[derive(Debug, Hash, Eq, PartialEq)]
enum Sheep<T>
where
T: 'static,
{
Owned(T),
@aav
aav / genserver-template.clj
Created November 16, 2018 18:35
gen-server template for otplike
(ns my-gen-server
(:require
[otplike.gen-server :as gs]))
(defn start-link []
(gs/start-link-ns [] {:spawn-opt {}}))
(defn init []
[:ok {}])
### Keybase proof
I hereby claim:
* I am aav on github.
* I am aav (https://keybase.io/aav) on keybase.
* I have a public key whose fingerprint is CE8A EE71 6C5F 5F51 25E8 ADB8 EC5C 259A BC7D 90EA
To claim this, I am signing this object: