Skip to content

Instantly share code, notes, and snippets.

View drGrove's full-sized avatar
😎
Trying to delete more lines of code than I write

Danny Grove drGrove

😎
Trying to delete more lines of code than I write
View GitHub Profile
@drGrove
drGrove / Framework Arch Linux Setup.md
Last active July 9, 2024 15:44
Framework Arch Linux Setup

Pre-Live USB

  1. F2 on boot, disable Secure Boot
  2. Plug in Live USB
  3. Load from Live USB

Machine Setup

Get install environment working

Keyboard layout

@drGrove
drGrove / RAID Cheetsheet
Last active June 13, 2024 19:29
RAID Cheatsheet
# RAID Cheatsheet
Findings along my way of managing my own NAS and RAID
1. Re-Assembling a RAID when the disks are avaiable but not active
```sh
mdadm --assemble --scan --verbose --force
```
Generally if it thinks everythings a space it will try and fail to start up the RAID,
@drGrove
drGrove / kubectl-rbac
Created October 12, 2023 03:40
kubectl RBAC Resource and Verb list
#!/usr/bin/env bash
set -eou pipefail
list() {
CONTEXT="${1}"
APIS=$(kubectl --context "${CONTEXT}" get --raw /apis | jq -r '[.groups | .[].name] | join(" ")')
get "${CONTEXT}" "core"
for api in $APIS; do
@drGrove
drGrove / resume.tex
Last active May 8, 2023 19:47
Resume
\documentclass[11pt, oneside]{article}
\usepackage[margin=0.5in]{geometry}
\geometry{letterpaper}
\usepackage[parfill]{parskip}
\usepackage{graphicx}
\usepackage{amssymb}
\usepackage{xcolor}
\pagecolor{white}
\usepackage[colorlinks = true, linkcolor = red, urlcolor = red]{hyperref}
\pagestyle{empty}
@drGrove
drGrove / grafana-agent-targets.md
Last active May 8, 2023 17:46
Checking Grafana Agent Targets
  1. Port Forward to the Grafana Agent
kubectl -n grafana-agent-operator port-forward grafana-agent-0 8080:8080
  1. Curl for the Targets
curl localhost:8080/agent/api/v1/metrics/targets | jq | tee targets-pretty.json

This Gist confirms the Linked Identity in my OpenPGP key which links it to this Github account.

[Verifying my OpenPGP key: openpgp4fpr:c92fe5a3fbd58dd3ec5aa26bb10116b8193f2dbd]

This is an OpenPGP proof. For details check out https://metacode.biz/openpgp/proofs

@drGrove
drGrove / role.md
Last active March 27, 2024 00:25 — forked from lrvick/role.md
My default canned response to all recruiters. Know what you want out of your career and articulate it specifically if you want to get it either at your current employer, or a different one.

I know exactly what I want in a long term role so I can save us some time.

For me to be willing to change jobs at this point I would expect:

  • A high level of autonomy where I am allowed to work weird hours.
  • Have my obsession for auditable everything be humored/tolerated
    • I prefer to work with open operating systems like Linux
    • I am never asked to rely on any software I can't audit on any of my personal or company devices.
  • No need to go find clients myself or worry about the business side of the house
  • Travel/lodging covered for the 2-3 security conferences I try to attend every year.
@drGrove
drGrove / packages.txt
Created February 11, 2019 21:47
Arch Linux Packages
acl
acpi
acpid
adwaita-icon-theme
alsa-lib
alsa-plugins
alsa-utils
amd-ucode
ansible
aom
@drGrove
drGrove / .gitignore
Last active August 26, 2018 00:20
Stackoverflow 52021668
node_modules
@drGrove
drGrove / dc26.md
Last active August 12, 2018 12:04 — forked from lrvick/dc26.md
Defcon 26

Defcon 26

Itinerary

Thursday

09:00

  • Arrive At Cesars
  • Get admission badges
  • Checkin to room