Skip to content

Instantly share code, notes, and snippets.

View vanitasvitae's full-sized avatar
🇺🇦
Support Ukraine!

Paul Schaub vanitasvitae

🇺🇦
Support Ukraine!
View GitHub Profile
@vanitasvitae
vanitasvitae / update-matterbridge.sh
Created January 19, 2020 22:13
Script for updating matterbridge
#!/bin/sh
if [ $# -eq 0 ]
then
echo "Usage: update-matterbridge <version>"
exit 1
fi
VERSION=$1
REPO_URL=https://github.com/42wim/matterbridge
@vanitasvitae
vanitasvitae / ColorUtil.java
Last active June 30, 2019 11:19
Reimplementation of some Color related Methods for Android versions < O (26)
/**
*
* Copyright © 2019 Paul Schaub
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
@vanitasvitae
vanitasvitae / Improvements to OMEMO.md
Created January 17, 2018 17:23
Ideas to improve OMEMO
  • Immediately reply to incoming PreKeySignalMessages with an empty SignalMessage without user interaction to finish session creation.
  • Repair broken sessions by replying with an empty PreKeySignalMessage. (The XEP already suggests that this might be the case when a PreKeySignalMessage was received with a missing PreKey).

Keybase proof

I hereby claim:

  • I am vanitasvitae on github.
  • I am vanitasvitae (https://keybase.io/vanitasvitae) on keybase.
  • I have a public key ASBDRplnPRB1L2ommf0cnxJ-_pzdziO5oBXYiGNAo5K_Sgo

To claim this, I am signing this object: