<?xml version="1.0" encoding="utf-8"?>
<?xml-stylesheet type="text/xsl" href="../assets/xml/rss.xsl" media="all"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Brain Sorting (Posts about tutorial)</title><link>https://brainsorting.com/</link><description></description><atom:link href="https://brainsorting.com/categories/cat_tutorial.xml" rel="self" type="application/rss+xml"></atom:link><language>en</language><copyright>Contents © 2024 &lt;a href="mailto:dugue.mathieu@gmail.com"&gt;Mathieu Dugue&lt;/a&gt; 
&lt;a rel="license" href="https://creativecommons.org/licenses/by-nc-sa/4.0/"&gt;
&lt;img alt="Creative Commons License BY-NC-SA"
style="border-width:0; margin-bottom:12px;"
src="https://i.creativecommons.org/l/by-nc-sa/4.0/88x31.png"&gt;&lt;/a&gt;</copyright><lastBuildDate>Fri, 06 Sep 2024 22:42:19 GMT</lastBuildDate><generator>Nikola (getnikola.com)</generator><docs>http://blogs.law.harvard.edu/tech/rss</docs><item><title>Créer un compte OpenAI et obtenir sa clé API</title><link>https://brainsorting.com/posts/creer-un-compte-openai-et-obtenir-sa-cle-api/</link><dc:creator>Mathieu Dugue</dc:creator><description>&lt;div&gt;&lt;nav id="TOC" role="doc-toc"&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href="https://brainsorting.com/posts/creer-un-compte-openai-et-obtenir-sa-cle-api/#cr%C3%A9er-son-compte-sur-openai" id="toc-créer-son-compte-sur-openai"&gt;Créer son compte sur
OpenAI&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://brainsorting.com/posts/creer-un-compte-openai-et-obtenir-sa-cle-api/#obtenir-sa-cl%C3%A9-api" id="toc-obtenir-sa-clé-api"&gt;Obtenir sa
clé API&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/nav&gt;
&lt;!--
.. title: Créer un compte OpenAI et obtenir sa clé API
.. slug: creer-un-compte-openai-et-obtenir-sa-cle-api
.. date: 2023-02-08 11:51:46 UTC+01:00
.. tags: ai
.. category: tutorial
.. link:
.. description: quick tutorial to create your openAI account and get your first API key
.. type: text
.. previewimage: /images/coding.png
--&gt;
&lt;p&gt;Une clé API est un outil essentiel pour accéder à un serveur, une
application ou un service web. Il s’agit d’un code spécifique à votre
compte qui est utilisé pour authentifier votre accès et vous fournir des
informations et des fonctionnalités spécifiques. Une clé API OpenAI est
un code d’accès utilisé pour accéder au moteur GPT-3, un puissant
générateur de texte et d’intelligence artificielle. GPT-3 est un système
d’intelligence artificielle qui peut être utilisé pour générer et
compléter automatiquement des phrases et des paragraphes, et est
considéré comme l’un des systèmes les plus avancés à ce jour. La clé API
OpenAI est nécessaire pour accéder au moteur GPT-3 et à ses
fonctionnalités, et donc pour pouvoir en tirer parti.&lt;/p&gt;
&lt;p&gt;&lt;a href="https://brainsorting.com/posts/creer-un-compte-openai-et-obtenir-sa-cle-api/"&gt;Read more…&lt;/a&gt; (2 min remaining to read)&lt;/p&gt;&lt;/div&gt;</description><category>ai</category><guid>https://brainsorting.com/posts/creer-un-compte-openai-et-obtenir-sa-cle-api/</guid><pubDate>Wed, 08 Feb 2023 10:51:46 GMT</pubDate></item><item><title>How to Learn efficiently</title><link>https://brainsorting.com/posts/how-to-learn-efficiently/</link><dc:creator>Mathieu Dugue</dc:creator><description>&lt;div&gt;&lt;nav id="TOC" role="doc-toc"&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href="https://brainsorting.com/posts/how-to-learn-efficiently/#the-pillar-of-effective-learning" id="toc-the-pillar-of-effective-learning"&gt;The pillar of effective
learning&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://brainsorting.com/posts/how-to-learn-efficiently/#study-less-study-smart" id="toc-study-less-study-smart"&gt;Study Less Study Smart&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://brainsorting.com/posts/how-to-learn-efficiently/#when-you-read-a-textbook" id="toc-when-you-read-a-textbook"&gt;When you read a Textbook&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://brainsorting.com/posts/how-to-learn-efficiently/#first-principles" id="toc-first-principles"&gt;First
Principles&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://brainsorting.com/posts/how-to-learn-efficiently/#top-down-learning" id="toc-top-down-learning"&gt;Top Down
Learning&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://brainsorting.com/posts/how-to-learn-efficiently/#socratic-questioning" id="toc-socratic-questioning"&gt;Socratic Questioning&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/nav&gt;
&lt;!--
.. title: How to Learn efficiently
.. slug: how-to-learn-efficiently
.. date: 2021-09-06 11:38:28 UTC+02:00
.. tags: learning, self-development
.. category: tutorial
.. link:
.. description: Scientific methods to improve learning.
.. previewimage: /images/learning.jpg
.. type: text
.. medium: yes
--&gt;
&lt;p&gt;Learning is a process that is very important to what makes us who we
are now. As everything in life, it has been studied, and some method
were proven more useful to retain more information, and quicker.&lt;/p&gt;
&lt;p&gt;Here I will list everything I found useful while I was learning how
to learn.&lt;/p&gt;
&lt;p&gt;&lt;img src="https://brainsorting.com/images/learning/feynman.png"&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="https://brainsorting.com/posts/how-to-learn-efficiently/"&gt;Read more…&lt;/a&gt; (5 min remaining to read)&lt;/p&gt;&lt;/div&gt;</description><category>learning</category><category>self-development</category><guid>https://brainsorting.com/posts/how-to-learn-efficiently/</guid><pubDate>Mon, 06 Sep 2021 09:38:28 GMT</pubDate></item><item><title>Structuring a Python application</title><link>https://brainsorting.com/posts/structuring-a-python-application/</link><dc:creator>Mathieu Dugue</dc:creator><description>&lt;div&gt;&lt;nav id="TOC" role="doc-toc"&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href="https://brainsorting.com/posts/structuring-a-python-application/#single-python-file-containing-all-the-code" id="toc-single-python-file-containing-all-the-code"&gt;Single python file
containing all the code&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://brainsorting.com/posts/structuring-a-python-application/#installable-single-package" id="toc-installable-single-package"&gt;Installable Single Package&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://brainsorting.com/posts/structuring-a-python-application/#application-with-internal-packages" id="toc-application-with-internal-packages"&gt;Application with internal
packages&lt;/a&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href="https://brainsorting.com/posts/structuring-a-python-application/#bin" id="toc-bin"&gt;bin/&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://brainsorting.com/posts/structuring-a-python-application/#data" id="toc-data"&gt;data/&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://brainsorting.com/posts/structuring-a-python-application/#docs" id="toc-docs"&gt;docs/&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://brainsorting.com/posts/structuring-a-python-application/#django-web-application" id="toc-django-web-application"&gt;Django web application&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://brainsorting.com/posts/structuring-a-python-application/#flask" id="toc-flask"&gt;Flask&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/nav&gt;
&lt;!--
.. title: Structuring a Python application
.. slug: structuring-a-python-application
.. date: 2020-09-26 11:21:58 UTC+02:00
.. tags: python
.. category: tutorial
.. link:
.. description: How to structure the files in a Python application
.. type: text
.. medium: yes
.. devto: yes
--&gt;
&lt;p&gt;In this short article I will explain all the different ways of
structuring a Python application, from a quick script to a more complex
web application.&lt;/p&gt;
&lt;h2 id="single-python-file-containing-all-the-code"&gt;Single python file
containing all the code&lt;/h2&gt;
&lt;p&gt;That’s okay for code without dependencies or using a virtual
environment. This is generally used for a quick script that doesn’t need
complexity in its file structure.&lt;/p&gt;
&lt;p&gt;&lt;a href="https://brainsorting.com/posts/structuring-a-python-application/"&gt;Read more…&lt;/a&gt; (4 min remaining to read)&lt;/p&gt;&lt;/div&gt;</description><category>python</category><guid>https://brainsorting.com/posts/structuring-a-python-application/</guid><pubDate>Sat, 26 Sep 2020 09:21:58 GMT</pubDate></item><item><title>Create a proxy with a Raspberry Pi 3 (or above)</title><link>https://brainsorting.com/posts/create-a-proxy-with-a-raspberry-pi-3-or-above/</link><dc:creator>Mathieu Dugue</dc:creator><description>&lt;div&gt;&lt;nav id="TOC" role="doc-toc"&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href="https://brainsorting.com/posts/create-a-proxy-with-a-raspberry-pi-3-or-above/#install-and-configure-your-raspberry-pi-os" id="toc-install-and-configure-your-raspberry-pi-os"&gt;Install and
configure your Raspberry Pi OS&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://brainsorting.com/posts/create-a-proxy-with-a-raspberry-pi-3-or-above/#setting-up-the-raspberry-pi" id="toc-setting-up-the-raspberry-pi"&gt;Setting up the raspberry
pi&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://brainsorting.com/posts/create-a-proxy-with-a-raspberry-pi-3-or-above/#access-your-raspberry-pi-with-ssh-outside-your-home-local-network" id="toc-access-your-raspberry-pi-with-ssh-outside-your-home-local-network"&gt;Access
your Raspberry Pi with SSH outside your home local network&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://brainsorting.com/posts/create-a-proxy-with-a-raspberry-pi-3-or-above/#useful-commands" id="toc-useful-commands"&gt;Useful
Commands&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/nav&gt;
&lt;!--
.. title: Create a proxy with a Raspberry Pi 3 (or above)
.. slug: create-a-proxy-with-a-raspberry-pi-3-or-above
.. date: 2020-08-27 11:12:16 UTC+02:00
.. tags: raspberry-pi
.. category: tutorial
.. link:
.. description: Tutorial on how to make your own personal home proxy with a Raspberry Pi 3.
.. type: text
.. previewimage: /images/raspberry-pi.jpg
--&gt;
&lt;p&gt;If you need to use a proxy that has the same IP address as your home,
here is a tutorial on how to do it.&lt;/p&gt;
&lt;h3 id="install-and-configure-your-raspberry-pi-os"&gt;Install and
configure your Raspberry Pi OS&lt;/h3&gt;
&lt;p&gt;Install and configure a raspberry pi without a mouse nor a keyboard
:&lt;/p&gt;
&lt;ol type="1"&gt;
&lt;li&gt;Download the last version of raspbian lite &lt;a href="https://www.raspberrypi.org/downloads/raspberry-pi-os/"&gt;here&lt;/a&gt;
and download &lt;a href="https://www.balena.io/etcher/"&gt;Etcher&lt;/a&gt; which we
will use to flash the disk image on the SD card.&lt;/li&gt;
&lt;li&gt;Start Elena, select the Raspbian Lite imake disk, select the target
which is the SD card you use for your raspberry pi and click on
Flash!.&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;While the image disk is getting installed, we will create the file
that contains the wifi information so the raspberry can connect to it
automatically. Open a text note and paste this inside :&lt;/p&gt;
&lt;p&gt;&lt;a href="https://brainsorting.com/posts/create-a-proxy-with-a-raspberry-pi-3-or-above/"&gt;Read more…&lt;/a&gt; (5 min remaining to read)&lt;/p&gt;&lt;/div&gt;</description><category>raspberry-pi</category><guid>https://brainsorting.com/posts/create-a-proxy-with-a-raspberry-pi-3-or-above/</guid><pubDate>Thu, 27 Aug 2020 09:12:16 GMT</pubDate></item><item><title>How to cancel a pending ethereum transaction with MetaMask</title><link>https://brainsorting.com/posts/how-to-cancel-a-pending-ethereum-transaction-with-metamask/</link><dc:creator>Mathieu Dugue</dc:creator><description>&lt;div&gt;&lt;nav id="TOC" role="doc-toc"&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href="https://brainsorting.com/posts/how-to-cancel-a-pending-ethereum-transaction-with-metamask/#gather-all-the-informations-we-need" id="toc-gather-all-the-informations-we-need"&gt;Gather all the informations
we need&lt;/a&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href="https://brainsorting.com/posts/how-to-cancel-a-pending-ethereum-transaction-with-metamask/#prerequisite" id="toc-prerequisite"&gt;Prerequisite&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://brainsorting.com/posts/how-to-cancel-a-pending-ethereum-transaction-with-metamask/#etherscan" id="toc-etherscan"&gt;Etherscan&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://brainsorting.com/posts/how-to-cancel-a-pending-ethereum-transaction-with-metamask/#how-can-i-send-my-own-custom-transaction" id="toc-how-can-i-send-my-own-custom-transaction"&gt;How can I send my own
custom transaction&lt;/a&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href="https://brainsorting.com/posts/how-to-cancel-a-pending-ethereum-transaction-with-metamask/#enabling-the-custom-gas-settings-and-custom-nonce" id="toc-enabling-the-custom-gas-settings-and-custom-nonce"&gt;Enabling the
custom gas settings and custom nonce&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://brainsorting.com/posts/how-to-cancel-a-pending-ethereum-transaction-with-metamask/#sending-a-custom-transaction-to-fix-the-pending-tx" id="toc-sending-a-custom-transaction-to-fix-the-pending-tx"&gt;Sending a
custom transaction to fix the pending tx&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://brainsorting.com/posts/how-to-cancel-a-pending-ethereum-transaction-with-metamask/#how-can-i-prevent-that-from-happening-again" id="toc-how-can-i-prevent-that-from-happening-again"&gt;How can I prevent
that from happening again&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/nav&gt;
&lt;!--
.. title: How to cancel a pending ethereum transaction with MetaMask
.. slug: how-to-cancel-a-pending-ethereum-transaction-with-metamask
.. date: 2020-08-15 12:05:27 UTC+02:00
.. tags: ethereum, metamask, blockchain
.. category: tutorial
.. link:
.. description: Cancel pending ethereum transaction using MetaMask chrome plugin.
.. type: text
.. previewimage: /images/ethereum.jpg
.. medium: yes
.. devto: yes
--&gt;
&lt;p&gt;Having a &lt;strong&gt;pending transaction&lt;/strong&gt; can be quite annoying
and usually happens when the network is heavy loaded and the fees are
sky rocketing. Your transaction may have a &lt;strong&gt;too low gas
fee&lt;/strong&gt; and miner are just ignoring it to prefer others transaction
with higher fees.&lt;/p&gt;
&lt;p&gt;This result in you being stuck because until that transaction is
resolved you cannot send any other transaction. Annoying right ?&lt;/p&gt;
&lt;p&gt;Let’s dive right in on how to fix this !&lt;/p&gt;
&lt;p&gt;&lt;a href="https://brainsorting.com/posts/how-to-cancel-a-pending-ethereum-transaction-with-metamask/"&gt;Read more…&lt;/a&gt; (5 min remaining to read)&lt;/p&gt;&lt;/div&gt;</description><category>blockchain</category><category>ethereum</category><category>metamask</category><guid>https://brainsorting.com/posts/how-to-cancel-a-pending-ethereum-transaction-with-metamask/</guid><pubDate>Sat, 15 Aug 2020 10:05:27 GMT</pubDate></item><item><title>Create a blog with Pelican, hosted on Github/Netlify</title><link>https://brainsorting.com/posts/create-a-blog-with-pelican/</link><dc:creator>Mathieu Dugue</dc:creator><description>&lt;div&gt;&lt;nav id="TOC" role="doc-toc"&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href="https://brainsorting.com/posts/create-a-blog-with-pelican/#install-pelican" id="toc-install-pelican"&gt;Install
Pelican&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://brainsorting.com/posts/create-a-blog-with-pelican/#lets-see-how-your-blog-looks-like-no" id="toc-lets-see-how-your-blog-looks-like-no"&gt;Let’s see how your blog
looks like no ?&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://brainsorting.com/posts/create-a-blog-with-pelican/#hosting-your-blog-files" id="toc-hosting-your-blog-files"&gt;Hosting your blog files&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://brainsorting.com/posts/create-a-blog-with-pelican/#publishing-your-static-blog" id="toc-publishing-your-static-blog"&gt;Publishing your static
blog&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://brainsorting.com/posts/create-a-blog-with-pelican/#writing-articles" id="toc-writing-articles"&gt;Writing
articles&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://brainsorting.com/posts/create-a-blog-with-pelican/#choosing-a-theme" id="toc-choosing-a-theme"&gt;Choosing a
theme&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://brainsorting.com/posts/create-a-blog-with-pelican/#installing-the-jupyter-plugin" id="toc-installing-the-jupyter-plugin"&gt;Installing the Jupyter
Plugin&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://brainsorting.com/posts/create-a-blog-with-pelican/#useful-modules" id="toc-useful-modules"&gt;Useful
Modules&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://brainsorting.com/posts/create-a-blog-with-pelican/#references" id="toc-references"&gt;References&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/nav&gt;
&lt;!--
.. title: Create a blog with Pelican, hosted on Github/Netlify
.. slug: create-a-blog-with-pelican
.. date: 2020-07-18 16:20:03 UTC+02:00
.. tags: python, pelican, blogging
.. category: tutorial
.. link:
.. description: Full tutorial on how to start blogging with a static website generated by the Pelican python package.
.. type: text
.. previewimage: /images/pelican.jpeg
--&gt;
&lt;p&gt;I hope this article / tutorial will give you the essential knowledge
and steps to create and deploy your Pelican static blog on Netlify for
free !&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Goals&lt;/strong&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Install Pelican&lt;/li&gt;
&lt;li&gt;Create a website running on Pelican&lt;/li&gt;
&lt;li&gt;Deploy a Pelican based site to &lt;a href="http://netlify.com/"&gt;Netlify.com&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;strong&gt;Prerequisites&lt;/strong&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Basic knowledge about git and python&lt;/li&gt;
&lt;li&gt;Python 3 and git installed on your workstation&lt;/li&gt;
&lt;li&gt;VSCode or other IDE&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;a href="https://brainsorting.com/posts/create-a-blog-with-pelican/"&gt;Read more…&lt;/a&gt; (8 min remaining to read)&lt;/p&gt;&lt;/div&gt;</description><category>blogging</category><category>pelican</category><category>python</category><guid>https://brainsorting.com/posts/create-a-blog-with-pelican/</guid><pubDate>Sat, 18 Jul 2020 14:20:03 GMT</pubDate></item><item><title>Create a blog using Nikola static website generator</title><link>https://brainsorting.com/posts/create-a-blog-with-nikola/</link><dc:creator>Mathieu Dugue</dc:creator><description>&lt;div&gt;&lt;nav id="TOC" role="doc-toc"&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href="https://brainsorting.com/posts/create-a-blog-with-nikola/#installation" id="toc-installation"&gt;1)
Installation&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://brainsorting.com/posts/create-a-blog-with-nikola/#create-the-blog" id="toc-create-the-blog"&gt;2) Create the
blog&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://brainsorting.com/posts/create-a-blog-with-nikola/#add-a-post" id="toc-add-a-post"&gt;3) Add a Post&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://brainsorting.com/posts/create-a-blog-with-nikola/#enable-jupyter-notebook-file-format" id="toc-enable-jupyter-notebook-file-format"&gt;4) Enable Jupyter Notebook
file format&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://brainsorting.com/posts/create-a-blog-with-nikola/#using-markdown-for-your-post" id="toc-using-markdown-for-your-post"&gt;5) Using Markdown for your
post&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://brainsorting.com/posts/create-a-blog-with-nikola/#pages-vs-posts" id="toc-pages-vs-posts"&gt;6) Pages vs
Posts&lt;/a&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href="https://brainsorting.com/posts/create-a-blog-with-nikola/#posts" id="toc-posts"&gt;POSTS&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://brainsorting.com/posts/create-a-blog-with-nikola/#pages" id="toc-pages"&gt;PAGES&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://brainsorting.com/posts/create-a-blog-with-nikola/#customizing-the-navigation-bar" id="toc-customizing-the-navigation-bar"&gt;7) Customizing the navigation
bar&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://brainsorting.com/posts/create-a-blog-with-nikola/#indexes-as-a-list-of-links-or-list-of-posts" id="toc-indexes-as-a-list-of-links-or-list-of-posts"&gt;8) Indexes as
a list of links or list of posts&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://brainsorting.com/posts/create-a-blog-with-nikola/#enable-a-comment-system" id="toc-enable-a-comment-system"&gt;9) Enable a comment system&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://brainsorting.com/posts/create-a-blog-with-nikola/#deploying-your-website" id="toc-deploying-your-website"&gt;10) Deploying your website&lt;/a&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href="https://brainsorting.com/posts/create-a-blog-with-nikola/#github-pages" id="toc-github-pages"&gt;Github Pages&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://brainsorting.com/posts/create-a-blog-with-nikola/#netlify-extra-steps" id="toc-netlify-extra-steps"&gt;Netlify
extra steps&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://brainsorting.com/posts/create-a-blog-with-nikola/#archives" id="toc-archives"&gt;11) Archives&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://brainsorting.com/posts/create-a-blog-with-nikola/#content-footer" id="toc-content-footer"&gt;12) Content
Footer&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://brainsorting.com/posts/create-a-blog-with-nikola/#rendering-math-equations" id="toc-rendering-math-equations"&gt;13) Rendering math equations&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://brainsorting.com/posts/create-a-blog-with-nikola/#implementing-google-tools" id="toc-implementing-google-tools"&gt;14) Implementing Google tools&lt;/a&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href="https://brainsorting.com/posts/create-a-blog-with-nikola/#google-search" id="toc-google-search"&gt;Google
search&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://brainsorting.com/posts/create-a-blog-with-nikola/#google-analytics" id="toc-google-analytics"&gt;Google
Analytics&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://brainsorting.com/posts/create-a-blog-with-nikola/#customizing-your-blog" id="toc-customizing-your-blog"&gt;15)
Customizing your blog&lt;/a&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href="https://brainsorting.com/posts/create-a-blog-with-nikola/#theme-template-customization" id="toc-theme-template-customization"&gt;Theme &amp;amp; Template
customization&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://brainsorting.com/posts/create-a-blog-with-nikola/#setting-your-favicon" id="toc-setting-your-favicon"&gt;Setting your favicon&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://brainsorting.com/posts/create-a-blog-with-nikola/#tweaking-the-css" id="toc-tweaking-the-css"&gt;Tweaking the
CSS&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://brainsorting.com/posts/create-a-blog-with-nikola/#files-and-listings" id="toc-files-and-listings"&gt;Files and
Listings&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://brainsorting.com/posts/create-a-blog-with-nikola/#date-formatting" id="toc-date-formatting"&gt;Date
formatting&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://brainsorting.com/posts/create-a-blog-with-nikola/#using-mailchimp-for-user-to-subscribe" id="toc-using-mailchimp-for-user-to-subscribe"&gt;Using mailchimp for user
to subscribe&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://brainsorting.com/posts/create-a-blog-with-nikola/#loading-bar" id="toc-loading-bar"&gt;Loading bar&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://brainsorting.com/posts/create-a-blog-with-nikola/#remove-.html-suffix-from-archive.html" id="toc-remove-.html-suffix-from-archive.html"&gt;Remove .html suffix from
archive.html&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://brainsorting.com/posts/create-a-blog-with-nikola/#short-blog-post-teaser-in-index-page" id="toc-short-blog-post-teaser-in-index-page"&gt;Short blog post teaser in
index page&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://brainsorting.com/posts/create-a-blog-with-nikola/#optimizing-your-blog" id="toc-optimizing-your-blog"&gt;16)
Optimizing your blog&lt;/a&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href="https://brainsorting.com/posts/create-a-blog-with-nikola/#filters" id="toc-filters"&gt;Filters&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://brainsorting.com/posts/create-a-blog-with-nikola/#posting-automatically-on-medium" id="toc-posting-automatically-on-medium"&gt;Posting automatically on
Medium&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://brainsorting.com/posts/create-a-blog-with-nikola/#posting-automatically-on-dev.to" id="toc-posting-automatically-on-dev.to"&gt;Posting automatically on
Dev.to&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://brainsorting.com/posts/create-a-blog-with-nikola/#other-plugin-i-didnt-try" id="toc-other-plugin-i-didnt-try"&gt;Other plugin I didn’t try&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://brainsorting.com/posts/create-a-blog-with-nikola/#conclusion" id="toc-conclusion"&gt;Conclusion&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://brainsorting.com/posts/create-a-blog-with-nikola/#resources" id="toc-resources"&gt;Resources&lt;/a&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href="https://brainsorting.com/posts/create-a-blog-with-nikola/#themes" id="toc-themes"&gt;Themes&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/nav&gt;
&lt;!--
.. title: Create a blog using Nikola static website generator
.. slug: create-a-blog-with-nikola
.. date: 2020-05-05 16:02:50 UTC+02:00
.. tags: nikola, blogging, python
.. category: tutorial
.. link:
.. description: Full tutorial on how to start blogging with a static website generated by the Nikola python package.
.. type: text
.. previewimage: /images/nikola-logo.png
--&gt;
&lt;p&gt;If you don’t know what is Nikola, it is a static website/blog
generator (like gatsby and other tools). It’s written in Python and it
is working out of the box for rendering markdown, rst, latex math
formula and jupyter notebook files.&lt;/p&gt;
&lt;p&gt;I like to understand what I am using, and pushing it to some limits
to really get what I want from it, and making a blog with Nikola was no
exception. Here I tried to summarize all the informations I found, and
all the experimentation I did. I hope you’ll enjoy ! 🙏🏼&lt;/p&gt;
&lt;h2 id="installation"&gt;1) Installation&lt;/h2&gt;
&lt;p&gt;The first step is to have Python 3 installed on your computer, I
recommend using virtual environment management.&lt;/p&gt;
&lt;p&gt;Once you have create your virtual environment :&lt;/p&gt;
&lt;div class="sourceCode" id="cb1"&gt;&lt;pre class="sourceCode bash"&gt;&lt;code class="sourceCode bash"&gt;&lt;span id="cb1-1"&gt;&lt;a href="https://brainsorting.com/posts/create-a-blog-with-nikola/#cb1-1" aria-hidden="true" tabindex="-1"&gt;&lt;/a&gt;&lt;span class="ex"&gt;pip&lt;/span&gt; install &lt;span class="at"&gt;--upgrade&lt;/span&gt; pip setuptools wheel&lt;/span&gt;
&lt;span id="cb1-2"&gt;&lt;a href="https://brainsorting.com/posts/create-a-blog-with-nikola/#cb1-2" aria-hidden="true" tabindex="-1"&gt;&lt;/a&gt;&lt;span class="ex"&gt;pip&lt;/span&gt; install &lt;span class="at"&gt;--upgrade&lt;/span&gt; &lt;span class="st"&gt;"Nikola[extras]"&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="https://brainsorting.com/posts/create-a-blog-with-nikola/"&gt;Read more…&lt;/a&gt; (15 min remaining to read)&lt;/p&gt;&lt;/div&gt;</description><category>blogging</category><category>nikola</category><category>python</category><guid>https://brainsorting.com/posts/create-a-blog-with-nikola/</guid><pubDate>Tue, 05 May 2020 14:02:50 GMT</pubDate></item><item><title>Publish a package on PyPi using Poetry</title><link>https://brainsorting.com/posts/publish-a-package-on-pypi-using-poetry/</link><dc:creator>Mathieu Dugue</dc:creator><description>&lt;div&gt;&lt;nav id="TOC" role="doc-toc"&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href="https://brainsorting.com/posts/publish-a-package-on-pypi-using-poetry/#install-poetry" id="toc-install-poetry"&gt;Install
Poetry&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://brainsorting.com/posts/publish-a-package-on-pypi-using-poetry/#create-the-package-you-want-to-publish-on-pypi" id="toc-create-the-package-you-want-to-publish-on-pypi"&gt;Create the
package you want to publish on PyPi&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://brainsorting.com/posts/publish-a-package-on-pypi-using-poetry/#build-your-package" id="toc-build-your-package"&gt;Build your
package&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://brainsorting.com/posts/publish-a-package-on-pypi-using-poetry/#publish-your-package" id="toc-publish-your-package"&gt;Publish your package&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://brainsorting.com/posts/publish-a-package-on-pypi-using-poetry/#end-notes" id="toc-end-notes"&gt;End notes&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/nav&gt;
&lt;!--
.. title: Publish a package on PyPi using Poetry
.. slug: publish-a-package-on-pypi-using-poetry
.. date: 2020-04-23 21:31:25 UTC+02:00
.. tags: poetry, package, python
.. category: tutorial
.. link:
.. description: Tutorial to publish a package on PyPi using Poetry
.. type: text
--&gt;
&lt;p&gt;First thing first, you need Poetry if you don’t have it already.&lt;/p&gt;
&lt;p&gt;Poetry is the new standard for creating and managing virtual
environment for your Python project. It is also a Python dependency
management tool that is working differently as pip. It uses the new
standard &lt;code&gt;pyproject.toml&lt;/code&gt; decided by the Python Packaging
Authority with PEP-518. This file merges all the previous config files
that were necessary before, &lt;a href="http://setup.py/"&gt;&lt;code&gt;setup.py&lt;/code&gt;&lt;/a&gt;,
&lt;code&gt;requirements.txt&lt;/code&gt;, &lt;code&gt;setup.cfg&lt;/code&gt;, &lt;a href="http://manifest.in/"&gt;&lt;code&gt;MANIFEST.in&lt;/code&gt;&lt;/a&gt; et
&lt;code&gt;Pipfile&lt;/code&gt;, in one unique file to rule them all ! Ok, enough
of Lord of the Ring.&lt;/p&gt;
&lt;p&gt;I advise you to follow along with the &lt;a href="https://python-poetry.org/docs/cli/"&gt;documentation&lt;/a&gt; of poetry
open. &lt;/p&gt;&lt;p&gt;&lt;a href="https://brainsorting.com/posts/publish-a-package-on-pypi-using-poetry/"&gt;Read more…&lt;/a&gt; (3 min remaining to read)&lt;/p&gt;&lt;/div&gt;</description><category>package</category><category>poetry</category><category>python</category><guid>https://brainsorting.com/posts/publish-a-package-on-pypi-using-poetry/</guid><pubDate>Thu, 23 Apr 2020 19:31:25 GMT</pubDate></item></channel></rss>