Skip to content

Instantly share code, notes, and snippets.

View aaronmallen's full-sized avatar
:shipit:

Aaron Allen aaronmallen

:shipit:
View GitHub Profile
domainic-validation/sig/domainic/validation/validator.rbs:9:160: [error] Cannot find type `::Domainic::Attributer::Builder`
│ Diagnostic ID: RBS::UnknownTypeName
└ def self.constraint: (String | Symbol constraint_name, (Class | Module | Proc)? type_validator) ?{ (?) [self: Domainic::Attributer::Builder] -> void } -> Domainic::Attributer::Builder
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
domainic-validation/lib/domainic/validation/validator.rb:9:23: [error] Type `singleton(::Domainic)` does not have method `Attributer`
│ Diagnostic ID: Ruby::NoMethod
└ include Domainic.Attributer(:constraint)
@aaronmallen
aaronmallen / coffee-pairs
Last active January 15, 2020 22:53
Randomly pair individuals
#!/usr/bin/env ruby
# frozen_string_literal: true
require 'json'
require 'optparse'
module CoffeePairs
VERSION = '0.1.2'
module Store
#!/usr/bin/env ruby
system('gem install thor') unless require('thor')
require 'rubygems'
require 'yaml'
require 'fileutils'
require 'thor'
class RandReviewer < Thor
attr_accessor :names
@aaronmallen
aaronmallen / cfg-install
Last active December 12, 2019 07:13
Install my custom mac-osx-dotfiles
git clone --bare https://github.com/aaronmallen/dotfiles.git $HOME/.cfg
function config {
/usr/bin/git --git-dir=$HOME/.cfg/ --work-tree=$HOME $@
}
rm -rf $(config ls-files)
config checkout
config config status.showUntrackedFiles no
config remote remove origin
config remote add origin git@github.com:aaronmallen/dotfiles.git

Keybase proof

I hereby claim:

  • I am aaronmallen on github.
  • I am aaronmallen (https://keybase.io/aaronmallen) on keybase.
  • I have a public key ASCdsrrQxdOFTqEjBzuCus_OSwtfNlpvrzz6TCQCkbe-WAo

To claim this, I am signing this object: