Skip to content

Instantly share code, notes, and snippets.

View basgys's full-sized avatar

Bastien Gysler basgys

View GitHub Profile
class UberRelation
include Enumerable
def initialize(scopes)
scopes.kind_of?(Array) or raise ArgumentError.new("Argument scopes is not an array!")
@scopes = scopes
end
def each(&block)
block_given? ? load.each{|scope| block.call(scope)} : load
package main
import (
"fmt"
"math"
"sort"
"strings"
"github.com/pbnjay/clustering"
)
@basgys
basgys / Tez
Created December 6, 2021 11:30
I am attesting that this GitHub handle basgys is linked to the Tezos account tz1LvHJjweC8ARpHfATq16ToiXZDAvsNBDNM for tzprofiles
sig:edsigtw5NpWReH1QoSUnWH9fMq9cdpSqNY643GvCxjnFmDf8UfGMD3V24xyPizGR1sjhUQifNhiMquu6Y9wvfrYdiNcEDuWqoKe