Skip to content

Instantly share code, notes, and snippets.

View richkuz's full-sized avatar

Rich Kuzsma richkuz

  • LinkSquares
  • Amherst, NH
View GitHub Profile
@omegahm
omegahm / graph.rb
Last active June 8, 2020 12:41
Generate nice Dependency Hierarchy Graph of Gems
#!/usr/bin/env ruby
require 'json'
gemfile = ARGV[0] || 'Gemfile.lock'
gems = {}
last_gem = ''
name = ''
File.readlines(gemfile).each do |line|
@brianmcgue
brianmcgue / schema_ranking_correlation.rb
Last active May 14, 2020 01:13
An attempt to determine if how correlated the results are for 5.x and 7.x schema
require 'json'
require 'elastic-site-search' # gem install elastic-site-search
require 'pry'
class RankingComparer
API_ENDPOINT = 'http://localhost:3002/api/v1/'
API_KEY = 'uQTxqyzMRxYMXgnnxVU1'
PAGE_SIZE = 40
attr_reader :base_engine_name, :new_engine_name
@brianmcgue
brianmcgue / red_hat_gcp_testing.md
Last active June 16, 2020 15:36
Testing Enterprise Search on Red Hat

Testing Enterprise Search on Red Hat

Set up a Red Hat GCP instance in the elastic-swiftype project

  1. Visit the elastic-swiftype GCP project
    • if you don't have access, talk to @kellen and @bvans about getting access
  2. Click CREATE INSTANCE
  3. Name the instance
  4. Select a region
  5. Set the Machine type to n1-standard-4
  6. Change the Boot disk and set the follow parameters
@richkuz
richkuz / docker-desktop-replacement.md
Last active January 18, 2022 14:25
Run minikube as a replacement for Docker Desktop

How to use Minikube as a replacement for Docker Desktop for Mac.

Uninstall Docker Desktop

To uninstall Docker Desktop for Mac run /Applications/Docker.app/Contents/MacOS/Docker --uninstall or uninstall it from the Docker Desktop UI Preferences under the "Troubleshooting" bug icon.

Install Docker client binary

Download the Docker CLI client binary for Mac from https://download.docker.com/mac/static/stable/. The Mac Docker CLI client binary source code is Apache Licensed. Unpack and copy docker to /usr/local/bin.