This example takes olddisk.qcow2 and resizes it into newdisk.qcow2,
extending one of the guest's partitions to fill the extra space.
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
| version: "1" | |
| rules: | |
| - base: main | |
| upstream: somet-code: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 | |
| label: ":arrow_heading_down: pull" # Optional | |
| conflictLabel: "merge-conflict" # Optional, on merge conflict assign a custom label, Default: merge-conflict |
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
| version: "1" | |
| rules: | |
| - fakeDirective: fakeyfake | |
| label: | |
| conflictLabel: |
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
| #!/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() { |
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 -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
| # 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
| # 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 |