Skip to content

Instantly share code, notes, and snippets.

Avatar
🥬

Arvid E. Picciani aep

🥬
View GitHub Profile
@Dids
Dids / Compile_Go_for_Apple_Silicon_M1.md
Last active Jul 28, 2022
Compile Go for Apple Silicon (M1)
View Compile_Go_for_Apple_Silicon_M1.md

Compile Go for Apple Silicon (M1)

Follow these short instructions on how to compile Go for Apple Silicon (M1). From here on out, we may simply refer to it as the "ARM device".

This entire process should only take about 5-10 minutes, but please read through everything carefully, in order to avoid any potential issues along the way.

Note that at the time of writing this, Go was not yet officially available for Apple's ARM.

Additionally it should be noted that this guide expects you to only be working on the ARM device, and not to have Go installed (yet).

@nevesnunes
nevesnunes / openssl_client.c
Last active Feb 7, 2022 — forked from MartinMReed/openssl_client.c
OpenSSL Client, Reference Example
View openssl_client.c
#include <openssl/ssl.h>
#include <openssl/bio.h>
#include <openssl/err.h>
#define HOST "encrypted.google.com"
/**
* Example SSL client that connects to the HOST defined above,
* and prints out the raw response to stdout.
*/