diff --git a/.doit.db b/.doit.db index f7bd3161..bd73199c 100644 Binary files a/.doit.db and b/.doit.db differ diff --git a/cache/posts/blogging-with-nikola-and-ipython.html b/cache/posts/blogging-with-nikola-and-ipython.html index eaab7df8..23f5347f 100644 --- a/cache/posts/blogging-with-nikola-and-ipython.html +++ b/cache/posts/blogging-with-nikola-and-ipython.html @@ -1,4 +1,9 @@ +
++Alert! This post is outdated, please
+goto
;-) this link to get updated information.
NOTE: Obviously, this post was written in the IPython notebook and was rendered by Nikola (helped by nbconvert).
++Alert! This post is outdated, please
+goto
;-) this link to get updated information.
NOTE: Obviously, this post was written in the IPython notebook and was rendered by Nikola (helped by nbconvert).
NOTE: Don't forget to put your ipynb, slides_config.py and default_transition.tpl files in the same folder where you will run the IPython.nbconvert
command.
As you can see, the potentiality of this system (Jinja templating plus a powerful config system) is really big! We can achieve awesome things in a very easy way!
Any help, just let me know!
+Addemdum: the use of default_transition.tpl
generates an invalid but useful final html document. The cause behind this issue is the script containing the Reveal.initialize
function, which is located after the closing body
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.
Damián
\ No newline at end of file diff --git a/cache/posts/change-the-ipython-slides-defaults-with-an-ipython-config-file.html.es b/cache/posts/change-the-ipython-slides-defaults-with-an-ipython-config-file.html.es index 6ddc9db6..9720d7ce 100644 --- a/cache/posts/change-the-ipython-slides-defaults-with-an-ipython-config-file.html.es +++ b/cache/posts/change-the-ipython-slides-defaults-with-an-ipython-config-file.html.es @@ -138,7 +138,6 @@ Reveal.initialize({ </script> -</body> {% endblock body %} @@ -165,5 +164,6 @@ Reveal.initialize({NOTE: Don't forget to put your ipynb, slides_config.py and default_transition.tpl files in the same folder where you will run the IPython.nbconvert
command.
As you can see, the potentiality of this system (Jinja templating plus a powerful config system) is really big! We can achieve awesome things in a very easy way!
Any help, just let me know!
+Addemdum: the use of default_transition.tpl
generates an invalid but useful final html document. The cause behind this issue is the script containing the Reveal.initialize
function, which is located after the closing body
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.
Damián
\ No newline at end of file diff --git a/cache/posts/customizing-your-ipython-slides.html b/cache/posts/customizing-your-ipython-slides.html index 71fc1b70..927423a5 100644 --- a/cache/posts/customizing-your-ipython-slides.html +++ b/cache/posts/customizing-your-ipython-slides.html @@ -13,41 +13,8 @@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:
NOTE: I will use, as a starting point, the following slides of a talk I gave to journalist and designers at Hacks/HackersBA, a story to write in another blog post...
-from IPython.display import HTML
-HTML('<iframe src="http://damianavila.github.io/hackperiodismo" width=800 height=600></iframe>')
-
And now, the example slides rendered with a new darker style...
NOTE: In this case I applied the NIGHT reveal theme (adding ?theme=night
to the url) and used the custom.css
file to adjust some details ;-) (darker reveal themes need this kind of customization to be rendered OK).
from IPython.display import HTML
-HTML('<iframe src="http://damianavila.github.io/hackperiodismo/index2.html?theme=night" width=800 height=600></iframe>')
-
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:
NOTE: I will use, as a starting point, the following slides of a talk I gave to journalist and designers at Hacks/HackersBA, a story to write in another blog post...
from IPython.display import HTML
-HTML('<iframe src="http://damianavila.github.io/hackperiodismo" width=800 height=600></iframe>')
-
And now, the example slides rendered with a new darker style...
NOTE: In this case I applied the NIGHT reveal theme (adding ?theme=night
to the url) and used the custom.css
file to adjust some details ;-) (darker reveal themes need this kind of customization to be rendered OK).
from IPython.display import HTML
-HTML('<iframe src="http://damianavila.github.io/hackperiodismo/index2.html?theme=night" width=800 height=600></iframe>')
-
and I got something like this (navigate and try it!):
and I got something like this (navigate and try it!):
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 (info).
The slides option generates a Reveal.js-powered HTML slideshow, like this one:
from IPython.display import HTML
-HTML('<iframe src="http://damianavila.github.io/scipy2013_talks/index.html" width=800 height=600></iframe>')
-
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.
You can also see the video of the talk:
from IPython.display import YouTubeVideo
-YouTubeVideo('rBS6hmiK-H8')
-
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 (info).
The slides option generates a Reveal.js-powered HTML slideshow, like this one:
from IPython.display import HTML
-HTML('<iframe src="http://damianavila.github.io/scipy2013_talks/index.html" width=800 height=600></iframe>')
-
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.
You can also see the video of the talk:
from IPython.display import YouTubeVideo
-YouTubeVideo('rBS6hmiK-H8')
-
++Alert! This post is outdated, please
+goto
;-) this link to get updated information.
After some weeks of work and a lot of useful colaboration with the IPython team, we now have the reveal converter merged in nbconvert (a conversion utilities for the IPython notebook format).
Currently nbconvert is being rewritten... but we also have a reveal converter in the new codebase, so you do not have problems if you begin to use it now, you will be able to use it tomorrow :-)
@@ -9,45 +14,11 @@.
You can access to it here (recommended way).
If you want to see it without leaving this page (I do not recommend this last option, it is a small iframe).
from IPython.display import HTML
-HTML('<iframe src=http://www.slideviper.oquanta.info/tutorial/slideshow_tutorial_slides.html?useformat=mobile width=700 height=350></iframe>')
-
++Alert! This post is outdated, please
+goto
;-) this link to get updated information.
After some weeks of work and a lot of useful colaboration with the IPython team, we now have the reveal converter merged in nbconvert (a conversion utilities for the IPython notebook format).
Currently nbconvert is being rewritten... but we also have a reveal converter in the new codebase, so you do not have problems if you begin to use it now, you will be able to use it tomorrow :-)
@@ -9,45 +14,11 @@.
You can access to it here (recommended way).
If you want to see it without leaving this page (I do not recommend this last option, it is a small iframe).
from IPython.display import HTML
-HTML('<iframe src=http://www.slideviper.oquanta.info/tutorial/slideshow_tutorial_slides.html?useformat=mobile width=700 height=350></iframe>')
-
As you can see, I have yet some open positions because I am waiting to see how these positions evolve over the next week and, obviously, because my models do not signal me to close these trades... yet ;-)
As a plus, I have added a new column to the table containing my Relative Balance (because it is not probably a good idea that you know my current balance), and after this week, we have an overall net profit of 8%. You have to take into account that I have set up this account to trade at a high risk profile... so understand this net profit in terms of this high risk.
-Finally, I have also decided to live tweet the trades from this account, so if you follow me on twitter (https://twitter.com/damian_avila), you will see these trades on real time, or you can wait to the Fridays when I will post another sheet of this sort of logbook.
+Finally, I have also decided to live tweet the trades from this account, so if you follow me on twitter, you will see these trades on real time, or you can wait to the Fridays when I will post another sheet of this sort of logbook.
Good weekend!
Damián.
As you can see, I have yet some open positions because I am waiting to see how these positions evolve over the next week and, obviously, because my models do not signal me to close these trades... yet ;-)
As a plus, I have added a new column to the table containing my Relative Balance (because it is not probably a good idea that you know my current balance), and after this week, we have an overall net profit of 8%. You have to take into account that I have set up this account to trade at a high risk profile... so understand this net profit in terms of this high risk.
-Finally, I have also decided to live tweet the trades from this account, so if you follow me on twitter (https://twitter.com/damian_avila), you will see these trades on real time, or you can wait to the Fridays when I will post another sheet of this sort of logbook.
+Finally, I have also decided to live tweet the trades from this account, so if you follow me on twitter, you will see these trades on real time, or you can wait to the Fridays when I will post another sheet of this sort of logbook.
Good weekend!
Damián.
With the last release, IPython support this kind of exportation using the well designed and easily extensible IPython.nbconvert
library. Now, it is easier to incorporate the IPython machinery inside vIPer and support the exportation to several formats.
Note: if you want to know more about vIPer, just see the following talk I gave about it at SciPy 2013.
from IPython.display import YouTubeVideo
-YouTubeVideo('NVf_giNcNro')
-
With the last release, IPython support this kind of exportation using the well designed and easily extensible IPython.nbconvert
library. Now, it is easier to incorporate the IPython machinery inside vIPer and support the exportation to several formats.
Note: if you want to know more about vIPer, just see the following talk I gave about it at SciPy 2013.
from IPython.display import YouTubeVideo
-YouTubeVideo('NVf_giNcNro')
-
And a little video showing the extension in action:
from IPython.display import YouTubeVideo
-YouTubeVideo('eVi5aXEipBQ')
-
And a little video showing the extension in action:
from IPython.display import YouTubeVideo
-YouTubeVideo('eVi5aXEipBQ')
-