Skip to content

Instantly share code, notes, and snippets.

🎉
Making things for Matrix

Travis Ralston turt2live

🎉
Making things for Matrix
View GitHub Profile
View keybase.md

Keybase proof

I hereby claim:

  • I am turt2live on github.
  • I am turt2live (https://keybase.io/turt2live) on keybase.
  • I have a public key whose fingerprint is 72AF 0316 9A79 0B13 1145 AFBF 7D44 B5EA 1658 5CD5

To claim this, I am signing this object:

View tag_room.sh
# This should be the public-facing name (ie: dns name)
HOME_SERVER_URL="https://matrix.org"
# The room ID is NOT the room alias. The ID can be found at the bottom of the room settings dialog in riot-web
ROOM_ID="!AbCDef823s:matrix.org"
# This is your user ID and access token. The access token must match the user.
USER_ID="@turt2live:matrix.org" # The home server should match this domain as well (ie: t2l.io as a HS should be :t2l.io in the user)
ACCESS_TOKEN="token_here"
View riot-color-scheme.md

Setting a default color scheme (tint) for Riot on your account

Caution: This requires some amount of technical knowledge about how matrix/riot works.

For reference, the original grey color scheme in Riot had a primary color of #595959 and a secondary color of #ececec

  1. Open the developer tools by typing /devtools
  2. Click the "Explore Account Data" button
  3. Click the "im.vector.web.settings" button (if you don't have this button, use the instructions below instead)
View find-github-references.py
import io
import json
import re
import base64
import argparse
import requests
# PYTHON 3
@turt2live
turt2live / .dockerignore
Last active Aug 3, 2018
Automatically redacts spam in matrix, usually sent by freenode spam bots.
View .dockerignore
config.json
node_modules
You can’t perform that action at this time.