- Clone signald fork used by
matrix-docker-ansible-deploy
:git clone https://mau.dev/maunium/signald.git
cd signald
- Make changes to signald source code (add logging etc)
- Build signald and create a docker image ready for use:
docker build -t signald-debugging .
- Edit
/etc/systemd/system/matrix-mautrix-signal-daemon.service
; replacedock.mau.dev/maunium/signald:latest
withsignald-debugging:latest
- Make sure the modified service configuration is used:
systemctl daemon-reload
- Restart the signald docker container:
systemctl restart matrix-mautrix-signal-daemon
(this will use oursignald-debugging
image to create the container) - Hope the log contains the info you're looking for:
journalctl -fu matrix-mautrix-signal-daemon
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ==UserScript== | |
// @name No unread GitHub notifications | |
// @namespace http://tampermonkey.net/ | |
// @version 0.2 | |
// @description Hide GitHub's unread notification dot in the top bar | |
// @author cketti | |
// @match https://github.com/* | |
// @match https://gist.github.com/* | |
// @icon https://github.githubassets.com/favicons/favicon.svg | |
// @grant GM_addStyle |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ==UserScript== | |
// @name Element youtube preview | |
// @namespace http://tampermonkey.net/ | |
// @version 0.3 | |
// @description fix the embeds!! | |
// @author Cinnabar | |
// @author cketti | |
// @match https://app.element.io | |
// @match https://your.element.url.example | |
// @icon data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw== |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# … | |
# Allow access to /etc/jitsi/meet/start_muted.html | |
<Directory "/etc/jitsi/meet"> | |
<FilesMatch "start_muted.html"> | |
Require all granted | |
</FilesMatch> | |
</Directory> | |
RewriteEngine on |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
private void invalidateCursorPositionHack() { | |
int oldStart = getSelectionStart(); | |
int oldEnd = getSelectionEnd(); | |
// The selection values need to actually change in order for the cursor to be redrawn. If the cursor already | |
// is at position 0 this won't trigger a redraw. But that's fine because the size of our span can't influence | |
// cursor position 0. | |
setSelection(0); | |
setSelection(oldStart, oldEnd); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
src/tck/ | |
src/tck/java/ | |
src/tck/java/time/ | |
src/tck/java/time/format/ | |
src/tck/java/time/format/TCKFormatStyle.java | |
src/tck/java/time/format/TCKOffsetPrinterParser.java | |
src/tck/java/time/format/TCKLocalizedFieldParser.java | |
src/tck/java/time/format/TCKDateTimeTextPrinting.java | |
src/tck/java/time/format/TCKTextStyle.java | |
src/tck/java/time/format/TCKDateTimeFormatter.java |
Build "Sources for Android 29" so you can comfortably browse the Android API source in Android Studio.
- Collect source files
mkdir android-sdk-source-build
cd android-sdk-source-build
mkdir -p frameworks/base
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import android.content.ContentResolver | |
import android.net.Uri | |
import okhttp3.MediaType | |
import okhttp3.RequestBody | |
import okio.BufferedSink | |
import okio.Okio | |
import java.lang.IllegalStateException | |
class ContentUriRequestBody( | |
private val contentResolver: ContentResolver, |
Build "Sources for Android 28" so you can comfortably browse the Android API source in Android Studio.
- Collect source files
mkdir android-sdk-source-build
cd android-sdk-source-build
mkdir -p frameworks/base
Build "Sources for Android 27" so you can comfortably browse the Android API source in Android Studio.
- Collect source files
mkdir android-sdk-source-build
cd android-sdk-source-build
mkdir -p frameworks/base
NewerOlder