Skip to content

Instantly share code, notes, and snippets.

View unrooted's full-sized avatar

unrooted

View GitHub Profile
@unrooted
unrooted / ventoy-notes.md
Last active March 19, 2025 15:04
notes, tips and tricks on ventoy usage and configuration
  1. injection - inject into runtime after the boot Windows -> WinPE env. Linux -> initramfs env.

    {
    "injection": [
        {
            "image": "/linux.iso",
            "archive": "/archives/compressedDepressed.[zip/tar.[gz/bz2/xz/lzma]]"
@unrooted
unrooted / .zshrc
Created February 28, 2022 20:29
zsh config
# If you come from bash you might have to change your $PATH.
export PATH=$HOME/bin:/usr/local/bin:$HOME.local/bin:$PATH
# Path to your oh-my-zsh installation.
export ZSH="/home/viper/.oh-my-zsh"
# export Nix
. /home/viper/.nix-profile/etc/profile.d/nix.sh
export NIX_PATH=$HOME/.nix-defexpr/channels${NIX_PATH:+:}$NIX_PATH
@unrooted
unrooted / cheatsheet.md
Created April 5, 2021 17:38
Bedrock Linux cheat sheet

Bedrock cheat-sheet

command what it does
brl list list currently integrated strata
brl fetch acquite new strata and list fetchable
brl fetch -L list supported stata
brl fetch -X list experimental strata
brl fetch -LX list both supported and experimental strata
brl enable [strata] enable stratum
@unrooted
unrooted / .Xresources
Created March 1, 2021 20:17
NaughtyOne color scheme
! special
*.foreground: #d2d0ce
*.background: #11100f
*.cursorColor: #d2d0ce
! black
*.color0: #282a2e
*.color8: #373b41
! red
@unrooted
unrooted / initSystemsCheatSheet.md
Created December 31, 2020 11:58
init systems cheat sheet

Manage services in systemd, openRC and runit

systemd

  • list all services: systemctl list-unit-files
  • list running services status: systemctl list-units
  • list failed services: systemctl --failed
  • list available services: systemctl --all
  • start a service: systemctl start [SERVICE_NAME]
  • stop a service: systemctl stop [SERVICE_NAME]