Skip to content

Commit

Permalink
Update
Browse files Browse the repository at this point in the history
  • Loading branch information
damianavila committed Aug 30, 2013
1 parent ca2f378 commit 6e51962
Show file tree
Hide file tree
Showing 65 changed files with 88 additions and 88 deletions.
Binary file modified .doit.db
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,12 @@
<p>A lot of users of the <code>slides</code> option in <code>IPython.nbconvert</code> asked me about how to get a pdf from the generated Reveal.js-based slideshow.</p>
<p>To make the story short, here you have the detailed steps: <!-- TEASER_END --></p>
<ul>
<li>cd in the directory where your slideshow lives</li>
<li>add this custom.css file: <a href="https://gist.github.com/damianavila/6211198">https://gist.github.com/damianavila/6211198</a></li>
<li><code>cd</code> in the directory where your slideshow lives</li>
<li>add this <code>custom.css</code> file: <a href="https://gist.github.com/damianavila/6211198">https://gist.github.com/damianavila/6211198</a></li>
<li>run this little snippet: <a href="https://gist.github.com/damianavila/6211211">https://gist.github.com/damianavila/6211211</a></li>
<li>run <code>python -m SimpleHTTPServer 8001</code></li>
<li>open Mozilla Firefox browser and point to localhost:8001</li>
<li>add ?print.pdf to the end of the url (ie, http://127.0.0.1:8001/your-ipynb.slides.html?print-pdf)</li>
<li>open Mozilla Firefox browser and point to <code>localhost:8001</code></li>
<li>add <code>?print.pdf</code> to the end of the url (ie, <code>http://127.0.0.1:8001/your-ipynb.slides.html?print-pdf</code>)</li>
<li>print to pdf (use <em>Landscape</em> orientation)</li>
</ul>
<p>Do you want to get this little hack integrated to IPython? @fperez, the IPython BDFL does:</p>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,12 @@
<p>A lot of users of the <code>slides</code> option in <code>IPython.nbconvert</code> asked me about how to get a pdf from the generated Reveal.js-based slideshow.</p>
<p>To make the story short, here you have the detailed steps: <!-- TEASER_END --></p>
<ul>
<li>cd in the directory where your slideshow lives</li>
<li>add this custom.css file: <a href="https://gist.github.com/damianavila/6211198">https://gist.github.com/damianavila/6211198</a></li>
<li><code>cd</code> in the directory where your slideshow lives</li>
<li>add this <code>custom.css</code> file: <a href="https://gist.github.com/damianavila/6211198">https://gist.github.com/damianavila/6211198</a></li>
<li>run this little snippet: <a href="https://gist.github.com/damianavila/6211211">https://gist.github.com/damianavila/6211211</a></li>
<li>run <code>python -m SimpleHTTPServer 8001</code></li>
<li>open Mozilla Firefox browser and point to localhost:8001</li>
<li>add ?print.pdf to the end of the url (ie, http://127.0.0.1:8001/your-ipynb.slides.html?print-pdf)</li>
<li>open Mozilla Firefox browser and point to <code>localhost:8001</code></li>
<li>add <code>?print.pdf</code> to the end of the url (ie, <code>http://127.0.0.1:8001/your-ipynb.slides.html?print-pdf</code>)</li>
<li>print to pdf (use <em>Landscape</em> orientation)</li>
</ul>
<p>Do you want to get this little hack integrated to IPython? @fperez, the IPython BDFL does:</p>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@
<div class="text_cell_render border-box-sizing rendered_html">
<p>Do you want it? You can get it!</p>
<p>It is available inside the IPython-notebook-extensions <a href="https://github.com/ipython-contrib/IPython-notebook-extensions">repo</a> under the IPython-contrib organization [1].</p>
<p>In the custom.js file you can select which background image do you want to use (there are some available inside the extension, but you can also use your ow image ;-)).</p>
<p>In the custom.js file you can select which background image do you want to use (there are some available inside the extension, but you can also use your own image ;-)).</p>
<p>Enjoy it!</p>
<p>Damián</p>
<p>PS: As usual, open any issue (bug or idea) at the Github repo (or report me here at the comments). Thanks!</p>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ In&nbsp;[1]:
<div class="text_cell_render border-box-sizing rendered_html">
<p>Do you want it? You can get it!</p>
<p>It is available inside the IPython-notebook-extensions <a href="https://github.com/ipython-contrib/IPython-notebook-extensions">repo</a> under the IPython-contrib organization [1].</p>
<p>In the custom.js file you can select which background image do you want to use (there are some available inside the extension, but you can also use your ow image ;-)).</p>
<p>In the custom.js file you can select which background image do you want to use (there are some available inside the extension, but you can also use your own image ;-)).</p>
<p>Enjoy it!</p>
<p>Damián</p>
<p>PS: As usual, open any issue (bug or idea) at the Github repo (or report me here at the comments). Thanks!</p>
Expand Down
2 changes: 1 addition & 1 deletion output/categories/blog.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0"><channel><title>Damian's blog (blog)</title><link>http://www.damian.oquanta.info</link><description>My place to share some thoughts with the world.</description><lastBuildDate>Fri, 30 Aug 2013 20:29:23 GMT</lastBuildDate><generator>nikola</generator><docs>http://blogs.law.harvard.edu/tech/rss</docs><item><title>One line deployment of your site to gh-pages</title><link>http://www.damian.oquanta.info/posts/one-line-deployment-of-your-site-to-gh-pages.html</link><description>&lt;div class="text_cell_render border-box-sizing rendered_html"&gt;
<rss version="2.0"><channel><title>Damian's blog (blog)</title><link>http://www.damian.oquanta.info</link><description>My place to share some thoughts with the world.</description><lastBuildDate>Fri, 30 Aug 2013 20:34:35 GMT</lastBuildDate><generator>nikola</generator><docs>http://blogs.law.harvard.edu/tech/rss</docs><item><title>One line deployment of your site to gh-pages</title><link>http://www.damian.oquanta.info/posts/one-line-deployment-of-your-site-to-gh-pages.html</link><description>&lt;div class="text_cell_render border-box-sizing rendered_html"&gt;
&lt;p&gt;Do you want to &lt;strong&gt;easily&lt;/strong&gt; deploy your site to Github pages?&lt;/p&gt;
&lt;p&gt;OK, here we go...&lt;/p&gt;
&lt;ol style="list-style-type: decimal"&gt;
Expand Down
2 changes: 1 addition & 1 deletion output/categories/extension.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0"><channel><title>Damian's blog (extension)</title><link>http://www.damian.oquanta.info</link><description>My place to share some thoughts with the world.</description><lastBuildDate>Fri, 30 Aug 2013 20:29:23 GMT</lastBuildDate><generator>nikola</generator><docs>http://blogs.law.harvard.edu/tech/rss</docs><item><title>Zen mode extension for the IPython notebook</title><link>http://www.damian.oquanta.info/posts/zen-mode-extension-for-the-ipython-notebook.html</link><description>&lt;div class="text_cell_render border-box-sizing rendered_html"&gt;
<rss version="2.0"><channel><title>Damian's blog (extension)</title><link>http://www.damian.oquanta.info</link><description>My place to share some thoughts with the world.</description><lastBuildDate>Fri, 30 Aug 2013 20:34:35 GMT</lastBuildDate><generator>nikola</generator><docs>http://blogs.law.harvard.edu/tech/rss</docs><item><title>Zen mode extension for the IPython notebook</title><link>http://www.damian.oquanta.info/posts/zen-mode-extension-for-the-ipython-notebook.html</link><description>&lt;div class="text_cell_render border-box-sizing rendered_html"&gt;
&lt;p&gt;I write a lot stuff inside the IPython notebook.&lt;/p&gt;
&lt;p&gt;And I thought it would be great to have a &lt;em&gt;sort&lt;/em&gt; of &lt;strong&gt;Zen mode&lt;/strong&gt; for the notebook...&lt;/p&gt;
&lt;p&gt;I mean, a &lt;em&gt;peaceful&lt;/em&gt; user interface to write my blog posts (and other stuff, of course).&lt;/p&gt;
Expand Down
2 changes: 1 addition & 1 deletion output/categories/facundo.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0"><channel><title>Damian's blog (Facundo)</title><link>http://www.damian.oquanta.info</link><description>My place to share some thoughts with the world.</description><lastBuildDate>Fri, 30 Aug 2013 20:29:23 GMT</lastBuildDate><generator>nikola</generator><docs>http://blogs.law.harvard.edu/tech/rss</docs><item><title>Under the Sea... en La Plata</title><link>http://www.damian.oquanta.info/posts/under-the-sea-en-la-plata.html</link><description>&lt;div&gt;&lt;div class="text_cell_render border-box-sizing rendered_html"&gt;
<rss version="2.0"><channel><title>Damian's blog (Facundo)</title><link>http://www.damian.oquanta.info</link><description>My place to share some thoughts with the world.</description><lastBuildDate>Fri, 30 Aug 2013 20:34:35 GMT</lastBuildDate><generator>nikola</generator><docs>http://blogs.law.harvard.edu/tech/rss</docs><item><title>Under the Sea... en La Plata</title><link>http://www.damian.oquanta.info/posts/under-the-sea-en-la-plata.html</link><description>&lt;div&gt;&lt;div class="text_cell_render border-box-sizing rendered_html"&gt;
&lt;p&gt;Han pasado casi tres semanas... El 2 de abril cayeron sobre la ciudad de La Plata casi 400 mm de agua en 24 hs, concentrándose la mayor parte de dicho caudal en dos o tres horas por la tarde, lo que dio lugar a la más grande inundación que la ciudad haya registrado en toda su historia.&lt;/p&gt;
&lt;/div&gt;
&lt;div class="text_cell_render border-box-sizing rendered_html"&gt;
Expand Down
2 changes: 1 addition & 1 deletion output/categories/family.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0"><channel><title>Damian's blog (family)</title><link>http://www.damian.oquanta.info</link><description>My place to share some thoughts with the world.</description><lastBuildDate>Fri, 30 Aug 2013 20:29:23 GMT</lastBuildDate><generator>nikola</generator><docs>http://blogs.law.harvard.edu/tech/rss</docs><item><title>Under the Sea... en La Plata</title><link>http://www.damian.oquanta.info/posts/under-the-sea-en-la-plata.html</link><description>&lt;div&gt;&lt;div class="text_cell_render border-box-sizing rendered_html"&gt;
<rss version="2.0"><channel><title>Damian's blog (family)</title><link>http://www.damian.oquanta.info</link><description>My place to share some thoughts with the world.</description><lastBuildDate>Fri, 30 Aug 2013 20:34:35 GMT</lastBuildDate><generator>nikola</generator><docs>http://blogs.law.harvard.edu/tech/rss</docs><item><title>Under the Sea... en La Plata</title><link>http://www.damian.oquanta.info/posts/under-the-sea-en-la-plata.html</link><description>&lt;div&gt;&lt;div class="text_cell_render border-box-sizing rendered_html"&gt;
&lt;p&gt;Han pasado casi tres semanas... El 2 de abril cayeron sobre la ciudad de La Plata casi 400 mm de agua en 24 hs, concentrándose la mayor parte de dicho caudal en dos o tres horas por la tarde, lo que dio lugar a la más grande inundación que la ciudad haya registrado en toda su historia.&lt;/p&gt;
&lt;/div&gt;
&lt;div class="text_cell_render border-box-sizing rendered_html"&gt;
Expand Down
2 changes: 1 addition & 1 deletion output/categories/first_post.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0"><channel><title>Damian's blog (first_post)</title><link>http://www.damian.oquanta.info</link><description>My place to share some thoughts with the world.</description><lastBuildDate>Fri, 30 Aug 2013 20:29:23 GMT</lastBuildDate><generator>nikola</generator><docs>http://blogs.law.harvard.edu/tech/rss</docs><item><title>Hello World! Again...</title><link>http://www.damian.oquanta.info/posts/hello-world-again.html</link><description>&lt;p&gt;You know that I have attempted to run a blog before. This is a new attempt...
<rss version="2.0"><channel><title>Damian's blog (first_post)</title><link>http://www.damian.oquanta.info</link><description>My place to share some thoughts with the world.</description><lastBuildDate>Fri, 30 Aug 2013 20:34:35 GMT</lastBuildDate><generator>nikola</generator><docs>http://blogs.law.harvard.edu/tech/rss</docs><item><title>Hello World! Again...</title><link>http://www.damian.oquanta.info/posts/hello-world-again.html</link><description>&lt;p&gt;You know that I have attempted to run a blog before. This is a new attempt...
OK, I do not promise to post everyday... but if you have patience,
you will read a lot of interesting things (at least interesting for me).&lt;/p&gt;
&lt;p&gt;See you soon!&lt;/p&gt;
Expand Down
2 changes: 1 addition & 1 deletion output/categories/flood.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0"><channel><title>Damian's blog (flood)</title><link>http://www.damian.oquanta.info</link><description>My place to share some thoughts with the world.</description><lastBuildDate>Fri, 30 Aug 2013 20:29:23 GMT</lastBuildDate><generator>nikola</generator><docs>http://blogs.law.harvard.edu/tech/rss</docs><item><title>Under the Sea... en La Plata</title><link>http://www.damian.oquanta.info/posts/under-the-sea-en-la-plata.html</link><description>&lt;div&gt;&lt;div class="text_cell_render border-box-sizing rendered_html"&gt;
<rss version="2.0"><channel><title>Damian's blog (flood)</title><link>http://www.damian.oquanta.info</link><description>My place to share some thoughts with the world.</description><lastBuildDate>Fri, 30 Aug 2013 20:34:35 GMT</lastBuildDate><generator>nikola</generator><docs>http://blogs.law.harvard.edu/tech/rss</docs><item><title>Under the Sea... en La Plata</title><link>http://www.damian.oquanta.info/posts/under-the-sea-en-la-plata.html</link><description>&lt;div&gt;&lt;div class="text_cell_render border-box-sizing rendered_html"&gt;
&lt;p&gt;Han pasado casi tres semanas... El 2 de abril cayeron sobre la ciudad de La Plata casi 400 mm de agua en 24 hs, concentrándose la mayor parte de dicho caudal en dos o tres horas por la tarde, lo que dio lugar a la más grande inundación que la ciudad haya registrado en toda su historia.&lt;/p&gt;
&lt;/div&gt;
&lt;div class="text_cell_render border-box-sizing rendered_html"&gt;
Expand Down
2 changes: 1 addition & 1 deletion output/categories/gh-pages.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0"><channel><title>Damian's blog (gh-pages)</title><link>http://www.damian.oquanta.info</link><description>My place to share some thoughts with the world.</description><lastBuildDate>Fri, 30 Aug 2013 20:29:23 GMT</lastBuildDate><generator>nikola</generator><docs>http://blogs.law.harvard.edu/tech/rss</docs><item><title>One line deployment of your site to gh-pages</title><link>http://www.damian.oquanta.info/posts/one-line-deployment-of-your-site-to-gh-pages.html</link><description>&lt;div class="text_cell_render border-box-sizing rendered_html"&gt;
<rss version="2.0"><channel><title>Damian's blog (gh-pages)</title><link>http://www.damian.oquanta.info</link><description>My place to share some thoughts with the world.</description><lastBuildDate>Fri, 30 Aug 2013 20:34:35 GMT</lastBuildDate><generator>nikola</generator><docs>http://blogs.law.harvard.edu/tech/rss</docs><item><title>One line deployment of your site to gh-pages</title><link>http://www.damian.oquanta.info/posts/one-line-deployment-of-your-site-to-gh-pages.html</link><description>&lt;div class="text_cell_render border-box-sizing rendered_html"&gt;
&lt;p&gt;Do you want to &lt;strong&gt;easily&lt;/strong&gt; deploy your site to Github pages?&lt;/p&gt;
&lt;p&gt;OK, here we go...&lt;/p&gt;
&lt;ol style="list-style-type: decimal"&gt;
Expand Down
2 changes: 1 addition & 1 deletion output/categories/git.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0"><channel><title>Damian's blog (git)</title><link>http://www.damian.oquanta.info</link><description>My place to share some thoughts with the world.</description><lastBuildDate>Fri, 30 Aug 2013 20:29:23 GMT</lastBuildDate><generator>nikola</generator><docs>http://blogs.law.harvard.edu/tech/rss</docs><item><title>One line deployment of your site to gh-pages</title><link>http://www.damian.oquanta.info/posts/one-line-deployment-of-your-site-to-gh-pages.html</link><description>&lt;div class="text_cell_render border-box-sizing rendered_html"&gt;
<rss version="2.0"><channel><title>Damian's blog (git)</title><link>http://www.damian.oquanta.info</link><description>My place to share some thoughts with the world.</description><lastBuildDate>Fri, 30 Aug 2013 20:34:35 GMT</lastBuildDate><generator>nikola</generator><docs>http://blogs.law.harvard.edu/tech/rss</docs><item><title>One line deployment of your site to gh-pages</title><link>http://www.damian.oquanta.info/posts/one-line-deployment-of-your-site-to-gh-pages.html</link><description>&lt;div class="text_cell_render border-box-sizing rendered_html"&gt;
&lt;p&gt;Do you want to &lt;strong&gt;easily&lt;/strong&gt; deploy your site to Github pages?&lt;/p&gt;
&lt;p&gt;OK, here we go...&lt;/p&gt;
&lt;ol style="list-style-type: decimal"&gt;
Expand Down
2 changes: 1 addition & 1 deletion output/categories/ipython.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0"><channel><title>Damian's blog (IPython)</title><link>http://www.damian.oquanta.info</link><description>My place to share some thoughts with the world.</description><lastBuildDate>Fri, 30 Aug 2013 20:29:23 GMT</lastBuildDate><generator>nikola</generator><docs>http://blogs.law.harvard.edu/tech/rss</docs><item><title>A little hack to get a pdf from your IPython slides</title><link>http://www.damian.oquanta.info/posts/a-little-hack-to-get-a-pdf-from-your-ipython-slides.html</link><description>&lt;div class="text_cell_render border-box-sizing rendered_html"&gt;
<rss version="2.0"><channel><title>Damian's blog (IPython)</title><link>http://www.damian.oquanta.info</link><description>My place to share some thoughts with the world.</description><lastBuildDate>Fri, 30 Aug 2013 20:34:35 GMT</lastBuildDate><generator>nikola</generator><docs>http://blogs.law.harvard.edu/tech/rss</docs><item><title>A little hack to get a pdf from your IPython slides</title><link>http://www.damian.oquanta.info/posts/a-little-hack-to-get-a-pdf-from-your-ipython-slides.html</link><description>&lt;div class="text_cell_render border-box-sizing rendered_html"&gt;
&lt;p&gt;A lot of users of the &lt;code&gt;slides&lt;/code&gt; option in &lt;code&gt;IPython.nbconvert&lt;/code&gt; asked me about how to get a pdf from the generated Reveal.js-based slideshow.&lt;/p&gt;
&lt;p&gt;To make the story short, here you have the detailed steps: &lt;/p&gt;&lt;p&gt;&lt;a href="/posts/a-little-hack-to-get-a-pdf-from-your-ipython-slides.html"&gt;Read more...&lt;/a&gt;&lt;/p&gt;&lt;/div&gt;</description><category>python</category><category>IPython</category><category>nbconvert</category><category>reveal</category><category>slideshow</category><category>pdf</category><guid>http://www.damian.oquanta.info/posts/a-little-hack-to-get-a-pdf-from-your-ipython-slides.html</guid><pubDate>Fri, 30 Aug 2013 20:25:39 GMT</pubDate></item><item><title>Zen mode extension for the IPython notebook</title><link>http://www.damian.oquanta.info/posts/zen-mode-extension-for-the-ipython-notebook.html</link><description>&lt;div class="text_cell_render border-box-sizing rendered_html"&gt;
&lt;p&gt;I write a lot stuff inside the IPython notebook.&lt;/p&gt;
Expand Down
2 changes: 1 addition & 1 deletion output/categories/javascript.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0"><channel><title>Damian's blog (javascript)</title><link>http://www.damian.oquanta.info</link><description>My place to share some thoughts with the world.</description><lastBuildDate>Fri, 30 Aug 2013 20:29:23 GMT</lastBuildDate><generator>nikola</generator><docs>http://blogs.law.harvard.edu/tech/rss</docs><item><title>Zen mode extension for the IPython notebook</title><link>http://www.damian.oquanta.info/posts/zen-mode-extension-for-the-ipython-notebook.html</link><description>&lt;div class="text_cell_render border-box-sizing rendered_html"&gt;
<rss version="2.0"><channel><title>Damian's blog (javascript)</title><link>http://www.damian.oquanta.info</link><description>My place to share some thoughts with the world.</description><lastBuildDate>Fri, 30 Aug 2013 20:34:35 GMT</lastBuildDate><generator>nikola</generator><docs>http://blogs.law.harvard.edu/tech/rss</docs><item><title>Zen mode extension for the IPython notebook</title><link>http://www.damian.oquanta.info/posts/zen-mode-extension-for-the-ipython-notebook.html</link><description>&lt;div class="text_cell_render border-box-sizing rendered_html"&gt;
&lt;p&gt;I write a lot stuff inside the IPython notebook.&lt;/p&gt;
&lt;p&gt;And I thought it would be great to have a &lt;em&gt;sort&lt;/em&gt; of &lt;strong&gt;Zen mode&lt;/strong&gt; for the notebook...&lt;/p&gt;
&lt;p&gt;I mean, a &lt;em&gt;peaceful&lt;/em&gt; user interface to write my blog posts (and other stuff, of course).&lt;/p&gt;
Expand Down
Loading

0 comments on commit 6e51962

Please sign in to comment.