Skip to content

Instantly share code, notes, and snippets.

View yendefrr's full-sized avatar
🍕
brew install pizza

yendefrr

🍕
brew install pizza
View GitHub Profile
@yendefrr
yendefrr / coreos-updates.md
Created February 14, 2026 11:09
Fedora CoreOS - setup periodic updated / disable auto reboot
sudo mkdir -p /etc/zincati/config.d
sudo vi /etc/zincati/config.d/55-maintenance.toml
[updates]
strategy = "periodic"
@yendefrr
yendefrr / tree-parse.rs
Last active January 18, 2024 09:48
Parse cli tree
use serde::{Deserialize, Serialize};
use std::collections::VecDeque;
#[derive(Serialize, Deserialize, Debug, Clone)]
pub struct Dependency {
name: String,
dependencies: Vec<Dependency>,
}