Skip to content

Instantly share code, notes, and snippets.

View pfigel's full-sized avatar
😷

Patrick Figel pfigel

😷
View GitHub Profile
@pfigel
pfigel / keybase.md
Last active January 31, 2019 19:29

Keybase proof

I hereby claim:

  • I am pfigel on github.
  • I am pfg (https://keybase.io/pfg) on keybase.
  • I have a public key ASDa-AoPs2w1xZM3b3Bf3oGb_cloXzNSMROYQZ2lKSAFoQo

To claim this, I am signing this object:

@pfigel
pfigel / mastodon-changelog.md
Last active April 27, 2019 22:21
Mastodon.at Changelog

Changelog

This is a list of major changes made to the Mastodon instance hosted at mastodon.at, including software updates, customizations and infrastructure updates, starting from September 17th, 2017. All times are in UTC.

Other notable events such as outages are also recorded here.

2019-04-27:

  • 21:45: Upgraded ImageMagick to 7.0.8-42
  • 21:50: Upgraded FFmpeg to releases/4.1@7c2dd1f
  • 22:00: Upgraded Ruby to 2.6.3
@pfigel
pfigel / policy.xml
Last active November 18, 2017 02:36
ImageMagick policy.xml for Mastodon. Requires ImageMagick >= 7.0.4-7
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE policymap [
<!ELEMENT policymap (policy)+>
<!ATTLIST policymap xmlns CDATA #FIXED ''>
<!ELEMENT policy EMPTY>
<!ATTLIST policy xmlns CDATA #FIXED '' domain NMTOKEN #REQUIRED
name NMTOKEN #IMPLIED pattern CDATA #IMPLIED rights NMTOKEN #IMPLIED
stealth NMTOKEN #IMPLIED value CDATA #IMPLIED>
]>
<policymap>
@pfigel
pfigel / convert
Last active October 26, 2021 16:10
Mastodon nsjail configuration
#!/usr/bin/env bash
nsjail --quiet --config /etc/nsjail/imagemagick-convert.cfg -- /usr/local/bin/convert "$@"