Skip to content

Instantly share code, notes, and snippets.

View headupinclouds's full-sized avatar

David Hirvonen headupinclouds

  • Elucideye
  • Brooklyn, NY
View GitHub Profile
@headupinclouds
headupinclouds / how-to.txt
Created February 3, 2018 16:49 — forked from simonw/how-to.md
How to create a tarball of a git repository using "git archive"
git archive --format=tar.gz -o /tmp/my-repo.tar.gz --prefix=my-repo/ master
@headupinclouds
headupinclouds / hdf5_simple.cpp
Created December 13, 2016 12:02 — forked from YukiSakamoto/hdf5_simple.cpp
simple example to write hdf5 using c++.
#include <string>
#include <iostream>
#include "H5Cpp.h"
#define MAX_NAME_LENGTH 32
const std::string FileName("SimpleCompound.h5");
const std::string DatasetName("PersonalInformation");
const std::string member_age("Age");
const std::string member_sex("Sex");
const std::string member_name("Name");