Skip to content

Instantly share code, notes, and snippets.

View marzvrover's full-sized avatar
:fishsticks:

marz marzvrover

:fishsticks:
View GitHub Profile
// <PackageReference Include="Portable.BouncyCastle" Version="1.9.0" />
static void Main(string[] args)
{
Console.WriteLine("Hello, World!");
string payload = @"[{""token"":""some_token"",""type"":""some_type"",""url"":""some_url"",""source"":""some_source""}]";
string signature = "MEUCIFLZzeK++IhS+y276SRk2Pe5LfDrfvTXu6iwKKcFGCrvAiEAhHN2kDOhy2I6eGkOFmxNkOJ+L2y8oQ9A2T9GGJo6WJY=";
string pubKey = "-----BEGIN PUBLIC KEY-----\nMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEsz9ugWDj5jK5ELBK42ynytbo38gPHzZFI03Exwz8Lh/tCfL3YxwMdLjB+bMznsanlhK0RwcGP3IDb34kQDIo3Q==\n-----END PUBLIC KEY-----\n";
@marzvrover
marzvrover / install_psql_php.sh
Last active October 10, 2021 05:58 — forked from giorgiofellipe/install_psql_php.sh
Install PHP PGSQL extensions on macOS (change PHP_VER with your PHP version)
PHP_VER="7.3.31"
# Check if extension exists first
php -m | grep pgsql
# Update brew and install requirements
brew update
brew install autoconf
# Download PHP source and extract