Skip to content

Instantly share code, notes, and snippets.

View GETandSELECT's full-sized avatar

Carolyn Butler GETandSELECT

View GitHub Profile
@csabapalfi
csabapalfi / aws-well-architected.md
Last active November 16, 2021 11:02
AWS Well-architected Framework

5 pillars

Security

  • protect information, systems, and assets while delivering business value
  • utilising risk assessments and mitigation strategies

Reliability

  • ability to recover from infrastructure or service failures
@jasoet
jasoet / kube_cheat_sheet.md
Created March 9, 2018 03:02
Kubernetes Cheat Sheet
@ThinGuy
ThinGuy / download_splunk.sh
Last active October 29, 2023 17:13
Download latest Splunk Platform and Universal Forwarder files without having to login
#TODO: Create exclude args for platforms
download-splunk() {
# Where to store the platform and forwarder packages
local SPLUNK_BIN_DIR=/srv/splunk-platform
local SPLUNK_UF_DIR=/srv/splunk-uf
[[ -d ${SPLUNK_BIN_DIR} ]] || mkdir -p ${SPLUNK_BIN_DIR}
[[ -d ${SPLUNK_UF_DIR} ]] || mkdir -p ${SPLUNK_UF_DIR}
= Resources =
* zsh - http://www.zsh.org/
* ZSH-LOVERS - http://grml.org/zsh/zsh-lovers.html
* manual - http://zsh.sourceforge.net/Doc/Release/index.html
* oh-my-zsh - https://github.com/robbyrussell/oh-my-zsh
* prezo - https://github.com/sorin-ionescu/prezto
* zsh-users - https://github.com/zsh-users
= Functions =
@doole
doole / mpv.conf
Last active February 14, 2024 16:09
Configuration file for `mpv`
#
# mpv configuration file
#
# See the CONFIGURATION FILES section in the man page
# for a detailed description of the syntax.
#
# Profiles should be placed at the bottom of the configuration file to ensure
# that settings wanted as defaults are not restricted to specific profiles.
#
# Note that the commented example options usually do _not_ set the default
@rgl
rgl / wait_for_http_200.sh
Last active March 7, 2024 17:08
Wait for an HTTP endpoint to return 200 OK with Bash and curl
bash -c 'while [[ "$(curl -s -o /dev/null -w ''%{http_code}'' localhost:9000)" != "200" ]]; do sleep 5; done'
# also check https://gist.github.com/rgl/c2ba64b7e2a5a04d1eb65983995dce76
@sheilnaik
sheilnaik / aws_cloud_practitioner_notes.md
Created October 26, 2018 03:18
AWS Cloud Practitioner Notes

AWS Cloud Practitioner

What is Cloud Computing?

What is Cloud Computing?

  • On-demand delivery of compute, database storage, applications, other IT resources through cloud platform via Internet
  • Pay-as-you-go pricing

6 Advantages of Cloud Computing

  1. Trade capital expense for variable expense
  • Only pay for what you use
@luckylittle
luckylittle / Mock Exam 1.md
Last active March 30, 2024 11:39
Prometheus Certified Associate (PCA)

Mock Exam

1

Q1. The metric node_cpu_temp_celcius reports the current temperature of a nodes CPU in celsius. What query will return the average temperature across all CPUs on a per node basis? The query should return {instance=“node1”} 23.5 //average temp across all CPUs on node1 {instance=“node2”} 33.5 //average temp across all CPUs on node2.

node_cpu_temp_celsius{instance="node1", cpu="0"} 28
node_cpu_temp_celsius{instance="node1", cpu="1"} 19
node_cpu_temp_celsius{instance="node2", cpu="0"} 36
node_cpu_temp_celsius{instance="node2", cpu="1"} 31
@pksunkara
pksunkara / config
Last active April 28, 2024 18:59
Sample of git config file (Example .gitconfig) (Place them in $XDG_CONFIG_HOME/git)
[user]
name = Pavan Kumar Sunkara
email = pavan.sss1991@gmail.com
username = pksunkara
[init]
defaultBranch = master
[core]
editor = nvim
whitespace = fix,-indent-with-non-tab,trailing-space,cr-at-eol
pager = delta