In Git you can add a submodule to a repository. This is basically a repository embedded in your main repository. This can be very useful. A couple of advantages of using submodules:
- You can separate the code into different repositories.
| { | |
| "$schema": "https://github.com/fastfetch-cli/fastfetch/raw/dev/doc/json_schema.json", | |
| "logo": { | |
| "source": "~/.config/fastfetch/apple_quote_half_translucent.png", | |
| "type": "kitty", | |
| "height": 30, | |
| "width": 90, | |
| "padding": { | |
| "top": 1, | |
| "left": 1 |
| # Library/Application\ Support/com.mitchellh.ghostty/config | |
| keybind = cmd+d=new_split:down | |
| keybind = cmd+r=new_split:right | |
| theme = Ubuntu | |
| background-opacity = 0.9 | |
| font-size = 16 | |
| font-family = Ubuntu Nerd Font Mono | |
| copy-on-select = true | |
| window-save-state = always | |
| mouse-hide-while-typing = true |
| -- Pull in the wezterm API | |
| local wezterm = require 'wezterm' | |
| -- This table will hold the configuration. | |
| local config = {} | |
| -- In newer versions of wezterm, use the config_builder which will | |
| -- help provide clearer error messages | |
| if wezterm.config_builder then | |
| config = wezterm.config_builder() |
| -- Pull in the wezterm API | |
| local wezterm = require 'wezterm' | |
| -- This table will hold the configuration. | |
| local config = {} | |
| -- In newer versions of wezterm, use the config_builder which will | |
| -- help provide clearer error messages | |
| if wezterm.config_builder then | |
| config = wezterm.config_builder() |
| [net] | |
| git-fetch-with-cli = true | |
| [source.crates-io] | |
| registry = "https://github.com/rust-lang/crates.io-index" | |
| replace-with = 'rsproxy' | |
| #replace-with = 'tuna' | |
| #replace-with = 'ustc' |
| -- Pull in the wezterm API | |
| local wezterm = require 'wezterm' | |
| -- This table will hold the configuration. | |
| local config = {} | |
| -- In newer versions of wezterm, use the config_builder which will | |
| -- help provide clearer error messages | |
| if wezterm.config_builder then | |
| config = wezterm.config_builder() |
| layout { | |
| pane size=1 borderless=true { | |
| plugin location="zellij:tab-bar" | |
| } | |
| pane split_direction="vertical" { | |
| pane size="75%" | |
| pane split_direction="horizontal" { | |
| pane size="40%" command="htop" | |
| pane size="60%" command="btm" | |
| } |
| # Configuration for Alacritty, the GPU enhanced terminal emulator. | |
| # Import additional configuration files | |
| # | |
| # Imports are loaded in order, skipping all missing files, with the importing | |
| # file being loaded last. If a field is already present in a previous import, it | |
| # will be replaced. | |
| # | |
| # All imports must either be absolute paths starting with `/`, or paths relative | |
| # to the user's home directory starting with `~/`. |
| #!/usr/bin/env python | |
| """Simple HTTP Server With Upload. | |
| This module builds on BaseHTTPServer by implementing the standard GET | |
| and HEAD requests in a fairly straightforward manner. | |
| """ |