Skip to content

Commit

Permalink
Update
Browse files Browse the repository at this point in the history
  • Loading branch information
damianavila committed Feb 23, 2014
1 parent 302aa53 commit 33c0834
Show file tree
Hide file tree
Showing 401 changed files with 3,458 additions and 3,606 deletions.
Binary file modified .doit.db
Binary file not shown.
5 changes: 5 additions & 0 deletions cache/posts/blogging-with-nikola-and-ipython.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@

<div class="text_cell_render border-box-sizing rendered_html">
<blockquote>
<p><strong>Alert!</strong> This post is outdated, please <code>goto</code> ;-) this <a href="http://www.damian.oquanta.info/posts/ipython-plugin-for-nikola-updated.html">link</a> to get updated information.</p>
</blockquote>
</div>
<div class="text_cell_render border-box-sizing rendered_html">
<p><strong>NOTE</strong>: Obviously, this post was written in the IPython notebook and was rendered by Nikola (helped by nbconvert).</p>
</div>
Expand Down
5 changes: 5 additions & 0 deletions cache/posts/blogging-with-nikola-and-ipython.html.es
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@

<div class="text_cell_render border-box-sizing rendered_html">
<blockquote>
<p><strong>Alert!</strong> This post is outdated, please <code>goto</code> ;-) this <a href="http://www.damian.oquanta.info/posts/ipython-plugin-for-nikola-updated.html">link</a> to get updated information.</p>
</blockquote>
</div>
<div class="text_cell_render border-box-sizing rendered_html">
<p><strong>NOTE</strong>: Obviously, this post was written in the IPython notebook and was rendered by Nikola (helped by nbconvert).</p>
</div>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,6 @@

&lt;/script&gt;

&lt;/body&gt;
{% endblock body %}

