Lance Stephens
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
| lance@fedora:~$ glmark2 | |
| ======================================================= | |
| glmark2 2023.01 | |
| ======================================================= | |
| OpenGL Information | |
| GL_VENDOR: AMD | |
| GL_RENDERER: AMD Radeon Graphics (radeonsi, gfx1103_r1, LLVM 18.1.1, DRM 3.57, 6.8.7-303.fsync.fc40.x86_64) | |
| GL_VERSION: 4.6 (Compatibility Profile) Mesa 24.0.5 | |
| Surface Config: buf=32 r=8 g=8 b=8 a=8 depth=24 stencil=0 samples=0 | |
| Surface Size: 800x600 windowed |
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 | |
| # get the root directory | |
| GIT_ROOT="$(git rev-parse --show-toplevel 2>/dev/null)" | |
| SCRIPT_DIR=$(dirname "$(readlink -f "$0")") | |
| if [ -n "$GIT_ROOT" ]; then | |
| TLD="$GIT_ROOT" | |
| else |
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
| qemu-system-x86_64 \ | |
| -device virtio-net-pci,netdev=net0 \ | |
| -netdev socket,id=net0,fd=3 \ | |
| -m 2048 \ | |
| -cdrom ~/Downloads/iso/ubuntu-22.04.4-desktop-amd64.iso |
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" |
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 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() { |
