Skip to content

Instantly share code, notes, and snippets.

View bloodstiller's full-sized avatar

bloodstiller bloodstiller

View GitHub Profile
@bloodstiller
bloodstiller / steps.md
Last active October 22, 2025 11:05 — forked from hunterlawson/steps.md
Doom Emacs Windows installation steps

Native emacs on windows is super slow just use the wsl version

  • install wsl
  • install a version of ubuntu 24+
  • install all emacs deps as per doom documentation
  • launch vanilla emacs (it will launch in the terminal this is fine use C-x C-c to exit)
  • exit and stop wsl
  • clone doom repo
  • delete ~/.emacs.d (won't work if you do not do this you need to do this to ensure you can use an x11 session)
  • re-run doom install
  • should now work
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
# PS : ChatGPT makes mistakes, consider "trust but verify" principle
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
#Events to Monitor
https://learn.microsoft.com/en-us/windows-server/identity/ad-ds/plan/appendix-l--events-to-monitor
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
#run
eventvwr.msc Event viewer
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Event Viewer(Local)-Windows Logs (shutdown / restart )
@bloodstiller
bloodstiller / alert.rules.yml
Created January 22, 2025 18:12 — forked from krisek/alert.rules.yml
Prometheus alert rules for node exporter
groups:
- name: node_exporter_alerts
rules:
- alert: Node down
expr: up{job="monitoring-pi"} == 0
for: 2m
labels:
severity: warning
annotations:
title: Node {{ $labels.instance }} is down