I hereby claim:
- I am joeldrapper on github.
- I am joeldrapper (https://keybase.io/joeldrapper) on keybase.
- I have a public key ASCZ2b-hvm_0Cs0MyWXInpqRI__fqd5wVAZBNBUe0nHaiQo
To claim this, I am signing this object:
| # frozen_string_literal: true | |
| module Packer | |
| # A special packer class for globally identifiable objects. It takes a global ID and packs it as a String, then rehydrates it as a GlobalID lookup. | |
| class GloballyIdentifiable | |
| def self.from_pack(uri) | |
| GlobalID::Locator.locate(uri) | |
| end | |
| def initialize(identifiable) |
| #!/usr/bin/env ruby | |
| class Run | |
| def initialize(files) | |
| @files = files | |
| end | |
| def call | |
| @files.each(&:process) |
| class Spy | |
| def initialize(object) | |
| @object = object | |
| end | |
| def respond_to_missing?(name) | |
| @object.respond_to?(name) | |
| end | |
| def method_missing(name, *args, **kwargs, &block) |
| class @TrixFormatter extends @BaseObject | |
| constructor: (editor) -> | |
| @editor = editor | |
| format: -> | |
| @position = @editor.getPosition() | |
| @text = @editor.getDocument().toString() | |
| @before = @text.substr 0, @position | |
| @after = @text.substr @position, @text.length | |
| @character = @text.charAt(@position - 1) |
| module AttributeMemoization | |
| def attr_accessor(*names, &block) | |
| return super(*names) unless block_given? | |
| attr_reader(*names, &block) | |
| attr_writer(*names) | |
| end | |
| def attr_reader(*names, &block) | |
| return super(*names) unless block_given? |
| class Object | |
| def then_maybe | |
| yield(self) || self | |
| end | |
| def then_if(condition) | |
| condition ? yield(self) : self | |
| end | |
| def then_unless(condition) |
| import { Controller } from "stimulus" | |
| export default class extends Controller | |
| @get: (name, getter) -> | |
| Object.defineProperty @::, name, | |
| get: getter | |
| configurable: true | |
| @set: (name, setter) -> | |
| Object.defineProperty @::, name, |
I hereby claim:
To claim this, I am signing this object:
| .editor-content .editable#note-text-editor { | |
| line-height: 1.6 !important; | |
| font-family: -apple-system, BlinkMacSystemFont, 'avenir next', avenir, helvetica, 'helvetica neue', ubuntu, roboto, noto, 'segoe ui', arial, sans-serif !important; | |
| padding: 21px; | |
| } | |
| /* General */ | |
| body { |
| # encoding: UTF-8 | |
| # This file is auto-generated from the current state of the database. Instead | |
| # of editing this file, please use the migrations feature of Active Record to | |
| # incrementally modify your database, and then regenerate this schema definition. | |
| # | |
| # Note that this schema.rb definition is the authoritative source for your | |
| # database schema. If you need to create the application database on another | |
| # system, you should be using db:schema:load, not running all the migrations | |
| # from scratch. The latter is a flawed and unsustainable approach (the more migrations | |
| # you'll amass, the slower it'll run and the greater likelihood for issues). |