Skip to content

Instantly share code, notes, and snippets.

View st-j's full-sized avatar

Stefan st-j

  • uni softwarep plus GmbH
  • Austria
View GitHub Profile
@st-j
st-j / date_conversion.cpp
Created August 23, 2014 21:46
Convert between boost dates and Unix timestamps (time_t)
#include <ctime>
#include <iostream>
#include <boost/date_time/gregorian/gregorian.hpp>
#include <boost/date_time/posix_time/posix_time.hpp>
//==============================================================================
//! Convert date part of Unix timestamp (time_t) to boost date
//!
@st-j
st-j / .gitignore
Last active August 29, 2015 14:04 — forked from niw/create_color_list.m
create_color_list
Colors.clr