Skip to content

Instantly share code, notes, and snippets.

@mtao
mtao / eigen_boost_serialization.hpp
Last active March 15, 2024 02:49
Boost serialization for Eigen Matrix and SparseMatrix structures (plus triplets as a helper in SparseMatrix)
/*
Copyright (c) 2015 Michael Tao
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
@vergissberlin
vergissberlin / rst2html.css
Last active January 3, 2018 02:55
Documentation: Create GitHub like styled html doc file with rst2html
/**
* :Author: Chad Skeeters
* :Contact: cskeeters@nciinc.com
* Stylesheet for use with Docutils/rst2html.
* Example: rst2html --stylesheet=rst2html.css README.rst doc/html/README.html
*/
html {
font-size: 100%;
-webkit-text-size-adjust: 100%;
@shimizukawa
shimizukawa / README.rst
Last active August 29, 2015 14:08
link2rst : Sphinx linkto context function for template of HTML builder. (CC BY)