git clone git@gist.github.com:35b1c2781cd7a782cc521a75731b4040.git
ln -s $(pwd)/disable_automount.sh ~/.local/bin/no-mount
no-mount <DISK_NAME>
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 python3 | |
| # SOURCE: https://www.youtube.com/watch?v=xtFo1IiZqzM | |
| import pandas as pd | |
| from pathlib import Path | |
| from tqdm import tqdm | |
| fn = Path("../csv/anime_dataset/users-score-2023.csv") |
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
| # https://github.com/wei/pull#readme | |
| --- | |
| version: "1" | |
| rules: | |
| - base: main | |
| upstream: pythoninthegrass:main | |
| mergeMethod: hardreset # Optional, one of [none, merge, squash, rebase, hardreset], Default: none. | |
| mergeUnstable: false # Optional, merge pull request even when the mergeable_state is not clean. Default: false |
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
| # shellcheck disable=all | |
| # aliases | |
| alias rsync='rsync -arvW --progress --stats --ignore-existing' # archive, recursive, verbose, whole-file | |
| alias ll='ls -alF' | |
| alias la='ls -A' | |
| alias l='ls -CF' | |
| alias c=clear | |
| alias ..='cd ../' | |
| alias ...='cd ../../' |
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 -S uv run --script | |
| # /// script | |
| # requires-python = ">=3.13,<3.14" | |
| # dependencies = [ | |
| # "pyqrcode>=1.2.1", | |
| # "pypng>=0.20220715.0", | |
| # ] | |
| # [tool.uv] | |
| # exclude-newer = "2026-07-31T00:00:00Z" |
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 | |
| # TODO: test wayland gamescope session | |
| export DISPLAY=:0 # vnc | |
| export WAYLAND_DISPLAY=:2 # xwayland | |
| export DXVK_HDR=1 | |
| export ENABLE_GAMESCOPE_WSI=1 | |
| # Check existing X server | |
| start_x() { |
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 | |
| # $USER | |
| [[ -n $(logname >/dev/null 2>&1) ]] && logged_in_user=$(logname) || logged_in_user=$(whoami) | |
| # $UID | |
| # logged_in_uid=$(id -u "${logged_in_user}") | |
| # $HOME | |
| logged_in_home=$(eval echo "~${logged_in_user}") |
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
| BASE_URL= | |
| ID= | |
| SERVICE_TOKEN= | |
| OUT_DIR= |