Skip to content

Instantly share code, notes, and snippets.

@pfigel
pfigel / convert
Last active Apr 7, 2018
Mastodon nsjail configuration
View convert
#!/usr/bin/env bash
nsjail --quiet --config /etc/nsjail/imagemagick-convert.cfg -- /usr/local/bin/convert "$@"
@pfigel
pfigel / policy.xml
Last active Nov 18, 2017
ImageMagick policy.xml for Mastodon. Requires ImageMagick >= 7.0.4-7
View policy.xml
<?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 / mastodon-changelog.md
Last active Apr 27, 2019
Mastodon.at Changelog
View mastodon-changelog.md

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
View keybase.md

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: