Skip to content

Instantly share code, notes, and snippets.

View DrJosh9000's full-sized avatar
πŸ§‘β€πŸ’»
beep boop

Josh Deprez DrJosh9000

πŸ§‘β€πŸ’»
beep boop
View GitHub Profile
@DrJosh9000
DrJosh9000 / gist:a473ca09a4e65332685990e9516cc2c9
Last active September 25, 2025 03:20
install kube-prometheus-stack and agent-stack-k8s
# Install kube-prometheus-stack, configured for reading all available
# PodMonitors (in any namespace) and enabling native histograms.
helm install kube-prometheus-stack oci://ghcr.io/prometheus-community/charts/kube-prometheus-stack \
--create-namespace --namespace monitoring \
--set prometheus.prometheusSpec.podMonitorSelectorNilUsesHelmValues=false \
--set prometheus.prometheusSpec.enableFeatures='{native-histograms}'
# Install agent-stack-k8s (fill in your agent token).
# Must be at least v0.32.0 to deploy monitoring components.
helm install agent-stack-k8s oci://public.ecr.aws/buildkite/helm/agent-stack-k8s \
@DrJosh9000
DrJosh9000 / aoc2018d1p1.v
Last active February 16, 2022 05:27
Advent of Code 2018, Day 1, part 1, in Verilog
// Advent of Code 2018, Day 1, part 1
// Provide the input file contents over UART, then ^D.
// Output will be printed in hexadecimal.
// Requires simpleuart.v (see PicoSoC).
module top
(
input clk,
output tx,
input rx
);
@DrJosh9000
DrJosh9000 / Stop asking to enable Ask Siri.mobileconfig
Created May 25, 2021 02:01
A configuration profile that stops macOS updates from asking if you want to enable Ask Siri
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>PayloadContent</key>
<array>
<dict>
<key>PayloadDisplayName</key>
<string>Setup Assistant #1</string>
<key>PayloadIdentifier</key>

Keybase proof

I hereby claim:

  • I am drjosh9000 on github.
  • I am drjosh9000 (https://keybase.io/drjosh9000) on keybase.
  • I have a public key ASAmWz5WV8bO_OYPtCBrh6uq6zVTHJK0tGsBudCsRufmXgo

To claim this, I am signing this object: