https://www.youtube.com/watch?v=QlzoegSuIzg
To build a minimal linux distro, we need three parts:
- The Kernel
- Userspace (busybox)
- Bootloader (syslinux)
When the system boots, it loads the kernel, which loads busybox.
# Generated by Powerlevel10k configuration wizard on 2024-06-15 at 17:05 CDT. | |
# Based on romkatv/powerlevel10k/config/p10k-lean-8colors.zsh. | |
# Wizard options: nerdfont-v3 + powerline, small icons, unicode, lean_8colors, 2 lines, | |
# disconnected, left frame, white-ornaments, sparse, few icons, concise, | |
# transient_prompt, instant_prompt=verbose. | |
# Type `p10k configure` to generate another config. | |
# | |
# Config for Powerlevel10k with 8-color lean prompt style. Type `p10k configure` to generate | |
# your own config based on it. | |
# |
theme = "tokyonight" | |
[editor] | |
# gutters = ["diagnostics", "spacer", "line-numbers", "spacer", "diff"] | |
gutters = ["diff", "diagnostics", "line-numbers", "spacer", "spacer"] | |
cursorline = true | |
[editor.lsp] | |
display-inlay-hints = true |
https://www.youtube.com/watch?v=QlzoegSuIzg
To build a minimal linux distro, we need three parts:
When the system boots, it loads the kernel, which loads busybox.
class Base: | |
def __init__(self, base): | |
assert base in ["A", "T", "G", "C"], "Base must be A, T, G, or C" | |
self.__base: str = base | |
def compliment(self) -> "Base": | |
sup = { | |
"G": "C", | |
"C": "G", | |
"A": "T", |
#!/bin/bash | |
# doas | |
alias su="gum confirm 'root?' && sudo -s || echo 'never mind'" | |
# exa | |
alias ls="exa -a1 --icons --group-directories-first" | |
alias tree="exa -T" | |
# cd |