Skip to content

Instantly share code, notes, and snippets.

View autocorr's full-sized avatar

Brian Svoboda autocorr

View GitHub Profile
!!! write spectra to fits
@p:header
!!! read in and select data
file in class_022.smt
set source "RhoOphE"
set line "HTCOP"
set telescope SMT-FQM-*
find
@autocorr
autocorr / fizzbuzz.py
Created May 26, 2014 22:54
FizzBuzz implementation in python
wl = [(3, 'Fizz'),
(5, 'Buzz'),
(7, 'Qux')]
for i in range(0, 101):
print ''.join([w for n, w in wl if not i % n]) or i
#!/usr/bin/env python
# encoding: utf-8
from os.path import splitext
from argparse import ArgumentParser
from markdown import markdown
from weasyprint import HTML
parser = ArgumentParser(description='Write a markdown file to PDF.')