Skip to content

Instantly share code, notes, and snippets.

🌴
On vacation

sk cbf fate chen = in china skdjfla

🌴
On vacation
View GitHub Profile
@skdjfla
skdjfla / C++ Predict with caffe
Created Dec 13, 2016 — forked from onauparc/C++ Predict with caffe
sample code for caffe C++ prediction
View C++ Predict with caffe
#include <cuda_runtime.h>
#include <cstring>
#include <cstdlib>
#include <vector>
#include <string>
#include <iostream>
#include <stdio.h>
#include "caffe/caffe.hpp"
View Base64.md

OpenSSL Base64 Encoding: Binary Safe and Portable

Herewith is an example of encoding to and from base64 using OpenSSL's C library. Code presented here is both binary safe, and portable (i.e. it should work on any Posix compliant system e.g. FreeBSD and Linux).

License

The MIT License (MIT)

Copyright (c) 2013 Barry Steyn

You can’t perform that action at this time.