Skip to content

Instantly share code, notes, and snippets.

View Jabb0's full-sized avatar

Felix Jabb0

View GitHub Profile
@Jabb0
Jabb0 / README.md
Last active March 31, 2025 09:51
Fixing macos spotlight and alfred indexing of home manager apps.

I spent two days on this, because I did not want to:

  1. Copy the apps
  2. Use trampolines.
  3. Aliases (because they do not show up as applications).
  4. Wrapper scripts (because I got weird rosetta prompts).

The issues seems to be the symlinks.

What worked for me was a hybrid approach. I copy the Info.plist and the icon and symlink the rest.

@Jabb0
Jabb0 / scanboi.sh
Last active January 3, 2024 21:58
Automatic Scanning for paperless-ngx with ASN barcode
#!/bin/bash
set -e
# Enable ASN barcode detection: https://docs.paperless-ngx.com/configuration/#barcodes
# https://margau.net/posts/2023-04-16-paperless-ngx-asn/
if [ "$#" -ne 1 ]; then
echo "Usage: $0 <initial_counter>"
exit 1
fi
@Jabb0
Jabb0 / Dockerfile
Last active September 9, 2023 11:53
Dockerized Borgbackup
FROM linuxserver/openssh-server:latest
RUN apk add borgbackup