Skip to content

Instantly share code, notes, and snippets.

View claui's full-sized avatar
:octocat:
High-maintenance maintainer

Claudia Pellegrino claui

:octocat:
High-maintenance maintainer
View GitHub Profile
@claui
claui / opensearch-zolltarifnummern-de.xml
Created October 2, 2021 21:22
OpenSearch descriptor for searching zolltarifnummern.de
<?xml version="1.0" encoding="utf-8"?>
<OpenSearchDescription xmlns="http://a9.com/-/spec/opensearch/1.1/">
<ShortName>zolltarifnummern.de</ShortName>
<Description/>
<InputEncoding>UTF-8</InputEncoding>
<Image height="32" width="32" type="image/x-icon">https://www.tariffnumber.com/favicon.ico</Image>
<Url type="text/html" template="https://www.tariffnumber.com/2019/{searchTerms}">
<Param name="lang" value="de"/>
</Url>
</OpenSearchDescription>
@claui
claui / 1password.asc
Created September 27, 2023 12:39
Prepare 1Password installation on Debian
-----BEGIN PGP PUBLIC KEY BLOCK-----
mQINBFkeAh4BEACy6fUHiFi/YvXZ2E5Gs7qFL8TSKQGLt0g8w/NtBotMNveW2Nzg
aXcmJ2E0aXY7nBRtpIgRRrb7XuskDZwGmVx4PQshaZuIozS0T1kdMitobi4k3g2M
551yf1bPWl1neVJ5MmbpknnaIG6VjMHxcRKE0xXDYhpBtt7QQQw1HT8vOjUOXBUf
VIj2o7I/+cRGNgDdkbuGRccC8hSGyiWXy4FY8xPvxMSCXoL5w531ewaGl/M+mAOC
3c6T7S05CcNN50Z6wulCiDZGvuJ2547E5iU9KClAEchJH9yQ2PkLHy3OQi0lBt+4
PmGeBOIxvFVXGbtGGtx6oFZxVaYDzF+BHHHRRdUs75pWzRm5y/3j0j+O4UKLWvMx
3SN7gRRu6gP5nvOw6wdyYerci2NHx1JJKlM6d6zxEj+cJ4GoBeJQhJi3UVpDy0Hh
TX3iid9Zz1ansQrSujXU2t82695WTGau5sarheDya4niKfVOh4IDMBbA17fnqJbS
@claui
claui / Homebrew in a multi-user environment.md
Created November 22, 2020 11:13
Using Homebrew on macOS in a multi-user environment

I’ve had success using Homebrew in a multi-user environment the following way:

Create a shared Homebrew user

Create a new (non-GUI) user, group and home directory:

sudo /usr/sbin/sysadminctl -addUser brew \
  -fullName 'Homebrew' -admin -home /var/brew \
  -password - -UID 430 \
@claui
claui / Debian.md
Last active February 24, 2024 12:29
Random notes on Debian packaging

Notes on Debian packaging

Donnerstag, 07.09.2023

sudo mkdir -pv /var/lib/debbuild/aarch64/root
sudo debootstrap --arch arm64 byzantium /var/lib/debbuild/aarch64/root
@claui
claui / opensearch-archlinux-package-source-files.xml
Created March 5, 2024 14:30
OpenSearch descriptor to search package source files in Arch Linux’s GitLab
<OpenSearchDescription xmlns="http://a9.com/-/spec/opensearch/1.1/"
xmlns:moz="http://www.mozilla.org/2006/browser/search/">
<ShortName>Arch Linux package source files</ShortName>
<Description>Search package source files in Arch Linux’s GitLab</Description>
<InputEncoding>UTF-8</InputEncoding>
<Image width="16" height="16" type="image/x-icon">https://gitlab.archlinux.org/favicon.ico</Image>
<Url type="text/html" method="get"
template="https://gitlab.archlinux.org/search">
<Param name="group_id" value="11323" /><!-- Packages -->
<Param name="scope" value="blobs" />
@claui
claui / opensearch-aur.xml
Created October 2, 2021 21:04
OpenSearch descriptor for the Arch User Repository (AUR)
<?xml version="1.0" encoding="utf-8"?>
<OpenSearchDescription xmlns="http://a9.com/-/spec/opensearch/1.1/">
<ShortName>AUR</ShortName>
<LongName>Arch User Repository</LongName>
<Description/>
<InputEncoding>UTF-8</InputEncoding>
<Image height="16" width="16" type="image/x-icon">https://www.archlinux.org/static/favicon.29302f683ff8.ico</Image>
<Image height="64" width="64" type="image/png">https://www.archlinux.org/static/logos/icon-transparent-64x64.9ed71ce9197d.png</Image>
<Url type="text/html" template="https://aur.archlinux.org/packages/">
<Param name="O" value="0"/>
@claui
claui / install_jtool2.sh
Last active April 29, 2024 06:32
How to install Jonathan Levin’s jtool2 on macOS 11.0 (Apple Silicon)
# Copy and paste the following snippet, including brackets, into the Terminal
(
set -e;
cd "$(mktemp -d)"
curl -LO 'http://www.newosxbook.com/tools/jtool2.tgz'
tar -x -f jtool2.tgz
lipo jtool2 -thin x86_64 -output jtool2.x86_64
lipo disarm -thin x86_64 -output disarm.x86_64
sudo mkdir -p /usr/local/bin