Skip to content

Instantly share code, notes, and snippets.

View rzhw's full-sized avatar

Richard Wang rzhw

View GitHub Profile
@rzhw
rzhw / README.md
Last active August 29, 2015 14:04 — forked from andersonimes/gist:2490459
ReactiveUI property code snippet fork
  • Separate public/private literals
  • For RxUI 5
  • No private
  • Single line get/set
@rzhw
rzhw / pempublickeytest.c
Last active August 29, 2015 14:21
PEM RSA public key to RSA struct
// gcc pempublickeytest.c -lssl -lcrypto -I/usr/include/openssl/ -o pempublickeytest
#include <stdio.h>
#include <stdlib.h>
#include <openssl/rsa.h>
#include <openssl/bio.h>
#include <openssl/pem.h>
int main() {
BIO *bio = BIO_new_file("blah_rsa.pub.pem", "r");

Keybase proof

I hereby claim:

  • I am rzhw on github.
  • I am rzhw (https://keybase.io/rzhw) on keybase.
  • I have a public key whose fingerprint is 5837 31A6 D0B8 BE23 4837 545C 6E8B 8497 F6EF 6F56

To claim this, I am signing this object: