{"@attributes":{"version":"2.0"},"channel":{"title":"Home on FDUCAT Notebook","link":"https:\/\/notes.ducatillon.net\/","description":"Recent content in Home on FDUCAT Notebook","generator":"Hugo","language":"en","item":[{"title":"macOS disk cleanup commands","link":"https:\/\/notes.ducatillon.net\/docs\/devops\/macos-disk-cleanup\/","pubDate":"Mon, 31 Aug 2026 00:00:00 +0000","guid":"https:\/\/notes.ducatillon.net\/docs\/devops\/macos-disk-cleanup\/","description":"<h1 id=\"macos-disk-cleanup-commands\">macOS disk cleanup commands<a class=\"anchor\" href=\"#macos-disk-cleanup-commands\">#<\/a><\/h1>\n<p>Collection of commands to check and free disk space on macOS.<\/p>\n<h2 id=\"docker\">Docker<a class=\"anchor\" href=\"#docker\">#<\/a><\/h2>\n<table>\n  <thead>\n      <tr>\n          <th>Command<\/th>\n          <th>Description<\/th>\n      <\/tr>\n  <\/thead>\n  <tbody>\n      <tr>\n          <td><code>docker system df<\/code><\/td>\n          <td>Show disk usage overview (images, containers, volumes, build cache)<\/td>\n      <\/tr>\n      <tr>\n          <td><code>docker system prune -a --volumes<\/code><\/td>\n          <td>Remove all unused containers, images, build cache, and volumes<\/td>\n      <\/tr>\n  <\/tbody>\n<\/table>\n<h2 id=\"homebrew\">Homebrew<a class=\"anchor\" href=\"#homebrew\">#<\/a><\/h2>\n<table>\n  <thead>\n      <tr>\n          <th>Command<\/th>\n          <th>Description<\/th>\n      <\/tr>\n  <\/thead>\n  <tbody>\n      <tr>\n          <td><code>brew cleanup --dry-run<\/code><\/td>\n          <td>Preview what can be removed (old versions, stale downloads)<\/td>\n      <\/tr>\n      <tr>\n          <td><code>brew cleanup -s<\/code><\/td>\n          <td>Clean old versions and stale downloads (&ldquo;scrub&rdquo;)<\/td>\n      <\/tr>\n  <\/tbody>\n<\/table>\n<h2 id=\"system\">System<a class=\"anchor\" href=\"#system\">#<\/a><\/h2>\n<p>Find the biggest space consumers in the home directory:<\/p>"},{"title":"IA 2026 The Survival Guide after the end of Premium Requests","link":"https:\/\/notes.ducatillon.net\/posts\/ai-cost-2026\/","pubDate":"Tue, 30 Jun 2026 00:00:00 +0000","guid":"https:\/\/notes.ducatillon.net\/posts\/ai-cost-2026\/","description":"<p>The April 2026 announcement marked a turning point: GitHub officially ended the principle of &ldquo;Premium Requests&rdquo; to switch to a <strong>real consumption (AI Credits)<\/strong> model. From now on, each interaction is billed by the weight of the data. For a developer, this means that poor context management can be costly.<\/p>\n<p>Here is the complete guide to navigating this new AI economy.<\/p>\n<h3 id=\"1-the-new-anatomy-of-interaction-system-june-2026\">1. The New Anatomy of Interaction (System June 2026)<a class=\"anchor\" href=\"#1-the-new-anatomy-of-interaction-system-june-2026\">#<\/a><\/h3>\n<table>\n  <thead>\n      <tr>\n          <th style=\"text-align: left\">Component<\/th>\n          <th style=\"text-align: left\">Definition<\/th>\n          <th style=\"text-align: left\">\u201cLegacy\u201d Logic (Pre-2026)<\/th>\n          <th style=\"text-align: left\">\u201cModern\u201d Logic (June 2026)<\/th>\n          <th style=\"text-align: left\">Optimization (Save $)<\/th>\n      <\/tr>\n  <\/thead>\n  <tbody>\n      <tr>\n          <td style=\"text-align: left\"><strong>Request<\/strong><\/td>\n          <td style=\"text-align: left\">The API call (your \u201cEnter\u201d).<\/td>\n          <td style=\"text-align: left\">1 question = 1 fixed unit.<\/td>\n          <td style=\"text-align: left\"><strong>Variable<\/strong>. A query costs according to its complexity.<\/td>\n          <td style=\"text-align: left\"><strong>Batching<\/strong>: Merge several requests into one.<\/td>\n      <\/tr>\n      <tr>\n          <td style=\"text-align: left\"><strong>Payload<\/strong><\/td>\n          <td style=\"text-align: left\">Raw data (Code + Context).<\/td>\n          <td style=\"text-align: left\">Hidden in the package.<\/td>\n          <td style=\"text-align: left\"><strong>The cost driver<\/strong>. Defines the number of input tokens.<\/td>\n          <td style=\"text-align: left\"><strong>Repomix<\/strong>: Compress the project into a single optimized file.<\/td>\n      <\/tr>\n      <tr>\n          <td style=\"text-align: left\"><strong>Token<\/strong><\/td>\n          <td style=\"text-align: left\">Atomic unit ($\\approx$ 4 char.).<\/td>\n          <td style=\"text-align: left\">Invisible.<\/td>\n          <td style=\"text-align: left\"><strong>Universal currency<\/strong>. Around $0.01 \/ 1000 tokens.<\/td>\n          <td style=\"text-align: left\"><strong>Prompt Caching<\/strong>: Reuses the context (-90% on input).<\/td>\n      <\/tr>\n      <tr>\n          <td style=\"text-align: left\"><strong>AI Credits<\/strong><\/td>\n          <td style=\"text-align: left\">Your monthly balance.<\/td>\n          <td style=\"text-align: left\">300 or 1500 requests.<\/td>\n          <td style=\"text-align: left\"><strong>1 Credit = $1<\/strong>. Your $10-39 is converted into your \u201cpurse\u201d.<\/td>\n          <td style=\"text-align: left\"><strong>Model Routing<\/strong>: Only release the &ldquo;Pro&rdquo; model for architecture.<\/td>\n      <\/tr>\n  <\/tbody>\n<\/table>\n<h3 id=\"2-comparison-of-offers--use-cases-target-june-2026\">2. Comparison of Offers &amp; Use Cases (Target June 2026)<a class=\"anchor\" href=\"#2-comparison-of-offers--use-cases-target-june-2026\">#<\/a><\/h3>\n<p>This table summarizes the best options on the market according to your real needs, whether technical or daily.<\/p>"},{"title":"Static Sites in 2026: Astro, Hugo, and Performance","link":"https:\/\/notes.ducatillon.net\/posts\/static-sites\/","pubDate":"Mon, 15 Jun 2026 00:00:00 +0000","guid":"https:\/\/notes.ducatillon.net\/posts\/static-sites\/","description":"<p>Why &ldquo;Islands Architecture&rdquo; is Changing the Web in 2026?<\/p>\n<h2 id=\"the-shift-in-strategy\">The Shift in Strategy<a class=\"anchor\" href=\"#the-shift-in-strategy\">#<\/a><\/h2>\n<p>For many years WordPress set the bar: easy installs, editorial workflows, and server-rendered pages that worked out of the box for blogs and small sites. That period (the &ldquo;WordPress era&rdquo;) taught us the value of simple publishing and immediate functionality.<\/p>\n<p>Later came the SSG era (Hugo and similar): performance from pre-built HTML and tiny hosting footprints.<\/p>\n<p>Now we&rsquo;re in a third phase where frameworks (Next.js, Docusaurus, Astro) balance server rendering, partial hydration, and selective client-side interactivity. The key question today is when and where JavaScript runs (hydration), not just whether a site is SSG or SSR.<\/p>"},{"title":"How to Create a Custom Skill","link":"https:\/\/notes.ducatillon.net\/posts\/2026-05-05-how-to-create-a-custom-skill-from-scratch\/","pubDate":"Tue, 05 May 2026 00:00:00 +0000","guid":"https:\/\/notes.ducatillon.net\/posts\/2026-05-05-how-to-create-a-custom-skill-from-scratch\/","description":"<p>I built the <code>article-writing<\/code> skill to turn CLI conversations into publishable markdown articles.\nV1 was mostly Codex-oriented, then I iterated: more generic extraction, cleaner deliverables, and 4 tones\/voices.<\/p>\n<p>Here is a reproducible method to create a custom skill.<\/p>\n<h2 id=\"preconditions\">Preconditions<a class=\"anchor\" href=\"#preconditions\">#<\/a><\/h2>\n<p>Having a CLI tool like claude code, copilot, codex or any other with a <code>SKILL.md<\/code> file to host your custom skill.<\/p>\n<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-text\" data-lang=\"text\"><span style=\"display:flex;\"><span>SKILLS\/&lt;skill-name&gt;\/SKILL.md<\/span><\/span><\/code><\/pre><\/div><p>Example:<\/p>\n<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-text\" data-lang=\"text\"><span style=\"display:flex;\"><span>SKILLS\/article-writing\/SKILL.md<\/span><\/span><\/code><\/pre><\/div><h2 id=\"how-to\">How-to<a class=\"anchor\" href=\"#how-to\">#<\/a><\/h2>\n<h3 id=\"1-define-the-scope\">1) Define the scope<a class=\"anchor\" href=\"#1-define-the-scope\">#<\/a><\/h3>\n<p>Define the skill behavior in one complete sentence:<\/p>"},{"title":"Networking basics","link":"https:\/\/notes.ducatillon.net\/posts\/notions-reseau\/","pubDate":"Tue, 11 Jan 2011 00:00:00 +0000","guid":"https:\/\/notes.ducatillon.net\/posts\/notions-reseau\/","description":"<p>Basic notions of networking<\/p>\n<h2 id=\"network-computing\">Network (computing)<a class=\"anchor\" href=\"#network-computing\">#<\/a><\/h2>\n<p>Set of computers linked together (cable or wireless). These\u00a0computers can remotely:<\/p>\n<ol>\n<li>Share resources (modem, hard drive, CD-Rom drive, applications, etc.)<\/li>\n<li>Exchange data: documents, chats etc.<\/li>\n<\/ol>\n<h2 id=\"network-cables-or-ethernet-cable\">Network cables or ethernet cable<a class=\"anchor\" href=\"#network-cables-or-ethernet-cable\">#<\/a><\/h2>\n<ul>\n<li>UTP-CAT5 (Unshielded Twist Pair Category 5): 100 megabit\/second<\/li>\n<li>UTP-CAT6 (Unshielded Twist Pair Category 6): 1gigabit\/second<\/li>\n<li>straight ethernet cables: connects a computer to a switch<\/li>\n<li>crossed ethernet cables: connects 2 computers together<\/li>\n<\/ul>\n<h2 id=\"network-card\">Network card<a class=\"anchor\" href=\"#network-card\">#<\/a><\/h2>\n<p>Hardware that provides access to the network. This is where the data passes. The network card provides a MAC address to the computer in question in order to identify it on the network (physical address). A network card attaches to the computer&rsquo;s PCI port.<\/p>"},{"title":"Load your own .css and .js files into Wordpress","link":"https:\/\/notes.ducatillon.net\/posts\/load-js-to-wp\/","pubDate":"Thu, 02 Dec 2010 00:00:00 +0000","guid":"https:\/\/notes.ducatillon.net\/posts\/load-js-to-wp\/","description":"<h2 id=\"objective\">Objective<a class=\"anchor\" href=\"#objective\">#<\/a><\/h2>\n<p>Load one or more .js and\/or .css files to create an animation or add a style effect.<\/p>\n<h2 id=\"solution\">Solution<a class=\"anchor\" href=\"#solution\">#<\/a><\/h2>\n<p>On a &ldquo;non-wordpress&rdquo; site we could include our scripts between the <code>&lt;head&gt;<\/code> tags of our HTML page.<\/p>\n<p>With WordPress (3.X.X and 4.X.X) one of the possible solutions is to use the methods<\/p>\n<ul>\n<li><code>_wp_enqueue_script_<\/code><\/li>\n<li><code>_wp_enqueue_style_<\/code><\/li>\n<\/ul>\n<p>of the <code>function.php<\/code> file.<\/p>\n<p>Here is an example of code to include in the function.php file:<\/p>\n<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-php\" data-lang=\"php\"><span style=\"display:flex;\"><span><span style=\"color:#75715e\">\/\/Create a function to call javascript and css files\n<\/span><\/span><\/span><span style=\"display:flex;\"><span><span style=\"color:#75715e\"><\/span><span style=\"color:#f92672\">&lt;?<\/span><span style=\"color:#a6e22e\">php<\/span> <span style=\"color:#66d9ef\">function<\/span> <span style=\"color:#a6e22e\">load_my_files<\/span>() {   \n<\/span><\/span><span style=\"display:flex;\"><span>  <span style=\"color:#75715e\">\/\/ Load files EXCEPT on site administration\n<\/span><\/span><\/span><span style=\"display:flex;\"><span><span style=\"color:#75715e\"><\/span>  <span style=\"color:#66d9ef\">if<\/span> (<span style=\"color:#f92672\">!<\/span><span style=\"color:#a6e22e\">is_admin<\/span>()) {\n<\/span><\/span><span style=\"display:flex;\"><span>    <span style=\"color:#75715e\">\/\/Load js files\n<\/span><\/span><\/span><span style=\"display:flex;\"><span><span style=\"color:#75715e\"><\/span>    <span style=\"color:#a6e22e\">wp_enqueue_script<\/span>(<span style=\"color:#e6db74\">&#39;script1&#39;<\/span>, <span style=\"color:#e6db74\">&#39;\/wp-content\/themes\/custom_theme\/js\/script1.js&#39;<\/span>);\n<\/span><\/span><span style=\"display:flex;\"><span>    <span style=\"color:#a6e22e\">wp_enqueue_script<\/span>(<span style=\"color:#e6db74\">&#39;script2&#39;<\/span>, <span style=\"color:#e6db74\">&#39;\/wp-content\/themes\/custom_theme\/js\/script2.js&#39;<\/span>);\n<\/span><\/span><span style=\"display:flex;\"><span>    <span style=\"color:#75715e\">\/\/Load css files\n<\/span><\/span><\/span><span style=\"display:flex;\"><span><span style=\"color:#75715e\"><\/span>    <span style=\"color:#a6e22e\">wp_enqueue_style<\/span>(<span style=\"color:#e6db74\">&#39;style2&#39;<\/span>, <span style=\"color:#e6db74\">&#39;\/wp-content\/themes\/custom_theme\/css\/style2.css&#39;<\/span>);\n<\/span><\/span><span style=\"display:flex;\"><span>    <span style=\"color:#a6e22e\">wp_enqueue_style<\/span>(<span style=\"color:#e6db74\">&#39;style1&#39;<\/span>, <span style=\"color:#e6db74\">&#39;\/wp-content\/themes\/custom_theme\/css\/style1.css&#39;<\/span>);\n<\/span><\/span><span style=\"display:flex;\"><span>      }\n<\/span><\/span><span style=\"display:flex;\"><span>    }\n<\/span><\/span><span style=\"display:flex;\"><span>    <span style=\"color:#75715e\">\/\/ Load our function on initialization\n<\/span><\/span><\/span><span style=\"display:flex;\"><span><span style=\"color:#75715e\"><\/span>    <span style=\"color:#a6e22e\">add_action<\/span>(<span style=\"color:#e6db74\">&#39;init&#39;<\/span>, <span style=\"color:#e6db74\">&#39;load_my_files&#39;<\/span>);\n<\/span><\/span><span style=\"display:flex;\"><span>    <span style=\"color:#75715e\">?&gt;<\/span><span style=\"color:#960050;background-color:#1e0010\">\n<\/span><\/span><\/span><\/code><\/pre><\/div>\n<p>Then place the .js and .css files on your server in the folders created for this purpose as in the example above<\/p>"},{"title":"Badge Maker","link":"https:\/\/notes.ducatillon.net\/docs\/web\/badges\/","pubDate":"Mon, 01 Jan 0001 00:00:00 +0000","guid":"https:\/\/notes.ducatillon.net\/docs\/web\/badges\/","description":"<h2 id=\"shieldsio-badge-maker\">Shields.io Badge Maker<a class=\"anchor\" href=\"#shieldsio-badge-maker\">#<\/a><\/h2>\n<p>&ldquo;Struggling to create the perfect shields.io badge? Here\u2019s a quick, practical guide\u2014with real examples\u2014to help you avoid common pitfalls and craft badges that stand out.&rdquo;<\/p>\n<table>\n  <thead>\n      <tr>\n          <th><strong>Rendered Badge<\/strong><\/th>\n          <th><strong>Goal<\/strong><\/th>\n          <th><strong>URL Structure<\/strong><\/th>\n          <th><strong>Key Tips<\/strong><\/th>\n      <\/tr>\n  <\/thead>\n  <tbody>\n      <tr>\n          <td><img src=\"https:\/\/img.shields.io\/badge\/Java-17-ED8B00\" alt=\"Java 17\" \/><\/td>\n          <td><strong>Basic Badge<\/strong><\/td>\n          <td><code>https:\/\/img.shields.io\/badge\/&lt;LEFT_TEXT&gt;-&lt;RIGHT_TEXT&gt;-&lt;COLOR&gt;<\/code><\/td>\n          <td>Use a valid hex color (e.g., <code>ED8B00<\/code> for Java). If <code>&lt;RIGHT_TEXT&gt;<\/code> is not a color, it will appear as text.<\/td>\n      <\/tr>\n      <tr>\n          <td><img src=\"https:\/\/img.shields.io\/badge\/Java-ED8B00?logo=openjdk&amp;logoColor=white\" alt=\"Java\" \/><\/td>\n          <td><strong>Logo Integration<\/strong><\/td>\n          <td><code>?logo=&lt;LOGO&gt;&amp;logoColor=&lt;LOGO_COLOR&gt;<\/code><\/td>\n          <td>Find the correct logo name on <a href=\"https:\/\/simpleicons.org\/\">Simple Icons<\/a>. Use <code>openjdk<\/code> for Java, not <code>java<\/code>.<\/td>\n      <\/tr>\n      <tr>\n          <td><img src=\"https:\/\/img.shields.io\/badge\/Java-ED8B00?style=flat&amp;logo=openjdk&amp;logoColor=white\" alt=\"Java\" \/><\/td>\n          <td><strong>Style: Flat<\/strong><\/td>\n          <td><code>?style=flat<\/code><\/td>\n          <td>Use <code>flat<\/code> for a minimalist look.<\/td>\n      <\/tr>\n      <tr>\n          <td><img src=\"https:\/\/img.shields.io\/badge\/Java-ED8B00?style=for-the-badge&amp;logo=openjdk&amp;logoColor=white\" alt=\"Java\" \/><\/td>\n          <td><strong>Style: For the Badge<\/strong><\/td>\n          <td><code>?style=for-the-badge<\/code><\/td>\n          <td>Use <code>for-the-badge<\/code> for a larger, rounded style.<\/td>\n      <\/tr>\n      <tr>\n          <td><img src=\"https:\/\/img.shields.io\/badge\/Java-ED8B00?style=for-the-badge&amp;logo=openjdk&amp;logoColor=black\" alt=\"Java\" \/><\/td>\n          <td><strong>Logo Color: Black<\/strong><\/td>\n          <td><code>&amp;logoColor=black<\/code><\/td>\n          <td>Use <code>black<\/code> for logos on light backgrounds.<\/td>\n      <\/tr>\n      <tr>\n          <td><img src=\"https:\/\/img.shields.io\/badge\/Java-17-blue?style=for-the-badge&amp;logo=openjdk&amp;logoColor=white\" alt=\"Java 17\" \/><\/td>\n          <td><strong>Text on Right Side<\/strong><\/td>\n          <td><code>https:\/\/img.shields.io\/badge\/&lt;LEFT_TEXT&gt;-&lt;RIGHT_TEXT&gt;-&lt;COLOR&gt;<\/code><\/td>\n          <td>Ensure <code>&lt;COLOR&gt;<\/code> is a valid hex code or color name.<\/td>\n      <\/tr>\n      <tr>\n          <td><img src=\"https:\/\/img.shields.io\/badge\/OpenSearch-00BFB3?style=for-the-badge&amp;logo=opensearch&amp;logoColor=white\" alt=\"OpenSearch\" \/><\/td>\n          <td><strong>OpenSearch Badge<\/strong><\/td>\n          <td><code>https:\/\/img.shields.io\/badge\/OpenSearch-00BFB3?style=for-the-badge&amp;logo=opensearch&amp;logoColor=white<\/code><\/td>\n          <td>Use official brand colors for consistency (e.g., <code>00BFB3<\/code> for OpenSearch).<\/td>\n      <\/tr>\n  <\/tbody>\n<\/table>\n<div align=\"center\">\n<a class=\"book-btn\"href=\"https:\/\/shields.io\/badges\"rel=\"noopener\"target=\"_blank\">\ud83d\udc49 Shields.io Badge Maker<\/a>\n<\/div>"},{"title":"Batch Process Files","link":"https:\/\/notes.ducatillon.net\/docs\/devops\/batch-process-files\/","pubDate":"Mon, 01 Jan 0001 00:00:00 +0000","guid":"https:\/\/notes.ducatillon.net\/docs\/devops\/batch-process-files\/","description":"<h2 id=\"script-that-removes-all-lines-containing-foo-in-all-md-files-into-the-current-folder-recursively\">Script that removes all lines containing foo in all .md files into the current folder recursively<a class=\"anchor\" href=\"#script-that-removes-all-lines-containing-foo-in-all-md-files-into-the-current-folder-recursively\">#<\/a><\/h2>\n<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\"><span style=\"display:flex;\"><span><span style=\"color:#75715e\">#!\/bin\/sh\n<\/span><\/span><\/span><span style=\"display:flex;\"><span><span style=\"color:#75715e\"><\/span>\n<\/span><\/span><span style=\"display:flex;\"><span><span style=\"color:#75715e\"># If a command fails then the deploy stops<\/span>\n<\/span><\/span><span style=\"display:flex;\"><span>set -e\n<\/span><\/span><span style=\"display:flex;\"><span>\n<\/span><\/span><span style=\"display:flex;\"><span>printf <span style=\"color:#e6db74\">&#34;\\033[0;32mProcessing all files in current directory...\\033[0m\\n&#34;<\/span>\n<\/span><\/span><span style=\"display:flex;\"><span>\n<\/span><\/span><span style=\"display:flex;\"><span>\n<\/span><\/span><span style=\"display:flex;\"><span><span style=\"color:#75715e\"># Find all .md files in the current directory and subdirectories<\/span>\n<\/span><\/span><span style=\"display:flex;\"><span>find . -type f -name <span style=\"color:#e6db74\">&#34;*.md&#34;<\/span> | <span style=\"color:#66d9ef\">while<\/span> read file; <span style=\"color:#66d9ef\">do<\/span>\n<\/span><\/span><span style=\"display:flex;\"><span>  <span style=\"color:#75715e\"># Run vim on each file to remove all lines containing foo<\/span>\n<\/span><\/span><span style=\"display:flex;\"><span>  vim -es -c <span style=\"color:#e6db74\">&#34;:g\/foo\/d&#34;<\/span> -c <span style=\"color:#e6db74\">&#34;:wq&#34;<\/span> <span style=\"color:#e6db74\">&#34;<\/span>$file<span style=\"color:#e6db74\">&#34;<\/span>\n<\/span><\/span><span style=\"display:flex;\"><span><span style=\"color:#66d9ef\">done<\/span><\/span><\/span><\/code><\/pre><\/div>"},{"title":"Convert PDF to Docx","link":"https:\/\/notes.ducatillon.net\/docs\/productivity\/pdf_to_doc\/","pubDate":"Mon, 01 Jan 0001 00:00:00 +0000","guid":"https:\/\/notes.ducatillon.net\/docs\/productivity\/pdf_to_doc\/","description":"<h1 id=\"convert-pdf-to-docx\">Convert PDF to Docx<a class=\"anchor\" href=\"#convert-pdf-to-docx\">#<\/a><\/h1>\n<h2 id=\"prerequesites-for-macos\">Prerequesites for macos<a class=\"anchor\" href=\"#prerequesites-for-macos\">#<\/a><\/h2>\n<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\"><span style=\"display:flex;\"><span>brew install pipx\n<\/span><\/span><span style=\"display:flex;\"><span>pipx install pdf2docx<\/span><\/span><\/code><\/pre><\/div><h2 id=\"cli-usage\">CLI usage<a class=\"anchor\" href=\"#cli-usage\">#<\/a><\/h2>\n<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\"><span style=\"display:flex;\"><span>pdf2docx convert file.pdf file.docx<\/span><\/span><\/code><\/pre><\/div><h2 id=\"sources\">Sources<a class=\"anchor\" href=\"#sources\">#<\/a><\/h2>\n<p>(<a href=\"https:\/\/github.com\/ArtifexSoftware\/pdf2docx%29[https:\/\/github.com\/ArtifexSoftware\/pdf2docxe]\">https:\/\/github.com\/ArtifexSoftware\/pdf2docx)[https:\/\/github.com\/ArtifexSoftware\/pdf2docxe]<\/a><\/p>"},{"title":"Day to day bash commands for developers","link":"https:\/\/notes.ducatillon.net\/docs\/devops\/bash-commands\/","pubDate":"Mon, 01 Jan 0001 00:00:00 +0000","guid":"https:\/\/notes.ducatillon.net\/docs\/devops\/bash-commands\/","description":"<h1 id=\"day-to-day-bash-commands-for-developers\">Day to day bash commands for developers<a class=\"anchor\" href=\"#day-to-day-bash-commands-for-developers\">#<\/a><\/h1>\n<p><img src=\"https:\/\/notes.ducatillon.net\/img\/linux_pingouin.png\" alt=\"Penguin\" \/><\/p>\n<h2 id=\"bash-commands\">Bash commands<a class=\"anchor\" href=\"#bash-commands\">#<\/a><\/h2>\n<ul>\n<li><code>cd folder_name<\/code> entrer dans un dossier<\/li>\n<li><code>cd ..<\/code> : revenir au dossier pr\u00e9c\u00e9dant<\/li>\n<li><code>cat file_name<\/code> : affiche le contenu d&rsquo;un fichier<\/li>\n<li><code>pwd<\/code> : dis moi o\u00f9 je suis !<\/li>\n<li><code>mkdir folder_name<\/code> : cr\u00e9er un dossier<\/li>\n<li><code>cd \/ :<\/code> Aller \u00e0 la racine du serveur<\/li>\n<li><code>cd :<\/code> Aller au r\u00e9pertoire de l&rsquo;utilisateur (la &ldquo;home directory&rdquo; de l&rsquo;utilisateur)<\/li>\n<li><code>df -h :<\/code> Affiche les informations sur le volume de stockage. (h pour <strong>h<\/strong>uman)<\/li>\n<li><code>du -hd1 (anciennement du -h --max-depth=1):<\/code> Affiche les informations sur le volume de stockage du r\u00e9pertoire dans lequel on se trouve.(&ldquo;disk free&rdquo;,&ldquo;disk usage&rdquo;)<\/li>\n<li><code>rmdir file_name :<\/code> supprimer un dossier<\/li>\n<li><code>rmdir -rf file_name :<\/code> supprimer un dossier <strong>non vide.<\/strong> Attention, cela supprime tous le contenu \u00e0 l&rsquo;int\u00e9rieur du dossier (sous dossiers et fichiers)<\/li>\n<li><code>touch nomdufichier<\/code> : cr\u00e9er un fichier ou mettre \u00e0 jour la date de modification sur un fichier existant.<\/li>\n<li><code>chmod 700 file_name<\/code> : Modifier les permissions du fichier\/dossier<\/li>\n<li><code>chmod 777 -R folder_name<\/code> : Modifier les permissions du dossier ainsi que celles de tous les sous-dossiers et fichiers inclus<\/li>\n<li><code>chwon -R root:root folder_name<\/code> : Modifie le propri\u00e9taire d&rsquo;un dossier (avec sous dossiers et fichiers inclus dans mondossier)<\/li>\n<li><code>passwd utilisateur<\/code>: Changer le mot de passe de l&rsquo;utilisateur<\/li>\n<li><code>su -<\/code> : Se connecter en root<\/li>\n<li><code>su -utilisateur<\/code> : Se connecter avec utilisateur<\/li>\n<li><code>ls<\/code> : Lister le contenu d&rsquo;un dossier<\/li>\n<li><code>ls -l (ou ll)<\/code> : Liste le contenu d&rsquo;un dossier avec le d\u00e9tail (permission, user, group)<\/li>\n<li><code>ls -ltr<\/code> : Afficher les fichiers du plus ancien au plus r\u00e9cent<\/li>\n<li><code>ls -a<\/code> : Lister tout le contenu d&rsquo;un dossier (dont les fichiers cach\u00e9s)<\/li>\n<li><code>ls -h<\/code> : Lister les repertoires en affichant le volume des fichiers de mani\u00e8re &ldquo;lisible&rdquo;<\/li>\n<li><code>ls -t | head -n 1<\/code> : Liste le dernier le fichier \u00e9dit\u00e9. Ici, la commande &ldquo;head&rdquo; permet d&rsquo;afficher le nombre de ligne voulu par rapport au r\u00e9sultat de la commande ls (ici une seule ligne)<\/li>\n<li><code>ls -d *\/<\/code> : Lister UNIQUEMENT les repertoires.<\/li>\n<li><code>~\/<\/code> : \u00e9quivaut \u00e0 \/home\/dossierUser<\/li>\n<li><code>ls -l &gt; ls-l.txt<\/code> : Liste le contenu du r\u00e9pertoire dans le fichier ls-l.txt<\/li>\n<li><code>ls -l &gt; ls-l.txt 2&gt;&amp;1<\/code> : Liste uniquement les erreurs li\u00e9s \u00e0 la commande ls -l dans le fichier ls-l.txt<\/li>\n<li><code>scp -r \/Users\/john\/Documents\/mondossier\/* user@IP:~\/mondossier<\/code> : Envoyer un fichier serveur dont le contenu des dossiers<\/li>\n<li><code>scp -P 5555 \/Users\/john\/archive.tar.gz user@IP:~\/mondossier<\/code> : Envoyer un fichier compress\u00e9 en sp\u00e9cifiant le port. (-P)<\/li>\n<li><code>cp -rp \/var\/tmp\/prestashop_1.5.2.0\u00a0 \/var\/www\/html\/<\/code> : D\u00e9placer (=copier\/coller) un r\u00e9pertoire d&rsquo;un emplacement A \u00e0 un emplacement B en gardant les permissions des fichiers.<\/li>\n<li><code>tar -pczf nameoftarball.tar.gz directoryname\/<\/code> Compresser et conserver les permissions des fichiers(-p)<\/li>\n<li><code>tar -xzvf nameoftarball.tar.gz<\/code> : D\u00e9compresser une archive.<\/li>\n<li><code>[root@127.0.0.1 demo]#mv folder\/* .<\/code> : D\u00e9place le contenu du dossier &ldquo;folder&rdquo; dans le dossier &ldquo;demo&rdquo;<\/li>\n<li><code>unzip package.zip -d \/path\/to\/directory\/to\/unzip<\/code> : D\u00e9zipper le contenu de &ldquo;package.zip&rdquo; en choisissant le r\u00e9pertoire de destination.<\/li>\n<li><code>gunzip -c backup.sql.gzip &gt; backup.sql :<\/code> Extraire le fichier\u00a0&ldquo;backup.sql.gzip&rdquo; pour contourner l&rsquo;erreur &ldquo;Gunzip unknwon suffix&rdquo;<\/li>\n<li><code>find \/ -name file.log<\/code> : Recherche le fichier file.log \u00e0 la racine<\/li>\n<li><code>find . -iname file.log<\/code> : Recherche le fichier file.log dans le r\u00e9pertoire o\u00f9 l&rsquo;on se trouve.(case sensitive : sensible aux majuscules et minuscules)<\/li>\n<li><code>find . -iname php.ini<\/code> : Recherche le fichier php.ini dans le r\u00e9pertoire o\u00f9 l&rsquo;on se trouve.(sans prendre en compte les majuscules et minuscules)<\/li>\n<li><code>find . -mtime -3 | grep test<\/code> : Recherche les fichiers qui ont \u00e9t\u00e9 modifi\u00e9 dans les 3 derniers jours et contenant &ldquo;test&rdquo; dans leur nom.<\/li>\n<li><code>find . -mtime +3 | grep test<\/code> : Recherche les fichiers qui ont \u00e9t\u00e9 modifi\u00e9 il y a plus de 3 jours et contenant &ldquo;test&rdquo; dans leur nom.<\/li>\n<li><code>locate php.ini<\/code> : Recherche le fichier php.ini sur le serveur<\/li>\n<li><code>grep -lR &quot;chaine de caractere&quot; *<\/code> : Rechercher une chaine de caract\u00e8re dans tous les fichiers du dossier dans lequel on se trouve.<\/li>\n<li><code>find \/search\/in\/this\/folder\/ -type d -name &quot;wordpress&quot;<\/code> : Recherche le r\u00e9pertoire intitul\u00e9 &ldquo;wordpress&rdquo; dans le r\u00e9pertoire \/search\/in\/this\/folder\/<\/li>\n<li><code>diff file1 file2 | more<\/code> : Afficher les diff\u00e9rences entre 2 fichiers;<\/li>\n<li><code>&gt; fileToPurge.txt<\/code> : Effacer le contenu du fichier sans supprimer le fichier lui-m\u00eame.<\/li>\n<li><code>grep -Ri --color motarecherche \/repertoire\/ou\/rechercher\/<\/code> : Rechercher un mot dans un repertoire sans prendre en compte la casse et en affichant le mot \u00e0 rechercher en couleur.<\/li>\n<li><code>sed -i 's\/mot_a_rechercher\/remplac\u00e9_par_celuici-meme\/' fichier_en_question.txt<\/code> : Commande de rechercher\/remplacer de &ldquo;mot_a_rechercher&rdquo; en &ldquo;remplac\u00e9_par_celuici-meme&rdquo; dans le fichier fichier_en_question.txt<\/li>\n<li><code>sed -i 's\/mot_a_rechercher\/remplac\u00e9_par_celuici-meme\/g' fichier_en_question.txt<\/code> : Commande de rechercher\/remplacer de &ldquo;mot_a_rechercher&rdquo; en &ldquo;remplac\u00e9_par_celuici-meme&rdquo; dans le fichier fichier_en_question.txt. Le <code>\/g<\/code> permet de rechercher\/remplacer plusieurs occurences de &ldquo;mot_a_rechercher&rdquo; sur une m\u00eame ligne.<\/li>\n<li><code>grep motarechercher\/etc\/php.ini<\/code> : Rechercher motarechercher dans le fichier php.ini<\/li>\n<li><code>grep -v motaexclure\/etc\/php.ini<\/code> : Rechercher TOUT sauf motarechercher dans le fichier php.ini<\/li>\n<li><code>history<\/code> : affiche l&rsquo;historique des commandes<\/li>\n<li><code>history | grep install<\/code> : Recherche dans l&rsquo;historique des commandes celles qui contiennent le mot install<\/li>\n<li><code>history -c<\/code> : Efface l&rsquo;historique<\/li>\n<li><code>man command<\/code>: Afficher les possibilit\u00e9s de la commande (Exemple: man ls)<\/li>\n<li><code>q<\/code> : Quitter l&rsquo;\u00e9cran<\/li>\n<li><code>exit<\/code> : Log out le user<\/li>\n<li><code>clear<\/code> : Rafraichir l&rsquo;\u00e9cran<\/li>\n<li><code>shutdown -r now<\/code> : Red\u00e9marrer le serveur<\/li>\n<li><code>uname -m<\/code> : D\u00e9terminer si la version de Linux utilis\u00e9e est en 32 bit ou 64 bit x86_64 &raquo;&gt; 64-bit kernel i686 &raquo;&gt; 32-bit kernel<\/li>\n<li><code>ps -fu $USER<\/code> : Visualiser les USERS en activit\u00e9.(&ldquo;process statistics&rdquo;)<\/li>\n<li><code>ps -ef | grep ftp<\/code> : Visualiser les processus en activit\u00e9 contenant &ldquo;ftp&rdquo;<\/li>\n<li><code>service apache2 start &amp;<\/code> : Ex\u00e9cuter un script en t\u00e2che de fond.<\/li>\n<li><code>env<\/code> : Affiche les variables d&rsquo;environnement.<\/li>\n<li><code>top<\/code> : Affiche les performances machines instantan\u00e9es. Une fois dans le &ldquo;top&rdquo; en appuyant sur &ldquo;SHIFT 1&rdquo; permet d&rsquo;afficher les performances de chaque CPU.<\/li>\n<\/ul>\n<h3 id=\"quick-history-search-in-terminal\">Quick history search in terminal<a class=\"anchor\" href=\"#quick-history-search-in-terminal\">#<\/a><\/h3>\n<p>Common search history is a combination of <code>history<\/code> and <code>grep<\/code> key words :\n<code>history | grep word_to_search<\/code><\/p>"},{"title":"Display a PDF in an HTML page","link":"https:\/\/notes.ducatillon.net\/docs\/web\/embed-pdf-in-html\/","pubDate":"Mon, 01 Jan 0001 00:00:00 +0000","guid":"https:\/\/notes.ducatillon.net\/docs\/web\/embed-pdf-in-html\/","description":"<h1 id=\"display-a-pdf-in-an-html-page\">Display a PDF in an HTML page<a class=\"anchor\" href=\"#display-a-pdf-in-an-html-page\">#<\/a><\/h1>\n<p>There are several ways to display a PDF inside an HTML page. Below are three common approaches, with notes on compatibility and a recommended Hugo shortcode method.<\/p>\n<h2 id=\"1-using-the-embed-tag\">1. Using the <code>&lt;embed&gt;<\/code> tag<a class=\"anchor\" href=\"#1-using-the-embed-tag\">#<\/a><\/h2>\n<p>The <code>&lt;embed&gt;<\/code> tag is the simplest option, but some browsers (especially mobile) may not render PDFs inline.<\/p>\n<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-html\" data-lang=\"html\"><span style=\"display:flex;\"><span>&lt;<span style=\"color:#f92672\">embed<\/span> <span style=\"color:#a6e22e\">src<\/span><span style=\"color:#f92672\">=<\/span><span style=\"color:#e6db74\">&#34;https:\/\/yoursite.com\/document.pdf&#34;<\/span> <span style=\"color:#a6e22e\">width<\/span><span style=\"color:#f92672\">=<\/span><span style=\"color:#e6db74\">&#34;100%&#34;<\/span> <span style=\"color:#a6e22e\">height<\/span><span style=\"color:#f92672\">=<\/span><span style=\"color:#e6db74\">&#34;400px&#34;<\/span> \/&gt;<\/span><\/span><\/code><\/pre><\/div><h2 id=\"2-using-an-iframe-with-google-viewer\">2. Using an <code>&lt;iframe&gt;<\/code> with Google Viewer<a class=\"anchor\" href=\"#2-using-an-iframe-with-google-viewer\">#<\/a><\/h2>\n<p>You can use an <code>&lt;iframe&gt;<\/code> to embed Google Docs Viewer. This works even if the browser can&rsquo;t render PDFs inline, but it requires the PDF to be accessible publicly by Google.<\/p>"},{"title":"Every day Git commands","link":"https:\/\/notes.ducatillon.net\/docs\/devops\/git-commands\/","pubDate":"Mon, 01 Jan 0001 00:00:00 +0000","guid":"https:\/\/notes.ducatillon.net\/docs\/devops\/git-commands\/","description":"<h1 id=\"every-day-git-commands\">Every day Git commands<a class=\"anchor\" href=\"#every-day-git-commands\">#<\/a><\/h1>\n<p><img src=\"https:\/\/upload.wikimedia.org\/wikipedia\/commons\/thumb\/e\/e0\/Git-logo.svg\/1280px-Git-logo.svg.png\" alt=\"git\" \/><\/p>\n<p>Here are some day to day useful git commands<\/p>\n<h3 id=\"refresh-git-repo-after-gitignore-edition\">Refresh git repo after .gitignore edition<a class=\"anchor\" href=\"#refresh-git-repo-after-gitignore-edition\">#<\/a><\/h3>\n<p>When you add a new file to the <code>.gitignore<\/code> it is not immediatly ignored. It stills appears on <code>git status<\/code><\/p>\n<p>To refresh the git repo<\/p>\n<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\"><span style=\"display:flex;\"><span> git rm -rf --cached .<\/span><\/span><\/code><\/pre><\/div><p>or<\/p>\n<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\"><span style=\"display:flex;\"><span> git rm -rf --cached specifyOnlyTheFolderToResfreshInsteadOftheEntireRepo<\/span><\/span><\/code><\/pre><\/div><h3 id=\"remove-remote-branch\">Remove remote branch<a class=\"anchor\" href=\"#remove-remote-branch\">#<\/a><\/h3>\n<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\"><span style=\"display:flex;\"><span>git push origin --delete my-branch<\/span><\/span><\/code><\/pre><\/div><h3 id=\"remove-locale-branch\">Remove locale branch<a class=\"anchor\" href=\"#remove-locale-branch\">#<\/a><\/h3>\n<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\"><span style=\"display:flex;\"><span>git branch -D my-branch<\/span><\/span><\/code><\/pre><\/div><h3 id=\"rename-locale-branch\">Rename locale branch<a class=\"anchor\" href=\"#rename-locale-branch\">#<\/a><\/h3>\n<p>Switch to branch to rename<\/p>"},{"title":"Exclude Resource from Page Bundle","link":"https:\/\/notes.ducatillon.net\/docs\/hugo\/exclude-resource-from-page-bundle\/","pubDate":"Mon, 01 Jan 0001 00:00:00 +0000","guid":"https:\/\/notes.ducatillon.net\/docs\/hugo\/exclude-resource-from-page-bundle\/","description":"<h1 id=\"exclude-a-specific-resource-from-a-page-bundle\">Exclude a specific Resource from a Page Bundle<a class=\"anchor\" href=\"#exclude-a-specific-resource-from-a-page-bundle\">#<\/a><\/h1>\n<p>This code block prevents a specific image (resource) from being included in the page bundle.\nThis is useful when you want to exclude a specific image from being included in the page bundle.\nIn this example, the image <code>header.jpg<\/code> is excluded from the page bundle.<\/p>\n<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-html\" data-lang=\"html\"><span style=\"display:flex;\"><span>    {{ $images := .Resources.ByType &#34;image&#34; }}\n<\/span><\/span><span style=\"display:flex;\"><span>    {{ range $images }}\n<\/span><\/span><span style=\"display:flex;\"><span>\n<\/span><\/span><span style=\"display:flex;\"><span>      <span style=\"color:#75715e\">&lt;!-- Exclude header.jpg --&gt;<\/span>\n<\/span><\/span><span style=\"display:flex;\"><span>      {{ $relPermalink := .RelPermalink }} <span style=\"color:#75715e\">&lt;!-- Get the relative permalink of the image --&gt;<\/span>\n<\/span><\/span><span style=\"display:flex;\"><span>      {{ $filename := index (split $relPermalink &#34;\/&#34;) (sub (len (split $relPermalink &#34;\/&#34;)) 1) }} <span style=\"color:#75715e\">&lt;!-- Extract the filename --&gt;<\/span>\n<\/span><\/span><span style=\"display:flex;\"><span>      {{ $baseFilename := (split $filename &#34;.&#34;) }} <span style=\"color:#75715e\">&lt;!-- Split the filename by &#34;.&#34; --&gt;<\/span>\n<\/span><\/span><span style=\"display:flex;\"><span>      {{ $baseFilename := index $baseFilename 0 }} <span style=\"color:#75715e\">&lt;!-- Take the first part of the split result (before the dot) --&gt;<\/span>\n<\/span><\/span><span style=\"display:flex;\"><span>      &lt;<span style=\"color:#f92672\">span<\/span>&gt; {{ $filename }}&lt;\/<span style=\"color:#f92672\">span<\/span>&gt;\n<\/span><\/span><span style=\"display:flex;\"><span>      {{ if not (eq $baseFilename &#34;header&#34;) }}  \n<\/span><\/span><span style=\"display:flex;\"><span>      <span style=\"color:#75715e\">&lt;!-- Exclude header.jpg --&gt;<\/span>\n<\/span><\/span><span style=\"display:flex;\"><span>\n<\/span><\/span><span style=\"display:flex;\"><span>        {{ $image := .Resize &#34;960x webp&#34; }}      \n<\/span><\/span><span style=\"display:flex;\"><span>        &lt;<span style=\"color:#f92672\">img<\/span> <span style=\"color:#a6e22e\">src<\/span><span style=\"color:#f92672\">=<\/span><span style=\"color:#e6db74\">&#34;{{ $image.RelPermalink }}&#34;<\/span>&gt;\n<\/span><\/span><span style=\"display:flex;\"><span>\n<\/span><\/span><span style=\"display:flex;\"><span>      {{ end }}\n<\/span><\/span><span style=\"display:flex;\"><span>    {{ end }}<\/span><\/span><\/code><\/pre><\/div>"},{"title":"Git Submodules","link":"https:\/\/notes.ducatillon.net\/docs\/devops\/git-submodules\/","pubDate":"Mon, 01 Jan 0001 00:00:00 +0000","guid":"https:\/\/notes.ducatillon.net\/docs\/devops\/git-submodules\/","description":"<h1 id=\"demystifying-git-submodules-a-comprehensive-guide\">Demystifying Git Submodules: A Comprehensive Guide<a class=\"anchor\" href=\"#demystifying-git-submodules-a-comprehensive-guide\">#<\/a><\/h1>\n<p>Git submodules allow you to keep one Git repository as a subdirectory of another. This is a powerful feature for managing dependencies while keeping their histories separate.<\/p>\n<p>In this guide, we&rsquo;ll use the terms <strong>Main Project (Parent)<\/strong> and <strong>Submodule (Child)<\/strong> to explain the logic.<\/p>\n<h2 id=\"1-what-is-a-git-submodule\">1. What is a Git Submodule?<a class=\"anchor\" href=\"#1-what-is-a-git-submodule\">#<\/a><\/h2>\n<p>A submodule is <strong>not<\/strong> just a copy of a folder. It is a <strong>pointer<\/strong> to a specific commit in another repository.<\/p>"},{"title":"Github Pages","link":"https:\/\/notes.ducatillon.net\/docs\/devops\/githubpages\/","pubDate":"Mon, 01 Jan 0001 00:00:00 +0000","guid":"https:\/\/notes.ducatillon.net\/docs\/devops\/githubpages\/","description":"<h2 id=\"static-content-hosting-with-github-pages\">Static content hosting with GitHub Pages<a class=\"anchor\" href=\"#static-content-hosting-with-github-pages\">#<\/a><\/h2>\n<p>Let&rsquo;s review the nuances between site types and how to automate their deployment.<\/p>\n<h3 id=\"github-pages-site-types\">GitHub Pages Site Types<a class=\"anchor\" href=\"#github-pages-site-types\">#<\/a><\/h3>\n<table>\n  <thead>\n      <tr>\n          <th style=\"text-align: left\">Feature<\/th>\n          <th style=\"text-align: left\">User Site<\/th>\n          <th style=\"text-align: left\">Organization Site<\/th>\n          <th style=\"text-align: left\">Project Site<\/th>\n      <\/tr>\n  <\/thead>\n  <tbody>\n      <tr>\n          <td style=\"text-align: left\"><strong>Primary Intent<\/strong><\/td>\n          <td style=\"text-align: left\">Personal portfolio, resume, or central hub.<\/td>\n          <td style=\"text-align: left\">Brand, company, or collective identity.<\/td>\n          <td style=\"text-align: left\">Documentation or landing page for a specific repo.<\/td>\n      <\/tr>\n      <tr>\n          <td style=\"text-align: left\"><strong>Repo Naming<\/strong><\/td>\n          <td style=\"text-align: left\"><code>username.github.io<\/code><\/td>\n          <td style=\"text-align: left\"><code>orgname.github.io<\/code><\/td>\n          <td style=\"text-align: left\"><code>any-repo-name<\/code><\/td>\n      <\/tr>\n      <tr>\n          <td style=\"text-align: left\"><strong>Default URL<\/strong><\/td>\n          <td style=\"text-align: left\"><code>https:\/\/username.github.io<\/code><\/td>\n          <td style=\"text-align: left\"><code>https:\/\/orgname.github.io<\/code><\/td>\n          <td style=\"text-align: left\"><code>https:\/\/username.github.io\/repo\/<\/code><\/td>\n      <\/tr>\n      <tr>\n          <td style=\"text-align: left\"><strong>Apex Domain<\/strong><\/td>\n          <td style=\"text-align: left\"><strong>Supported<\/strong> (e.g., <code>domain.com<\/code>).<\/td>\n          <td style=\"text-align: left\"><strong>Supported<\/strong> (e.g., <code>company.com<\/code>).<\/td>\n          <td style=\"text-align: left\"><strong>Supported<\/strong> (e.g., <code>project.com<\/code>).<\/td>\n      <\/tr>\n      <tr>\n          <td style=\"text-align: left\"><strong>Subdomain<\/strong><\/td>\n          <td style=\"text-align: left\"><strong>Supported<\/strong> (e.g., <code>user.domain.com<\/code>).<\/td>\n          <td style=\"text-align: left\"><strong>Supported<\/strong> (e.g., <code>org.domain.com<\/code>).<\/td>\n          <td style=\"text-align: left\"><strong>Supported<\/strong> (e.g., <code>docs.domain.com<\/code>).<\/td>\n      <\/tr>\n      <tr>\n          <td style=\"text-align: left\"><strong>Capacity<\/strong><\/td>\n          <td style=\"text-align: left\">One (1) per account.<\/td>\n          <td style=\"text-align: left\">One (1) per organization.<\/td>\n          <td style=\"text-align: left\">Unlimited per account\/org.<\/td>\n      <\/tr>\n      <tr>\n          <td style=\"text-align: left\"><strong>Permissions<\/strong><\/td>\n          <td style=\"text-align: left\">Individual ownership.<\/td>\n          <td style=\"text-align: left\">Shared team administrative access.<\/td>\n          <td style=\"text-align: left\">Inherited from the project repository.<\/td>\n      <\/tr>\n  <\/tbody>\n<\/table>\n<h3 id=\"deployment-workflow-strategies\">Deployment Workflow Strategies<a class=\"anchor\" href=\"#deployment-workflow-strategies\">#<\/a><\/h3>\n<p>Static site generators (SSGs) like Hugo or MkDocs require a build step to turn source files into HTML. How you handle that build defines your workflow.<\/p>"},{"title":"Google Spreadsheet Tricks","link":"https:\/\/notes.ducatillon.net\/docs\/productivity\/google-spreadsheet-tricks\/","pubDate":"Mon, 01 Jan 0001 00:00:00 +0000","guid":"https:\/\/notes.ducatillon.net\/docs\/productivity\/google-spreadsheet-tricks\/","description":"<h1 id=\"google-spreadsheet-tricks\">Google spreadsheet tricks<a class=\"anchor\" href=\"#google-spreadsheet-tricks\">#<\/a><\/h1>\n<h2 id=\"remove-characters-from-a-string-in-a-cell-with-google-spreadsheet\">Remove characters from a string in a cell with Google spreadsheet<a class=\"anchor\" href=\"#remove-characters-from-a-string-in-a-cell-with-google-spreadsheet\">#<\/a><\/h2>\n<h3 id=\"goal\">Goal<a class=\"anchor\" href=\"#goal\">#<\/a><\/h3>\n<p>Remove the first 2 characters from a string in cell D1 :<\/p>\n<pre tabindex=\"0\"><code>\u00a0=RIGHT(D1,LEN(D1)-2)<\/code><\/pre><h3 id=\"explanations\">Explanations<a class=\"anchor\" href=\"#explanations\">#<\/a><\/h3>\n<ul>\n<li><code>LEN(D1)<\/code> returns the length of the string in a cell.<\/li>\n<li><code>RIGHT(D1, X)<\/code> returns a substring from the end.\nFirst argument is the string.\nSeconde argument is the length of the substring to return.<\/li>\n<\/ul>\n<p>Alternatively, to remove the last 2 characters, use :<\/p>\n<pre tabindex=\"0\"><code>\u00a0=LEFT(D1,LEN(D1)-2)<\/code><\/pre>"},{"title":"Google Workspace Cheat Sheet","link":"https:\/\/notes.ducatillon.net\/posts\/gp-cheat-sheet\/","pubDate":"Mon, 01 Jan 0001 00:00:00 +0000","guid":"https:\/\/notes.ducatillon.net\/posts\/gp-cheat-sheet\/","description":"<p>Me: <a href=\"https:\/\/www.linkedin.com\/in\/sukumar-p\/\">https:\/\/www.linkedin.com\/in\/sukumar-p\/<\/a><\/p>\n<p>GitHub Copilot\nCopilot flow:\nInstallation - <a href=\"https:\/\/docs.github.com\/en\/copilot\/how-tos\/set-up\/install-copilot-extension\">https:\/\/docs.github.com\/en\/copilot\/how-tos\/set-up\/install-copilot-extension<\/a>\nContext gathering\nProxy service - <a href=\"https:\/\/devblogs.microsoft.com\/all-things-azure\/github-copilot-chat-explained-the-life-of-a-prompt\/\">https:\/\/devblogs.microsoft.com\/all-things-azure\/github-copilot-chat-explained-the-life-of-a-prompt\/<\/a>\n<a href=\"https:\/\/iitsnl.com\/blog\/understanding-github-copilots-internal-architecture\/\">https:\/\/iitsnl.com\/blog\/understanding-github-copilots-internal-architecture\/<\/a>\nModel selection\nPre and Post model filters\nDuplicate code detection\/filtering - <a href=\"https:\/\/github.com\/orgs\/community\/discussions\/159805\">https:\/\/github.com\/orgs\/community\/discussions\/159805<\/a>\nChat Experience:\nSlash commands:\n\/delegate, \/search, \/explain, \/fix, \/new, \/newNotebook, \/setupTests, \/tests, \/savePrompt, \/clear etc..\n<a href=\"https:\/\/docs.github.com\/en\/copilot\/reference\/chat-cheat-sheet?tool=vscode#slash-commands-1\">https:\/\/docs.github.com\/en\/copilot\/reference\/chat-cheat-sheet?tool=vscode#slash-commands-1<\/a>\nContext Variables:\n#{file}, #terminalLastCommand, #terminalSelection, #problems, #openSimpleBrowser, #changes, #githubRepo, #codebase, #fetch etc..\n<a href=\"https:\/\/docs.github.com\/en\/copilot\/reference\/chat-cheat-sheet?tool=vscode#chat-variables\">https:\/\/docs.github.com\/en\/copilot\/reference\/chat-cheat-sheet?tool=vscode#chat-variables<\/a>\nChat Participants:\n@cli, @cloud, @vscode, @workspace etc..\n<a href=\"https:\/\/docs.github.com\/en\/copilot\/reference\/chat-cheat-sheet?tool=vscode#chat-participants\">https:\/\/docs.github.com\/en\/copilot\/reference\/chat-cheat-sheet?tool=vscode#chat-participants<\/a>\nAdding context\nExplaining commit from Source Control tab\u2019s graph\nVoice chat - <a href=\"https:\/\/marketplace.visualstudio.com\/items?itemName=ms-vscode.vscode-speech\">https:\/\/marketplace.visualstudio.com\/items?itemName=ms-vscode.vscode-speech<\/a>\nCode completions:\nPurpose - <a href=\"https:\/\/code.visualstudio.com\/docs\/copilot\/ai-powered-suggestions\">https:\/\/code.visualstudio.com\/docs\/copilot\/ai-powered-suggestions<\/a>\nEnable\/Disable for all\/specific files in settings and from Copilot in status bar - <a href=\"https:\/\/code.visualstudio.com\/docs\/copilot\/ai-powered-suggestions#_enable-or-disable-inline-suggestions\">https:\/\/code.visualstudio.com\/docs\/copilot\/ai-powered-suggestions#_enable-or-disable-inline-suggestions<\/a>\nSnooze option\nCompletions model - <a href=\"https:\/\/code.visualstudio.com\/docs\/copilot\/ai-powered-suggestions#_change-the-ai-model-for-suggestions\">https:\/\/code.visualstudio.com\/docs\/copilot\/ai-powered-suggestions#_change-the-ai-model-for-suggestions<\/a>\nNext Edit Suggestion:\nWhat, Why, How\n<a href=\"https:\/\/code.visualstudio.com\/docs\/copilot\/ai-powered-suggestions#_next-edit-suggestions\">https:\/\/code.visualstudio.com\/docs\/copilot\/ai-powered-suggestions#_next-edit-suggestions<\/a>\nInline chat:\nPurpose\nContext and Model Selections\nInline chat in editor - <a href=\"https:\/\/code.visualstudio.com\/docs\/copilot\/chat\/inline-chat#_use-editor-inline-chat\">https:\/\/code.visualstudio.com\/docs\/copilot\/chat\/inline-chat#_use-editor-inline-chat<\/a>\nInline chat in terminal - <a href=\"https:\/\/code.visualstudio.com\/docs\/copilot\/chat\/inline-chat#_use-terminal-inline-chat\">https:\/\/code.visualstudio.com\/docs\/copilot\/chat\/inline-chat#_use-terminal-inline-chat<\/a>\nModel selection:\nStandard and Premium models\nModels comparison - <a href=\"https:\/\/docs.github.com\/en\/copilot\/reference\/ai-models\/model-comparison\">https:\/\/docs.github.com\/en\/copilot\/reference\/ai-models\/model-comparison<\/a>\nPremium requests, Model multiplier, quota for Business\/Enterprise users, Additional usage - <a href=\"https:\/\/docs.github.com\/en\/copilot\/concepts\/billing\/copilot-requests\">https:\/\/docs.github.com\/en\/copilot\/concepts\/billing\/copilot-requests<\/a>\nCustom instructions:\nPurpose\nUse cases with copilot-instructions.md file - <a href=\"https:\/\/code.visualstudio.com\/docs\/copilot\/customization\/custom-instructions#_use-a-githubcopilotinstructionsmd-file\">https:\/\/code.visualstudio.com\/docs\/copilot\/customization\/custom-instructions#_use-a-githubcopilotinstructionsmd-file<\/a>\nEnable custom instructions file in settings\nChat debug view with .copilotmd files - <a href=\"https:\/\/code.visualstudio.com\/docs\/copilot\/chat\/chat-debug-view\">https:\/\/code.visualstudio.com\/docs\/copilot\/chat\/chat-debug-view<\/a>\nGenerating chat instructions for existing repo - <a href=\"https:\/\/code.visualstudio.com\/docs\/copilot\/customization\/custom-instructions#_generate-an-instructions-file-for-your-workspace\">https:\/\/code.visualstudio.com\/docs\/copilot\/customization\/custom-instructions#_generate-an-instructions-file-for-your-workspace<\/a>\nCustom instructions for - Code Generation, Commit Message Generation, Pull Request Description Generation, Test Generation.\nAGENTS.md - <a href=\"https:\/\/agents.md\/\">https:\/\/agents.md\/<\/a>\nInstructions.md files:\nCompare with custom instructions\nSample instructions files with meta tags\nAdding new instructions directory in settings\n<a href=\"https:\/\/code.visualstudio.com\/docs\/copilot\/customization\/custom-instructions#_use-instructionsmd-files\">https:\/\/code.visualstudio.com\/docs\/copilot\/customization\/custom-instructions#_use-instructionsmd-files<\/a>\nReusable prompts:\nPurpose, locations\nCalling from copilot chat and editor\n<a href=\"https:\/\/code.visualstudio.com\/docs\/copilot\/customization\/prompt-files\">https:\/\/code.visualstudio.com\/docs\/copilot\/customization\/prompt-files<\/a>\nSpec story extension - <a href=\"https:\/\/marketplace.visualstudio.com\/items?itemName=SpecStory.specstory-vscode\">https:\/\/marketplace.visualstudio.com\/items?itemName=SpecStory.specstory-vscode<\/a>\nChat modes or Agents:\nBuilt-in agents - <a href=\"https:\/\/code.visualstudio.com\/docs\/copilot\/chat\/copilot-chat#_choose-an-agent\">https:\/\/code.visualstudio.com\/docs\/copilot\/chat\/copilot-chat#_choose-an-agent<\/a>\nAsk vs Edit vs Agent vs Plan modes\nCustom agents - <a href=\"https:\/\/code.visualstudio.com\/docs\/copilot\/customization\/custom-agents#_what-are-custom-agents\">https:\/\/code.visualstudio.com\/docs\/copilot\/customization\/custom-agents#_what-are-custom-agents<\/a>\nAgent file options - argument-hint, tools, model, infer, target, mcp-servers, handoffs - <a href=\"https:\/\/code.visualstudio.com\/docs\/copilot\/customization\/custom-agents#_custom-agent-file-structure\">https:\/\/code.visualstudio.com\/docs\/copilot\/customization\/custom-agents#_custom-agent-file-structure<\/a>\nCustom agents at Org and Enterprise level - <a href=\"https:\/\/docs.github.com\/en\/copilot\/how-tos\/use-copilot-agents\/coding-agent\/create-custom-agents\">https:\/\/docs.github.com\/en\/copilot\/how-tos\/use-copilot-agents\/coding-agent\/create-custom-agents<\/a>\n<a href=\"https:\/\/code.visualstudio.com\/docs\/copilot\/agents\/overview\">https:\/\/code.visualstudio.com\/docs\/copilot\/agents\/overview<\/a>\nSub agents - <a href=\"https:\/\/code.visualstudio.com\/docs\/copilot\/agents\/subagents\">https:\/\/code.visualstudio.com\/docs\/copilot\/agents\/subagents<\/a>\n<a href=\"https:\/\/www.linkedin.com\/feed\/update\/urn:li:activity:7436079249784057856\/\">https:\/\/www.linkedin.com\/feed\/update\/urn:li:activity:7436079249784057856\/<\/a>\nCopilot in CLI:\nInstallation\nUsage with \/ commands, ! shell commands, @ file references.\nBackground agents with @cli command and \u201cNew chat\u201d button in VS Code\n<a href=\"https:\/\/docs.github.com\/en\/copilot\/concepts\/agents\/copilot-cli\/about-copilot-cli\">https:\/\/docs.github.com\/en\/copilot\/concepts\/agents\/copilot-cli\/about-copilot-cli<\/a>\nVision input:\nEnabling it - <a href=\"https:\/\/docs.github.com\/en\/copilot\/how-tos\/chat-with-copilot\/chat-in-ide#using-images-in-copilot-chat\">https:\/\/docs.github.com\/en\/copilot\/how-tos\/chat-with-copilot\/chat-in-ide#using-images-in-copilot-chat<\/a>\nCopilot on github.com:\nDelegating tasks from VS Code, CLI, github.com\nPremium requests usage for coding agent task\nTriggering coding agent from github.com, follow up tasks - <a href=\"https:\/\/docs.github.com\/en\/copilot\/how-tos\/use-copilot-agents\/manage-agents\">https:\/\/docs.github.com\/en\/copilot\/how-tos\/use-copilot-agents\/manage-agents<\/a>\nAgent selection, Model selection.\nWorking with GitHub issues using copilot - <a href=\"https:\/\/docs.github.com\/en\/copilot\/how-tos\/use-copilot-for-common-tasks\/use-copilot-to-create-or-update-issues\">https:\/\/docs.github.com\/en\/copilot\/how-tos\/use-copilot-for-common-tasks\/use-copilot-to-create-or-update-issues<\/a>\nPull request summary - <a href=\"https:\/\/docs.github.com\/en\/copilot\/how-tos\/use-copilot-for-common-tasks\/create-a-pr-summary\">https:\/\/docs.github.com\/en\/copilot\/how-tos\/use-copilot-for-common-tasks\/create-a-pr-summary<\/a>\nPR review using Copilot and PRU, Agents tab in GitHub repository.\nCustomizing coding agent environment - <a href=\"https:\/\/docs.github.com\/en\/copilot\/how-tos\/use-copilot-agents\/coding-agent\/customize-the-agent-environment\">https:\/\/docs.github.com\/en\/copilot\/how-tos\/use-copilot-agents\/coding-agent\/customize-the-agent-environment<\/a><\/p>"},{"title":"Kubernetes Commands","link":"https:\/\/notes.ducatillon.net\/docs\/devops\/kubernetes-command\/","pubDate":"Mon, 01 Jan 0001 00:00:00 +0000","guid":"https:\/\/notes.ducatillon.net\/docs\/devops\/kubernetes-command\/","description":"<h2 id=\"kubernetes--docker-commands-for-developers\">Kubernetes &amp; Docker commands for developers<a class=\"anchor\" href=\"#kubernetes--docker-commands-for-developers\">#<\/a><\/h2>\n<h3 id=\"export-pod-logs\">Export pod logs<a class=\"anchor\" href=\"#export-pod-logs\">#<\/a><\/h3>\n<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\"><span style=\"display:flex;\"><span>kubectl logs pod-name -n namespace-name &gt;&gt; \/export\/path\/file.txt<\/span><\/span><\/code><\/pre><\/div><h3 id=\"deploy-a-debugutils-pod\">Deploy a &ldquo;debug\/utils&rdquo; pod<a class=\"anchor\" href=\"#deploy-a-debugutils-pod\">#<\/a><\/h3>\n<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\"><span style=\"display:flex;\"><span>kubectl run -i --tty --rm debug --image<span style=\"color:#f92672\">=<\/span>busybox --restart<span style=\"color:#f92672\">=<\/span>Never --sh<\/span><\/span><\/code><\/pre><\/div><h3 id=\"use-bach-inside-a-pod\">Use bach inside a pod<a class=\"anchor\" href=\"#use-bach-inside-a-pod\">#<\/a><\/h3>\n<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\"><span style=\"display:flex;\"><span>kubectl exec -it myPod -n myNameSpace  -- \/bin\/bash<\/span><\/span><\/code><\/pre><\/div><h3 id=\"run-container\">Run container<a class=\"anchor\" href=\"#run-container\">#<\/a><\/h3>\n<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\"><span style=\"display:flex;\"><span>docker run -p 8080:80 --name<span style=\"color:#f92672\">=<\/span>nginx<\/span><\/span><\/code><\/pre><\/div><h3 id=\"run-specific-docker-service\">Run specific docker service<a class=\"anchor\" href=\"#run-specific-docker-service\">#<\/a><\/h3>\n<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\"><span style=\"display:flex;\"><span>docker-compose up -d myDatabaseApp<\/span><\/span><\/code><\/pre><\/div><h3 id=\"pod-port-forwarding\">Pod Port forwarding<a class=\"anchor\" href=\"#pod-port-forwarding\">#<\/a><\/h3>\n<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\"><span style=\"display:flex;\"><span>kubectl port-forward pod\/your-pod-name-85e45234ef-e345 8080:8080 -n your-name-space\n<\/span><\/span><span style=\"display:flex;\"><span>Forwarding from 127.0.0.1:8080 -&gt; <span style=\"color:#ae81ff\">8080<\/span>\n<\/span><\/span><span style=\"display:flex;\"><span>Forwarding from <span style=\"color:#f92672\">[<\/span>::1<span style=\"color:#f92672\">]<\/span>:8080 -&gt; <span style=\"color:#ae81ff\">8080<\/span>\n<\/span><\/span><span style=\"display:flex;\"><span>Handling connection <span style=\"color:#66d9ef\">for<\/span> <span style=\"color:#ae81ff\">8080<\/span><\/span><\/span><\/code><\/pre><\/div><h3 id=\"get-pods-ip\">Get Pods ip<a class=\"anchor\" href=\"#get-pods-ip\">#<\/a><\/h3>\n<p>Retrieve the IP of pods (pods of a deployment)<\/p>"},{"title":"Mac Screen Record with Audio","link":"https:\/\/notes.ducatillon.net\/docs\/productivity\/mac-screen-record-with-audio\/","pubDate":"Mon, 01 Jan 0001 00:00:00 +0000","guid":"https:\/\/notes.ducatillon.net\/docs\/productivity\/mac-screen-record-with-audio\/","description":"<h2 id=\"mac-os-screen-record-with-audio-for-free\">Mac OS Screen record with audio for free<a class=\"anchor\" href=\"#mac-os-screen-record-with-audio-for-free\">#<\/a><\/h2>\n<p><img src=\"https:\/\/km.support.apple.com\/kb\/image.jsp?productid=124912&amp;size=240x240\" alt=\"Quicktime\" \/><\/p>\n<p>This <a href=\"https:\/\/www.youtube.com\/watch?v=prUVS0HF2gU\">video<\/a> explains very clearly how to record your screen with audio on mac os for free.<\/p>\n<p>Without audio just use quicktime:<\/p>\n<p><img src=\"https:\/\/notes.ducatillon.net\/img\/quicktime_screen_recording.png\" alt=\"Screen REcord With Quicktime\" \/><\/p>\n<h3 id=\"sources\">Sources<a class=\"anchor\" href=\"#sources\">#<\/a><\/h3>\n<ul>\n<li><a href=\"https:\/\/github.com\/ExistentialAudio\/BlackHole\/wiki\/Multi-Output-Device\">https:\/\/github.com\/ExistentialAudio\/BlackHole\/wiki\/Multi-Output-Device<\/a><\/li>\n<\/ul>"},{"title":"OS Origins","link":"https:\/\/notes.ducatillon.net\/docs\/opensource\/os_origins\/","pubDate":"Mon, 01 Jan 0001 00:00:00 +0000","guid":"https:\/\/notes.ducatillon.net\/docs\/opensource\/os_origins\/","description":"<h1 id=\"os-origins\">OS Origins<a class=\"anchor\" href=\"#os-origins\">#<\/a><\/h1>\n<p><em>Where did Linux \/ Windows \/ macOS come from?<\/em><\/p>\n<p>A concise overview of how modern operating systems evolved \u2014 from early UNIX systems to Linux distributions, Windows NT, macOS, Android, and Chrome OS.<\/p>\n<blockquote class=\"book-hint info\">\n<p><strong>\ud83d\udca1Tip\ud83d\udca1<\/strong><br>\n\ud83d\udc49Zoom in anywhere on the graph<\/p>\n<\/blockquote>\n<pre class=\"mermaid\">\ngraph TB\n\n%% ========= USAGE COLOR DEFINITIONS =========\nclassDef desktop fill:#E8EEF3,stroke:#777;\nclassDef server fill:#F3EFEA,stroke:#777;\nclassDef hybrid fill:#E9F1EC,stroke:#777;\n\n%% ========= LEGEND =========\nsubgraph LEGEND[&#34;Legend&#34;]\n    direction TB\n    D1[Desktop \/ User-facing]:::desktop\n    D2[Server \/ Infrastructure]:::server\n    D3[Hybrid usage]:::hybrid\n    D4[Solid arrow \u2192 Direct code lineage]\n    D5[Dashed arrow \u2192 Influence \/ POSIX \/ UNIX-like]\nend\n\n%% ========= EARLY SYSTEMS =========\nsubgraph EARLY[&#34;Early Systems&#34;]\n    direction TB\n    CP[CP\/M&lt;br\/&gt;1974&lt;br\/&gt;Gary Kildall]:::server\n    DOS[MS-DOS&lt;br\/&gt;1981&lt;br\/&gt;Microsoft]:::desktop\n    CP --&gt; DOS\nend\n\n%% ========= UNIX ROOT =========\nsubgraph UNIX[&#34;UNIX Family&#34;]\n    direction TB\n    U[UNIX&lt;br\/&gt;1969&lt;br\/&gt;Bell Labs]:::server\n    BSD[BSD Unix&lt;br\/&gt;1977&lt;br\/&gt;Berkeley]:::server\n    SYSV[System V&lt;br\/&gt;1983&lt;br\/&gt;AT&amp;T]:::server\n    U --&gt; BSD\n    U --&gt; SYSV\nend\n\n%% ========= BSD DERIVATIVES =========\nsubgraph BSD_SYS[&#34;BSD-derived Systems&#34;]\n    direction TB\n    DARWIN[Darwin \/ XNU&lt;br\/&gt;2000&lt;br\/&gt;Apple]:::hybrid\n    MAC[macOS&lt;br\/&gt;2001]:::desktop\n    IOS[iOS \/ iPadOS&lt;br\/&gt;2007]:::desktop\n    BSDOS[FreeBSD \/ OpenBSD \/ NetBSD&lt;br\/&gt;1993\u20131996]:::server\n    BSD --&gt; DARWIN\n    DARWIN --&gt; MAC\n    DARWIN --&gt; IOS\n    BSD --&gt; BSDOS\nend\n\n%% ========= CLASSIC MAC =========\nCLASSIC[Classic Mac OS&lt;br\/&gt;1984&lt;br\/&gt;Apple]:::desktop\nCLASSIC -.-&gt; MAC\n\n%% ========= MINIX =========\nMINIX[MINIX&lt;br\/&gt;1987&lt;br\/&gt;Andrew S. Tanenbaum]:::server\n\n%% ========= LINUX KERNEL =========\nsubgraph LINUX[&#34;Linux Kernel&#34;]\n    direction TB\n    LINUXK[Linux Kernel&lt;br\/&gt;1991&lt;br\/&gt;Linus Torvalds]:::server\nend\n\n%% ========= LINUX DISTRIBUTIONS CALLOUT =========\nsubgraph LINUXDIST[&#34;Linux Distributions&#34;]\n    direction TB\n    NOTE[Linux is a kernel.&lt;br\/&gt;Distributions combine it with&lt;br\/&gt;userland, package managers,&lt;br\/&gt;and policies.]:::hybrid\nend\nLINUXK --&gt; NOTE\n\n%% ========= EARLY LINUX DISTROS =========\nsubgraph EARLYDIST[&#34;Early Linux Distributions&#34;]\n    direction TB\n    SLACK[Slackware&lt;br\/&gt;1993]:::server\n    DEB[Debian&lt;br\/&gt;1993]:::server\n    RH[Red Hat Linux&lt;br\/&gt;1994]:::server\n    LINUXK --&gt; SLACK\n    LINUXK --&gt; DEB\n    LINUXK --&gt; RH\nend\n\n%% ========= DEBIAN FAMILY =========\nsubgraph DEBFAM[&#34;Debian Family&#34;]\n    direction TB\n    UB[Ubuntu&lt;br\/&gt;2004&lt;br\/&gt;Canonical]:::hybrid\n    MINT[Linux Mint&lt;br\/&gt;2006]:::desktop\n    KALI[Kali Linux&lt;br\/&gt;2013]:::server\n    DEB --&gt; UB\n    UB --&gt; MINT\n    DEB --&gt; KALI\nend\n\n%% ========= RED HAT FAMILY =========\nsubgraph RHF[&#34;Red Hat Family&#34;]\n    direction TB\n    FED[Fedora&lt;br\/&gt;2003]:::hybrid\n    RHEL[RHEL&lt;br\/&gt;2002]:::server\n    CLONES[RHEL Clones&lt;br\/&gt;CentOS \/ Alma \/ Rocky&lt;br\/&gt;2004\u20132021]:::server\n    RH --&gt; FED --&gt; RHEL --&gt; CLONES\nend\n\n%% ========= INDEPENDENT DISTROS =========\nsubgraph INDEP[&#34;Independent Linux Distributions&#34;]\n    direction TB\n    ARCH[Arch Linux&lt;br\/&gt;2002]:::hybrid\n    GENTOO[Gentoo&lt;br\/&gt;2002]:::hybrid\n    LINUXK --&gt; ARCH\n    LINUXK --&gt; GENTOO\nend\n\n%% ========= MOBILE \/ SPECIALIZED =========\nsubgraph MOBILE[&#34;Mobile \/ Specialized Linux&#34;]\n    direction TB\n    AND[Android&lt;br\/&gt;2008&lt;br\/&gt;Google]:::desktop\n    CHROMIUM[Chromium OS&lt;br\/&gt;2009]:::hybrid\n    CHROME[Chrome OS&lt;br\/&gt;2011]:::desktop\n    LINUXK --&gt; AND\n    LINUXK --&gt; CHROMIUM --&gt; CHROME\nend\n\n%% ========= WINDOWS =========\nsubgraph WINDOWS[&#34;Windows NT Family&#34;]\n    direction TB\n    NT[Windows NT&lt;br\/&gt;1993]:::server\n    W2K[Windows 2000 \/ XP&lt;br\/&gt;2000\u20132001]:::hybrid\n    W7[Windows 7&lt;br\/&gt;2009]:::hybrid\n    W10[Windows 10 \/ 11&lt;br\/&gt;2015\u20132021]:::desktop\n    NT --&gt; W2K --&gt; W7 --&gt; W10\nend\n\n%% ========= INFLUENCE LINKS =========\nU -.-&gt;|POSIX \/ UNIX concepts| LINUXK\nMINIX -.-&gt;|UNIX-like| LINUXK\nDOS --&gt; NT\n\n%% ========= SUBGRAPH STYLING =========\nstyle UNIX fill:#FBF2EA,stroke:#B85C38,stroke-width:2.5px\nstyle BSD_SYS fill:#EEF3F8,stroke:#4A6FA5,stroke-width:2.5px\nstyle LINUX fill:#F6F1E7,stroke:#9C8A4D,stroke-width:2.5px\nstyle EARLYDIST fill:#EDF4EF,stroke:#5C8A72,stroke-width:2px\nstyle DEBFAM fill:#EAF3F1,stroke:#4F8F8B,stroke-width:2px\nstyle RHF fill:#F4EEE9,stroke:#9A6B4F,stroke-width:2px\nstyle INDEP fill:#F1F3F3,stroke:#6B7280,stroke-width:2px\nstyle MOBILE fill:#FAF0EB,stroke:#C97C5D,stroke-width:2px\nstyle WINDOWS fill:#EEF2F7,stroke:#3A5F8C,stroke-width:2.5px\nstyle EARLY fill:#F4F4F2,stroke:#7A7A7A,stroke-width:2px\nstyle LEGEND fill:#F6F6F6,stroke:#999,stroke-width:1.8px\nstyle LINUXDIST fill:#EDF2F7,stroke:#5A6F8E,stroke-width:2px\n<\/pre><script src=\"https:\/\/notes.ducatillon.net\/mermaid.min.js\" onload=\"mermaid.initialize({&#34;flowchart&#34;:{&#34;useMaxWidth&#34;:true},&#34;theme&#34;:&#34;default&#34;})\"><\/script>"},{"title":"PATH variable explained","link":"https:\/\/notes.ducatillon.net\/docs\/devops\/pathpath\/","pubDate":"Mon, 01 Jan 0001 00:00:00 +0000","guid":"https:\/\/notes.ducatillon.net\/docs\/devops\/pathpath\/","description":"<h1 id=\"path-variable-explained\">PATH variable explained<a class=\"anchor\" href=\"#path-variable-explained\">#<\/a><\/h1>\n<h2 id=\"the-path-variable\">The <code>$PATH<\/code> variable<a class=\"anchor\" href=\"#the-path-variable\">#<\/a><\/h2>\n<ul>\n<li>lists directories to search fro executables<\/li>\n<li>only contains the directory paths where executables live<\/li>\n<li>itself never contains any executables (like &ldquo;python&rdquo;)<\/li>\n<\/ul>\n<h2 id=\"see-all-directories-in-your-path\">See all directories in your PATH<a class=\"anchor\" href=\"#see-all-directories-in-your-path\">#<\/a><\/h2>\n<p><code>echo $PATH | tr ':' '\\n'<\/code><\/p>\n<p>We see directories like:<\/p>\n<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\"><span style=\"display:flex;\"><span>\/usr\/local\/bin\n<\/span><\/span><span style=\"display:flex;\"><span>\/usr\/bin\n<\/span><\/span><span style=\"display:flex;\"><span>\/opt\/homebrew\/bin\n<\/span><\/span><span style=\"display:flex;\"><span>\/bin<\/span><\/span><\/code><\/pre><\/div><p>Executables INSIDE those directories:\nls \/usr\/local\/bin | grep python\nls \/opt\/homebrew\/bin | grep python\nls \/usr\/bin | grep python<\/p>\n<h3 id=\"this-shows-the-first-python3-found-in-path\">This shows the first python3 found in PATH<a class=\"anchor\" href=\"#this-shows-the-first-python3-found-in-path\">#<\/a><\/h3>\n<p><code>which python3<\/code>\n&ndash; \/usr\/local\/bin\/python3<\/p>"},{"title":"Poetry Commands","link":"https:\/\/notes.ducatillon.net\/docs\/python\/poetry\/","pubDate":"Mon, 01 Jan 0001 00:00:00 +0000","guid":"https:\/\/notes.ducatillon.net\/docs\/python\/poetry\/","description":"<h1 id=\"poetry-commands\">Poetry commands<a class=\"anchor\" href=\"#poetry-commands\">#<\/a><\/h1>\n<h2 id=\"init-poetry\">Init poetry<a class=\"anchor\" href=\"#init-poetry\">#<\/a><\/h2>\n<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\"><span style=\"display:flex;\"><span>poetry init\n<\/span><\/span><span style=\"display:flex;\"><span>poetry env remove --all\n<\/span><\/span><span style=\"display:flex;\"><span>poetry install<\/span><\/span><\/code><\/pre><\/div><h2 id=\"tables\">Tables<a class=\"anchor\" href=\"#tables\">#<\/a><\/h2>\n<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\"><span style=\"display:flex;\"><span>poetry run python - <span style=\"color:#e6db74\">&lt;&lt; &#39;EOF&#39;                                  \n<\/span><\/span><\/span><span style=\"display:flex;\"><span><span style=\"color:#e6db74\">from app.adapters.outgoing.database.database import Base\n<\/span><\/span><\/span><span style=\"display:flex;\"><span><span style=\"color:#e6db74\">print(Base.metadata.tables)\n<\/span><\/span><\/span><span style=\"display:flex;\"><span><span style=\"color:#e6db74\">EOF<\/span><\/span><\/span><\/code><\/pre><\/div><h2 id=\"db-config-url\">DB Config url<a class=\"anchor\" href=\"#db-config-url\">#<\/a><\/h2>\n<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\"><span style=\"display:flex;\"><span>poetry run python - <span style=\"color:#e6db74\">&lt;&lt; &#39;EOF&#39;\n<\/span><\/span><\/span><span style=\"display:flex;\"><span><span style=\"color:#e6db74\">from decouple import config\n<\/span><\/span><\/span><span style=\"display:flex;\"><span><span style=\"color:#e6db74\">print(&#34;DATABASE_URL =&#34;, config(&#34;DATABASE_URL&#34;))\n<\/span><\/span><\/span><span style=\"display:flex;\"><span><span style=\"color:#e6db74\">EOF<\/span><\/span><\/span><\/code><\/pre><\/div><h2 id=\"alembic\">Alembic<a class=\"anchor\" href=\"#alembic\">#<\/a><\/h2>\n<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\"><span style=\"display:flex;\"><span>poetry run alembic revision --autogenerate -m <span style=\"color:#e6db74\">&#34;initial schema&#34;<\/span>\n<\/span><\/span><span style=\"display:flex;\"><span>poetry run alembic upgrade head\n<\/span><\/span><span style=\"display:flex;\"><span>poetry run alembic current<\/span><\/span><\/code><\/pre><\/div><h2 id=\"displays-tables\">Displays Tables<a class=\"anchor\" href=\"#displays-tables\">#<\/a><\/h2>\n<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\"><span style=\"display:flex;\"><span>poetry run python -c <span style=\"color:#e6db74\">&#34;from app.adapters.outgoing.database.database import Base; print(Base.metadata.tables.keys())&#34;<\/span><\/span><\/span><\/code><\/pre><\/div><p>&ndash;dict_keys([&lsquo;assets&rsquo;, &lsquo;asset_types&rsquo;, &lsquo;sessions&rsquo;])<\/p>\n<h2 id=\"run-app\">Run app<a class=\"anchor\" href=\"#run-app\">#<\/a><\/h2>\n<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\"><span style=\"display:flex;\"><span>poetry run uvicorn app.main:app --reload<\/span><\/span><\/code><\/pre><\/div>"},{"title":"Save Storage: PDF, Images and Videos","link":"https:\/\/notes.ducatillon.net\/docs\/productivity\/save-storage-pdf-images-videos\/","pubDate":"Mon, 01 Jan 0001 00:00:00 +0000","guid":"https:\/\/notes.ducatillon.net\/docs\/productivity\/save-storage-pdf-images-videos\/","description":"<h2 id=\"compress-pdf-offline\">Compress PDF offline<a class=\"anchor\" href=\"#compress-pdf-offline\">#<\/a><\/h2>\n<p><img src=\"https:\/\/www.ghostscript.com\/images\/logos\/ghostscript-plus-text.png\" alt=\"Ghoscript_logo\" \/><\/p>\n<p>I found this great tool to compress pdf (python script) from the command line.<\/p>\n<h3 id=\"requirements\">Requirements<a class=\"anchor\" href=\"#requirements\">#<\/a><\/h3>\n<h4 id=\"python\">Python<a class=\"anchor\" href=\"#python\">#<\/a><\/h4>\n<p>Check your python version<\/p>\n<pre tabindex=\"0\"><code>\u279c  ~ python --version\nPython 3.8.9<\/code><\/pre><h4 id=\"ghoscript\">Ghoscript<a class=\"anchor\" href=\"#ghoscript\">#<\/a><\/h4>\n<p>Check your ghoscript version<\/p>\n<pre tabindex=\"0\"><code>\u279c  ~ gs\nGPL Ghostscript 10.0.0 (2022-09-21)<\/code><\/pre><h3 id=\"setup\">Setup<a class=\"anchor\" href=\"#setup\">#<\/a><\/h3>\n<p>Add this command in your <code>.bash_profile<\/code> or <code>.zshrc<\/code> file<\/p>\n<pre tabindex=\"0\"><code># Usage: spdf [input file] [output file] [screen*|ebook|printer|prepress]\nspdf() {\n    gs -sDEVICE=pdfwrite -dNOPAUSE -dQUIET -dBATCH -dPDFSETTINGS=\/${3:-&#34;screen&#34;} -dCompatibilityLevel=1.4 -sOutputFile=&#34;$2&#34; &#34;$1&#34;\n}<\/code><\/pre><h3 id=\"usage\">Usage<a class=\"anchor\" href=\"#usage\">#<\/a><\/h3>\n<pre tabindex=\"0\"><code>spdf BigFile.pdf SmallFile.pdf ebook<\/code><\/pre><h2 id=\"image-command-lines\">Image command lines<a class=\"anchor\" href=\"#image-command-lines\">#<\/a><\/h2>\n<h3 id=\"batch-resize-image\">Batch resize image<a class=\"anchor\" href=\"#batch-resize-image\">#<\/a><\/h3>\n<h4 id=\"usage-1\">Usage<a class=\"anchor\" href=\"#usage-1\">#<\/a><\/h4>\n<pre tabindex=\"0\"><code> ~ sips -Z 720 *.jpg<\/code><\/pre><p>Adjsut max image ratio examples: 640,720,1024,1280 etc.<\/p>"},{"title":"Software Licences Explained","link":"https:\/\/notes.ducatillon.net\/docs\/opensource\/licences\/","pubDate":"Mon, 01 Jan 0001 00:00:00 +0000","guid":"https:\/\/notes.ducatillon.net\/docs\/opensource\/licences\/","description":"<h1 id=\"software-licences-explained\">Software Licences Explained<a class=\"anchor\" href=\"#software-licences-explained\">#<\/a><\/h1>\n<p>Licenses are responses to historical pressures, not abstract ideologies.\n\ud83d\udc49 It&rsquo;s basically choosing a social contract, not a legal detail.<\/p>\n<h2 id=\"tldr\">TLDR<a class=\"anchor\" href=\"#tldr\">#<\/a><\/h2>\n<ul>\n<li><strong>MIT<\/strong> \u2192 <em>Freedom without obligations<\/em><\/li>\n<li><strong>Apache 2.0<\/strong> \u2192 <em>Freedom with legal safety<\/em><\/li>\n<li><strong>GPL<\/strong> \u2192 <em>Freedom with reciprocity<\/em><\/li>\n<\/ul>\n<h2 id=\"licence-summary\">Licence summary<a class=\"anchor\" href=\"#licence-summary\">#<\/a><\/h2>\n<table>\n  <thead>\n      <tr>\n          <th>License<\/th>\n          <th>Birthdate<\/th>\n          <th>Creator \/ Origin<\/th>\n          <th>Mental model<\/th>\n          <th>Commercial use?<\/th>\n          <th>Closed-source allowed?<\/th>\n          <th>What must be shared<\/th>\n          <th>Famous examples<\/th>\n          <th>Who profits<\/th>\n      <\/tr>\n  <\/thead>\n  <tbody>\n      <tr>\n          <td><strong>Unlicense<\/strong><\/td>\n          <td>~2010<\/td>\n          <td>Public domain attempt<\/td>\n          <td><em>Do literally anything.<\/em><\/td>\n          <td>\u2705 Yes<\/td>\n          <td>\u2705 Yes<\/td>\n          <td>Nothing<\/td>\n          <td>\u2014<\/td>\n          <td>Anyone<\/td>\n      <\/tr>\n      <tr>\n          <td><strong>MIT<\/strong><\/td>\n          <td>1988<\/td>\n          <td>MIT (academia)<\/td>\n          <td><em>Take it and run.<\/em><\/td>\n          <td>\u2705 Yes<\/td>\n          <td>\u2705 Yes<\/td>\n          <td>Keep license notice<\/td>\n          <td>NumPy, Flask, Requests<\/td>\n          <td>Everyone<\/td>\n      <\/tr>\n      <tr>\n          <td><strong>BSD (2\/3-Clause)<\/strong><\/td>\n          <td>1988<\/td>\n          <td>UC Berkeley<\/td>\n          <td><em>Open code, no strings.<\/em><\/td>\n          <td>\u2705 Yes<\/td>\n          <td>\u2705 Yes<\/td>\n          <td>Keep copyright notice<\/td>\n          <td>FreeBSD, OpenSSH<\/td>\n          <td>Apple, Juniper<\/td>\n      <\/tr>\n      <tr>\n          <td><strong>Apache 2.0<\/strong><\/td>\n          <td>2004<\/td>\n          <td>Apache Software Foundation<\/td>\n          <td><em>Open, but legally safe.<\/em><\/td>\n          <td>\u2705 Yes<\/td>\n          <td>\u2705 Yes<\/td>\n          <td>Preserve notices + patent peace<\/td>\n          <td>Kubernetes, Spark, Kafka<\/td>\n          <td>Google, Confluent<\/td>\n      <\/tr>\n      <tr>\n          <td><strong>MPL 2.0<\/strong><\/td>\n          <td>1998<\/td>\n          <td>Netscape \/ Mozilla<\/td>\n          <td><em>Open files, closed products.<\/em><\/td>\n          <td>\u2705 Yes<\/td>\n          <td>\u26a0\ufe0f Except MPL files<\/td>\n          <td>Modified MPL files<\/td>\n          <td>Firefox<\/td>\n          <td>Mozilla<\/td>\n      <\/tr>\n      <tr>\n          <td><strong>LGPL<\/strong><\/td>\n          <td>1991<\/td>\n          <td>Free Software Foundation<\/td>\n          <td><em>Share the core, not the app.<\/em><\/td>\n          <td>\u2705 Yes<\/td>\n          <td>\u26a0\ufe0f App yes, library no<\/td>\n          <td>Changes to LGPL library<\/td>\n          <td>glibc, FFmpeg<\/td>\n          <td>Red Hat, IBM<\/td>\n      <\/tr>\n      <tr>\n          <td><strong>GPL (v2\/v3)<\/strong><\/td>\n          <td>1989 (v1)<\/td>\n          <td>Richard Stallman (FSF)<\/td>\n          <td><em>Take it, but give back.<\/em><\/td>\n          <td>\u2705 Yes<\/td>\n          <td>\u274c No (if distributed)<\/td>\n          <td>Full source + same license<\/td>\n          <td>Linux kernel, WordPress, Git<\/td>\n          <td>Automattic, Red Hat, Canonical, GitLab<\/td>\n      <\/tr>\n      <tr>\n          <td><strong>AGPL<\/strong><\/td>\n          <td>2007<\/td>\n          <td>FSF + Affero Inc.<\/td>\n          <td><em>SaaS must share too.<\/em><\/td>\n          <td>\u2705 Yes<\/td>\n          <td>\u274c No (incl. SaaS)<\/td>\n          <td>Source, incl. network use<\/td>\n          <td>Nextcloud, Mastodon<\/td>\n          <td>Nextcloud GmbH<\/td>\n      <\/tr>\n      <tr>\n          <td><strong>Proprietary<\/strong><\/td>\n          <td>\u2014<\/td>\n          <td>Vendor-defined<\/td>\n          <td><em>You rent, not share.<\/em><\/td>\n          <td>\u26a0\ufe0f Limited<\/td>\n          <td>\u2705 Yes<\/td>\n          <td>Fees, data, compliance<\/td>\n          <td>Windows, macOS<\/td>\n          <td>Microsoft, Apple<\/td>\n      <\/tr>\n  <\/tbody>\n<\/table>\n<h2 id=\"how-do-companies-monetize-open-source\">How do companies monetize open source?<a class=\"anchor\" href=\"#how-do-companies-monetize-open-source\">#<\/a><\/h2>\n<p>Most organizations and individuals make money with open-source software through:<\/p>"},{"title":"Springboot GraphQL Client","link":"https:\/\/notes.ducatillon.net\/docs\/java\/springboot-graphql-client\/","pubDate":"Mon, 01 Jan 0001 00:00:00 +0000","guid":"https:\/\/notes.ducatillon.net\/docs\/java\/springboot-graphql-client\/","description":"<h1 id=\"minimal-graphql-client-request-with-springboot\">Minimal Graphql client request with Springboot<a class=\"anchor\" href=\"#minimal-graphql-client-request-with-springboot\">#<\/a><\/h1>\n<p><img src=\"https:\/\/miro.medium.com\/max\/1280\/1*eyC_K8xUyRHqlIaIbghHyg.jpeg\" alt=\"Photo from Farzad Nazifi under Unsplash Licence\" \/>\n<em><a href=\"https:\/\/unsplash.com\/license\">https:\/\/unsplash.com\/license<\/a> Photo from Farzad Nazifi under Unsplash Licence<\/em><\/p>\n<h2 id=\"introduction\">Introduction<a class=\"anchor\" href=\"#introduction\">#<\/a><\/h2>\n<p>Most API\u2019s architectural styles are RESTful. <a href=\"https:\/\/www.javatpoint.com\/graphql-advantages-and-disadvantages\">For some good reasons<\/a>, APIs can also be built based on a Graphql architecture style. I recently had the opportunity to call one of them. I discovered and tried several ways to perform this Graphql request, all with pros and cons. In this article, I will describe how to perform a <strong>minimal Graphql client request<\/strong> with <strong>Spring Boot<\/strong> and <strong>WebClient<\/strong>.<\/p>"},{"title":"The Virtuous Cycle of Code Reviews","link":"https:\/\/notes.ducatillon.net\/docs\/process\/the-virtuous-cycle-of-code-review\/","pubDate":"Mon, 01 Jan 0001 00:00:00 +0000","guid":"https:\/\/notes.ducatillon.net\/docs\/process\/the-virtuous-cycle-of-code-review\/","description":"<h1 id=\"the-virtuous-cycle-of-code-reviews\">The virtuous cycle of Code Reviews<a class=\"anchor\" href=\"#the-virtuous-cycle-of-code-reviews\">#<\/a><\/h1>\n<p><img src=\"https:\/\/notes.ducatillon.net\/img\/code-review.jpeg\" alt=\"Photo by Alvaro Reyes on Unsplash\" \/>\n<em><a href=\"https:\/\/unsplash.com\/license\">https:\/\/unsplash.com\/license<\/a> Photo by Alvaro Reyes on Unsplash<\/em><\/p>\n<h2 id=\"introduction\">Introduction<a class=\"anchor\" href=\"#introduction\">#<\/a><\/h2>\n<p>Yet another article dealing with Code Reviews. Indeed it is. But I really believe this is worth it! I have little experience as a developer within Agile teams but enough to be convinced how much benefits and serenity it brings to <strong>people<\/strong>, <strong>products<\/strong> and <strong>organisations<\/strong>.<\/p>\n<p>Let&rsquo;s get straight to the point.<\/p>"}]}}