Skip to content

Instantly share code, notes, and snippets.

@RichWellum
RichWellum / list1.md
Last active September 30, 2022 13:36
Kubernetes commands

Command commands

az aks get-credentials -g mrg-sas-viya-azure-20220920100424 -n zencos920-aks -f zencos920-aks --subscription 1616a124-22e5-487a-b0e0-c113054975f8

az aks get-credentials -g mrg-sas-viya-on-azure-20220928151240 -n my-viya-aks -f my-viya-aks.config --subscription 7adf008e-038f-49c6-a739-07e276f5d788

az aks get-credentials -g mrg-sas-viya-on-azure-20220926082215 -n czsasviyamkt-aks --subscription ae07c9f6-ee44-4e1f-88ae-76199f3a1f75
@RichWellum
RichWellum / apple
Created September 13, 2022 16:02
Apple exchange
Apple
Your chat is connected
Done
09/13/2022 11:18 AM
You are connected with Apple.
Agent's Message:Hello, I’m Apple's automated assistant. I can give you quick answers to popular questions or connect you with a Specialist who can help.
Some things you can ask me are:
@RichWellum
RichWellum / command.md
Last active August 22, 2022 21:58
Gerrit

Sample commands

10020  git review --help
10021  brew install git-review
10022  git review --help
10023  git status
10024  git review
10025  git config --global gitreview.remote origin
10026 git review
@RichWellum
RichWellum / classes.py
Last active January 10, 2022 01:42
Python for Notion
#!/usr/bin/python
class Person(object):
def __init__(self, name, age):
self.name = name
self.age = age
def reveal_identity(self):
print(f"My name is {self.name}, my age is {self.age}")
@RichWellum
RichWellum / 1.functions.py
Last active October 28, 2021 15:12
Python
#!/usr/bin/python
'''
Python functions
'''
from __future__ import print_function
'''
A function is a block of organized, reusable code that is used to
perform a single, related action. Functions provide better modularity
@RichWellum
RichWellum / Leadership.md
Last active March 17, 2023 10:43
Splunk

Experience in leadership

At SAS I have founded three groups:

  1. MSFT - defined the flow/process between PM and Architectural board and Engineering teams. Using a system of Gates on Jira/Agile tickets to indicate when a certain stage is completed (risk, timeline, content etc.). The process leaves a requirement with a series of Refined issues that can be tackled in Engineering Scrum teams. As a team we can now process requirements and act as the middle team to refine.

building Special image

sudo docker build -t registry.unx.sas.com/astrolabe/viya4-iac-azure:rfi_2 .
sudo docker push registry.unx.sas.com/astrolabe/viya4-iac-azure:rfi_2
@RichWellum
RichWellum / Saturday_Aug13
Last active August 14, 2021 02:11
Soccer
Crazy Islands (Tsunami) - don't forget colors, amounts, and body part
Footskills: Pull A Vee, Side Step, Step Kick
RobinHood
Scrimmage
Lightning
prefix = "riwell-t2"
location = "eastus2"
ssh_public_key = "~/.ssh/id_rsa.pub"
tags = {
"resourceowner" = "riwell"
"project_name" = "viya",
"environment" = "viya-mini"
}
default_public_access_cidrs = ["149.173.0.0/16", "194.206.69.176/28", "109.232.56.224/27", "62.255.11.0/29", "88.202.174.192/29", "137.221.139.0/24", "212.103.250.112/29", "88.151.216.240/29", "121.244.109.0/24", "125.21.192.0/29", "121.243.77.24/29", "106.120.85.32/28", "113.34.83.240/29"]
create_postgres = false