Skip to content

Instantly share code, notes, and snippets.

@qen
qen / elasticsearch-setup-apple-macbook-pro-m1.md
Created October 18, 2024 22:53 — forked from todgru/elasticsearch-setup-apple-macbook-pro-m1.md
Install Elasticsearch 7.x on Apple Macbook Pro M1 Ventura 13.2

Elasticsearch Setup Apple MacBook Pro M1

Apple MacBook Pro M1, 32 GB, Ventura 13.2

Documentation based on comments in this Github Elasticsearch issue.

Install Homebrew

require 'celluloid'
require 'uuid'
class Worker
include Celluloid
include Celluloid::Logger
def initialize
@uuid = ::UUID.new
end
@qen
qen / gist:2839327
Created May 30, 2012 22:26 — forked from justinko/gist:743458
Common gem configuration implementations
class MyGem
class << self
attr_accessor :color
end
def self.configure(&block)
instance_eval(&block)
end
end