# put stock boot.img into /sdcard/boot.img
# get sha1
adb shell
su
SHA1=$(cat $(magisk --path)/.magisk/config | grep SHA1 | cut -d '=' -f 2)
from json import loads | |
from logging import getLogger | |
from time import wait | |
from requests import get, post | |
_HOMESERVER_URI = "" | |
_USER_TOKEN = "" | |
_ROOMID = "" | |
_TOMATCH = "" |
#!/bin/bash | |
set -e | |
mx_get() { | |
curl -s -H "Authorization: Bearer $TOKEN" $HS/$1 | |
} | |
mx_post() { | |
curl -s -X POST -H "Authorization: Bearer $TOKEN" -H "Content-type: application/json" -d "$1" $HS/$2 |
This gist has migrated to the repo below.
Please submit new entries as pull requests to https://github.com/jauderho/nts-servers.
Initial source: https://docs.ntpsec.org/latest/NTS-QuickStart.html
With wf-recorder it is possible to record one output. When ffmpeg is compiled with sdl support, then it is possible to use "sdl" as the muxer and replay the recorded video instead of writing it to a file.
/*fix timestamp width in monospace themes*/ | |
#chat.show-seconds .time, #chat.show-seconds .chat-view[data-type="channel"] .msg.highlight .time { | |
width: auto; | |
} | |
/*hide message sender name if it comes from the same person as the last one*/ | |
.msg.previous-source .from { | |
visibility: hidden; | |
} |
[Unit] | |
# Usage: systemctl enable --now duperemove-weekly@$(systemd-escape <path>).timer | |
# Utilize %J specifier for duration set. | |
# One can hardlink/copy with 'weekly' part changed | |
# to set other duration. | |
Description=Deduplicate %I at calendar event (%J) | |
After=local-fs.target | |
Requires=local-fs.target | |
Conflicts=shutdown.target rescue.target rescue.service emergency.service |
#!/usr/bin/env python3 | |
import os | |
import sys | |
try: | |
import usb.core | |
import usb.util | |
except ImportError: |
We did it! We broke gist.github.com ;) So head over to the new home! Thank you all!
2021.10.20: https://github.com/AveYo/MediaCreationTool.bat now open for interaction
Not just an Universal MediaCreationTool wrapper script with ingenious support for business editions,
A powerful yet simple windows 10 / 11 deployment automation tool as well!
This was created years ago; at the time I'd been a Shibboleth admin for nearly a decade but we needed something that could handle OIDC/OAuth and that explicitly supported OpenJDK. After a lot of investigation, I really liked Keycloak/Red Hat Single Sign-On. More details here: Gluu vs keycloack vs wso2 identity management
(Items in bold indicate possible concerns)