Skip to content

Instantly share code, notes, and snippets.

@mmozeiko
mmozeiko / tls_client.c
Last active August 15, 2025 11:17
simple example of TLS socket client using win32 schannel api
#define WIN32_LEAN_AND_MEAN
#include <winsock2.h>
#include <windows.h>
#define SECURITY_WIN32
#include <security.h>
#include <schannel.h>
#include <shlwapi.h>
#include <assert.h>
#include <stdio.h>
@michaellihs
michaellihs / tmux-cheat-sheet.md
Last active October 29, 2025 16:41
tmux Cheat Sheet