Skip to content

Instantly share code, notes, and snippets.

Working from home

Kurtis Rainbolt-Greene krainboltgreene

Working from home
Block or report user

Report or block krainboltgreene

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View challenge.rb
require "set"
require "rspec/autorun"
GRAPH = { |accumulated, key| accumulated[key] =}
def depend(subject, *dependencies)
View dictionary.json
"Abbreviations": [{
"det": "determiner",
"n": "noun",
"vi": "intransitive",
"vt": "transitive",
"vs": "stative",
"ex": "example"
"Pronouns": [{
View .babelrc
"presets": [
"plugins": [
["module-resolver", {"alias": {"^@types/(.+)$": "./types/\\1"}}],
View search-console.rb
require "highline"
class RenderingEngine < Concurrent::Actor::Context
attr_reader :search
attr_reader :terminal
attr_reader :previous
attr_reader :current
def initialize()
@search = SearchEngine.spawn(:search)
View gist:b5e8a31454d469a26f8fb95a01fde0cc
E0324 19:04:43.304806 1 reflector.go:134] Failed to list *v1.Pod: pods is forbidden: User "system:serviceaccount:default:promtail" cannot list pods at the cluster scope
level=debug ts=2019-03-24T19:04:49.135627749Z caller=filetargetmanager.go:130 msg="new target" labels="{__address__=\"\", __meta_kubernetes_pod_container_name=\"fluentd-gcp\"}"
level=debug ts=2019-03-24T19:04:49.138892921Z caller=filetargetmanager.go:144 msg="ignoring target, wrong host" labels="{__address__=\"\", __host__=\"gke-primary-production-default-pool-a94f2735-037l\", __meta_kubernetes_namespace=\"kube-system\", __meta_kubernetes_pod_annotation_scheduler_alpha_kubernetes_io_critical_pod=\"\", __meta_kubernetes_pod_container_name=\"fluentd-gcp\", __meta_kubernetes_pod_controller_kind=\"DaemonSet\", __meta_kubernetes_pod_controller_name=\"fluentd-gcp-v3.2.0\", __meta_kubernetes_pod_host_ip=\"\", __meta_kubernetes_pod_ip=\"10.32.0.
View new.txt
- ~{
- "attributes" => ~{
- "confidentality-status" => "white",
- "pod" => "global"
- }
- }
View docker-compose.yml
version: "3.7"
x-logging-elk: &logging-elk
# driver: json-file
driver: gelf
gelf-address: udp://
labels: container_group
x-sentry-environment: &sentry-environment
View paper_trail.rb
module PaperTrail
class RecordTrail
def record_create
return unless enabled?
@in_after_callback = true
@record.class.paper_trail.version_class.after_transaction do
VersionJob.perform_async(@record.class.paper_trail.version_class, data_for_create)
View gist:8b55c096ef3f90479dcb9f400fc33509
krainboltgreene@lovelace.lan at ~/Code/unctionjs/_tempLate on ± core 𝑓 1 npm audit fix
npm ERR! Errors were found in your package-lock.json, run npm install to fix them.
npm ERR! Missing: babel-plugin-transform-object-rest-spread@6.26.0
npm ERR! Missing: babel-preset-flow@6.23.0
npm ERR! Missing: chokidar-cli@1.2.0
npm ERR! Missing: eslint@4.7.2
npm ERR! Missing: eslint-plugin-babel@4.1.2
npm ERR! Missing: eslint-plugin-immutable@1.0.0
npm ERR! Missing: flow@0.2.3
View gist:c96bcb3684403fa208a96869ce7e104f
krainboltgreene@lovelace.lan at ~/Code/unctionjs/_tempLate on ± core 𝑓 rm -rf node_modules package-lock.json
krainboltgreene@lovelace.lan at ~/Code/unctionjs/_tempLate on ± core 𝑓 npm install
npm notice created a lockfile as package-lock.json. You should commit this file.
npm WARN Invalid name: "@unction/{{FQNAME}}"
npm WARN _tempLate No description
npm WARN _tempLate No repository field.
npm WARN _tempLate No README data
npm WARN _tempLate No license field.
up to date in 0.76s
You can’t perform that action at this time.