Skip to content

Instantly share code, notes, and snippets.

View tamara-schmitz's full-sized avatar
🏳️‍⚧️

Tamara Schmitz tamara-schmitz

🏳️‍⚧️
View GitHub Profile
@tamara-schmitz
tamara-schmitz / json-to-pci-id-list.py
Created July 18, 2022 15:05
supported-gpus.json to pci_ids script
#!/usr/bin/env python3
# Copyright (c) 2022 Tamara Schmitz <tamara.schmitz@suse.com>.
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, version 3.
#
# This program is distributed in the hope that it will be useful, but
# WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
@tamara-schmitz
tamara-schmitz / git-lfs-migration-notes.md
Last active January 26, 2022 17:45
Git LFS migration of a big repo

Make sure that you can run git lfs. If you cannot you are missing a dependency.

If you start a new repo all you need to do is to use git lfs track "*.zip" to mark future file types or directories. But this does not work if you want to migrate an existing repo. If your goal is to save space and make cloning faster, you need to rewrite the entire git history!

It is good to clone the entire repo in a separate folder, before pushing any of your changes.

Do not run git lfs track yet and if you have, remove any .gitattributes files that it has created.

@tamara-schmitz
tamara-schmitz / How to BTRFS with RaspberryPi OS Buster.md
Last active January 31, 2022 15:05
Draft: How to BTRFS with RaspberryPi OS Buster

Creative Commons License This work by Tamara Schmitz is licensed under a Creative Commons Attribution 4.0 International License.

How to BTRFS with RaspberryPi OS Buster

Enable kernel support

Need to create and enable an initramfs in order to add BTRFS kernel mount support.

First off install these packages now.