Skip to content

Instantly share code, notes, and snippets.

View ehvs's full-sized avatar
💻

Hevellyn ehvs

💻
View GitHub Profile
class List
attr_reader :all_tasks
def initialize(name)
@name = name
@all_tasks = []
end
def add(task)
all_tasks << task
@ehvs
ehvs / openshift-cheatsheet.md
Created August 3, 2018 23:16 — forked from rafaeltuelho/openshift-cheatsheet.md
My Openshift Cheatsheet
  • Change Default response timeout for a specific route:
oc annotate route <route_name> --overwrite haproxy.router.openshift.io/timeout=10s
  • Add a nodeSelector on RC ou DC
oc patch dc|rc <dc_name> -p "spec:                                                                                         
  template: