Skip to content

Instantly share code, notes, and snippets.

View panekj's full-sized avatar
:shipit:
mentally offline

Jakub Panek panekj

:shipit:
mentally offline
View GitHub Profile
@XVilka
XVilka / TrueColour.md
Last active July 9, 2024 23:28
True Colour (16 million colours) support in various terminal applications and terminals

THIS GIST WAS MOVED TO TERMSTANDARD/COLORS REPOSITORY.

PLEASE ASK YOUR QUESTIONS OR ADD ANY SUGGESTIONS AS A REPOSITORY ISSUES OR PULL REQUESTS INSTEAD!

package main
import (
"bufio"
"crypto/tls"
"io"
"log"
"net"
"net/url"
"os"
@JustinGrote
JustinGrote / ExoHttpClient.ps1
Last active July 10, 2024 18:42
Fetch Exchange mailboxes via REST API in parallel using Async and HttpClient
using namespace Microsoft.Exchange.Management.AdminApiProvider
using namespace Microsoft.Exchange.Management.ExoPowershellSnapin
using namespace System.Collections.Generic
using namespace System.Net.Http
using namespace System.Net.Http.Headers
using namespace System.Threading.
<#
I made this as a way to overcome some limitations with very complicated filter queries that exceed the REST limit, while being able to run them in parallel without resorting to runspaces
#>
@soatok
soatok / matrix.md
Last active July 8, 2024 05:43
Why I Don't Trust Matrix Developers to Produce a Secure Protocol

Update (2024-05-17)

Oh hey, this rant of mine is making the rounds.

After I wrote this, one of the Matrix leads commented on it, which prompted me to look at their code. I have since found, uh, 4 3 different cryptographic issues in Matrix's Olm and Megolm code.

Expect a blog post on Dhole Moments at some point in August.

One of them is extremely bad, and will put a lot of burden on Matrix users to mitigate effectively. False alarm: I was mistaken about this one. I'll include it in the write-up, though.