Skip to content

Instantly share code, notes, and snippets.

View iLyaSUDI's full-sized avatar

iLyaS UDI S iLyaSUDI

  • Moscow
View GitHub Profile
@fuji44
fuji44 / README.md
Last active January 15, 2024 12:17
Backup of drivers without third-party tools in Windows

Backup of drivers without third-party tools in Windows

Use the Export-WindowsDriver command.

# Run with administrator privileges PowerShell
Export-WindowsDriver -Online -Destination C:\win_drivers

The Online option indicates to target logged-in Windows.

@krisek
krisek / alert.rules.yml
Last active March 25, 2026 13:27
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
@bhumijgupta
bhumijgupta / README.MD
Created May 10, 2019 08:33
Windows 10 Backup and restore drivers

Backup Driver

Open command prompt with Admin Privileges Syntax: dism /online /export-driver /destination:"Driver-Backups folder path" Example

dism /online /export-driver /destination:"D:\Driver-Backups"

Restore Driver

  1. Open Device Manager using the Win+X Quick Link menu.
@efrecon
efrecon / run.tpl
Last active April 19, 2026 21:27
`docker inspect` template to regenerate the `docker run` command that created a container
docker run \
--name {{printf "%q" .Name}} \
{{- with .HostConfig}}
{{- if .Privileged}}
--privileged \
{{- end}}
{{- if .AutoRemove}}
--rm \
{{- end}}
{{- if .Runtime}}