</pre>
Expand All @@ -165,5 +164,6 @@
<p><strong>NOTE</strong>: Don't forget to put your <em>ipynb</em>, <em>slides_config.py</em> and <em>default_transition.tpl</em> files in the same folder where you will run the <code>IPython.nbconvert</code> command.</p>
<p>As you can see, the potentiality of this system (<strong>Jinja</strong> templating plus a powerful config system) is really big! We can achieve awesome <em>things</em> in a very easy way!</p>
<p>Any help, just let me know!</p>
<p><strong>Addemdum</strong>: the use of <code>default_transition.tpl</code> generates an invalid but useful final html document. The cause behind this issue is the script containing the <code>Reveal.initialize</code> function, which is located after the closing <code>body</code> tag. All modern browser render this sort of invalid html witout any difficult. But a commenter arose this issue and I think is important to make it available in the post itself.</p>
<p>Damián</p>
</div>
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,6 @@ Reveal.initialize({

&lt;/script&gt;

&lt;/body&gt;
{% endblock body %}

</pre>
Expand All @@ -165,5 +164,6 @@ Reveal.initialize({
<p><strong>NOTE</strong>: Don't forget to put your <em>ipynb</em>, <em>slides_config.py</em> and <em>default_transition.tpl</em> files in the same folder where you will run the <code>IPython.nbconvert</code> command.</p>
<p>As you can see, the potentiality of this system (<strong>Jinja</strong> templating plus a powerful config system) is really big! We can achieve awesome <em>things</em> in a very easy way!</p>
<p>Any help, just let me know!</p>
<p><strong>Addemdum</strong>: the use of <code>default_transition.tpl</code> generates an invalid but useful final html document. The cause behind this issue is the script containing the <code>Reveal.initialize</code> function, which is located after the closing <code>body</code> tag. All modern browser render this sort of invalid html witout any difficult. But a commenter arose this issue and I think is important to make it available in the post itself.</p>
<p>Damián</p>
</div>
70 changes: 2 additions & 68 deletions cache/posts/customizing-your-ipython-slides.html
Original file line number Diff line number Diff line change
Expand Up @@ -13,41 +13,8 @@
<p>Using this message as a trigger (and following with the serie of blog posts explaining some of the IPython slides features), I will explain you how to customize your IPython slides in just two steps:</p>
<p><strong>NOTE</strong>: I will use, as a starting point, the following slides of a talk I gave to journalist and designers at <a href="http://www.mediaparty.info">Hacks/HackersBA</a>, a story to write in another blog post...</p>
</div>
<div class="cell border-box-sizing code_cell vbox">
<div class="input hbox">
<div class="prompt input_prompt">
In&nbsp;[1]:
</div>
<div class="input_area box-flex1">
<div class="highlight"><pre><span class="kn">from</span> <span class="nn">IPython.display</span> <span class="kn">import</span> <span class="n">HTML</span>
<span class="n">HTML</span><span class="p">(</span><span class="s">&#39;&lt;iframe src=&quot;http://damianavila.github.io/hackperiodismo&quot; width=800 height=600&gt;&lt;/iframe&gt;&#39;</span><span class="p">)</span>
</pre></div>

<i class="icon-hand-up icon-large" style="float:right; margin-top:8px; margin-right:10px">&nbsp;&nbsp;Click me!</i>
</div>
</div>

<div class="output_hidden">

<div class="vbox output_wrapper">
<div class="output vbox">


<div class="hbox output_area"><div class="prompt output_prompt">
Out[1]:</div>
<div class="box-flex1 output_subarea output_pyout">

<div class="output_html rendered_html">
<div class="text_cell_render border-box-sizing rendered_html">
<iframe src="http://damianavila.github.io/hackperiodismo" width=800 height=600></iframe>
</div>

</div>
</div>

</div>
</div>

</div>

</div>
<div class="text_cell_render border-box-sizing rendered_html">
Expand Down Expand Up @@ -151,41 +118,8 @@
<p>And now, the example slides rendered with a new darker style...</p>
<p><strong>NOTE</strong>: In this case I applied the NIGHT reveal theme (adding <code>?theme=night</code> to the url) and used the <code>custom.css</code> file to adjust some details ;-) (darker reveal themes need this kind of customization to be rendered OK).</p>
</div>
<div class="cell border-box-sizing code_cell vbox">
<div class="input hbox">
<div class="prompt input_prompt">
In&nbsp;[4]:
</div>
<div class="input_area box-flex1">
<div class="highlight"><pre><span class="kn">from</span> <span class="nn">IPython.display</span> <span class="kn">import</span> <span class="n">HTML</span>
<span class="n">HTML</span><span class="p">(</span><span class="s">&#39;&lt;iframe src=&quot;http://damianavila.github.io/hackperiodismo/index2.html?theme=night&quot; width=800 height=600&gt;&lt;/iframe&gt;&#39;</span><span class="p">)</span>
</pre></div>

<i class="icon-hand-up icon-large" style="float:right; margin-top:8px; margin-right:10px">&nbsp;&nbsp;Click me!</i>
</div>
</div>

<div class="output_hidden">

<div class="vbox output_wrapper">
<div class="output vbox">


<div class="hbox output_area"><div class="prompt output_prompt">
Out[4]:</div>
<div class="box-flex1 output_subarea output_pyout">

<div class="output_html rendered_html">
<div class="text_cell_render border-box-sizing rendered_html">
<iframe src="http://damianavila.github.io/hackperiodismo/index2.html?theme=night" width=800 height=600></iframe>
</div>

</div>
</div>

</div>
</div>

</div>

</div>
<div class="text_cell_render border-box-sizing rendered_html">
Expand Down
70 changes: 2 additions & 68 deletions cache/posts/customizing-your-ipython-slides.html.es
Original file line number Diff line number Diff line change
Expand Up @@ -13,41 +13,8 @@
<p>Using this message as a trigger (and following with the serie of blog posts explaining some of the IPython slides features), I will explain you how to customize your IPython slides in just two steps:</p>
<p><strong>NOTE</strong>: I will use, as a starting point, the following slides of a talk I gave to journalist and designers at <a href="http://www.mediaparty.info">Hacks/HackersBA</a>, a story to write in another blog post...</p>
</div>
<div class="cell border-box-sizing code_cell vbox">
<div class="input hbox">
<div class="prompt input_prompt">
In&nbsp;[1]:
</div>
<div class="input_area box-flex1">
<div class="highlight"><pre><span class="kn">from</span> <span class="nn">IPython.display</span> <span class="kn">import</span> <span class="n">HTML</span>
<span class="n">HTML</span><span class="p">(</span><span class="s">&#39;&lt;iframe src=&quot;http://damianavila.github.io/hackperiodismo&quot; width=800 height=600&gt;&lt;/iframe&gt;&#39;</span><span class="p">)</span>
</pre></div>

<i class="icon-hand-up icon-large" style="float:right; margin-top:8px; margin-right:10px">&nbsp;&nbsp;Click me!</i>
</div>
</div>

<div class="output_hidden">

<div class="vbox output_wrapper">
<div class="output vbox">


<div class="hbox output_area"><div class="prompt output_prompt">
Out[1]:</div>
<div class="box-flex1 output_subarea output_pyout">

<div class="output_html rendered_html">
<div class="text_cell_render border-box-sizing rendered_html">
<iframe src="http://damianavila.github.io/hackperiodismo" width=800 height=600></iframe>
</div>

</div>
</div>

</div>
</div>

</div>

</div>
<div class="text_cell_render border-box-sizing rendered_html">
Expand Down Expand Up @@ -151,41 +118,8 @@ custom.css figs index2.html index.html
<p>And now, the example slides rendered with a new darker style...</p>
<p><strong>NOTE</strong>: In this case I applied the NIGHT reveal theme (adding <code>?theme=night</code> to the url) and used the <code>custom.css</code> file to adjust some details ;-) (darker reveal themes need this kind of customization to be rendered OK).</p>
</div>
<div class="cell border-box-sizing code_cell vbox">
<div class="input hbox">
<div class="prompt input_prompt">
In&nbsp;[4]:
</div>
<div class="input_area box-flex1">
<div class="highlight"><pre><span class="kn">from</span> <span class="nn">IPython.display</span> <span class="kn">import</span> <span class="n">HTML</span>
<span class="n">HTML</span><span class="p">(</span><span class="s">&#39;&lt;iframe src=&quot;http://damianavila.github.io/hackperiodismo/index2.html?theme=night&quot; width=800 height=600&gt;&lt;/iframe&gt;&#39;</span><span class="p">)</span>
</pre></div>

<i class="icon-hand-up icon-large" style="float:right; margin-top:8px; margin-right:10px">&nbsp;&nbsp;Click me!</i>
</div>
</div>

<div class="output_hidden">

<div class="vbox output_wrapper">
<div class="output vbox">


<div class="hbox output_area"><div class="prompt output_prompt">
Out[4]:</div>
<div class="box-flex1 output_subarea output_pyout">

<div class="output_html rendered_html">
<div class="text_cell_render border-box-sizing rendered_html">
<iframe src="http://damianavila.github.io/hackperiodismo/index2.html?theme=night" width=800 height=600></iframe>
</div>

</div>
</div>

</div>
</div>

</div>

</div>
<div class="text_cell_render border-box-sizing rendered_html">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@
<p>and I got something like this (navigate and try it!):</p>
</div>
<div class="text_cell_render border-box-sizing rendered_html">
<iframe src="http://damianavila.github.io/Miscellaneus/Example_IPython_slides.slides.html#/" width="800" height="600"></iframe>
<iframe src="http://damianavila.github.io/miscellaneus/test_slides.slides.html#/3/2" width="800" height="600"></iframe>

</div>
<div class="text_cell_render border-box-sizing rendered_html">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ $(document).ready(function(){
<p>and I got something like this (navigate and try it!):</p>
</div>
<div class="text_cell_render border-box-sizing rendered_html">
<iframe src="http://damianavila.github.io/Miscellaneus/Example_IPython_slides.slides.html#/" width="800" height="600"></iframe>
<iframe src="http://damianavila.github.io/miscellaneus/test_slides.slides.html#/3/2" width="800" height="600"></iframe>

</div>
<div class="text_cell_render border-box-sizing rendered_html">
Expand Down
80 changes: 3 additions & 77 deletions cache/posts/make-your-slides-with-ipython.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,90 +3,16 @@
<p>With the integration of nbconvert inside IPython, the last 1.0 release has the possibility to export the ipynb to other formats such as rst, markdown, latex, html and slides (<a href="http://ipython.org/ipython-doc/stable/interactive/nbconvert.html">info</a>).</p>
<p>The slides option generates a Reveal.js-powered HTML slideshow, like this one: <!-- TEASER_END --></p>
</div>
<div class="cell border-box-sizing code_cell vbox">
<div class="input hbox">
<div class="prompt input_prompt">
In&nbsp;[1]:
</div>
<div class="input_area box-flex1">
<div class="highlight"><pre><span class="kn">from</span> <span class="nn">IPython.display</span> <span class="kn">import</span> <span class="n">HTML</span>
<span class="n">HTML</span><span class="p">(</span><span class="s">&#39;&lt;iframe src=&quot;http://damianavila.github.io/scipy2013_talks/index.html&quot; width=800 height=600&gt;&lt;/iframe&gt;&#39;</span><span class="p">)</span>
</pre></div>

<i class="icon-hand-up icon-large" style="float:right; margin-top:8px; margin-right:10px">&nbsp;&nbsp;Click me!</i>
</div>
</div>

<div class="output_hidden">

<div class="vbox output_wrapper">
<div class="output vbox">


<div class="hbox output_area"><div class="prompt output_prompt">
Out[1]:</div>
<div class="box-flex1 output_subarea output_pyout">

<div class="output_html rendered_html">
<div class="text_cell_render border-box-sizing rendered_html">
<iframe src="http://damianavila.github.io/scipy2013_talks/index.html" width=800 height=600></iframe>
</div>

</div>
</div>

</div>
</div>

</div>

</div>
<div class="text_cell_render border-box-sizing rendered_html">
<p>These are my slides from the talk I gave at SciPy 2013 (Texas) featuring this exporter I previously developed in the old nbconvert project and now merged (and available) in the last release (1.0) of IPython.</p>
<p>You can also see the video of the talk:</p>
</div>
<div class="cell border-box-sizing code_cell vbox">
<div class="input hbox">
<div class="prompt input_prompt">
In&nbsp;[2]:
</div>
<div class="input_area box-flex1">
<div class="highlight"><pre><span class="kn">from</span> <span class="nn">IPython.display</span> <span class="kn">import</span> <span class="n">YouTubeVideo</span>
<span class="n">YouTubeVideo</span><span class="p">(</span><span class="s">&#39;rBS6hmiK-H8&#39;</span><span class="p">)</span>
</pre></div>

<i class="icon-hand-up icon-large" style="float:right; margin-top:8px; margin-right:10px">&nbsp;&nbsp;Click me!</i>
</div>
</div>

<div class="output_hidden">

<div class="vbox output_wrapper">
<div class="output vbox">


<div class="hbox output_area"><div class="prompt output_prompt">
Out[2]:</div>
<div class="box-flex1 output_subarea output_pyout">

<div class="output_html rendered_html">

<iframe
width="400"
height=300"
src="http://www.youtube.com/embed/rBS6hmiK-H8"
frameborder="0"
allowfullscreen
></iframe>

</div>

</div>
</div>

</div>
</div>

</div>
<div class="text_cell_render border-box-sizing rendered_html">
<iframe width="640" height="360" src="//www.youtube.com/embed/rBS6hmiK-H8" frameborder="0" allowfullscreen></iframe>

</div>
<div class="text_cell_render border-box-sizing rendered_html">
Expand Down
Loading

0 comments on commit 33c0834

Please sign in to comment.