Skip to content

Instantly share code, notes, and snippets.

View shirozatou's full-sized avatar
🏠
Working from home

shirozatou

🏠
Working from home
View GitHub Profile
@shirozatou
shirozatou / archlinux_kwin_3fingers.sh
Created November 26, 2025 16:05
Rebuild archlinux kwin with 3-fingers gesture overview instead of 4
#!/bin/bash
REPO=https://gitlab.archlinux.org/archlinux/packaging/packages/kwin.git
set -euo pipefail
DIR=$(mktemp -d)
trap 'rm -rf "$DIR"' EXIT
git clone --depth=1 -b $(pacman -Q kwin | cut -d' ' -f2) "$REPO" "$DIR"
cd "$DIR"
# 3-fingers gesture for overview
@shirozatou
shirozatou / Android.md
Last active October 7, 2025 21:03
Use ML Kit's barcode scanning API without Firebase dependencies or datatransport stuff

Use ML Kit's barcode scanning API without Firebase dependencies or datatransport stuff

Gradle

Before

dependencies {
    implementation("com.google.mlkit:barcode-scanning:17.3.0")
}