Skip to content

Instantly share code, notes, and snippets.

View yvvki's full-sized avatar
💢
correction

Yuuki Rika yvvki

💢
correction
View GitHub Profile
@yvvki
yvvki / makepkg
Last active February 19, 2025 12:38 — forked from andrewgregory/makepkg-shallow.sh
makepkg wrapper with git clone filter
#!/bin/bash
regex='(https?|file)://|(git@)'
git() {
if [[ $1 == 'clone' && $* =~ $regex ]]; then
/bin/git "$@" --filter=tree:0 # or blob:none
else
/bin/git "$@"
fi
@yvvki
yvvki / colab.ipynb
Last active February 18, 2025 18:56
KoboldCpp - HF
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@yvvki
yvvki / java-flags.md
Last active December 4, 2024 09:31
Minecraft Java flags I personally use
@yvvki
yvvki / code-wsl
Created October 27, 2024 08:55
Running VSCode directly from WSL
#!/usr/bin/env bash
export WSLENV=VSCODE_DEV/w:ELECTRON_RUN_AS_NODE/w
VSCODE_PATH="$(dirname "$(dirname "$(realpath "$0")")")"
VSCODE_EXEC="$VSCODE_PATH/Code.exe"
VSCODE_CLI=$(wslpath -w "$VSCODE_PATH/resources/app/out/cli.js")
export VSCODE_DEV=
export ELECTRON_RUN_AS_NODE=1
check_and_convert_to_windows_path() {