From 1bed0addb5b415aad311c3b1c88429d89b458ed0 Mon Sep 17 00:00:00 2001 From: brettlangdon Date: Thu, 24 Apr 2014 09:11:54 -0400 Subject: [PATCH] initial copy/commit from brettlangdon/slideshow-builder --- .gitignore | 1 + Makefile | 16 ++++++++++++++++ README.md | 6 ++++++ slides/.empty | 0 slides/1_intro.md | 4 ++++ template.html | 36 ++++++++++++++++++++++++++++++++++++ 6 files changed, 63 insertions(+) create mode 100644 .gitignore create mode 100644 Makefile create mode 100644 README.md create mode 100644 slides/.empty create mode 100644 slides/1_intro.md create mode 100644 template.html diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..378eac2 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +build diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..5b907a6 --- /dev/null +++ b/Makefile @@ -0,0 +1,16 @@ +SED=`which gsed || which sed` + +build: clean + @mkdir ./build + @for file in ./slides/*; do cat $$file >> ./build/slides.md; echo '\r\n---\r\n' >> ./build/slides.md; done; + @$(SED) -i -e :a -e '$$d;N;2,3ba' -e 'P;D' ./build/slides.md + @cp ./template.html ./build/index.html + @$(SED) -i -e "/{{slides}}/r ./build/slides.md" -e "//d" ./build/index.html + +clean: + @rm -rf ./build + +run: + @cd ./build && python -m SimpleHTTPServer + +.PHONY: build clean run diff --git a/README.md b/README.md new file mode 100644 index 0000000..c900b65 --- /dev/null +++ b/README.md @@ -0,0 +1,6 @@ +cURL Talk +================= + +A lightning talk about [cURL](http://curl.haxx.se/). + +https://brettlangdon.github.io/curl-talk. diff --git a/slides/.empty b/slides/.empty new file mode 100644 index 0000000..e69de29 diff --git a/slides/1_intro.md b/slides/1_intro.md new file mode 100644 index 0000000..312e9cc --- /dev/null +++ b/slides/1_intro.md @@ -0,0 +1,4 @@ +class: center,middle + +# cURL +### [brettlangdon](http://brett.is) | [Shapeways](https://www.shapeways.com) diff --git a/template.html b/template.html new file mode 100644 index 0000000..74d6d1d --- /dev/null +++ b/template.html @@ -0,0 +1,36 @@ + + + +cURL Talk + + + + + + + + +