Skip to content

Instantly share code, notes, and snippets.

View annmuor's full-sized avatar
🏠
Working from home

Ivan Agarkov annmuor

🏠
Working from home
  • Wargaming.net
  • Nicosia, Cyprus
  • X @annmuor
View GitHub Profile
daemon
local 0.0.0.0
port 1194
proto udp
dev tun
ca pki/ca.crt
cert pki/issued/server.crt
key pki/private/server.key
dh pki/dh.pem
server 10.33.33.0 255.255.255.0
@annmuor
annmuor / spectre.c
Created January 4, 2018 13:15 — forked from ErikAugust/spectre.c
Spectre example code
#include <stdio.h>
#include <stdlib.h>
#include <stdint.h>
#ifdef _MSC_VER
#include <intrin.h> /* for rdtscp and clflush */
#pragma optimize("gt",on)
#else
#include <x86intrin.h> /* for rdtscp and clflush */
#endif