Skip to content

Instantly share code, notes, and snippets.

View carolinux's full-sized avatar
🤗

Ariadni-Karolina Alexiou carolinux

🤗
  • Zurich
View GitHub Profile
# need pandoc (if want to support txt), img2pdf (if want to support images) and pdfjoin (for pdfs)
# stitch together txt, images and pdf files in a folder to an out pdf
# filenames must begin with their desired sequence number ie 1_foo.pdf 2_beach.png 4_ending_notes.txt
# there can be gaps in the sequence
import os
import glob
import sys
folder = sys.argv[1] if len(sys.argv)>1 else '.'
<!DOCTYPE html>
<style>
/* Colors */
body {
background: url(http://i.imgur.com/aZty7Mq.png);
animation: mymove 4s linear infinite;
-webkit-animation: mymove 4s linear infinite;
-moz-animation: mymove 4s linear infinite;
}