Skip to content

Instantly share code, notes, and snippets.

@ardoi
ardoi / gist:114257dd2c2f7cd907a4
Created April 17, 2015 11:51
date regression
{
"cells": [
{
"cell_type": "code",
"execution_count": 1,
"metadata": {
"collapsed": false
},
"outputs": [
{

Keybase proof

I hereby claim:

  • I am ardoi on github.
  • I am ardo (https://keybase.io/ardo) on keybase.
  • I have a public key whose fingerprint is 12DE 1E83 76FF 478A 1582 B5EA 3DC7 81C4 4664 2EF9

To claim this, I am signing this object:

@ardoi
ardoi / authorea_md_to_pdf.py
Last active August 29, 2015 13:58
Script to generate a PDF from Authorea markdown article
import os
import sys
import subprocess
def write_latex_preamble():
"""Write the preamble and ending lines for the tex document.
Abstract and title are read from the corresponding md files"""
with open('title.md') as f:
title = f.readline()
with open('Abstract.md') as f: