This file contains hidden or 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
| pip install lolcat cowsay && echo "$(which cowsay) -t \"When you do not close the door, cows will drop by, muh\!\" | $(which lolcat) -a -s 200" >> ~/.profile |
This file contains hidden or 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
| import logging | |
| import os | |
| from logging.handlers import RotatingFileHandler | |
| from typing import Literal | |
| from rich.logging import RichHandler | |
| def setup_logging( | |
| log_file: str = None, |
This file contains hidden or 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
| #!/usr/bin/env bash | |
| set -euo pipefail | |
| IFS=$'\n\t' | |
| # name: i32sxhkd | |
| # converts i3-config syntas to sxhkd | |
| # argument 1 - full path to config file | |
| # expected input/output - i32sxhkd [FILE] -> converted output | |
| # example suggested usage: i32sxhkd filename > outputfile |
This file contains hidden or 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
| #!/usr/bin/env bash | |
| set -euo pipefail | |
| IFS=$'\n\t' | |
| displayUsage() { | |
| echo ' | |
| An extension for pyenv virtualenv to instantiate a virtual environment and | |
| association of the local folder with the same virtual environment | |
| usage: pyenvdir [pyver] <name> | |
| operations: |