Posts on Léa Jean /portfolios/exemple2/post/ Recent content in Posts on Léa Jean Source Themes academia (https://sourcethemes.com/academic/) en-us Copyright &copy; {year} Tue, 05 Feb 2019 00:00:00 +0000 Display Jupyter Notebooks with academia /portfolios/exemple2/post/jupyter/ Tue, 05 Feb 2019 00:00:00 +0000 /portfolios/exemple2/post/jupyter/ <div class="highlight"><pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4"><code class="language-python" data-lang="python"><span style="color:#f92672">from</span> IPython.core.display <span style="color:#f92672">import</span> Image Image(<span style="color:#e6db74">&#39;https://www.python.org/static/community_logos/python-logo-master-v3-TM-flattened.png&#39;</span>) </code></pre></div><p><img src="./academia_0_0.png" alt="png"></p> <div class="highlight"><pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4"><code class="language-python" data-lang="python">print(<span style="color:#e6db74">&#34;Welcome to academia!&#34;</span>) </code></pre></div><pre><code>Welcome to academia! </code></pre> <h2 id="install-python-and-jupyter">Install Python and Jupyter</h2> <p><a href="https://www.anaconda.com/distribution/#download-section">Install Anaconda</a> which includes Python 3 and Jupyter notebook.</p> <p>Otherwise, for advanced users, install Jupyter notebook with <code>pip3 install jupyter</code>.</p> <h2 id="create-a-new-blog-post-as-usualhttpssourcethemescomacademicdocsmanaging-contentcreate-a-blog-post">Create a new blog post <a href="https://sourcethemes.com/academic/docs/managing-content/#create-a-blog-post">as usual</a></h2> <p>Run the following commands in your Terminal, substituting <code>&lt;MY_WEBSITE_FOLDER&gt;</code> and <code>my-post</code> with the file path to your academia website folder and a name for your blog post (without spaces), respectively:</p> <div class="highlight"><pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4"><code class="language-bash" data-lang="bash">cd &lt;MY_WEBSITE_FOLDER&gt; hugo new --kind post post/my-post cd &lt;MY_WEBSITE_FOLDER&gt;/content/post/my-post/ </code></pre></div><h2 id="create-or-upload-a-jupyter-notebook">Create or upload a Jupyter notebook</h2> <p>Run the following command to start Jupyter within your new blog post folder. Then create a new Jupyter notebook (<em>New &gt; Python Notebook</em>) or upload a notebook.</p> <div class="highlight"><pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4"><code class="language-bash" data-lang="bash">jupyter notebook </code></pre></div><h2 id="convert-notebook-to-markdown">Convert notebook to Markdown</h2> <div class="highlight"><pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4"><code class="language-bash" data-lang="bash">jupyter nbconvert Untitled.ipynb --to markdown --NbConvertApp.output_files_dir<span style="color:#f92672">=</span>. <span style="color:#75715e"># Copy the contents of Untitled.md and append it to index.md:</span> cat Untitled.md | tee -a index.md <span style="color:#75715e"># Remove the temporary file:</span> rm Untitled.md </code></pre></div><h2 id="edit-your-post-metadata">Edit your post metadata</h2> <p>Open <code>index.md</code> in your text editor and edit the title etc. in the <a href="https://sourcethemes.com/academic/docs/front-matter/">front matter</a> according to your preference.</p> <p>To set a <a href="https://sourcethemes.com/academic/docs/managing-content/#featured-image">featured image</a>, place an image named <code>featured</code> into your post&rsquo;s folder.</p> <p>For other tips, such as using math, see the guide on <a href="https://sourcethemes.com/academic/docs/writing-markdown-latex/">writing content with academia</a>.</p> A Study of Snail Behavior /portfolios/exemple2/post/snail/ Wed, 20 Apr 2016 00:00:00 +0000 /portfolios/exemple2/post/snail/ <p><strong>Create a free website with academia using Markdown, Jupyter, or RStudio. Choose a beautiful color theme and build anything with the Page Builder - over 40 <em>widgets</em>, <em>themes</em>, and <em>language packs</em> included!</strong></p> <p><a href="https://academia-demo.netlify.com/">Check out the latest <strong>demo</strong></a> of what you&rsquo;ll get in less than 10 minutes, or <a href="https://sourcethemes.com/academic/#expo">view the <strong>showcase</strong></a> of personal, project, and business sites.</p> <ul> <li><a href="#install"><strong>Setup academia</strong></a></li> <li><a href="https://sourcethemes.com/academic/docs/get-started/"><strong>Get Started</strong></a></li> <li><a href="https://sourcethemes.com/academic/docs/">View the documentation</a></li> <li><a href="http://discuss.gohugo.io/">Ask a question</a></li> <li><a href="https://github.com/gcushen/hugo-academia/issues">Request a feature or report a bug</a></li> <li>Updating? View the <a href="https://sourcethemes.com/academic/docs/update/">Update Guide</a> and <a href="https://sourcethemes.com/academic/updates/">Release Notes</a></li> <li>Support development of academia: <ul> <li><a href="https://paypal.me/cushen">Donate a coffee</a></li> <li><a href="https://www.patreon.com/cushen">Become a backer on Patreon</a></li> <li><a href="https://www.redbubble.com/people/neutreno/works/34387919-academia">Decorate your laptop or journal with an academia sticker</a></li> <li><a href="https://academia.threadless.com/">Wear the T-shirt</a></li> </ul> </li> </ul> <p><a href="https://github.com/gcushen/hugo-academia/"><img src="https://raw.githubusercontent.com/gcushen/hugo-academia/master/academia.png" alt="Screenshot"></a></p> <p><strong>Key features:</strong></p> <ul> <li><strong>Page builder</strong> - Create <em>anything</em> with <a href="https://sourcethemes.com/academic/docs/page-builder/"><strong>widgets</strong></a> and <a href="https://sourcethemes.com/academic/docs/writing-markdown-latex/"><strong>elements</strong></a></li> <li><strong>Edit any type of content</strong> - Blog posts, publications, talks, slides, projects, and more!</li> <li><strong>Create content</strong> in <a href="https://sourcethemes.com/academic/docs/writing-markdown-latex/"><strong>Markdown</strong></a>, <a href="https://sourcethemes.com/academic/docs/jupyter/"><strong>Jupyter</strong></a>, or <a href="https://sourcethemes.com/academic/docs/install/#install-with-rstudio"><strong>RStudio</strong></a></li> <li><strong>Plugin System</strong> - Fully customizable <a href="https://sourcethemes.com/academic/themes/"><strong>color</strong> and <strong>font themes</strong></a></li> <li><strong>Display Code and Math</strong> - Code highlighting and <a href="https://en.wikibooks.org/wiki/LaTeX/Mathematics">LaTeX math</a> supported</li> <li><strong>Integrations</strong> - <a href="https://analytics.google.com">Google Analytics</a>, <a href="https://disqus.com">Disqus commenting</a>, Maps, Contact Forms, and more!</li> <li><strong>Beautiful Site</strong> - Simple and refreshing one page design</li> <li><strong>Industry-Leading SEO</strong> - Help get your website found on search engines and social media</li> <li><strong>Media Galleries</strong> - Display your images and videos with captions in a customizable gallery</li> <li><strong>Mobile Friendly</strong> - Look amazing on every screen with a mobile friendly version of your site</li> <li><strong>Multi-language</strong> - 15+ language packs including English, 中文, and Português</li> <li><strong>Multi-user</strong> - Each author gets their own profile page</li> <li><strong>Privacy Pack</strong> - Assists with GDPR</li> <li><strong>Stand Out</strong> - Bring your site to life with animation, parallax backgrounds, and scroll effects</li> <li><strong>One-Click Deployment</strong> - No servers. No databases. Only files.</li> </ul> <h2 id="color-themes">Color Themes</h2> <p>academia comes with <strong>day (light) and night (dark) mode</strong> built-in. Click the sun/moon icon in the top right of the <a href="https://academia-demo.netlify.com/">Demo</a> to see it in action!</p> <p>Choose a stunning color and font theme for your site. Themes are fully customizable and include:</p> <div class="gallery"> <a data-fancybox="gallery-gallery" href="/portfolios/exemple2/portfolios/exemple2/post/snail/gallery/theme-1950s.png" data-caption="1950s"> <img src="/portfolios/exemple2/portfolios/exemple2/post/snail/gallery/theme-1950s_huaf5482f8cea0c5a703a328640e3b7509_21614_0x190_resize_lanczos_3.png" alt=""> </a> <a data-fancybox="gallery-gallery" href="/portfolios/exemple2/portfolios/exemple2/post/snail/gallery/theme-apogee.png" data-caption="Apogee"> <img src="/portfolios/exemple2/portfolios/exemple2/post/snail/gallery/theme-apogee_hu4b45d99db97150df01464c393bfd17d4_24119_0x190_resize_lanczos_3.png" alt=""> </a> <a data-fancybox="gallery-gallery" href="/portfolios/exemple2/portfolios/exemple2/post/snail/gallery/theme-coffee-playfair.png" data-caption="Coffee theme with Playfair font"> <img src="/portfolios/exemple2/portfolios/exemple2/post/snail/gallery/theme-coffee-playfair_hu446a8f670cc5622adcc77b97ba95f6c5_22462_0x190_resize_lanczos_3.png" alt=""> </a> <a data-fancybox="gallery-gallery" href="/portfolios/exemple2/portfolios/exemple2/post/snail/gallery/theme-dark.png" data-caption="Dark"> <img src="/portfolios/exemple2/portfolios/exemple2/post/snail/gallery/theme-dark_hu1e8601ecc47f58eada7743fdcd709d3d_21456_0x190_resize_lanczos_3.png" alt=""> </a> <a data-fancybox="gallery-gallery" href="/portfolios/exemple2/portfolios/exemple2/post/snail/gallery/theme-default.png" data-caption="Default"> <img src="/portfolios/exemple2/portfolios/exemple2/post/snail/gallery/theme-default_huba6228b7bdf30e2f03f12ea91b2cba0d_21751_0x190_resize_lanczos_3.png" alt=""> </a> <a data-fancybox="gallery-gallery" href="/portfolios/exemple2/portfolios/exemple2/post/snail/gallery/theme-forest.png" data-caption="Forest"> <img src="/portfolios/exemple2/portfolios/exemple2/post/snail/gallery/theme-forest_hu4f093a1c683134431456584193ea41ee_21797_0x190_resize_lanczos_3.png" alt=""> </a> <a data-fancybox="gallery-gallery" href="/portfolios/exemple2/portfolios/exemple2/post/snail/gallery/theme-ocean.png" data-caption="Ocean"> <img src="/portfolios/exemple2/portfolios/exemple2/post/snail/gallery/theme-ocean_hu14831ccafc2219f30a7a096fa7617e01_21760_0x190_resize_lanczos_3.png" alt=""> </a> <a data-fancybox="gallery-gallery" href="/portfolios/exemple2/portfolios/exemple2/post/snail/gallery/theme-strawberry.png" data-caption="Strawberry"> <img src="/portfolios/exemple2/portfolios/exemple2/post/snail/gallery/theme-strawberry_hu36b0b347fcca08bd39e2df22dcedbdfb_39532_0x190_resize_lanczos_3.png" alt=""> </a> </div> <h2 id="ecosystem">Ecosystem</h2> <ul> <li><strong><a href="https://github.com/sourcethemes/academia-admin">academia Admin</a>:</strong> An admin tool to import publications from BibTeX or import assets for an offline site</li> <li><strong><a href="https://github.com/sourcethemes/academia-scripts">academia Scripts</a>:</strong> Scripts to help migrate content to new versions of academia</li> </ul> <h2 id="install">Install</h2> <p>You can choose from one of the following four methods to install:</p> <ul> <li><a href="https://sourcethemes.com/academic/docs/install/#install-with-web-browser"><strong>one-click install using your web browser (recommended)</strong></a></li> <li><a href="https://sourcethemes.com/academic/docs/install/#install-with-git">install on your computer using <strong>Git</strong> with the Command Prompt/Terminal app</a></li> <li><a href="https://sourcethemes.com/academic/docs/install/#install-with-zip">install on your computer by downloading the <strong>ZIP files</strong></a></li> <li><a href="https://sourcethemes.com/academic/docs/install/#install-with-rstudio">install on your computer with <strong>RStudio</strong></a></li> </ul> <p>Then <a href="https://sourcethemes.com/academic/docs/get-started/">personalize and deploy your new site</a>.</p> <h2 id="updating">Updating</h2> <p><a href="https://sourcethemes.com/academic/docs/update/">View the Update Guide</a>.</p> <p>Feel free to <em>star</em> the project on <a href="https://github.com/gcushen/hugo-academia/">Github</a> to help keep track of <a href="https://sourcethemes.com/academic/updates">updates</a>.</p> <h2 id="license">License</h2> <p>Copyright 2016-present <a href="https://georgecushen.com">George Cushen</a>.</p> <p>Released under the <a href="https://github.com/gcushen/hugo-academia/blob/master/LICENSE.md">MIT</a> license.</p> academia: the website builder for Hugo /portfolios/exemple2/post/getting-started/ Wed, 20 Apr 2016 00:00:00 +0000 /portfolios/exemple2/post/getting-started/ <p><strong>Create a free website with academia using Markdown, Jupyter, or RStudio. Choose a beautiful color theme and build anything with the Page Builder - over 40 <em>widgets</em>, <em>themes</em>, and <em>language packs</em> included!</strong></p> <p><a href="https://academia-demo.netlify.com/">Check out the latest <strong>demo</strong></a> of what you&rsquo;ll get in less than 10 minutes, or <a href="https://sourcethemes.com/academic/#expo">view the <strong>showcase</strong></a> of personal, project, and business sites.</p> <ul> <li><a href="#install"><strong>Setup academia</strong></a></li> <li><a href="https://sourcethemes.com/academic/docs/get-started/"><strong>Get Started</strong></a></li> <li><a href="https://sourcethemes.com/academic/docs/">View the documentation</a></li> <li><a href="http://discuss.gohugo.io/">Ask a question</a></li> <li><a href="https://github.com/gcushen/hugo-academia/issues">Request a feature or report a bug</a></li> <li>Updating? View the <a href="https://sourcethemes.com/academic/docs/update/">Update Guide</a> and <a href="https://sourcethemes.com/academic/updates/">Release Notes</a></li> <li>Support development of academia: <ul> <li><a href="https://paypal.me/cushen">Donate a coffee</a></li> <li><a href="https://www.patreon.com/cushen">Become a backer on Patreon</a></li> <li><a href="https://www.redbubble.com/people/neutreno/works/34387919-academia">Decorate your laptop or journal with an academia sticker</a></li> <li><a href="https://academia.threadless.com/">Wear the T-shirt</a></li> </ul> </li> </ul> <p><a href="https://github.com/gcushen/hugo-academia/"><img src="https://raw.githubusercontent.com/gcushen/hugo-academia/master/academia.png" alt="Screenshot"></a></p> <p><strong>Key features:</strong></p> <ul> <li><strong>Page builder</strong> - Create <em>anything</em> with <a href="https://sourcethemes.com/academic/docs/page-builder/"><strong>widgets</strong></a> and <a href="https://sourcethemes.com/academic/docs/writing-markdown-latex/"><strong>elements</strong></a></li> <li><strong>Edit any type of content</strong> - Blog posts, publications, talks, slides, projects, and more!</li> <li><strong>Create content</strong> in <a href="https://sourcethemes.com/academic/docs/writing-markdown-latex/"><strong>Markdown</strong></a>, <a href="https://sourcethemes.com/academic/docs/jupyter/"><strong>Jupyter</strong></a>, or <a href="https://sourcethemes.com/academic/docs/install/#install-with-rstudio"><strong>RStudio</strong></a></li> <li><strong>Plugin System</strong> - Fully customizable <a href="https://sourcethemes.com/academic/themes/"><strong>color</strong> and <strong>font themes</strong></a></li> <li><strong>Display Code and Math</strong> - Code highlighting and <a href="https://en.wikibooks.org/wiki/LaTeX/Mathematics">LaTeX math</a> supported</li> <li><strong>Integrations</strong> - <a href="https://analytics.google.com">Google Analytics</a>, <a href="https://disqus.com">Disqus commenting</a>, Maps, Contact Forms, and more!</li> <li><strong>Beautiful Site</strong> - Simple and refreshing one page design</li> <li><strong>Industry-Leading SEO</strong> - Help get your website found on search engines and social media</li> <li><strong>Media Galleries</strong> - Display your images and videos with captions in a customizable gallery</li> <li><strong>Mobile Friendly</strong> - Look amazing on every screen with a mobile friendly version of your site</li> <li><strong>Multi-language</strong> - 15+ language packs including English, 中文, and Português</li> <li><strong>Multi-user</strong> - Each author gets their own profile page</li> <li><strong>Privacy Pack</strong> - Assists with GDPR</li> <li><strong>Stand Out</strong> - Bring your site to life with animation, parallax backgrounds, and scroll effects</li> <li><strong>One-Click Deployment</strong> - No servers. No databases. Only files.</li> </ul> <h2 id="color-themes">Color Themes</h2> <p>academia comes with <strong>day (light) and night (dark) mode</strong> built-in. Click the sun/moon icon in the top right of the <a href="https://academia-demo.netlify.com/">Demo</a> to see it in action!</p> <p>Choose a stunning color and font theme for your site. Themes are fully customizable and include:</p> <div class="gallery"> <a data-fancybox="gallery-gallery" href="/portfolios/exemple2/portfolios/exemple2/post/getting-started/gallery/theme-1950s.png" data-caption="1950s"> <img src="/portfolios/exemple2/portfolios/exemple2/post/getting-started/gallery/theme-1950s_huaf5482f8cea0c5a703a328640e3b7509_21614_0x190_resize_lanczos_3.png" alt=""> </a> <a data-fancybox="gallery-gallery" href="/portfolios/exemple2/portfolios/exemple2/post/getting-started/gallery/theme-apogee.png" data-caption="Apogee"> <img src="/portfolios/exemple2/portfolios/exemple2/post/getting-started/gallery/theme-apogee_hu4b45d99db97150df01464c393bfd17d4_24119_0x190_resize_lanczos_3.png" alt=""> </a> <a data-fancybox="gallery-gallery" href="/portfolios/exemple2/portfolios/exemple2/post/getting-started/gallery/theme-coffee-playfair.png" data-caption="Coffee theme with Playfair font"> <img src="/portfolios/exemple2/portfolios/exemple2/post/getting-started/gallery/theme-coffee-playfair_hu446a8f670cc5622adcc77b97ba95f6c5_22462_0x190_resize_lanczos_3.png" alt=""> </a> <a data-fancybox="gallery-gallery" href="/portfolios/exemple2/portfolios/exemple2/post/getting-started/gallery/theme-dark.png" data-caption="Dark"> <img src="/portfolios/exemple2/portfolios/exemple2/post/getting-started/gallery/theme-dark_hu1e8601ecc47f58eada7743fdcd709d3d_21456_0x190_resize_lanczos_3.png" alt=""> </a> <a data-fancybox="gallery-gallery" href="/portfolios/exemple2/portfolios/exemple2/post/getting-started/gallery/theme-default.png" data-caption="Default"> <img src="/portfolios/exemple2/portfolios/exemple2/post/getting-started/gallery/theme-default_huba6228b7bdf30e2f03f12ea91b2cba0d_21751_0x190_resize_lanczos_3.png" alt=""> </a> <a data-fancybox="gallery-gallery" href="/portfolios/exemple2/portfolios/exemple2/post/getting-started/gallery/theme-forest.png" data-caption="Forest"> <img src="/portfolios/exemple2/portfolios/exemple2/post/getting-started/gallery/theme-forest_hu4f093a1c683134431456584193ea41ee_21797_0x190_resize_lanczos_3.png" alt=""> </a> <a data-fancybox="gallery-gallery" href="/portfolios/exemple2/portfolios/exemple2/post/getting-started/gallery/theme-ocean.png" data-caption="Ocean"> <img src="/portfolios/exemple2/portfolios/exemple2/post/getting-started/gallery/theme-ocean_hu14831ccafc2219f30a7a096fa7617e01_21760_0x190_resize_lanczos_3.png" alt=""> </a> <a data-fancybox="gallery-gallery" href="/portfolios/exemple2/portfolios/exemple2/post/getting-started/gallery/theme-strawberry.png" data-caption="Strawberry"> <img src="/portfolios/exemple2/portfolios/exemple2/post/getting-started/gallery/theme-strawberry_hu36b0b347fcca08bd39e2df22dcedbdfb_39532_0x190_resize_lanczos_3.png" alt=""> </a> </div> <h2 id="ecosystem">Ecosystem</h2> <ul> <li><strong><a href="https://github.com/sourcethemes/academia-admin">academia Admin</a>:</strong> An admin tool to import publications from BibTeX or import assets for an offline site</li> <li><strong><a href="https://github.com/sourcethemes/academia-scripts">academia Scripts</a>:</strong> Scripts to help migrate content to new versions of academia</li> </ul> <h2 id="install">Install</h2> <p>You can choose from one of the following four methods to install:</p> <ul> <li><a href="https://sourcethemes.com/academic/docs/install/#install-with-web-browser"><strong>one-click install using your web browser (recommended)</strong></a></li> <li><a href="https://sourcethemes.com/academic/docs/install/#install-with-git">install on your computer using <strong>Git</strong> with the Command Prompt/Terminal app</a></li> <li><a href="https://sourcethemes.com/academic/docs/install/#install-with-zip">install on your computer by downloading the <strong>ZIP files</strong></a></li> <li><a href="https://sourcethemes.com/academic/docs/install/#install-with-rstudio">install on your computer with <strong>RStudio</strong></a></li> </ul> <p>Then <a href="https://sourcethemes.com/academic/docs/get-started/">personalize and deploy your new site</a>.</p> <h2 id="updating">Updating</h2> <p><a href="https://sourcethemes.com/academic/docs/update/">View the Update Guide</a>.</p> <p>Feel free to <em>star</em> the project on <a href="https://github.com/gcushen/hugo-academia/">Github</a> to help keep track of <a href="https://sourcethemes.com/academic/updates">updates</a>.</p> <h2 id="license">License</h2> <p>Copyright 2016-present <a href="https://georgecushen.com">George Cushen</a>.</p> <p>Released under the <a href="https://github.com/gcushen/hugo-academia/blob/master/LICENSE.md">MIT</a> license.</p>