Skip to content

Instantly share code, notes, and snippets.

@Rochet2
Rochet2 / SRP6CryptoHasher.cs
Last active December 27, 2022 11:39
SRP6 for TC in C#/csharp
using System;
using System.Security.Cryptography;
using System.Text;
using System.Numerics;
using System.Collections.Generic;
using System.Linq;
using System.Globalization;
public static class SRP6CryptoHasher {
private static readonly RNGCryptoServiceProvider rngCsp = new RNGCryptoServiceProvider();
@witcheslive
witcheslive / web streaming.md
Last active April 7, 2023 21:00
GET WEB STREAMING WORKING ON YOUR MASTODON INSTANCE NOW!!!!

Do you see three dots everywhere on your Mastodon instance?

Is the console on your instance flodded with

WebSocket connection to 'wss://yourinstance.website/api/v1/streaming/?stream=public:local&access_token=blahblahblah' failed: Error during WebSocket handshake: Unexpected response code: 502

WELL FOR SOME REASON NONE OF THE MASTODON SETUP GUIDES TELL YOU HOW TO SET THIS UP EVEN THOUGH ITS SUPER EASY AND ITS OBNOXIOUS AF

You need to do two things: