Skip to content

Instantly share code, notes, and snippets.

@Plecra
Plecra / proxy.rs
Created May 3, 2020 17:00
A smol proxy server
use anyhow::*;
use futures::io::{copy, AsyncReadExt, AsyncWriteExt};
use futures::stream::StreamExt;
use log::*;
use smol::Async;
use std::net;
const PORT: u16 = 5000;
@Plecra
Plecra / xinput_audio.cpp
Created April 21, 2020 17:20
Adventures into the cursed land of c++ #NaN.
#include <iostream>
#include <Windows.h>
#include <Xinput.h>
#pragma comment (lib, "xinput.lib")
int main()
{
std::cout << "Hello World!\n";

Keybase proof

I hereby claim:

  • I am plecra on github.
  • I am plecra (https://keybase.io/plecra) on keybase.
  • I have a public key ASCt1FpeyfYLVU28gcmXT3VHtN0sBEcR5xViuOYvMl4UiAo

To claim this, I am signing this object: