Skip to content

Instantly share code, notes, and snippets.

View mfisher87's full-sized avatar

Matt Fisher mfisher87

View GitHub Profile
@mfisher87
mfisher87 / qgr-font-fix.patch
Created August 24, 2023 02:21
QGreenland font fix patch
This file has been truncated, but you can view the full file.
diff --git a/qgreenland.qgs b/qgreenland.qgs
index 88355e7..602d180 100644
--- a/qgreenland.qgs
+++ b/qgreenland.qgs
@@ -1,5 +1,5 @@
<!DOCTYPE qgis PUBLIC 'http://mrcc.com/qgis.dtd' 'SYSTEM'>
-<qgis projectname="QGreenland" saveDateTime="2023-08-24T00:58:28" version="3.28.8-Firenze" saveUserFull="root" saveUser="root">
+<qgis version="3.28.4-Firenze" saveUserFull="Robin Robatt Matt" saveUser="robatt" saveDateTime="2023-08-23T20:15:33" projectname="QGreenland">
<homePath path=""/>
<title>QGreenland</title>
@mfisher87
mfisher87 / admonition_test.md
Created October 7, 2023 16:38
Markdown admonition test

Note

Highlights information that users should take into account, even when skimming.

Important

Crucial information necessary for users to succeed.

Warning

>

@mfisher87
mfisher87 / post-rewrite
Last active May 6, 2024 18:11
A `post-rewrite` Git hook for moving tags from the old to new commit
#!/usr/bin/env python
"""Move tags from old commit to new commit on every re-written commit.
WARNING: This is generally not a good idea.
Why would you want to do this? I hope you have a _very_ good reason! For example,
applying metadata changes to every release on a pre-commit mirror.
"""
import subprocess
import sys