fonttools varLib.mutator ./font.ttf wght=400 wdth=85
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[Unit] | |
Description=Temp throttle | |
[Service] | |
Type=oneshot | |
ExecStart="/usr/local/bin/temp_throttle" 90 | |
RemainAfterExit=yes | |
[Install] | |
WantedBy=multi-user.target |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Get editor completions based on the config schema | |
"$schema" = 'https://starship.rs/config-schema.json' | |
# Inserts a blank line between shell prompts | |
add_newline = true | |
# Replace the "❯" symbol in the prompt with "➜" | |
[character] # The name of the module we are configuring is "character" | |
success_symbol = "[➜](bold green)" # The "success_symbol" segment is being set to "➜" with the color "bold green" | |
error_symbol = "[✖](bold red) " |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
https://www.tecmint.com/35-practical-examples-of-linux-find-command/ | |
https://geekflare.com/linux-find-commands/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Remove the orphaned packages with Yay | |
yay -Yc | |
# Search for a package | |
yay -Ss package_name | |
# Remove a package | |
yay -Rns package_name |
The following command creates a single .patch file that contains multiple commits.
git format-patch cc1dde0dd^..6de6d4b06 --stdout > foo.patch
You can then apply it like so:
git am foo.patch
Note: Be sure to use ^.. instead of .. if you want the first commit SHA to be included.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
git_branch() { | |
git branch 2> /dev/null | sed -e '/^[^*]/d' -e 's/* \(.*\)/(\1)/' | |
} | |
export PS1="\[\e]0;\u@\h: \w\a\]${debian_chroot:+($debian_chroot)}\[\033[01;32m\]\u@\h\[\033[00m\]:\[\033[01;34m\]\W\[\033[00m\] \[\033[01;31m\]\$(git_branch)\[\033[00m\]\$ " | |
NewerOlder