Update documentation

This commit is contained in:
Alexis Métaireau 2024-01-16 23:38:00 +01:00
parent 26b76c011b
commit 8056c978de
370 changed files with 9068 additions and 22527 deletions

87
2024-semaine-2.html Normal file
View file

@ -0,0 +1,87 @@
<!DOCTYPE html>
<html lang="fr">
<head>
<title>
2024, Semaine&nbsp;2 - Alexis Métaireau </title>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet"
href="https://blog.notmyidea.org/theme/css/main.css?v2"
type="text/css" />
<link href="https://blog.notmyidea.org/feeds/all.atom.xml"
type="application/atom+xml"
rel="alternate"
title="Alexis Métaireau ATOM Feed" />
</head>
<body>
<div id="content">
<section id="links">
<ul>
<li>
<a class="main" href="/">Alexis Métaireau</a>
</li>
<li>
<a class=""
href="https://blog.notmyidea.org/journal/index.html">Journal</a>
</li>
<li>
<a class=""
href="https://blog.notmyidea.org/code/">Code, etc.</a>
</li>
<li>
<a class="selected"
href="https://blog.notmyidea.org/weeknotes/">Notes hebdo</a>
</li>
<li>
<a class=""
href="https://blog.notmyidea.org/lectures/">Lectures</a>
</li>
<li>
<a class=""
href="https://blog.notmyidea.org/projets.html">Projets</a>
</li>
</ul>
</section>
<header>
<h1 class="post-title">2024, Semaine&nbsp;2</h1>
<p><em>Début 2024, reprise après 3 semaines off</em></p>
<time datetime="2024-01-16T00:00:00+01:00">16 janvier 2024</time>
</header>
<article>
<p>De retour après trois semaines off qui m&#8217;ont fait du bien, passées entre ami·es, famille et un petit passage au&nbsp;37C3.</p>
<h2 id="ce-qui-sest-passe">Ce qui s&#8217;est&nbsp;passé</h2>
<p><strong>🗺️ <a href="https://umap-projet.org">uMap</a></strong></p>
<p>3 jours de travail et de discussions avec Yohan sur le projet. J&#8217;ai pu lever des freins à mon avancée, et je crois à notre compréhension mutuelle. Des discussions qui nous permettent de mieux se comprendre, et de sortir de nos&nbsp;postures.</p>
<p>En fin de semaine, je me suis senti plus à l&#8217;aise à travailler sur la base de code&nbsp;actuelle.</p>
<h2 id="des-joies">Des joies&nbsp;🤗</h2>
<ul>
<li>🪶 Faire une sortie Ornitho à la journée, à l&#8217;occasion du <a href="https://www.lpo.fr/decouvrir-la-nature/loisirs-nature/agenda-nature/agenda-lpo-france/2024/comptage-annuel-des-oiseaux-d-eau">comptage annuel des oiseaux d&#8217;eaux&nbsp;(Wetlands)</a></li>
<li>Aller au meetup Rennes Python, et y découvrir certaines avancées de python qui m&#8217;étaient passées à côté (<a href="https://docs.python.org/3/reference/compound_stmts.html#match"><code>match</code></a>)</li>
<li>Réussir à exposer mon inconfort et à en faire un sujet de discussion, plutôt que de fermer les yeux&nbsp;dessus.</li>
<li>Arriver à un niveau d&#8217;énergie auquel je n&#8217;avais pas été depuis… pfiou, au moins tout ça. Je retrouve de l&#8217;envie et de la motivation tout en étant moi même&nbsp;!</li>
<li>Revoir des amis de longue date le temps d&#8217;une après-midi/soirée, en&nbsp;simplicité.</li>
<li>Avoir enfin une connexion digne de ce nom chez moi, je vais pouvoir me faciliter le travail à la&nbsp;maison!</li>
</ul>
<h2 id="des-peines">Des&nbsp;peines</h2>
<ul>
<li>Je continue de donner de l&#8217;importance à ce que « les gens pourraient penser » de ce que je fais. J&#8217;aimerai m&#8217;en détacher&nbsp;plus.</li>
<li>Je n&#8217;ai pas réussi à me donner des temps de respiration nécessaires entre plusieurs activités, ce qui m&#8217;a rendu un peu grognon. J&#8217;aimerai réussir à mesurer l&#8217;impact d&#8217;une sieste dans ce genre de situations&nbsp;!</li>
</ul>
<h2 id="vu-lu-ecoute">Vu, lu,&nbsp;écouté</h2>
<ul>
<li>📼 Beaucoup de conf lors du 37C3, entre autres <a href="https://media.ccc.de/v/37c3-11859-operation_triangulation_what_you_get_when_attack_iphones_of_researchers">des gens de Kaspersky qui ont réussi à prendre des hackers sur le fait</a>, une <a href="https://media.ccc.de/v/37c3-12309-a_year_of_surveillance_in_france_a_short_satirical_tale_by_la_quadrature_du_net">revue de l&#8217;année passée en terme de surveillance par <span class="caps">LQDN</span></a>, un <a href="https://media.ccc.de/v/37c3-12040-tor_censorship_attempts_in_russia_iran_turkmenistan">retour sur la censure du réseau Tor en russie</a>, une <a href="https://media.ccc.de/v/37c3-12168-predator_files_how_european_spyware_threatens_civil_society_around_the_world">investigation d&#8217;Amnesty International autour de l&#8217;affaire « Predator »</a> et un retour sur <a href="https://media.ccc.de/v/37c3-11836-tractors_rockets_and_the_internet_in_belarus">la censure et l&#8217;instauration d&#8217;un régime autoritaure en&nbsp;Bielorussie</a></li>
<li>🎧 J&#8217;ai continué à écouter <a href="https://darknetdiaries.com/">Darknet diaries</a>, avec des discussions autour du logiciel espion <a href="https://darknetdiaries.com/episode/137/">Predator</a>, des <a href="https://darknetdiaries.com/episode/112/">communautés qui volent du bitcoin</a>, et d&#8217;<a href="https://darknetdiaries.com/episode/64/">affaires d&#8217;espionage des <span class="caps">USA</span> sur la grèce autour des jeux olympiques</a>.</li>
</ul>
</article>
<footer>
<a id="feed" href="/feeds/all.atom.xml">
<img alt="RSS Logo" src="/theme/rss.svg" />
</a>
</footer>
</div>
</body>
</html>

View file

@ -21,7 +21,7 @@
<a class="main" href="/">Alexis Métaireau</a>
</li>
<li>
<a class="selected"
<a class=""
href="https://blog.notmyidea.org/journal/index.html">Journal</a>
</li>
<li>

View file

@ -33,7 +33,7 @@ Antisexisme ou antiracisme ? Un faux&nbsp;dilemme - Alexis Métaireau </t
href="https://blog.notmyidea.org/weeknotes/">Notes hebdo</a>
</li>
<li>
<a class="selected"
<a class=""
href="https://blog.notmyidea.org/lectures/">Lectures</a>
</li>
<li>
@ -62,7 +62,7 @@ Antisexisme ou antiracisme ? Un faux&nbsp;dilemme - Alexis Métaireau </t
<p>[L]es buts du féminisme […] sont non seulement de traquer le sexisme partout où il est, mais aussi de <strong>refuser l&#8217;idée patriarcale qu&#8217;il serait miraculeusement absent de certains lieux, de certaines relations, bref, qu&#8217;il est localisé, et qu&#8217;on peut y échapper</strong>.</p>
</blockquote>
<p>
<a href="https://blog.notmyidea.org/tag/sexisme.html">#sexisme</a>, <a href="https://blog.notmyidea.org/tag/voile.html">#voile</a>, <a href="https://blog.notmyidea.org/tag/racisme.html">#racisme</a> - Posté dans la catégorie <a href="https://blog.notmyidea.org/lectures/">lectures</a>
<a href="https://blog.notmyidea.org/tag/sexisme.html">#sexisme</a>, <a href="https://blog.notmyidea.org/tag/voile.html">#voile</a>, <a href="https://blog.notmyidea.org/tag/racisme.html">#racisme</a> - Posté dans la catégorie <a href="https://blog.notmyidea.org/lectures/">Lectures</a>
</p>
</article>
<footer>

View file

@ -47,7 +47,10 @@ Alexis Métaireau </title>
</header>
<section id="content" class="body">
<dl>
<dt>2024</dt>
<dd><a href='https://blog.notmyidea.org/2024-semaine-2.html'>2024, Semaine&nbsp;2</a></dd>
<dt>2023</dt>
<dd><a href='https://blog.notmyidea.org/format-an-usb-disk-from-the-command-line-on-macosx.html'>Format an <span class="caps">USB</span> disk from the command-line on&nbsp;MacOSX</a></dd>
<dd><a href='https://blog.notmyidea.org/2023-semaine-49-et-50.html'>2023, Semaine 49 et&nbsp;50</a></dd>
<dd><a href='https://blog.notmyidea.org/rescuing-a-broken-asahi-linux-workstation.html'>Rescuing a broken asahi linux&nbsp;workstation</a></dd>
<dd><a href='https://blog.notmyidea.org/2023-semaine-48.html'>2023, Semaine&nbsp;48</a></dd>

View file

@ -2,7 +2,7 @@
<html lang="fr">
<head>
<title>
Argos - Alexis Métaireau </title>
Argos&nbsp;(Framasoft) - Alexis Métaireau </title>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet"
@ -46,47 +46,81 @@ Argos - Alexis Métaireau </title>
</ul>
</section>
<header>
<h1 class="post-title">Argos</h1>
<div>
▓▓▓▓▓▓▓▓▓▓ 102% (57h / 56 prévues)
</div>
<ul>
<li>57h rémunérées</li>
<li>16h bénévoles</li>
</ul>
<h1 class="post-title">Argos&nbsp;(Framasoft)</h1>
<details>
<summary>Stats</summary>
<div>
▓▓▓▓▓▓▓▓▓▓ 102% (57h / 56 prévues)
</div>
<ul>
<li>57h rémunérées</li>
<li>16h bénévoles</li>
</ul>
<table>
<thead>
<tr>
<td>Mois</td>
<td>Heures</td>
<td>Jours</td>
</tr>
</thead>
<tbody>
<tr>
<td>2023/12</td>
<td>0</td>
<td>0.0</td>
</tr>
<tr>
<td>2023/11</td>
<td>0</td>
<td>0.0</td>
</tr>
<tr>
<td>2023/10</td>
<td>46</td>
<td>6.6</td>
</tr>
<tr>
<td>2023/09</td>
<td>11</td>
<td>1.6</td>
</tr>
</tbody>
</table>
</details>
</header>
<article>
<div id="vis"></div>
<h2 id="samedi-16-decembre-2023">🗓️ Samedi 16 décembre&nbsp;2023</h2>
<h2 id="samedi-16-decembre-2023">🗓️ samedi 16 décembre&nbsp;2023</h2>
<p>J&#8217;ai ajouté le support de <a href="https://alembic.sqlalchemy.org">Alembic</a>, pour permettre de faire des migrations de base de données. C&#8217;était assez chouette de découvrir comment ça fonctionne : ça fait longtemps que je l&#8217;utilise sur d&#8217;autres projets mais ce n&#8217;était pas moi qui l&#8217;avait mis en&nbsp;place.</p>
<p>J&#8217;ai aussi passé un peu de temps à faire des petits changements à droite à&nbsp;gauche.</p>
<h2 id="jeudi-14-decembre-2023">🗓️ Jeudi 14 décembre&nbsp;2023</h2>
<h2 id="jeudi-14-decembre-2023">🗓️ jeudi 14 décembre&nbsp;2023</h2>
<p>Echanges avec Luc pour faire le tour des merge requests, et un petit temps de bilan général sur le projet.
Content de recevoir des retours positifs sur le travail&nbsp;effectué.</p>
<h2 id="jeudi-07-decembre-2023">🗓️ Jeudi 07 décembre&nbsp;2023</h2>
<h2 id="jeudi-07-decembre-2023">🗓️ jeudi 07 décembre&nbsp;2023</h2>
<p>Revue de&nbsp;code.</p>
<h2 id="jeudi-23-novembre-2023">🗓️ Jeudi 23 novembre&nbsp;2023</h2>
<h2 id="jeudi-23-novembre-2023">🗓️ jeudi 23 novembre&nbsp;2023</h2>
<p>J&#8217;ai fait de la revue de code (<a href="https://framagit.org/framasoft/framaspace/argos/-/merge_requests/12">pylint</a>, <a href="https://framagit.org/framasoft/framaspace/argos/-/merge_requests/13#notes">ajout des notifs mail</a>), <a href="https://framagit.org/framasoft/framaspace/argos/-/merge_requests/14">ajouté de la documentation</a> pour&nbsp;systemd</p>
<h2 id="mardi-21-novembre-2023">🗓️ Mardi 21 novembre&nbsp;2023</h2>
<h2 id="mardi-21-novembre-2023">🗓️ mardi 21 novembre&nbsp;2023</h2>
<p>J&#8217;ai passé un peu de temps à répondre a des tickets, merger et faire des petites modifications dans le code, c&#8217;était très&nbsp;plaisant.</p>
<p>Il est maintenant <a href="https://framagit.org/framasoft/framaspace/argos/-/merge_requests/8">possible de lancer le serveur depuis l&#8217;extérieur du venv</a>, et j&#8217;ai lu quelques demandes de modifications de&nbsp;Luc.</p>
<h2 id="jeudi-16-novembre-2023">🗓️ Jeudi 16 novembre&nbsp;2023</h2>
<h2 id="jeudi-16-novembre-2023">🗓️ jeudi 16 novembre&nbsp;2023</h2>
<ul>
<li><a href="https://framagit.org/framasoft/framaspace/argos/-/merge_requests/6">Migré vers la nouvelle manière de définir la config dans&nbsp;Pydantic</a></li>
</ul>
<h2 id="lundi-06-novembre-2023">🗓️ Lundi 06 novembre&nbsp;2023</h2>
<h2 id="lundi-06-novembre-2023">🗓️ lundi 06 novembre&nbsp;2023</h2>
<p>J&#8217;ai passé un peu de temps avec Matthieu Leplatre pour faire une revue du code que j&#8217;ai&nbsp;écrit. </p>
<h2 id="jeudi-19-octobre-2023">🗓️ Jeudi 19 octobre&nbsp;2023</h2>
<h2 id="jeudi-19-octobre-2023">🗓️ jeudi 19 octobre&nbsp;2023</h2>
<p>Préparation de la discussion avec Luc, puis j&#8217;ai ajouté de la documentation et j&#8217;ai fait pas mal de&nbsp;finitions.</p>
<h2 id="mercredi-18-octobre-2023">🗓️ Mercredi 18 octobre&nbsp;2023</h2>
<h2 id="mercredi-18-octobre-2023">🗓️ mercredi 18 octobre&nbsp;2023</h2>
<p>J&#8217;ai passé une journée de travail dessus.
Beaucoup de choses faites. La base de code est plus solide, et surtout testée ce qui me&nbsp;rassure.</p>
<h2 id="mardi-17-octobre-2023">🗓️ Mardi 17 octobre&nbsp;2023</h2>
<h2 id="mardi-17-octobre-2023">🗓️ mardi 17 octobre&nbsp;2023</h2>
<ul>
<li>J&#8217;ai ajouté les dépendences dans le&nbsp;pyproject.toml</li>
<li>Updated the <span class="caps">CLI</span>&nbsp;interface</li>
</ul>
<h2 id="mercredi-11-octobre-2023">🗓️ Mercredi 11 octobre&nbsp;2023</h2>
<h2 id="mercredi-11-octobre-2023">🗓️ mercredi 11 octobre&nbsp;2023</h2>
<p>J&#8217;ai passé la journée dessus.Il me reste 3 demi&nbsp;journées.</p>
<p>J&#8217;ai passé beaucoup de temps à mettre en place des tests au niveau de l&#8217;app. La manière dont l&#8217;application était initialisée ne permettait pas de l&#8217;utiliser dans les tests. Je n&#8217;ai pas tout à fait terminé, mais je pense que c&#8217;est le moment pour essayer de passer à PostgreSQL, parce que c&#8217;est ce qui va tourner en&nbsp;production.</p>
<p>De ce que je comprends, plusieurs approches :
@ -98,12 +132,12 @@ Beaucoup de choses faites. La base de code est plus solide, et surtout testée c
<li>[x] Ajouter une notion de sévérité dans la&nbsp;config</li>
<li>[x] Ajouter une notion de fréquence dans la&nbsp;config</li>
</ul>
<h2 id="mardi-10-octobre-2023">🗓️ Mardi 10 octobre&nbsp;2023</h2>
<h2 id="mardi-10-octobre-2023">🗓️ mardi 10 octobre&nbsp;2023</h2>
<ul>
<li>[x] Sécuriser les appels des agents au&nbsp;backend</li>
<li>[x] Ajouter le support pour les&nbsp;!include</li>
</ul>
<h2 id="lundi-09-octobre-2023">🗓️ Lundi 09 octobre&nbsp;2023</h2>
<h2 id="lundi-09-octobre-2023">🗓️ lundi 09 octobre&nbsp;2023</h2>
<ul>
<li>[x] Terminer le backend de vérification <span class="caps">SSL</span></li>
<li>[x] Décider comment faire pour faire remonter les différents niveaux d&#8217;alerte (L&#8217;agent ne devrait pas décider, c&#8217;est le travail du&nbsp;serveur)</li>
@ -111,22 +145,22 @@ Beaucoup de choses faites. La base de code est plus solide, et surtout testée c
<p>J&#8217;ai pas mal refactoré le code, et c&#8217;est maintenant possible de faire une partie des checks (la finalisation) côté serveur. Nous avons aussi maintenant un check <span class="caps">SSL</span>&nbsp;fonctionnel.</p>
<p>La base de données gère maintenant une relation, et j&#8217;ai commencé à écrire quelques tests également, ainsi que packagé ça dans un package&nbsp;python.</p>
<p>C&#8217;était plutôt une journée un peu décousue, mais je suis content du résultat. C&#8217;était beaucoup de grosses modifications et donc avoir le temps de le faire pour avoir le contexte en tête aide pas&nbsp;mal.</p>
<h2 id="jeudi-05-octobre-2023">🗓️ Jeudi 05 octobre&nbsp;2023</h2>
<h2 id="jeudi-05-octobre-2023">🗓️ jeudi 05 octobre&nbsp;2023</h2>
<p>Je n&#8217;ai pas pris de&nbsp;notes.</p>
<h2 id="mercredi-04-octobre-2023">🗓️ Mercredi 04 octobre&nbsp;2023</h2>
<h2 id="mercredi-04-octobre-2023">🗓️ mercredi 04 octobre&nbsp;2023</h2>
<p>J&#8217;ai pu avancer, mais je me suis confronté à plusieurs soucis de concentration. Ici au coworking c&#8217;est aussi un endroit pour socialiser, et donc je suis moins efficace. Les pomodoros m&#8217;aident à me recentrer, j&#8217;ai quasiment une <span class="caps">API</span> fonctionnelle. Je galère un peu avec Pydantic parce que je ne le connais pas encore bien, j&#8217;espère que ce sont des efforts qui vont payer sur le long&nbsp;terme.</p>
<p>La prochaine fois je pense avancer sur les requêtes pour ordonnancer tout ça, et faire quelques tests pour valider que tout marche bien comme je&nbsp;veux.</p>
<h2 id="mardi-03-octobre-2023">🗓️ Mardi 03 octobre&nbsp;2023</h2>
<h2 id="mardi-03-octobre-2023">🗓️ mardi 03 octobre&nbsp;2023</h2>
<p>Session de travail assez agréable. J&#8217;ai commencé à faire fonctionner l&#8217;outil, et je commence maintenant à travailler sur les checks en tant que tels. Je sens qu&#8217;il t a quelques fragilités au niveau de la structure des données (schémas / validation avec&nbsp;Pydantic).</p>
<p>Je pense que la prochaine étape sera de faire tous les checks, et de les faire retourner des données à l&#8217;<span class="caps">API</span>. Puis ensuite de s&#8217;assurer que les jobs ne sont pas distribués à plusieurs workers en&nbsp;paralelle.</p>
<h2 id="lundi-02-octobre-2023">🗓️ Lundi 02 octobre&nbsp;2023</h2>
<h2 id="lundi-02-octobre-2023">🗓️ lundi 02 octobre&nbsp;2023</h2>
<p>Je suis content de cette session de travail. J&#8217;ai repensé encore une fois le modèle de données pour arriver à quelque chose qui me semble mieux. J&#8217;ai continué à travailler sur la codebase avec fastapi que je trouve plus élégante et sur laquelle il sera possible de passer en asynchrone&nbsp;ensuite.</p>
<p>Les fichiers de configuration, une fois parsés, permettent de créer les enregistrements dans la base de données. La première version de l&#8217;<span class="caps">API</span> est bientôt prête. La prochaine étape est de bosser sur les&nbsp;workers.</p>
<h2 id="mercredi-27-septembre-2023">🗓️ Mercredi 27 septembre&nbsp;2023</h2>
<h2 id="mercredi-27-septembre-2023">🗓️ mercredi 27 septembre&nbsp;2023</h2>
<p>1h pour mettre en place un bouncer <span class="caps">ZNC</span>. J&#8217;ai plutôt fait des recherches sur des outils alternatifs pour l&#8217;<span class="caps">API</span>, suite à mon impression de passer du temps à refaire des choses qui sont déjà fournies par d&#8217;autres outils. J&#8217;espère que c&#8217;était une bonne idée ! Le prix à payer pour me remettre le pied à l&#8217;étrier. En fin de journée j&#8217;ai réussi à vraiment réfléchir au problème métier, et à déterminer un bon modèle de données ainsi que des scénarios d&#8217;utilisation. Au final, je pense qu&#8217;il faut passer par fastapi (qui propose de l&#8217;asynchrone <span class="caps">ASGI</span> de base) mais rester sur SQLAlchemy (Pewee à une <span class="caps">API</span> qui semble plus simple, mais qui ne supporte pas très bien l&#8217;asynchronicité). Pour la suite, je pense qu&#8217;il faut que je me concentre plus sur les fonctionalités de&nbsp;base.</p>
<h2 id="mardi-26-septembre-2023">🗓️ Mardi 26 septembre&nbsp;2023</h2>
<h2 id="mardi-26-septembre-2023">🗓️ mardi 26 septembre&nbsp;2023</h2>
<p>J&#8217;ai continué de bootstrapper et j&#8217;ai importé des bouts de codes qui manquaient pour lancer le serveur web, gérer la configuration du service, la gestion de la base de données, des migrations&nbsp;etc.</p>
<h2 id="lundi-25-septembre-2023">🗓️ Lundi 25 septembre&nbsp;2023</h2>
<h2 id="lundi-25-septembre-2023">🗓️ lundi 25 septembre&nbsp;2023</h2>
<p>J&#8217;ai commencé à boostraper le projet, fait un module qui est capable de lire le fichier de configuration (en <span class="caps">YAML</span>) et de valider que ce qui s&#8217;y trouve est correct. J&#8217;utilise Pydantic pour ça, que je ne connaissais&nbsp;pas.</p>
</article>
<script>
@ -184,11 +218,10 @@ Beaucoup de choses faites. La base de code est plus solide, et surtout testée c
"mark": "bar",
"encoding": {
"x": {
"timeUnit": {"unit": "dayofyear", "step": 1},
"timeUnit": {"unit": "", "utc": true},
"field": "date",
"axis": {"format": "%d/%m"},
"title": "Date",
"step": 1,
"title": "Date"
},
"y": {
"aggregate": "sum",
@ -200,8 +233,7 @@ Beaucoup de choses faites. La base de code est plus solide, et surtout testée c
"scale": {
"domain": ["Bénévole", "Rémunéré"],
"range": ["#e7ba52", "#1f77b4"]
},
"title": "Type d'heures"
}
}
}
};

View file

@ -21,7 +21,7 @@ Artfevre 2020 - Défi artistique en&nbsp;février - Alexis Métaireau </t
<a class="main" href="/">Alexis Métaireau</a>
</li>
<li>
<a class="selected"
<a class=""
href="https://blog.notmyidea.org/journal/index.html">Journal</a>
</li>
<li>

View file

@ -43,6 +43,14 @@ Alexis Métaireau </title>
</ul>
</section>
<h1></h1>
<section class="section index">
<time datetime="2023-12-25T00:00:00+01:00">25 décembre 2023</time>
<h1><a href="https://blog.notmyidea.org/format-an-usb-disk-from-the-command-line-on-macosx.html" id="page-title">Format an <span class="caps">USB</span> disk from the command-line on&nbsp;MacOSX</a></h1>
<div class="highlight"><pre><span></span><code>sudo<span class="w"> </span>diskutil<span class="w"> </span>unmountDisk<span class="w"> </span>/dev/disk5
sudo<span class="w"> </span>diskutil<span class="w"> </span>eraseDisk<span class="w"> </span><span class="s2">&quot;MS-DOS FAT32&quot;</span><span class="w"> </span>Brocolis<span class="w"> </span>/dev/disk
</code></pre></div>
</section>
<section class="section index">
<time datetime="2023-12-08T00:00:00+01:00">08 décembre 2023</time>
@ -109,13 +117,9 @@ Alexis Métaireau </title>
<span class="k">def</span> <span class="nf">string_to_duration</span><span class="p">(</span><span class="n">value</span><span class="p">:</span> <span class="nb">str</span><span class="p">,</span> <span class="n">target</span><span class="p">:</span> <span class="n">Literal</span><span class="p">[</span><span class="s2">&quot;days …</span></code></pre></div>
</section>
<section class="section index">
<time datetime="2023-09-27T00:00:00+02:00">27 septembre 2023</time>
<a class='tag' href="https://blog.notmyidea.org/tag/python.html">python</a>, <a class='tag' href="https://blog.notmyidea.org/tag/llm.html">llm</a>, <a class='tag' href="https://blog.notmyidea.org/tag/bash.html">bash</a>, <a class='tag' href="https://blog.notmyidea.org/tag/sqlite.html">sqlite</a> <h1><a href="https://blog.notmyidea.org/llm-command-line-tips.html" id="page-title">llm command-line&nbsp;tips</a></h1>
<p>I&#8217;m using <a href="https://llm.datasette.io">llm</a> more and more, and today I had to find back prompts I used in the past. Here is a command I&#8217;ve been using, which allows me to filter the results based on what I want. It leverages <a href="https://sqlutils.datasette.io">sql-utils</a>, a cli tool which is able to …</p>
</section>
<ul>
<li><a href="https://blog.notmyidea.org/deploying-and-customizing-datasette.html" rel="bookmark" title="Permalink to Deploying and customizing datasette">Deploying and customizing&nbsp;datasette</a></li>
<li><a href="https://blog.notmyidea.org/2023-semaine-45.html" rel="bookmark" title="Permalink to 2023, Semaine 45">2023, Semaine&nbsp;45</a></li>
<li><a href="https://blog.notmyidea.org/adding-real-time-collaboration-to-umap-first-week.html" rel="bookmark" title="Permalink to Adding Real-Time Collaboration to uMap, first week">Adding Real-Time Collaboration to uMap, first&nbsp;week</a></li>
<li><a href="https://blog.notmyidea.org/using-datasette-for-tracking-my-professional-activity.html" rel="bookmark" title="Permalink to Using Datasette for tracking my professional activity">Using Datasette for tracking my professional&nbsp;activity</a></li>
<li><a href="https://blog.notmyidea.org/2023-semaine-42.html" rel="bookmark" title="Permalink to 2023, Semaine 42">2023, Semaine&nbsp;42</a></li>

View file

@ -43,6 +43,14 @@ Alexis Métaireau </title>
</ul>
</section>
<h1></h1>
<section class="section index">
<time datetime="2023-12-25T00:00:00+01:00">25 décembre 2023</time>
<h1><a href="https://blog.notmyidea.org/format-an-usb-disk-from-the-command-line-on-macosx.html" id="page-title">Format an <span class="caps">USB</span> disk from the command-line on&nbsp;MacOSX</a></h1>
<div class="highlight"><pre><span></span><code>sudo<span class="w"> </span>diskutil<span class="w"> </span>unmountDisk<span class="w"> </span>/dev/disk5
sudo<span class="w"> </span>diskutil<span class="w"> </span>eraseDisk<span class="w"> </span><span class="s2">&quot;MS-DOS FAT32&quot;</span><span class="w"> </span>Brocolis<span class="w"> </span>/dev/disk
</code></pre></div>
</section>
<section class="section index">
<time datetime="2023-12-08T00:00:00+01:00">08 décembre 2023</time>
@ -109,13 +117,9 @@ Alexis Métaireau </title>
<span class="k">def</span> <span class="nf">string_to_duration</span><span class="p">(</span><span class="n">value</span><span class="p">:</span> <span class="nb">str</span><span class="p">,</span> <span class="n">target</span><span class="p">:</span> <span class="n">Literal</span><span class="p">[</span><span class="s2">&quot;days …</span></code></pre></div>
</section>
<section class="section index">
<time datetime="2023-09-27T00:00:00+02:00">27 septembre 2023</time>
<a class='tag' href="https://blog.notmyidea.org/tag/python.html">python</a>, <a class='tag' href="https://blog.notmyidea.org/tag/llm.html">llm</a>, <a class='tag' href="https://blog.notmyidea.org/tag/bash.html">bash</a>, <a class='tag' href="https://blog.notmyidea.org/tag/sqlite.html">sqlite</a> <h1><a href="https://blog.notmyidea.org/llm-command-line-tips.html" id="page-title">llm command-line&nbsp;tips</a></h1>
<p>I&#8217;m using <a href="https://llm.datasette.io">llm</a> more and more, and today I had to find back prompts I used in the past. Here is a command I&#8217;ve been using, which allows me to filter the results based on what I want. It leverages <a href="https://sqlutils.datasette.io">sql-utils</a>, a cli tool which is able to …</p>
</section>
<ul>
<li><a href="https://blog.notmyidea.org/deploying-and-customizing-datasette.html" rel="bookmark" title="Permalink to Deploying and customizing datasette">Deploying and customizing&nbsp;datasette</a></li>
<li><a href="https://blog.notmyidea.org/2023-semaine-45.html" rel="bookmark" title="Permalink to 2023, Semaine 45">2023, Semaine&nbsp;45</a></li>
<li><a href="https://blog.notmyidea.org/adding-real-time-collaboration-to-umap-first-week.html" rel="bookmark" title="Permalink to Adding Real-Time Collaboration to uMap, first week">Adding Real-Time Collaboration to uMap, first&nbsp;week</a></li>
<li><a href="https://blog.notmyidea.org/using-datasette-for-tracking-my-professional-activity.html" rel="bookmark" title="Permalink to Using Datasette for tracking my professional activity">Using Datasette for tracking my professional&nbsp;activity</a></li>
<li><a href="https://blog.notmyidea.org/2023-semaine-42.html" rel="bookmark" title="Permalink to 2023, Semaine 42">2023, Semaine&nbsp;42</a></li>

View file

@ -43,6 +43,14 @@ Alexis Métaireau </title>
</ul>
</section>
<h1></h1>
<section class="section index">
<time datetime="2023-12-25T00:00:00+01:00">25 décembre 2023</time>
<h1><a href="https://blog.notmyidea.org/format-an-usb-disk-from-the-command-line-on-macosx.html" id="page-title">Format an <span class="caps">USB</span> disk from the command-line on&nbsp;MacOSX</a></h1>
<div class="highlight"><pre><span></span><code>sudo<span class="w"> </span>diskutil<span class="w"> </span>unmountDisk<span class="w"> </span>/dev/disk5
sudo<span class="w"> </span>diskutil<span class="w"> </span>eraseDisk<span class="w"> </span><span class="s2">&quot;MS-DOS FAT32&quot;</span><span class="w"> </span>Brocolis<span class="w"> </span>/dev/disk
</code></pre></div>
</section>
<section class="section index">
<time datetime="2023-12-08T00:00:00+01:00">08 décembre 2023</time>
@ -109,13 +117,9 @@ Alexis Métaireau </title>
<span class="k">def</span> <span class="nf">string_to_duration</span><span class="p">(</span><span class="n">value</span><span class="p">:</span> <span class="nb">str</span><span class="p">,</span> <span class="n">target</span><span class="p">:</span> <span class="n">Literal</span><span class="p">[</span><span class="s2">&quot;days …</span></code></pre></div>
</section>
<section class="section index">
<time datetime="2023-09-27T00:00:00+02:00">27 septembre 2023</time>
<a class='tag' href="https://blog.notmyidea.org/tag/python.html">python</a>, <a class='tag' href="https://blog.notmyidea.org/tag/llm.html">llm</a>, <a class='tag' href="https://blog.notmyidea.org/tag/bash.html">bash</a>, <a class='tag' href="https://blog.notmyidea.org/tag/sqlite.html">sqlite</a> <h1><a href="https://blog.notmyidea.org/llm-command-line-tips.html" id="page-title">llm command-line&nbsp;tips</a></h1>
<p>I&#8217;m using <a href="https://llm.datasette.io">llm</a> more and more, and today I had to find back prompts I used in the past. Here is a command I&#8217;ve been using, which allows me to filter the results based on what I want. It leverages <a href="https://sqlutils.datasette.io">sql-utils</a>, a cli tool which is able to …</p>
</section>
<ul>
<li><a href="https://blog.notmyidea.org/deploying-and-customizing-datasette.html" rel="bookmark" title="Permalink to Deploying and customizing datasette">Deploying and customizing&nbsp;datasette</a></li>
<li><a href="https://blog.notmyidea.org/2023-semaine-45.html" rel="bookmark" title="Permalink to 2023, Semaine 45">2023, Semaine&nbsp;45</a></li>
<li><a href="https://blog.notmyidea.org/adding-real-time-collaboration-to-umap-first-week.html" rel="bookmark" title="Permalink to Adding Real-Time Collaboration to uMap, first week">Adding Real-Time Collaboration to uMap, first&nbsp;week</a></li>
<li><a href="https://blog.notmyidea.org/using-datasette-for-tracking-my-professional-activity.html" rel="bookmark" title="Permalink to Using Datasette for tracking my professional activity">Using Datasette for tracking my professional&nbsp;activity</a></li>
<li><a href="https://blog.notmyidea.org/2023-semaine-42.html" rel="bookmark" title="Permalink to 2023, Semaine 42">2023, Semaine&nbsp;42</a></li>

View file

@ -43,6 +43,14 @@ Alexis Métaireau </title>
</ul>
</section>
<h1></h1>
<section class="section index">
<time datetime="2023-12-25T00:00:00+01:00">25 décembre 2023</time>
<h1><a href="https://blog.notmyidea.org/format-an-usb-disk-from-the-command-line-on-macosx.html" id="page-title">Format an <span class="caps">USB</span> disk from the command-line on&nbsp;MacOSX</a></h1>
<div class="highlight"><pre><span></span><code>sudo<span class="w"> </span>diskutil<span class="w"> </span>unmountDisk<span class="w"> </span>/dev/disk5
sudo<span class="w"> </span>diskutil<span class="w"> </span>eraseDisk<span class="w"> </span><span class="s2">&quot;MS-DOS FAT32&quot;</span><span class="w"> </span>Brocolis<span class="w"> </span>/dev/disk
</code></pre></div>
</section>
<section class="section index">
<time datetime="2023-12-08T00:00:00+01:00">08 décembre 2023</time>
@ -109,13 +117,9 @@ Alexis Métaireau </title>
<span class="k">def</span> <span class="nf">string_to_duration</span><span class="p">(</span><span class="n">value</span><span class="p">:</span> <span class="nb">str</span><span class="p">,</span> <span class="n">target</span><span class="p">:</span> <span class="n">Literal</span><span class="p">[</span><span class="s2">&quot;days …</span></code></pre></div>
</section>
<section class="section index">
<time datetime="2023-09-27T00:00:00+02:00">27 septembre 2023</time>
<a class='tag' href="https://blog.notmyidea.org/tag/python.html">python</a>, <a class='tag' href="https://blog.notmyidea.org/tag/llm.html">llm</a>, <a class='tag' href="https://blog.notmyidea.org/tag/bash.html">bash</a>, <a class='tag' href="https://blog.notmyidea.org/tag/sqlite.html">sqlite</a> <h1><a href="https://blog.notmyidea.org/llm-command-line-tips.html" id="page-title">llm command-line&nbsp;tips</a></h1>
<p>I&#8217;m using <a href="https://llm.datasette.io">llm</a> more and more, and today I had to find back prompts I used in the past. Here is a command I&#8217;ve been using, which allows me to filter the results based on what I want. It leverages <a href="https://sqlutils.datasette.io">sql-utils</a>, a cli tool which is able to …</p>
</section>
<ul>
<li><a href="https://blog.notmyidea.org/deploying-and-customizing-datasette.html" rel="bookmark" title="Permalink to Deploying and customizing datasette">Deploying and customizing&nbsp;datasette</a></li>
<li><a href="https://blog.notmyidea.org/2023-semaine-45.html" rel="bookmark" title="Permalink to 2023, Semaine 45">2023, Semaine&nbsp;45</a></li>
<li><a href="https://blog.notmyidea.org/adding-real-time-collaboration-to-umap-first-week.html" rel="bookmark" title="Permalink to Adding Real-Time Collaboration to uMap, first week">Adding Real-Time Collaboration to uMap, first&nbsp;week</a></li>
<li><a href="https://blog.notmyidea.org/using-datasette-for-tracking-my-professional-activity.html" rel="bookmark" title="Permalink to Using Datasette for tracking my professional activity">Using Datasette for tracking my professional&nbsp;activity</a></li>
<li><a href="https://blog.notmyidea.org/2023-semaine-42.html" rel="bookmark" title="Permalink to 2023, Semaine 42">2023, Semaine&nbsp;42</a></li>

View file

@ -43,6 +43,14 @@ Alexis Métaireau </title>
</ul>
</section>
<h1></h1>
<section class="section index">
<time datetime="2023-12-25T00:00:00+01:00">25 décembre 2023</time>
<h1><a href="https://blog.notmyidea.org/format-an-usb-disk-from-the-command-line-on-macosx.html" id="page-title">Format an <span class="caps">USB</span> disk from the command-line on&nbsp;MacOSX</a></h1>
<div class="highlight"><pre><span></span><code>sudo<span class="w"> </span>diskutil<span class="w"> </span>unmountDisk<span class="w"> </span>/dev/disk5
sudo<span class="w"> </span>diskutil<span class="w"> </span>eraseDisk<span class="w"> </span><span class="s2">&quot;MS-DOS FAT32&quot;</span><span class="w"> </span>Brocolis<span class="w"> </span>/dev/disk
</code></pre></div>
</section>
<section class="section index">
<time datetime="2023-12-08T00:00:00+01:00">08 décembre 2023</time>
@ -109,13 +117,9 @@ Alexis Métaireau </title>
<span class="k">def</span> <span class="nf">string_to_duration</span><span class="p">(</span><span class="n">value</span><span class="p">:</span> <span class="nb">str</span><span class="p">,</span> <span class="n">target</span><span class="p">:</span> <span class="n">Literal</span><span class="p">[</span><span class="s2">&quot;days …</span></code></pre></div>
</section>
<section class="section index">
<time datetime="2023-09-27T00:00:00+02:00">27 septembre 2023</time>
<a class='tag' href="https://blog.notmyidea.org/tag/python.html">python</a>, <a class='tag' href="https://blog.notmyidea.org/tag/llm.html">llm</a>, <a class='tag' href="https://blog.notmyidea.org/tag/bash.html">bash</a>, <a class='tag' href="https://blog.notmyidea.org/tag/sqlite.html">sqlite</a> <h1><a href="https://blog.notmyidea.org/llm-command-line-tips.html" id="page-title">llm command-line&nbsp;tips</a></h1>
<p>I&#8217;m using <a href="https://llm.datasette.io">llm</a> more and more, and today I had to find back prompts I used in the past. Here is a command I&#8217;ve been using, which allows me to filter the results based on what I want. It leverages <a href="https://sqlutils.datasette.io">sql-utils</a>, a cli tool which is able to …</p>
</section>
<ul>
<li><a href="https://blog.notmyidea.org/deploying-and-customizing-datasette.html" rel="bookmark" title="Permalink to Deploying and customizing datasette">Deploying and customizing&nbsp;datasette</a></li>
<li><a href="https://blog.notmyidea.org/2023-semaine-45.html" rel="bookmark" title="Permalink to 2023, Semaine 45">2023, Semaine&nbsp;45</a></li>
<li><a href="https://blog.notmyidea.org/adding-real-time-collaboration-to-umap-first-week.html" rel="bookmark" title="Permalink to Adding Real-Time Collaboration to uMap, first week">Adding Real-Time Collaboration to uMap, first&nbsp;week</a></li>
<li><a href="https://blog.notmyidea.org/using-datasette-for-tracking-my-professional-activity.html" rel="bookmark" title="Permalink to Using Datasette for tracking my professional activity">Using Datasette for tracking my professional&nbsp;activity</a></li>
<li><a href="https://blog.notmyidea.org/2023-semaine-42.html" rel="bookmark" title="Permalink to 2023, Semaine 42">2023, Semaine&nbsp;42</a></li>

View file

@ -43,6 +43,14 @@ Alexis Métaireau </title>
</ul>
</section>
<h1></h1>
<section class="section index">
<time datetime="2023-12-25T00:00:00+01:00">25 décembre 2023</time>
<h1><a href="https://blog.notmyidea.org/format-an-usb-disk-from-the-command-line-on-macosx.html" id="page-title">Format an <span class="caps">USB</span> disk from the command-line on&nbsp;MacOSX</a></h1>
<div class="highlight"><pre><span></span><code>sudo<span class="w"> </span>diskutil<span class="w"> </span>unmountDisk<span class="w"> </span>/dev/disk5
sudo<span class="w"> </span>diskutil<span class="w"> </span>eraseDisk<span class="w"> </span><span class="s2">&quot;MS-DOS FAT32&quot;</span><span class="w"> </span>Brocolis<span class="w"> </span>/dev/disk
</code></pre></div>
</section>
<section class="section index">
<time datetime="2023-12-08T00:00:00+01:00">08 décembre 2023</time>
@ -109,13 +117,9 @@ Alexis Métaireau </title>
<span class="k">def</span> <span class="nf">string_to_duration</span><span class="p">(</span><span class="n">value</span><span class="p">:</span> <span class="nb">str</span><span class="p">,</span> <span class="n">target</span><span class="p">:</span> <span class="n">Literal</span><span class="p">[</span><span class="s2">&quot;days …</span></code></pre></div>
</section>
<section class="section index">
<time datetime="2023-09-27T00:00:00+02:00">27 septembre 2023</time>
<a class='tag' href="https://blog.notmyidea.org/tag/python.html">python</a>, <a class='tag' href="https://blog.notmyidea.org/tag/llm.html">llm</a>, <a class='tag' href="https://blog.notmyidea.org/tag/bash.html">bash</a>, <a class='tag' href="https://blog.notmyidea.org/tag/sqlite.html">sqlite</a> <h1><a href="https://blog.notmyidea.org/llm-command-line-tips.html" id="page-title">llm command-line&nbsp;tips</a></h1>
<p>I&#8217;m using <a href="https://llm.datasette.io">llm</a> more and more, and today I had to find back prompts I used in the past. Here is a command I&#8217;ve been using, which allows me to filter the results based on what I want. It leverages <a href="https://sqlutils.datasette.io">sql-utils</a>, a cli tool which is able to …</p>
</section>
<ul>
<li><a href="https://blog.notmyidea.org/deploying-and-customizing-datasette.html" rel="bookmark" title="Permalink to Deploying and customizing datasette">Deploying and customizing&nbsp;datasette</a></li>
<li><a href="https://blog.notmyidea.org/2023-semaine-45.html" rel="bookmark" title="Permalink to 2023, Semaine 45">2023, Semaine&nbsp;45</a></li>
<li><a href="https://blog.notmyidea.org/adding-real-time-collaboration-to-umap-first-week.html" rel="bookmark" title="Permalink to Adding Real-Time Collaboration to uMap, first week">Adding Real-Time Collaboration to uMap, first&nbsp;week</a></li>
<li><a href="https://blog.notmyidea.org/using-datasette-for-tracking-my-professional-activity.html" rel="bookmark" title="Permalink to Using Datasette for tracking my professional activity">Using Datasette for tracking my professional&nbsp;activity</a></li>
<li><a href="https://blog.notmyidea.org/2023-semaine-42.html" rel="bookmark" title="Permalink to 2023, Semaine 42">2023, Semaine&nbsp;42</a></li>

View file

@ -43,6 +43,14 @@ Alexis Métaireau </title>
</ul>
</section>
<h1></h1>
<section class="section index">
<time datetime="2023-12-25T00:00:00+01:00">25 décembre 2023</time>
<h1><a href="https://blog.notmyidea.org/format-an-usb-disk-from-the-command-line-on-macosx.html" id="page-title">Format an <span class="caps">USB</span> disk from the command-line on&nbsp;MacOSX</a></h1>
<div class="highlight"><pre><span></span><code>sudo<span class="w"> </span>diskutil<span class="w"> </span>unmountDisk<span class="w"> </span>/dev/disk5
sudo<span class="w"> </span>diskutil<span class="w"> </span>eraseDisk<span class="w"> </span><span class="s2">&quot;MS-DOS FAT32&quot;</span><span class="w"> </span>Brocolis<span class="w"> </span>/dev/disk
</code></pre></div>
</section>
<section class="section index">
<time datetime="2023-12-08T00:00:00+01:00">08 décembre 2023</time>
@ -109,13 +117,9 @@ Alexis Métaireau </title>
<span class="k">def</span> <span class="nf">string_to_duration</span><span class="p">(</span><span class="n">value</span><span class="p">:</span> <span class="nb">str</span><span class="p">,</span> <span class="n">target</span><span class="p">:</span> <span class="n">Literal</span><span class="p">[</span><span class="s2">&quot;days …</span></code></pre></div>
</section>
<section class="section index">
<time datetime="2023-09-27T00:00:00+02:00">27 septembre 2023</time>
<a class='tag' href="https://blog.notmyidea.org/tag/python.html">python</a>, <a class='tag' href="https://blog.notmyidea.org/tag/llm.html">llm</a>, <a class='tag' href="https://blog.notmyidea.org/tag/bash.html">bash</a>, <a class='tag' href="https://blog.notmyidea.org/tag/sqlite.html">sqlite</a> <h1><a href="https://blog.notmyidea.org/llm-command-line-tips.html" id="page-title">llm command-line&nbsp;tips</a></h1>
<p>I&#8217;m using <a href="https://llm.datasette.io">llm</a> more and more, and today I had to find back prompts I used in the past. Here is a command I&#8217;ve been using, which allows me to filter the results based on what I want. It leverages <a href="https://sqlutils.datasette.io">sql-utils</a>, a cli tool which is able to …</p>
</section>
<ul>
<li><a href="https://blog.notmyidea.org/deploying-and-customizing-datasette.html" rel="bookmark" title="Permalink to Deploying and customizing datasette">Deploying and customizing&nbsp;datasette</a></li>
<li><a href="https://blog.notmyidea.org/2023-semaine-45.html" rel="bookmark" title="Permalink to 2023, Semaine 45">2023, Semaine&nbsp;45</a></li>
<li><a href="https://blog.notmyidea.org/adding-real-time-collaboration-to-umap-first-week.html" rel="bookmark" title="Permalink to Adding Real-Time Collaboration to uMap, first week">Adding Real-Time Collaboration to uMap, first&nbsp;week</a></li>
<li><a href="https://blog.notmyidea.org/using-datasette-for-tracking-my-professional-activity.html" rel="bookmark" title="Permalink to Using Datasette for tracking my professional activity">Using Datasette for tracking my professional&nbsp;activity</a></li>
<li><a href="https://blog.notmyidea.org/2023-semaine-42.html" rel="bookmark" title="Permalink to 2023, Semaine 42">2023, Semaine&nbsp;42</a></li>

View file

@ -43,6 +43,14 @@ Alexis Métaireau </title>
</ul>
</section>
<h1></h1>
<section class="section index">
<time datetime="2023-12-25T00:00:00+01:00">25 décembre 2023</time>
<h1><a href="https://blog.notmyidea.org/format-an-usb-disk-from-the-command-line-on-macosx.html" id="page-title">Format an <span class="caps">USB</span> disk from the command-line on&nbsp;MacOSX</a></h1>
<div class="highlight"><pre><span></span><code>sudo<span class="w"> </span>diskutil<span class="w"> </span>unmountDisk<span class="w"> </span>/dev/disk5
sudo<span class="w"> </span>diskutil<span class="w"> </span>eraseDisk<span class="w"> </span><span class="s2">&quot;MS-DOS FAT32&quot;</span><span class="w"> </span>Brocolis<span class="w"> </span>/dev/disk
</code></pre></div>
</section>
<section class="section index">
<time datetime="2023-12-08T00:00:00+01:00">08 décembre 2023</time>
@ -109,13 +117,9 @@ Alexis Métaireau </title>
<span class="k">def</span> <span class="nf">string_to_duration</span><span class="p">(</span><span class="n">value</span><span class="p">:</span> <span class="nb">str</span><span class="p">,</span> <span class="n">target</span><span class="p">:</span> <span class="n">Literal</span><span class="p">[</span><span class="s2">&quot;days …</span></code></pre></div>
</section>
<section class="section index">
<time datetime="2023-09-27T00:00:00+02:00">27 septembre 2023</time>
<a class='tag' href="https://blog.notmyidea.org/tag/python.html">python</a>, <a class='tag' href="https://blog.notmyidea.org/tag/llm.html">llm</a>, <a class='tag' href="https://blog.notmyidea.org/tag/bash.html">bash</a>, <a class='tag' href="https://blog.notmyidea.org/tag/sqlite.html">sqlite</a> <h1><a href="https://blog.notmyidea.org/llm-command-line-tips.html" id="page-title">llm command-line&nbsp;tips</a></h1>
<p>I&#8217;m using <a href="https://llm.datasette.io">llm</a> more and more, and today I had to find back prompts I used in the past. Here is a command I&#8217;ve been using, which allows me to filter the results based on what I want. It leverages <a href="https://sqlutils.datasette.io">sql-utils</a>, a cli tool which is able to …</p>
</section>
<ul>
<li><a href="https://blog.notmyidea.org/deploying-and-customizing-datasette.html" rel="bookmark" title="Permalink to Deploying and customizing datasette">Deploying and customizing&nbsp;datasette</a></li>
<li><a href="https://blog.notmyidea.org/2023-semaine-45.html" rel="bookmark" title="Permalink to 2023, Semaine 45">2023, Semaine&nbsp;45</a></li>
<li><a href="https://blog.notmyidea.org/adding-real-time-collaboration-to-umap-first-week.html" rel="bookmark" title="Permalink to Adding Real-Time Collaboration to uMap, first week">Adding Real-Time Collaboration to uMap, first&nbsp;week</a></li>
<li><a href="https://blog.notmyidea.org/using-datasette-for-tracking-my-professional-activity.html" rel="bookmark" title="Permalink to Using Datasette for tracking my professional activity">Using Datasette for tracking my professional&nbsp;activity</a></li>
<li><a href="https://blog.notmyidea.org/2023-semaine-42.html" rel="bookmark" title="Permalink to 2023, Semaine 42">2023, Semaine&nbsp;42</a></li>

View file

@ -43,6 +43,14 @@ Alexis Métaireau </title>
</ul>
</section>
<h1></h1>
<section class="section index">
<time datetime="2023-12-25T00:00:00+01:00">25 décembre 2023</time>
<h1><a href="https://blog.notmyidea.org/format-an-usb-disk-from-the-command-line-on-macosx.html" id="page-title">Format an <span class="caps">USB</span> disk from the command-line on&nbsp;MacOSX</a></h1>
<div class="highlight"><pre><span></span><code>sudo<span class="w"> </span>diskutil<span class="w"> </span>unmountDisk<span class="w"> </span>/dev/disk5
sudo<span class="w"> </span>diskutil<span class="w"> </span>eraseDisk<span class="w"> </span><span class="s2">&quot;MS-DOS FAT32&quot;</span><span class="w"> </span>Brocolis<span class="w"> </span>/dev/disk
</code></pre></div>
</section>
<section class="section index">
<time datetime="2023-12-08T00:00:00+01:00">08 décembre 2023</time>
@ -109,13 +117,9 @@ Alexis Métaireau </title>
<span class="k">def</span> <span class="nf">string_to_duration</span><span class="p">(</span><span class="n">value</span><span class="p">:</span> <span class="nb">str</span><span class="p">,</span> <span class="n">target</span><span class="p">:</span> <span class="n">Literal</span><span class="p">[</span><span class="s2">&quot;days …</span></code></pre></div>
</section>
<section class="section index">
<time datetime="2023-09-27T00:00:00+02:00">27 septembre 2023</time>
<a class='tag' href="https://blog.notmyidea.org/tag/python.html">python</a>, <a class='tag' href="https://blog.notmyidea.org/tag/llm.html">llm</a>, <a class='tag' href="https://blog.notmyidea.org/tag/bash.html">bash</a>, <a class='tag' href="https://blog.notmyidea.org/tag/sqlite.html">sqlite</a> <h1><a href="https://blog.notmyidea.org/llm-command-line-tips.html" id="page-title">llm command-line&nbsp;tips</a></h1>
<p>I&#8217;m using <a href="https://llm.datasette.io">llm</a> more and more, and today I had to find back prompts I used in the past. Here is a command I&#8217;ve been using, which allows me to filter the results based on what I want. It leverages <a href="https://sqlutils.datasette.io">sql-utils</a>, a cli tool which is able to …</p>
</section>
<ul>
<li><a href="https://blog.notmyidea.org/deploying-and-customizing-datasette.html" rel="bookmark" title="Permalink to Deploying and customizing datasette">Deploying and customizing&nbsp;datasette</a></li>
<li><a href="https://blog.notmyidea.org/2023-semaine-45.html" rel="bookmark" title="Permalink to 2023, Semaine 45">2023, Semaine&nbsp;45</a></li>
<li><a href="https://blog.notmyidea.org/adding-real-time-collaboration-to-umap-first-week.html" rel="bookmark" title="Permalink to Adding Real-Time Collaboration to uMap, first week">Adding Real-Time Collaboration to uMap, first&nbsp;week</a></li>
<li><a href="https://blog.notmyidea.org/using-datasette-for-tracking-my-professional-activity.html" rel="bookmark" title="Permalink to Using Datasette for tracking my professional activity">Using Datasette for tracking my professional&nbsp;activity</a></li>
<li><a href="https://blog.notmyidea.org/2023-semaine-42.html" rel="bookmark" title="Permalink to 2023, Semaine 42">2023, Semaine&nbsp;42</a></li>

View file

@ -43,6 +43,14 @@ Alexis Métaireau </title>
</ul>
</section>
<h1></h1>
<section class="section index">
<time datetime="2023-12-25T00:00:00+01:00">25 décembre 2023</time>
<h1><a href="https://blog.notmyidea.org/format-an-usb-disk-from-the-command-line-on-macosx.html" id="page-title">Format an <span class="caps">USB</span> disk from the command-line on&nbsp;MacOSX</a></h1>
<div class="highlight"><pre><span></span><code>sudo<span class="w"> </span>diskutil<span class="w"> </span>unmountDisk<span class="w"> </span>/dev/disk5
sudo<span class="w"> </span>diskutil<span class="w"> </span>eraseDisk<span class="w"> </span><span class="s2">&quot;MS-DOS FAT32&quot;</span><span class="w"> </span>Brocolis<span class="w"> </span>/dev/disk
</code></pre></div>
</section>
<section class="section index">
<time datetime="2023-12-08T00:00:00+01:00">08 décembre 2023</time>
@ -109,13 +117,9 @@ Alexis Métaireau </title>
<span class="k">def</span> <span class="nf">string_to_duration</span><span class="p">(</span><span class="n">value</span><span class="p">:</span> <span class="nb">str</span><span class="p">,</span> <span class="n">target</span><span class="p">:</span> <span class="n">Literal</span><span class="p">[</span><span class="s2">&quot;days …</span></code></pre></div>
</section>
<section class="section index">
<time datetime="2023-09-27T00:00:00+02:00">27 septembre 2023</time>
<a class='tag' href="https://blog.notmyidea.org/tag/python.html">python</a>, <a class='tag' href="https://blog.notmyidea.org/tag/llm.html">llm</a>, <a class='tag' href="https://blog.notmyidea.org/tag/bash.html">bash</a>, <a class='tag' href="https://blog.notmyidea.org/tag/sqlite.html">sqlite</a> <h1><a href="https://blog.notmyidea.org/llm-command-line-tips.html" id="page-title">llm command-line&nbsp;tips</a></h1>
<p>I&#8217;m using <a href="https://llm.datasette.io">llm</a> more and more, and today I had to find back prompts I used in the past. Here is a command I&#8217;ve been using, which allows me to filter the results based on what I want. It leverages <a href="https://sqlutils.datasette.io">sql-utils</a>, a cli tool which is able to …</p>
</section>
<ul>
<li><a href="https://blog.notmyidea.org/deploying-and-customizing-datasette.html" rel="bookmark" title="Permalink to Deploying and customizing datasette">Deploying and customizing&nbsp;datasette</a></li>
<li><a href="https://blog.notmyidea.org/2023-semaine-45.html" rel="bookmark" title="Permalink to 2023, Semaine 45">2023, Semaine&nbsp;45</a></li>
<li><a href="https://blog.notmyidea.org/adding-real-time-collaboration-to-umap-first-week.html" rel="bookmark" title="Permalink to Adding Real-Time Collaboration to uMap, first week">Adding Real-Time Collaboration to uMap, first&nbsp;week</a></li>
<li><a href="https://blog.notmyidea.org/using-datasette-for-tracking-my-professional-activity.html" rel="bookmark" title="Permalink to Using Datasette for tracking my professional activity">Using Datasette for tracking my professional&nbsp;activity</a></li>
<li><a href="https://blog.notmyidea.org/2023-semaine-42.html" rel="bookmark" title="Permalink to 2023, Semaine 42">2023, Semaine&nbsp;42</a></li>

View file

@ -43,6 +43,14 @@ Alexis Métaireau </title>
</ul>
</section>
<h1></h1>
<section class="section index">
<time datetime="2023-12-25T00:00:00+01:00">25 décembre 2023</time>
<h1><a href="https://blog.notmyidea.org/format-an-usb-disk-from-the-command-line-on-macosx.html" id="page-title">Format an <span class="caps">USB</span> disk from the command-line on&nbsp;MacOSX</a></h1>
<div class="highlight"><pre><span></span><code>sudo<span class="w"> </span>diskutil<span class="w"> </span>unmountDisk<span class="w"> </span>/dev/disk5
sudo<span class="w"> </span>diskutil<span class="w"> </span>eraseDisk<span class="w"> </span><span class="s2">&quot;MS-DOS FAT32&quot;</span><span class="w"> </span>Brocolis<span class="w"> </span>/dev/disk
</code></pre></div>
</section>
<section class="section index">
<time datetime="2023-12-08T00:00:00+01:00">08 décembre 2023</time>
@ -109,13 +117,9 @@ Alexis Métaireau </title>
<span class="k">def</span> <span class="nf">string_to_duration</span><span class="p">(</span><span class="n">value</span><span class="p">:</span> <span class="nb">str</span><span class="p">,</span> <span class="n">target</span><span class="p">:</span> <span class="n">Literal</span><span class="p">[</span><span class="s2">&quot;days …</span></code></pre></div>
</section>
<section class="section index">
<time datetime="2023-09-27T00:00:00+02:00">27 septembre 2023</time>
<a class='tag' href="https://blog.notmyidea.org/tag/python.html">python</a>, <a class='tag' href="https://blog.notmyidea.org/tag/llm.html">llm</a>, <a class='tag' href="https://blog.notmyidea.org/tag/bash.html">bash</a>, <a class='tag' href="https://blog.notmyidea.org/tag/sqlite.html">sqlite</a> <h1><a href="https://blog.notmyidea.org/llm-command-line-tips.html" id="page-title">llm command-line&nbsp;tips</a></h1>
<p>I&#8217;m using <a href="https://llm.datasette.io">llm</a> more and more, and today I had to find back prompts I used in the past. Here is a command I&#8217;ve been using, which allows me to filter the results based on what I want. It leverages <a href="https://sqlutils.datasette.io">sql-utils</a>, a cli tool which is able to …</p>
</section>
<ul>
<li><a href="https://blog.notmyidea.org/deploying-and-customizing-datasette.html" rel="bookmark" title="Permalink to Deploying and customizing datasette">Deploying and customizing&nbsp;datasette</a></li>
<li><a href="https://blog.notmyidea.org/2023-semaine-45.html" rel="bookmark" title="Permalink to 2023, Semaine 45">2023, Semaine&nbsp;45</a></li>
<li><a href="https://blog.notmyidea.org/adding-real-time-collaboration-to-umap-first-week.html" rel="bookmark" title="Permalink to Adding Real-Time Collaboration to uMap, first week">Adding Real-Time Collaboration to uMap, first&nbsp;week</a></li>
<li><a href="https://blog.notmyidea.org/using-datasette-for-tracking-my-professional-activity.html" rel="bookmark" title="Permalink to Using Datasette for tracking my professional activity">Using Datasette for tracking my professional&nbsp;activity</a></li>
<li><a href="https://blog.notmyidea.org/2023-semaine-42.html" rel="bookmark" title="Permalink to 2023, Semaine 42">2023, Semaine&nbsp;42</a></li>

View file

@ -43,6 +43,14 @@ Alexis Métaireau </title>
</ul>
</section>
<h1></h1>
<section class="section index">
<time datetime="2023-12-25T00:00:00+01:00">25 décembre 2023</time>
<h1><a href="https://blog.notmyidea.org/format-an-usb-disk-from-the-command-line-on-macosx.html" id="page-title">Format an <span class="caps">USB</span> disk from the command-line on&nbsp;MacOSX</a></h1>
<div class="highlight"><pre><span></span><code>sudo<span class="w"> </span>diskutil<span class="w"> </span>unmountDisk<span class="w"> </span>/dev/disk5
sudo<span class="w"> </span>diskutil<span class="w"> </span>eraseDisk<span class="w"> </span><span class="s2">&quot;MS-DOS FAT32&quot;</span><span class="w"> </span>Brocolis<span class="w"> </span>/dev/disk
</code></pre></div>
</section>
<section class="section index">
<time datetime="2023-12-08T00:00:00+01:00">08 décembre 2023</time>
@ -109,13 +117,9 @@ Alexis Métaireau </title>
<span class="k">def</span> <span class="nf">string_to_duration</span><span class="p">(</span><span class="n">value</span><span class="p">:</span> <span class="nb">str</span><span class="p">,</span> <span class="n">target</span><span class="p">:</span> <span class="n">Literal</span><span class="p">[</span><span class="s2">&quot;days …</span></code></pre></div>
</section>
<section class="section index">
<time datetime="2023-09-27T00:00:00+02:00">27 septembre 2023</time>
<a class='tag' href="https://blog.notmyidea.org/tag/python.html">python</a>, <a class='tag' href="https://blog.notmyidea.org/tag/llm.html">llm</a>, <a class='tag' href="https://blog.notmyidea.org/tag/bash.html">bash</a>, <a class='tag' href="https://blog.notmyidea.org/tag/sqlite.html">sqlite</a> <h1><a href="https://blog.notmyidea.org/llm-command-line-tips.html" id="page-title">llm command-line&nbsp;tips</a></h1>
<p>I&#8217;m using <a href="https://llm.datasette.io">llm</a> more and more, and today I had to find back prompts I used in the past. Here is a command I&#8217;ve been using, which allows me to filter the results based on what I want. It leverages <a href="https://sqlutils.datasette.io">sql-utils</a>, a cli tool which is able to …</p>
</section>
<ul>
<li><a href="https://blog.notmyidea.org/deploying-and-customizing-datasette.html" rel="bookmark" title="Permalink to Deploying and customizing datasette">Deploying and customizing&nbsp;datasette</a></li>
<li><a href="https://blog.notmyidea.org/2023-semaine-45.html" rel="bookmark" title="Permalink to 2023, Semaine 45">2023, Semaine&nbsp;45</a></li>
<li><a href="https://blog.notmyidea.org/adding-real-time-collaboration-to-umap-first-week.html" rel="bookmark" title="Permalink to Adding Real-Time Collaboration to uMap, first week">Adding Real-Time Collaboration to uMap, first&nbsp;week</a></li>
<li><a href="https://blog.notmyidea.org/using-datasette-for-tracking-my-professional-activity.html" rel="bookmark" title="Permalink to Using Datasette for tracking my professional activity">Using Datasette for tracking my professional&nbsp;activity</a></li>
<li><a href="https://blog.notmyidea.org/2023-semaine-42.html" rel="bookmark" title="Permalink to 2023, Semaine 42">2023, Semaine&nbsp;42</a></li>

View file

@ -43,6 +43,14 @@ Alexis Métaireau </title>
</ul>
</section>
<h1></h1>
<section class="section index">
<time datetime="2023-12-25T00:00:00+01:00">25 décembre 2023</time>
<h1><a href="https://blog.notmyidea.org/format-an-usb-disk-from-the-command-line-on-macosx.html" id="page-title">Format an <span class="caps">USB</span> disk from the command-line on&nbsp;MacOSX</a></h1>
<div class="highlight"><pre><span></span><code>sudo<span class="w"> </span>diskutil<span class="w"> </span>unmountDisk<span class="w"> </span>/dev/disk5
sudo<span class="w"> </span>diskutil<span class="w"> </span>eraseDisk<span class="w"> </span><span class="s2">&quot;MS-DOS FAT32&quot;</span><span class="w"> </span>Brocolis<span class="w"> </span>/dev/disk
</code></pre></div>
</section>
<section class="section index">
<time datetime="2023-12-08T00:00:00+01:00">08 décembre 2023</time>
@ -109,13 +117,9 @@ Alexis Métaireau </title>
<span class="k">def</span> <span class="nf">string_to_duration</span><span class="p">(</span><span class="n">value</span><span class="p">:</span> <span class="nb">str</span><span class="p">,</span> <span class="n">target</span><span class="p">:</span> <span class="n">Literal</span><span class="p">[</span><span class="s2">&quot;days …</span></code></pre></div>
</section>
<section class="section index">
<time datetime="2023-09-27T00:00:00+02:00">27 septembre 2023</time>
<a class='tag' href="https://blog.notmyidea.org/tag/python.html">python</a>, <a class='tag' href="https://blog.notmyidea.org/tag/llm.html">llm</a>, <a class='tag' href="https://blog.notmyidea.org/tag/bash.html">bash</a>, <a class='tag' href="https://blog.notmyidea.org/tag/sqlite.html">sqlite</a> <h1><a href="https://blog.notmyidea.org/llm-command-line-tips.html" id="page-title">llm command-line&nbsp;tips</a></h1>
<p>I&#8217;m using <a href="https://llm.datasette.io">llm</a> more and more, and today I had to find back prompts I used in the past. Here is a command I&#8217;ve been using, which allows me to filter the results based on what I want. It leverages <a href="https://sqlutils.datasette.io">sql-utils</a>, a cli tool which is able to …</p>
</section>
<ul>
<li><a href="https://blog.notmyidea.org/deploying-and-customizing-datasette.html" rel="bookmark" title="Permalink to Deploying and customizing datasette">Deploying and customizing&nbsp;datasette</a></li>
<li><a href="https://blog.notmyidea.org/2023-semaine-45.html" rel="bookmark" title="Permalink to 2023, Semaine 45">2023, Semaine&nbsp;45</a></li>
<li><a href="https://blog.notmyidea.org/adding-real-time-collaboration-to-umap-first-week.html" rel="bookmark" title="Permalink to Adding Real-Time Collaboration to uMap, first week">Adding Real-Time Collaboration to uMap, first&nbsp;week</a></li>
<li><a href="https://blog.notmyidea.org/using-datasette-for-tracking-my-professional-activity.html" rel="bookmark" title="Permalink to Using Datasette for tracking my professional activity">Using Datasette for tracking my professional&nbsp;activity</a></li>
<li><a href="https://blog.notmyidea.org/2023-semaine-42.html" rel="bookmark" title="Permalink to 2023, Semaine 42">2023, Semaine&nbsp;42</a></li>

View file

@ -43,6 +43,14 @@ Alexis Métaireau </title>
</ul>
</section>
<h1></h1>
<section class="section index">
<time datetime="2023-12-25T00:00:00+01:00">25 décembre 2023</time>
<h1><a href="https://blog.notmyidea.org/format-an-usb-disk-from-the-command-line-on-macosx.html" id="page-title">Format an <span class="caps">USB</span> disk from the command-line on&nbsp;MacOSX</a></h1>
<div class="highlight"><pre><span></span><code>sudo<span class="w"> </span>diskutil<span class="w"> </span>unmountDisk<span class="w"> </span>/dev/disk5
sudo<span class="w"> </span>diskutil<span class="w"> </span>eraseDisk<span class="w"> </span><span class="s2">&quot;MS-DOS FAT32&quot;</span><span class="w"> </span>Brocolis<span class="w"> </span>/dev/disk
</code></pre></div>
</section>
<section class="section index">
<time datetime="2023-12-08T00:00:00+01:00">08 décembre 2023</time>
@ -109,13 +117,9 @@ Alexis Métaireau </title>
<span class="k">def</span> <span class="nf">string_to_duration</span><span class="p">(</span><span class="n">value</span><span class="p">:</span> <span class="nb">str</span><span class="p">,</span> <span class="n">target</span><span class="p">:</span> <span class="n">Literal</span><span class="p">[</span><span class="s2">&quot;days …</span></code></pre></div>
</section>
<section class="section index">
<time datetime="2023-09-27T00:00:00+02:00">27 septembre 2023</time>
<a class='tag' href="https://blog.notmyidea.org/tag/python.html">python</a>, <a class='tag' href="https://blog.notmyidea.org/tag/llm.html">llm</a>, <a class='tag' href="https://blog.notmyidea.org/tag/bash.html">bash</a>, <a class='tag' href="https://blog.notmyidea.org/tag/sqlite.html">sqlite</a> <h1><a href="https://blog.notmyidea.org/llm-command-line-tips.html" id="page-title">llm command-line&nbsp;tips</a></h1>
<p>I&#8217;m using <a href="https://llm.datasette.io">llm</a> more and more, and today I had to find back prompts I used in the past. Here is a command I&#8217;ve been using, which allows me to filter the results based on what I want. It leverages <a href="https://sqlutils.datasette.io">sql-utils</a>, a cli tool which is able to …</p>
</section>
<ul>
<li><a href="https://blog.notmyidea.org/deploying-and-customizing-datasette.html" rel="bookmark" title="Permalink to Deploying and customizing datasette">Deploying and customizing&nbsp;datasette</a></li>
<li><a href="https://blog.notmyidea.org/2023-semaine-45.html" rel="bookmark" title="Permalink to 2023, Semaine 45">2023, Semaine&nbsp;45</a></li>
<li><a href="https://blog.notmyidea.org/adding-real-time-collaboration-to-umap-first-week.html" rel="bookmark" title="Permalink to Adding Real-Time Collaboration to uMap, first week">Adding Real-Time Collaboration to uMap, first&nbsp;week</a></li>
<li><a href="https://blog.notmyidea.org/using-datasette-for-tracking-my-professional-activity.html" rel="bookmark" title="Permalink to Using Datasette for tracking my professional activity">Using Datasette for tracking my professional&nbsp;activity</a></li>
<li><a href="https://blog.notmyidea.org/2023-semaine-42.html" rel="bookmark" title="Permalink to 2023, Semaine 42">2023, Semaine&nbsp;42</a></li>

View file

@ -43,6 +43,14 @@ Alexis Métaireau </title>
</ul>
</section>
<h1></h1>
<section class="section index">
<time datetime="2023-12-25T00:00:00+01:00">25 décembre 2023</time>
<h1><a href="https://blog.notmyidea.org/format-an-usb-disk-from-the-command-line-on-macosx.html" id="page-title">Format an <span class="caps">USB</span> disk from the command-line on&nbsp;MacOSX</a></h1>
<div class="highlight"><pre><span></span><code>sudo<span class="w"> </span>diskutil<span class="w"> </span>unmountDisk<span class="w"> </span>/dev/disk5
sudo<span class="w"> </span>diskutil<span class="w"> </span>eraseDisk<span class="w"> </span><span class="s2">&quot;MS-DOS FAT32&quot;</span><span class="w"> </span>Brocolis<span class="w"> </span>/dev/disk
</code></pre></div>
</section>
<section class="section index">
<time datetime="2023-12-08T00:00:00+01:00">08 décembre 2023</time>
@ -109,13 +117,9 @@ Alexis Métaireau </title>
<span class="k">def</span> <span class="nf">string_to_duration</span><span class="p">(</span><span class="n">value</span><span class="p">:</span> <span class="nb">str</span><span class="p">,</span> <span class="n">target</span><span class="p">:</span> <span class="n">Literal</span><span class="p">[</span><span class="s2">&quot;days …</span></code></pre></div>
</section>
<section class="section index">
<time datetime="2023-09-27T00:00:00+02:00">27 septembre 2023</time>
<a class='tag' href="https://blog.notmyidea.org/tag/python.html">python</a>, <a class='tag' href="https://blog.notmyidea.org/tag/llm.html">llm</a>, <a class='tag' href="https://blog.notmyidea.org/tag/bash.html">bash</a>, <a class='tag' href="https://blog.notmyidea.org/tag/sqlite.html">sqlite</a> <h1><a href="https://blog.notmyidea.org/llm-command-line-tips.html" id="page-title">llm command-line&nbsp;tips</a></h1>
<p>I&#8217;m using <a href="https://llm.datasette.io">llm</a> more and more, and today I had to find back prompts I used in the past. Here is a command I&#8217;ve been using, which allows me to filter the results based on what I want. It leverages <a href="https://sqlutils.datasette.io">sql-utils</a>, a cli tool which is able to …</p>
</section>
<ul>
<li><a href="https://blog.notmyidea.org/deploying-and-customizing-datasette.html" rel="bookmark" title="Permalink to Deploying and customizing datasette">Deploying and customizing&nbsp;datasette</a></li>
<li><a href="https://blog.notmyidea.org/2023-semaine-45.html" rel="bookmark" title="Permalink to 2023, Semaine 45">2023, Semaine&nbsp;45</a></li>
<li><a href="https://blog.notmyidea.org/adding-real-time-collaboration-to-umap-first-week.html" rel="bookmark" title="Permalink to Adding Real-Time Collaboration to uMap, first week">Adding Real-Time Collaboration to uMap, first&nbsp;week</a></li>
<li><a href="https://blog.notmyidea.org/using-datasette-for-tracking-my-professional-activity.html" rel="bookmark" title="Permalink to Using Datasette for tracking my professional activity">Using Datasette for tracking my professional&nbsp;activity</a></li>
<li><a href="https://blog.notmyidea.org/2023-semaine-42.html" rel="bookmark" title="Permalink to 2023, Semaine 42">2023, Semaine&nbsp;42</a></li>

View file

@ -43,6 +43,14 @@ Alexis Métaireau </title>
</ul>
</section>
<h1></h1>
<section class="section index">
<time datetime="2023-12-25T00:00:00+01:00">25 décembre 2023</time>
<h1><a href="https://blog.notmyidea.org/format-an-usb-disk-from-the-command-line-on-macosx.html" id="page-title">Format an <span class="caps">USB</span> disk from the command-line on&nbsp;MacOSX</a></h1>
<div class="highlight"><pre><span></span><code>sudo<span class="w"> </span>diskutil<span class="w"> </span>unmountDisk<span class="w"> </span>/dev/disk5
sudo<span class="w"> </span>diskutil<span class="w"> </span>eraseDisk<span class="w"> </span><span class="s2">&quot;MS-DOS FAT32&quot;</span><span class="w"> </span>Brocolis<span class="w"> </span>/dev/disk
</code></pre></div>
</section>
<section class="section index">
<time datetime="2023-12-08T00:00:00+01:00">08 décembre 2023</time>
@ -109,13 +117,9 @@ Alexis Métaireau </title>
<span class="k">def</span> <span class="nf">string_to_duration</span><span class="p">(</span><span class="n">value</span><span class="p">:</span> <span class="nb">str</span><span class="p">,</span> <span class="n">target</span><span class="p">:</span> <span class="n">Literal</span><span class="p">[</span><span class="s2">&quot;days …</span></code></pre></div>
</section>
<section class="section index">
<time datetime="2023-09-27T00:00:00+02:00">27 septembre 2023</time>
<a class='tag' href="https://blog.notmyidea.org/tag/python.html">python</a>, <a class='tag' href="https://blog.notmyidea.org/tag/llm.html">llm</a>, <a class='tag' href="https://blog.notmyidea.org/tag/bash.html">bash</a>, <a class='tag' href="https://blog.notmyidea.org/tag/sqlite.html">sqlite</a> <h1><a href="https://blog.notmyidea.org/llm-command-line-tips.html" id="page-title">llm command-line&nbsp;tips</a></h1>
<p>I&#8217;m using <a href="https://llm.datasette.io">llm</a> more and more, and today I had to find back prompts I used in the past. Here is a command I&#8217;ve been using, which allows me to filter the results based on what I want. It leverages <a href="https://sqlutils.datasette.io">sql-utils</a>, a cli tool which is able to …</p>
</section>
<ul>
<li><a href="https://blog.notmyidea.org/deploying-and-customizing-datasette.html" rel="bookmark" title="Permalink to Deploying and customizing datasette">Deploying and customizing&nbsp;datasette</a></li>
<li><a href="https://blog.notmyidea.org/2023-semaine-45.html" rel="bookmark" title="Permalink to 2023, Semaine 45">2023, Semaine&nbsp;45</a></li>
<li><a href="https://blog.notmyidea.org/adding-real-time-collaboration-to-umap-first-week.html" rel="bookmark" title="Permalink to Adding Real-Time Collaboration to uMap, first week">Adding Real-Time Collaboration to uMap, first&nbsp;week</a></li>
<li><a href="https://blog.notmyidea.org/using-datasette-for-tracking-my-professional-activity.html" rel="bookmark" title="Permalink to Using Datasette for tracking my professional activity">Using Datasette for tracking my professional&nbsp;activity</a></li>
<li><a href="https://blog.notmyidea.org/2023-semaine-42.html" rel="bookmark" title="Permalink to 2023, Semaine 42">2023, Semaine&nbsp;42</a></li>

View file

@ -43,6 +43,14 @@ Alexis Métaireau </title>
</ul>
</section>
<h1></h1>
<section class="section index">
<time datetime="2023-12-25T00:00:00+01:00">25 décembre 2023</time>
<h1><a href="https://blog.notmyidea.org/format-an-usb-disk-from-the-command-line-on-macosx.html" id="page-title">Format an <span class="caps">USB</span> disk from the command-line on&nbsp;MacOSX</a></h1>
<div class="highlight"><pre><span></span><code>sudo<span class="w"> </span>diskutil<span class="w"> </span>unmountDisk<span class="w"> </span>/dev/disk5
sudo<span class="w"> </span>diskutil<span class="w"> </span>eraseDisk<span class="w"> </span><span class="s2">&quot;MS-DOS FAT32&quot;</span><span class="w"> </span>Brocolis<span class="w"> </span>/dev/disk
</code></pre></div>
</section>
<section class="section index">
<time datetime="2023-12-08T00:00:00+01:00">08 décembre 2023</time>
@ -109,13 +117,9 @@ Alexis Métaireau </title>
<span class="k">def</span> <span class="nf">string_to_duration</span><span class="p">(</span><span class="n">value</span><span class="p">:</span> <span class="nb">str</span><span class="p">,</span> <span class="n">target</span><span class="p">:</span> <span class="n">Literal</span><span class="p">[</span><span class="s2">&quot;days …</span></code></pre></div>
</section>
<section class="section index">
<time datetime="2023-09-27T00:00:00+02:00">27 septembre 2023</time>
<a class='tag' href="https://blog.notmyidea.org/tag/python.html">python</a>, <a class='tag' href="https://blog.notmyidea.org/tag/llm.html">llm</a>, <a class='tag' href="https://blog.notmyidea.org/tag/bash.html">bash</a>, <a class='tag' href="https://blog.notmyidea.org/tag/sqlite.html">sqlite</a> <h1><a href="https://blog.notmyidea.org/llm-command-line-tips.html" id="page-title">llm command-line&nbsp;tips</a></h1>
<p>I&#8217;m using <a href="https://llm.datasette.io">llm</a> more and more, and today I had to find back prompts I used in the past. Here is a command I&#8217;ve been using, which allows me to filter the results based on what I want. It leverages <a href="https://sqlutils.datasette.io">sql-utils</a>, a cli tool which is able to …</p>
</section>
<ul>
<li><a href="https://blog.notmyidea.org/deploying-and-customizing-datasette.html" rel="bookmark" title="Permalink to Deploying and customizing datasette">Deploying and customizing&nbsp;datasette</a></li>
<li><a href="https://blog.notmyidea.org/2023-semaine-45.html" rel="bookmark" title="Permalink to 2023, Semaine 45">2023, Semaine&nbsp;45</a></li>
<li><a href="https://blog.notmyidea.org/adding-real-time-collaboration-to-umap-first-week.html" rel="bookmark" title="Permalink to Adding Real-Time Collaboration to uMap, first week">Adding Real-Time Collaboration to uMap, first&nbsp;week</a></li>
<li><a href="https://blog.notmyidea.org/using-datasette-for-tracking-my-professional-activity.html" rel="bookmark" title="Permalink to Using Datasette for tracking my professional activity">Using Datasette for tracking my professional&nbsp;activity</a></li>
<li><a href="https://blog.notmyidea.org/2023-semaine-42.html" rel="bookmark" title="Permalink to 2023, Semaine 42">2023, Semaine&nbsp;42</a></li>

View file

@ -43,6 +43,14 @@ Alexis Métaireau </title>
</ul>
</section>
<h1></h1>
<section class="section index">
<time datetime="2023-12-25T00:00:00+01:00">25 décembre 2023</time>
<h1><a href="https://blog.notmyidea.org/format-an-usb-disk-from-the-command-line-on-macosx.html" id="page-title">Format an <span class="caps">USB</span> disk from the command-line on&nbsp;MacOSX</a></h1>
<div class="highlight"><pre><span></span><code>sudo<span class="w"> </span>diskutil<span class="w"> </span>unmountDisk<span class="w"> </span>/dev/disk5
sudo<span class="w"> </span>diskutil<span class="w"> </span>eraseDisk<span class="w"> </span><span class="s2">&quot;MS-DOS FAT32&quot;</span><span class="w"> </span>Brocolis<span class="w"> </span>/dev/disk
</code></pre></div>
</section>
<section class="section index">
<time datetime="2023-12-08T00:00:00+01:00">08 décembre 2023</time>
@ -109,13 +117,9 @@ Alexis Métaireau </title>
<span class="k">def</span> <span class="nf">string_to_duration</span><span class="p">(</span><span class="n">value</span><span class="p">:</span> <span class="nb">str</span><span class="p">,</span> <span class="n">target</span><span class="p">:</span> <span class="n">Literal</span><span class="p">[</span><span class="s2">&quot;days …</span></code></pre></div>
</section>
<section class="section index">
<time datetime="2023-09-27T00:00:00+02:00">27 septembre 2023</time>
<a class='tag' href="https://blog.notmyidea.org/tag/python.html">python</a>, <a class='tag' href="https://blog.notmyidea.org/tag/llm.html">llm</a>, <a class='tag' href="https://blog.notmyidea.org/tag/bash.html">bash</a>, <a class='tag' href="https://blog.notmyidea.org/tag/sqlite.html">sqlite</a> <h1><a href="https://blog.notmyidea.org/llm-command-line-tips.html" id="page-title">llm command-line&nbsp;tips</a></h1>
<p>I&#8217;m using <a href="https://llm.datasette.io">llm</a> more and more, and today I had to find back prompts I used in the past. Here is a command I&#8217;ve been using, which allows me to filter the results based on what I want. It leverages <a href="https://sqlutils.datasette.io">sql-utils</a>, a cli tool which is able to …</p>
</section>
<ul>
<li><a href="https://blog.notmyidea.org/deploying-and-customizing-datasette.html" rel="bookmark" title="Permalink to Deploying and customizing datasette">Deploying and customizing&nbsp;datasette</a></li>
<li><a href="https://blog.notmyidea.org/2023-semaine-45.html" rel="bookmark" title="Permalink to 2023, Semaine 45">2023, Semaine&nbsp;45</a></li>
<li><a href="https://blog.notmyidea.org/adding-real-time-collaboration-to-umap-first-week.html" rel="bookmark" title="Permalink to Adding Real-Time Collaboration to uMap, first week">Adding Real-Time Collaboration to uMap, first&nbsp;week</a></li>
<li><a href="https://blog.notmyidea.org/using-datasette-for-tracking-my-professional-activity.html" rel="bookmark" title="Permalink to Using Datasette for tracking my professional activity">Using Datasette for tracking my professional&nbsp;activity</a></li>
<li><a href="https://blog.notmyidea.org/2023-semaine-42.html" rel="bookmark" title="Permalink to 2023, Semaine 42">2023, Semaine&nbsp;42</a></li>

View file

@ -43,6 +43,14 @@ Alexis Métaireau </title>
</ul>
</section>
<h1></h1>
<section class="section index">
<time datetime="2023-12-25T00:00:00+01:00">25 décembre 2023</time>
<h1><a href="https://blog.notmyidea.org/format-an-usb-disk-from-the-command-line-on-macosx.html" id="page-title">Format an <span class="caps">USB</span> disk from the command-line on&nbsp;MacOSX</a></h1>
<div class="highlight"><pre><span></span><code>sudo<span class="w"> </span>diskutil<span class="w"> </span>unmountDisk<span class="w"> </span>/dev/disk5
sudo<span class="w"> </span>diskutil<span class="w"> </span>eraseDisk<span class="w"> </span><span class="s2">&quot;MS-DOS FAT32&quot;</span><span class="w"> </span>Brocolis<span class="w"> </span>/dev/disk
</code></pre></div>
</section>
<section class="section index">
<time datetime="2023-12-08T00:00:00+01:00">08 décembre 2023</time>
@ -109,13 +117,9 @@ Alexis Métaireau </title>
<span class="k">def</span> <span class="nf">string_to_duration</span><span class="p">(</span><span class="n">value</span><span class="p">:</span> <span class="nb">str</span><span class="p">,</span> <span class="n">target</span><span class="p">:</span> <span class="n">Literal</span><span class="p">[</span><span class="s2">&quot;days …</span></code></pre></div>
</section>
<section class="section index">
<time datetime="2023-09-27T00:00:00+02:00">27 septembre 2023</time>
<a class='tag' href="https://blog.notmyidea.org/tag/python.html">python</a>, <a class='tag' href="https://blog.notmyidea.org/tag/llm.html">llm</a>, <a class='tag' href="https://blog.notmyidea.org/tag/bash.html">bash</a>, <a class='tag' href="https://blog.notmyidea.org/tag/sqlite.html">sqlite</a> <h1><a href="https://blog.notmyidea.org/llm-command-line-tips.html" id="page-title">llm command-line&nbsp;tips</a></h1>
<p>I&#8217;m using <a href="https://llm.datasette.io">llm</a> more and more, and today I had to find back prompts I used in the past. Here is a command I&#8217;ve been using, which allows me to filter the results based on what I want. It leverages <a href="https://sqlutils.datasette.io">sql-utils</a>, a cli tool which is able to …</p>
</section>
<ul>
<li><a href="https://blog.notmyidea.org/deploying-and-customizing-datasette.html" rel="bookmark" title="Permalink to Deploying and customizing datasette">Deploying and customizing&nbsp;datasette</a></li>
<li><a href="https://blog.notmyidea.org/2023-semaine-45.html" rel="bookmark" title="Permalink to 2023, Semaine 45">2023, Semaine&nbsp;45</a></li>
<li><a href="https://blog.notmyidea.org/adding-real-time-collaboration-to-umap-first-week.html" rel="bookmark" title="Permalink to Adding Real-Time Collaboration to uMap, first week">Adding Real-Time Collaboration to uMap, first&nbsp;week</a></li>
<li><a href="https://blog.notmyidea.org/using-datasette-for-tracking-my-professional-activity.html" rel="bookmark" title="Permalink to Using Datasette for tracking my professional activity">Using Datasette for tracking my professional&nbsp;activity</a></li>
<li><a href="https://blog.notmyidea.org/2023-semaine-42.html" rel="bookmark" title="Permalink to 2023, Semaine 42">2023, Semaine&nbsp;42</a></li>

View file

@ -43,6 +43,14 @@ Alexis Métaireau </title>
</ul>
</section>
<h1></h1>
<section class="section index">
<time datetime="2023-12-25T00:00:00+01:00">25 décembre 2023</time>
<h1><a href="https://blog.notmyidea.org/format-an-usb-disk-from-the-command-line-on-macosx.html" id="page-title">Format an <span class="caps">USB</span> disk from the command-line on&nbsp;MacOSX</a></h1>
<div class="highlight"><pre><span></span><code>sudo<span class="w"> </span>diskutil<span class="w"> </span>unmountDisk<span class="w"> </span>/dev/disk5
sudo<span class="w"> </span>diskutil<span class="w"> </span>eraseDisk<span class="w"> </span><span class="s2">&quot;MS-DOS FAT32&quot;</span><span class="w"> </span>Brocolis<span class="w"> </span>/dev/disk
</code></pre></div>
</section>
<section class="section index">
<time datetime="2023-12-08T00:00:00+01:00">08 décembre 2023</time>
@ -109,13 +117,9 @@ Alexis Métaireau </title>
<span class="k">def</span> <span class="nf">string_to_duration</span><span class="p">(</span><span class="n">value</span><span class="p">:</span> <span class="nb">str</span><span class="p">,</span> <span class="n">target</span><span class="p">:</span> <span class="n">Literal</span><span class="p">[</span><span class="s2">&quot;days …</span></code></pre></div>
</section>
<section class="section index">
<time datetime="2023-09-27T00:00:00+02:00">27 septembre 2023</time>
<a class='tag' href="https://blog.notmyidea.org/tag/python.html">python</a>, <a class='tag' href="https://blog.notmyidea.org/tag/llm.html">llm</a>, <a class='tag' href="https://blog.notmyidea.org/tag/bash.html">bash</a>, <a class='tag' href="https://blog.notmyidea.org/tag/sqlite.html">sqlite</a> <h1><a href="https://blog.notmyidea.org/llm-command-line-tips.html" id="page-title">llm command-line&nbsp;tips</a></h1>
<p>I&#8217;m using <a href="https://llm.datasette.io">llm</a> more and more, and today I had to find back prompts I used in the past. Here is a command I&#8217;ve been using, which allows me to filter the results based on what I want. It leverages <a href="https://sqlutils.datasette.io">sql-utils</a>, a cli tool which is able to …</p>
</section>
<ul>
<li><a href="https://blog.notmyidea.org/deploying-and-customizing-datasette.html" rel="bookmark" title="Permalink to Deploying and customizing datasette">Deploying and customizing&nbsp;datasette</a></li>
<li><a href="https://blog.notmyidea.org/2023-semaine-45.html" rel="bookmark" title="Permalink to 2023, Semaine 45">2023, Semaine&nbsp;45</a></li>
<li><a href="https://blog.notmyidea.org/adding-real-time-collaboration-to-umap-first-week.html" rel="bookmark" title="Permalink to Adding Real-Time Collaboration to uMap, first week">Adding Real-Time Collaboration to uMap, first&nbsp;week</a></li>
<li><a href="https://blog.notmyidea.org/using-datasette-for-tracking-my-professional-activity.html" rel="bookmark" title="Permalink to Using Datasette for tracking my professional activity">Using Datasette for tracking my professional&nbsp;activity</a></li>
<li><a href="https://blog.notmyidea.org/2023-semaine-42.html" rel="bookmark" title="Permalink to 2023, Semaine 42">2023, Semaine&nbsp;42</a></li>

View file

@ -43,6 +43,14 @@ Alexis Métaireau </title>
</ul>
</section>
<h1></h1>
<section class="section index">
<time datetime="2023-12-25T00:00:00+01:00">25 décembre 2023</time>
<h1><a href="https://blog.notmyidea.org/format-an-usb-disk-from-the-command-line-on-macosx.html" id="page-title">Format an <span class="caps">USB</span> disk from the command-line on&nbsp;MacOSX</a></h1>
<div class="highlight"><pre><span></span><code>sudo<span class="w"> </span>diskutil<span class="w"> </span>unmountDisk<span class="w"> </span>/dev/disk5
sudo<span class="w"> </span>diskutil<span class="w"> </span>eraseDisk<span class="w"> </span><span class="s2">&quot;MS-DOS FAT32&quot;</span><span class="w"> </span>Brocolis<span class="w"> </span>/dev/disk
</code></pre></div>
</section>
<section class="section index">
<time datetime="2023-12-08T00:00:00+01:00">08 décembre 2023</time>
@ -109,13 +117,9 @@ Alexis Métaireau </title>
<span class="k">def</span> <span class="nf">string_to_duration</span><span class="p">(</span><span class="n">value</span><span class="p">:</span> <span class="nb">str</span><span class="p">,</span> <span class="n">target</span><span class="p">:</span> <span class="n">Literal</span><span class="p">[</span><span class="s2">&quot;days …</span></code></pre></div>
</section>
<section class="section index">
<time datetime="2023-09-27T00:00:00+02:00">27 septembre 2023</time>
<a class='tag' href="https://blog.notmyidea.org/tag/python.html">python</a>, <a class='tag' href="https://blog.notmyidea.org/tag/llm.html">llm</a>, <a class='tag' href="https://blog.notmyidea.org/tag/bash.html">bash</a>, <a class='tag' href="https://blog.notmyidea.org/tag/sqlite.html">sqlite</a> <h1><a href="https://blog.notmyidea.org/llm-command-line-tips.html" id="page-title">llm command-line&nbsp;tips</a></h1>
<p>I&#8217;m using <a href="https://llm.datasette.io">llm</a> more and more, and today I had to find back prompts I used in the past. Here is a command I&#8217;ve been using, which allows me to filter the results based on what I want. It leverages <a href="https://sqlutils.datasette.io">sql-utils</a>, a cli tool which is able to …</p>
</section>
<ul>
<li><a href="https://blog.notmyidea.org/deploying-and-customizing-datasette.html" rel="bookmark" title="Permalink to Deploying and customizing datasette">Deploying and customizing&nbsp;datasette</a></li>
<li><a href="https://blog.notmyidea.org/2023-semaine-45.html" rel="bookmark" title="Permalink to 2023, Semaine 45">2023, Semaine&nbsp;45</a></li>
<li><a href="https://blog.notmyidea.org/adding-real-time-collaboration-to-umap-first-week.html" rel="bookmark" title="Permalink to Adding Real-Time Collaboration to uMap, first week">Adding Real-Time Collaboration to uMap, first&nbsp;week</a></li>
<li><a href="https://blog.notmyidea.org/using-datasette-for-tracking-my-professional-activity.html" rel="bookmark" title="Permalink to Using Datasette for tracking my professional activity">Using Datasette for tracking my professional&nbsp;activity</a></li>
<li><a href="https://blog.notmyidea.org/2023-semaine-42.html" rel="bookmark" title="Permalink to 2023, Semaine 42">2023, Semaine&nbsp;42</a></li>

View file

@ -43,6 +43,14 @@ Alexis Métaireau </title>
</ul>
</section>
<h1></h1>
<section class="section index">
<time datetime="2023-12-25T00:00:00+01:00">25 décembre 2023</time>
<h1><a href="https://blog.notmyidea.org/format-an-usb-disk-from-the-command-line-on-macosx.html" id="page-title">Format an <span class="caps">USB</span> disk from the command-line on&nbsp;MacOSX</a></h1>
<div class="highlight"><pre><span></span><code>sudo<span class="w"> </span>diskutil<span class="w"> </span>unmountDisk<span class="w"> </span>/dev/disk5
sudo<span class="w"> </span>diskutil<span class="w"> </span>eraseDisk<span class="w"> </span><span class="s2">&quot;MS-DOS FAT32&quot;</span><span class="w"> </span>Brocolis<span class="w"> </span>/dev/disk
</code></pre></div>
</section>
<section class="section index">
<time datetime="2023-12-08T00:00:00+01:00">08 décembre 2023</time>
@ -109,13 +117,9 @@ Alexis Métaireau </title>
<span class="k">def</span> <span class="nf">string_to_duration</span><span class="p">(</span><span class="n">value</span><span class="p">:</span> <span class="nb">str</span><span class="p">,</span> <span class="n">target</span><span class="p">:</span> <span class="n">Literal</span><span class="p">[</span><span class="s2">&quot;days …</span></code></pre></div>
</section>
<section class="section index">
<time datetime="2023-09-27T00:00:00+02:00">27 septembre 2023</time>
<a class='tag' href="https://blog.notmyidea.org/tag/python.html">python</a>, <a class='tag' href="https://blog.notmyidea.org/tag/llm.html">llm</a>, <a class='tag' href="https://blog.notmyidea.org/tag/bash.html">bash</a>, <a class='tag' href="https://blog.notmyidea.org/tag/sqlite.html">sqlite</a> <h1><a href="https://blog.notmyidea.org/llm-command-line-tips.html" id="page-title">llm command-line&nbsp;tips</a></h1>
<p>I&#8217;m using <a href="https://llm.datasette.io">llm</a> more and more, and today I had to find back prompts I used in the past. Here is a command I&#8217;ve been using, which allows me to filter the results based on what I want. It leverages <a href="https://sqlutils.datasette.io">sql-utils</a>, a cli tool which is able to …</p>
</section>
<ul>
<li><a href="https://blog.notmyidea.org/deploying-and-customizing-datasette.html" rel="bookmark" title="Permalink to Deploying and customizing datasette">Deploying and customizing&nbsp;datasette</a></li>
<li><a href="https://blog.notmyidea.org/2023-semaine-45.html" rel="bookmark" title="Permalink to 2023, Semaine 45">2023, Semaine&nbsp;45</a></li>
<li><a href="https://blog.notmyidea.org/adding-real-time-collaboration-to-umap-first-week.html" rel="bookmark" title="Permalink to Adding Real-Time Collaboration to uMap, first week">Adding Real-Time Collaboration to uMap, first&nbsp;week</a></li>
<li><a href="https://blog.notmyidea.org/using-datasette-for-tracking-my-professional-activity.html" rel="bookmark" title="Permalink to Using Datasette for tracking my professional activity">Using Datasette for tracking my professional&nbsp;activity</a></li>
<li><a href="https://blog.notmyidea.org/2023-semaine-42.html" rel="bookmark" title="Permalink to 2023, Semaine 42">2023, Semaine&nbsp;42</a></li>

View file

@ -43,6 +43,14 @@ Alexis Métaireau </title>
</ul>
</section>
<h1></h1>
<section class="section index">
<time datetime="2023-12-25T00:00:00+01:00">25 décembre 2023</time>
<h1><a href="https://blog.notmyidea.org/format-an-usb-disk-from-the-command-line-on-macosx.html" id="page-title">Format an <span class="caps">USB</span> disk from the command-line on&nbsp;MacOSX</a></h1>
<div class="highlight"><pre><span></span><code>sudo<span class="w"> </span>diskutil<span class="w"> </span>unmountDisk<span class="w"> </span>/dev/disk5
sudo<span class="w"> </span>diskutil<span class="w"> </span>eraseDisk<span class="w"> </span><span class="s2">&quot;MS-DOS FAT32&quot;</span><span class="w"> </span>Brocolis<span class="w"> </span>/dev/disk
</code></pre></div>
</section>
<section class="section index">
<time datetime="2023-12-08T00:00:00+01:00">08 décembre 2023</time>
@ -109,13 +117,9 @@ Alexis Métaireau </title>
<span class="k">def</span> <span class="nf">string_to_duration</span><span class="p">(</span><span class="n">value</span><span class="p">:</span> <span class="nb">str</span><span class="p">,</span> <span class="n">target</span><span class="p">:</span> <span class="n">Literal</span><span class="p">[</span><span class="s2">&quot;days …</span></code></pre></div>
</section>
<section class="section index">
<time datetime="2023-09-27T00:00:00+02:00">27 septembre 2023</time>
<a class='tag' href="https://blog.notmyidea.org/tag/python.html">python</a>, <a class='tag' href="https://blog.notmyidea.org/tag/llm.html">llm</a>, <a class='tag' href="https://blog.notmyidea.org/tag/bash.html">bash</a>, <a class='tag' href="https://blog.notmyidea.org/tag/sqlite.html">sqlite</a> <h1><a href="https://blog.notmyidea.org/llm-command-line-tips.html" id="page-title">llm command-line&nbsp;tips</a></h1>
<p>I&#8217;m using <a href="https://llm.datasette.io">llm</a> more and more, and today I had to find back prompts I used in the past. Here is a command I&#8217;ve been using, which allows me to filter the results based on what I want. It leverages <a href="https://sqlutils.datasette.io">sql-utils</a>, a cli tool which is able to …</p>
</section>
<ul>
<li><a href="https://blog.notmyidea.org/deploying-and-customizing-datasette.html" rel="bookmark" title="Permalink to Deploying and customizing datasette">Deploying and customizing&nbsp;datasette</a></li>
<li><a href="https://blog.notmyidea.org/2023-semaine-45.html" rel="bookmark" title="Permalink to 2023, Semaine 45">2023, Semaine&nbsp;45</a></li>
<li><a href="https://blog.notmyidea.org/adding-real-time-collaboration-to-umap-first-week.html" rel="bookmark" title="Permalink to Adding Real-Time Collaboration to uMap, first week">Adding Real-Time Collaboration to uMap, first&nbsp;week</a></li>
<li><a href="https://blog.notmyidea.org/using-datasette-for-tracking-my-professional-activity.html" rel="bookmark" title="Permalink to Using Datasette for tracking my professional activity">Using Datasette for tracking my professional&nbsp;activity</a></li>
<li><a href="https://blog.notmyidea.org/2023-semaine-42.html" rel="bookmark" title="Permalink to 2023, Semaine 42">2023, Semaine&nbsp;42</a></li>

View file

@ -43,6 +43,14 @@ Alexis Métaireau </title>
</ul>
</section>
<h1></h1>
<section class="section index">
<time datetime="2023-12-25T00:00:00+01:00">25 décembre 2023</time>
<h1><a href="https://blog.notmyidea.org/format-an-usb-disk-from-the-command-line-on-macosx.html" id="page-title">Format an <span class="caps">USB</span> disk from the command-line on&nbsp;MacOSX</a></h1>
<div class="highlight"><pre><span></span><code>sudo<span class="w"> </span>diskutil<span class="w"> </span>unmountDisk<span class="w"> </span>/dev/disk5
sudo<span class="w"> </span>diskutil<span class="w"> </span>eraseDisk<span class="w"> </span><span class="s2">&quot;MS-DOS FAT32&quot;</span><span class="w"> </span>Brocolis<span class="w"> </span>/dev/disk
</code></pre></div>
</section>
<section class="section index">
<time datetime="2023-12-08T00:00:00+01:00">08 décembre 2023</time>
@ -109,13 +117,9 @@ Alexis Métaireau </title>
<span class="k">def</span> <span class="nf">string_to_duration</span><span class="p">(</span><span class="n">value</span><span class="p">:</span> <span class="nb">str</span><span class="p">,</span> <span class="n">target</span><span class="p">:</span> <span class="n">Literal</span><span class="p">[</span><span class="s2">&quot;days …</span></code></pre></div>
</section>
<section class="section index">
<time datetime="2023-09-27T00:00:00+02:00">27 septembre 2023</time>
<a class='tag' href="https://blog.notmyidea.org/tag/python.html">python</a>, <a class='tag' href="https://blog.notmyidea.org/tag/llm.html">llm</a>, <a class='tag' href="https://blog.notmyidea.org/tag/bash.html">bash</a>, <a class='tag' href="https://blog.notmyidea.org/tag/sqlite.html">sqlite</a> <h1><a href="https://blog.notmyidea.org/llm-command-line-tips.html" id="page-title">llm command-line&nbsp;tips</a></h1>
<p>I&#8217;m using <a href="https://llm.datasette.io">llm</a> more and more, and today I had to find back prompts I used in the past. Here is a command I&#8217;ve been using, which allows me to filter the results based on what I want. It leverages <a href="https://sqlutils.datasette.io">sql-utils</a>, a cli tool which is able to …</p>
</section>
<ul>
<li><a href="https://blog.notmyidea.org/deploying-and-customizing-datasette.html" rel="bookmark" title="Permalink to Deploying and customizing datasette">Deploying and customizing&nbsp;datasette</a></li>
<li><a href="https://blog.notmyidea.org/2023-semaine-45.html" rel="bookmark" title="Permalink to 2023, Semaine 45">2023, Semaine&nbsp;45</a></li>
<li><a href="https://blog.notmyidea.org/adding-real-time-collaboration-to-umap-first-week.html" rel="bookmark" title="Permalink to Adding Real-Time Collaboration to uMap, first week">Adding Real-Time Collaboration to uMap, first&nbsp;week</a></li>
<li><a href="https://blog.notmyidea.org/using-datasette-for-tracking-my-professional-activity.html" rel="bookmark" title="Permalink to Using Datasette for tracking my professional activity">Using Datasette for tracking my professional&nbsp;activity</a></li>
<li><a href="https://blog.notmyidea.org/2023-semaine-42.html" rel="bookmark" title="Permalink to 2023, Semaine 42">2023, Semaine&nbsp;42</a></li>

View file

@ -43,6 +43,14 @@ Alexis Métaireau </title>
</ul>
</section>
<h1></h1>
<section class="section index">
<time datetime="2023-12-25T00:00:00+01:00">25 décembre 2023</time>
<h1><a href="https://blog.notmyidea.org/format-an-usb-disk-from-the-command-line-on-macosx.html" id="page-title">Format an <span class="caps">USB</span> disk from the command-line on&nbsp;MacOSX</a></h1>
<div class="highlight"><pre><span></span><code>sudo<span class="w"> </span>diskutil<span class="w"> </span>unmountDisk<span class="w"> </span>/dev/disk5
sudo<span class="w"> </span>diskutil<span class="w"> </span>eraseDisk<span class="w"> </span><span class="s2">&quot;MS-DOS FAT32&quot;</span><span class="w"> </span>Brocolis<span class="w"> </span>/dev/disk
</code></pre></div>
</section>
<section class="section index">
<time datetime="2023-12-08T00:00:00+01:00">08 décembre 2023</time>
@ -109,13 +117,9 @@ Alexis Métaireau </title>
<span class="k">def</span> <span class="nf">string_to_duration</span><span class="p">(</span><span class="n">value</span><span class="p">:</span> <span class="nb">str</span><span class="p">,</span> <span class="n">target</span><span class="p">:</span> <span class="n">Literal</span><span class="p">[</span><span class="s2">&quot;days …</span></code></pre></div>
</section>
<section class="section index">
<time datetime="2023-09-27T00:00:00+02:00">27 septembre 2023</time>
<a class='tag' href="https://blog.notmyidea.org/tag/python.html">python</a>, <a class='tag' href="https://blog.notmyidea.org/tag/llm.html">llm</a>, <a class='tag' href="https://blog.notmyidea.org/tag/bash.html">bash</a>, <a class='tag' href="https://blog.notmyidea.org/tag/sqlite.html">sqlite</a> <h1><a href="https://blog.notmyidea.org/llm-command-line-tips.html" id="page-title">llm command-line&nbsp;tips</a></h1>
<p>I&#8217;m using <a href="https://llm.datasette.io">llm</a> more and more, and today I had to find back prompts I used in the past. Here is a command I&#8217;ve been using, which allows me to filter the results based on what I want. It leverages <a href="https://sqlutils.datasette.io">sql-utils</a>, a cli tool which is able to …</p>
</section>
<ul>
<li><a href="https://blog.notmyidea.org/deploying-and-customizing-datasette.html" rel="bookmark" title="Permalink to Deploying and customizing datasette">Deploying and customizing&nbsp;datasette</a></li>
<li><a href="https://blog.notmyidea.org/2023-semaine-45.html" rel="bookmark" title="Permalink to 2023, Semaine 45">2023, Semaine&nbsp;45</a></li>
<li><a href="https://blog.notmyidea.org/adding-real-time-collaboration-to-umap-first-week.html" rel="bookmark" title="Permalink to Adding Real-Time Collaboration to uMap, first week">Adding Real-Time Collaboration to uMap, first&nbsp;week</a></li>
<li><a href="https://blog.notmyidea.org/using-datasette-for-tracking-my-professional-activity.html" rel="bookmark" title="Permalink to Using Datasette for tracking my professional activity">Using Datasette for tracking my professional&nbsp;activity</a></li>
<li><a href="https://blog.notmyidea.org/2023-semaine-42.html" rel="bookmark" title="Permalink to 2023, Semaine 42">2023, Semaine&nbsp;42</a></li>

View file

@ -43,6 +43,14 @@ Alexis Métaireau </title>
</ul>
</section>
<h1></h1>
<section class="section index">
<time datetime="2023-12-25T00:00:00+01:00">25 décembre 2023</time>
<h1><a href="https://blog.notmyidea.org/format-an-usb-disk-from-the-command-line-on-macosx.html" id="page-title">Format an <span class="caps">USB</span> disk from the command-line on&nbsp;MacOSX</a></h1>
<div class="highlight"><pre><span></span><code>sudo<span class="w"> </span>diskutil<span class="w"> </span>unmountDisk<span class="w"> </span>/dev/disk5
sudo<span class="w"> </span>diskutil<span class="w"> </span>eraseDisk<span class="w"> </span><span class="s2">&quot;MS-DOS FAT32&quot;</span><span class="w"> </span>Brocolis<span class="w"> </span>/dev/disk
</code></pre></div>
</section>
<section class="section index">
<time datetime="2023-12-08T00:00:00+01:00">08 décembre 2023</time>
@ -109,13 +117,9 @@ Alexis Métaireau </title>
<span class="k">def</span> <span class="nf">string_to_duration</span><span class="p">(</span><span class="n">value</span><span class="p">:</span> <span class="nb">str</span><span class="p">,</span> <span class="n">target</span><span class="p">:</span> <span class="n">Literal</span><span class="p">[</span><span class="s2">&quot;days …</span></code></pre></div>
</section>
<section class="section index">
<time datetime="2023-09-27T00:00:00+02:00">27 septembre 2023</time>
<a class='tag' href="https://blog.notmyidea.org/tag/python.html">python</a>, <a class='tag' href="https://blog.notmyidea.org/tag/llm.html">llm</a>, <a class='tag' href="https://blog.notmyidea.org/tag/bash.html">bash</a>, <a class='tag' href="https://blog.notmyidea.org/tag/sqlite.html">sqlite</a> <h1><a href="https://blog.notmyidea.org/llm-command-line-tips.html" id="page-title">llm command-line&nbsp;tips</a></h1>
<p>I&#8217;m using <a href="https://llm.datasette.io">llm</a> more and more, and today I had to find back prompts I used in the past. Here is a command I&#8217;ve been using, which allows me to filter the results based on what I want. It leverages <a href="https://sqlutils.datasette.io">sql-utils</a>, a cli tool which is able to …</p>
</section>
<ul>
<li><a href="https://blog.notmyidea.org/deploying-and-customizing-datasette.html" rel="bookmark" title="Permalink to Deploying and customizing datasette">Deploying and customizing&nbsp;datasette</a></li>
<li><a href="https://blog.notmyidea.org/2023-semaine-45.html" rel="bookmark" title="Permalink to 2023, Semaine 45">2023, Semaine&nbsp;45</a></li>
<li><a href="https://blog.notmyidea.org/adding-real-time-collaboration-to-umap-first-week.html" rel="bookmark" title="Permalink to Adding Real-Time Collaboration to uMap, first week">Adding Real-Time Collaboration to uMap, first&nbsp;week</a></li>
<li><a href="https://blog.notmyidea.org/using-datasette-for-tracking-my-professional-activity.html" rel="bookmark" title="Permalink to Using Datasette for tracking my professional activity">Using Datasette for tracking my professional&nbsp;activity</a></li>
<li><a href="https://blog.notmyidea.org/2023-semaine-42.html" rel="bookmark" title="Permalink to 2023, Semaine 42">2023, Semaine&nbsp;42</a></li>

View file

@ -43,6 +43,14 @@ Alexis Métaireau </title>
</ul>
</section>
<h1></h1>
<section class="section index">
<time datetime="2023-12-25T00:00:00+01:00">25 décembre 2023</time>
<h1><a href="https://blog.notmyidea.org/format-an-usb-disk-from-the-command-line-on-macosx.html" id="page-title">Format an <span class="caps">USB</span> disk from the command-line on&nbsp;MacOSX</a></h1>
<div class="highlight"><pre><span></span><code>sudo<span class="w"> </span>diskutil<span class="w"> </span>unmountDisk<span class="w"> </span>/dev/disk5
sudo<span class="w"> </span>diskutil<span class="w"> </span>eraseDisk<span class="w"> </span><span class="s2">&quot;MS-DOS FAT32&quot;</span><span class="w"> </span>Brocolis<span class="w"> </span>/dev/disk
</code></pre></div>
</section>
<section class="section index">
<time datetime="2023-12-08T00:00:00+01:00">08 décembre 2023</time>
@ -109,13 +117,9 @@ Alexis Métaireau </title>
<span class="k">def</span> <span class="nf">string_to_duration</span><span class="p">(</span><span class="n">value</span><span class="p">:</span> <span class="nb">str</span><span class="p">,</span> <span class="n">target</span><span class="p">:</span> <span class="n">Literal</span><span class="p">[</span><span class="s2">&quot;days …</span></code></pre></div>
</section>
<section class="section index">
<time datetime="2023-09-27T00:00:00+02:00">27 septembre 2023</time>
<a class='tag' href="https://blog.notmyidea.org/tag/python.html">python</a>, <a class='tag' href="https://blog.notmyidea.org/tag/llm.html">llm</a>, <a class='tag' href="https://blog.notmyidea.org/tag/bash.html">bash</a>, <a class='tag' href="https://blog.notmyidea.org/tag/sqlite.html">sqlite</a> <h1><a href="https://blog.notmyidea.org/llm-command-line-tips.html" id="page-title">llm command-line&nbsp;tips</a></h1>
<p>I&#8217;m using <a href="https://llm.datasette.io">llm</a> more and more, and today I had to find back prompts I used in the past. Here is a command I&#8217;ve been using, which allows me to filter the results based on what I want. It leverages <a href="https://sqlutils.datasette.io">sql-utils</a>, a cli tool which is able to …</p>
</section>
<ul>
<li><a href="https://blog.notmyidea.org/deploying-and-customizing-datasette.html" rel="bookmark" title="Permalink to Deploying and customizing datasette">Deploying and customizing&nbsp;datasette</a></li>
<li><a href="https://blog.notmyidea.org/2023-semaine-45.html" rel="bookmark" title="Permalink to 2023, Semaine 45">2023, Semaine&nbsp;45</a></li>
<li><a href="https://blog.notmyidea.org/adding-real-time-collaboration-to-umap-first-week.html" rel="bookmark" title="Permalink to Adding Real-Time Collaboration to uMap, first week">Adding Real-Time Collaboration to uMap, first&nbsp;week</a></li>
<li><a href="https://blog.notmyidea.org/using-datasette-for-tracking-my-professional-activity.html" rel="bookmark" title="Permalink to Using Datasette for tracking my professional activity">Using Datasette for tracking my professional&nbsp;activity</a></li>
<li><a href="https://blog.notmyidea.org/2023-semaine-42.html" rel="bookmark" title="Permalink to 2023, Semaine 42">2023, Semaine&nbsp;42</a></li>

View file

@ -43,6 +43,14 @@ Alexis Métaireau </title>
</ul>
</section>
<h1></h1>
<section class="section index">
<time datetime="2023-12-25T00:00:00+01:00">25 décembre 2023</time>
<h1><a href="https://blog.notmyidea.org/format-an-usb-disk-from-the-command-line-on-macosx.html" id="page-title">Format an <span class="caps">USB</span> disk from the command-line on&nbsp;MacOSX</a></h1>
<div class="highlight"><pre><span></span><code>sudo<span class="w"> </span>diskutil<span class="w"> </span>unmountDisk<span class="w"> </span>/dev/disk5
sudo<span class="w"> </span>diskutil<span class="w"> </span>eraseDisk<span class="w"> </span><span class="s2">&quot;MS-DOS FAT32&quot;</span><span class="w"> </span>Brocolis<span class="w"> </span>/dev/disk
</code></pre></div>
</section>
<section class="section index">
<time datetime="2023-12-08T00:00:00+01:00">08 décembre 2023</time>
@ -109,13 +117,9 @@ Alexis Métaireau </title>
<span class="k">def</span> <span class="nf">string_to_duration</span><span class="p">(</span><span class="n">value</span><span class="p">:</span> <span class="nb">str</span><span class="p">,</span> <span class="n">target</span><span class="p">:</span> <span class="n">Literal</span><span class="p">[</span><span class="s2">&quot;days …</span></code></pre></div>
</section>
<section class="section index">
<time datetime="2023-09-27T00:00:00+02:00">27 septembre 2023</time>
<a class='tag' href="https://blog.notmyidea.org/tag/python.html">python</a>, <a class='tag' href="https://blog.notmyidea.org/tag/llm.html">llm</a>, <a class='tag' href="https://blog.notmyidea.org/tag/bash.html">bash</a>, <a class='tag' href="https://blog.notmyidea.org/tag/sqlite.html">sqlite</a> <h1><a href="https://blog.notmyidea.org/llm-command-line-tips.html" id="page-title">llm command-line&nbsp;tips</a></h1>
<p>I&#8217;m using <a href="https://llm.datasette.io">llm</a> more and more, and today I had to find back prompts I used in the past. Here is a command I&#8217;ve been using, which allows me to filter the results based on what I want. It leverages <a href="https://sqlutils.datasette.io">sql-utils</a>, a cli tool which is able to …</p>
</section>
<ul>
<li><a href="https://blog.notmyidea.org/deploying-and-customizing-datasette.html" rel="bookmark" title="Permalink to Deploying and customizing datasette">Deploying and customizing&nbsp;datasette</a></li>
<li><a href="https://blog.notmyidea.org/2023-semaine-45.html" rel="bookmark" title="Permalink to 2023, Semaine 45">2023, Semaine&nbsp;45</a></li>
<li><a href="https://blog.notmyidea.org/adding-real-time-collaboration-to-umap-first-week.html" rel="bookmark" title="Permalink to Adding Real-Time Collaboration to uMap, first week">Adding Real-Time Collaboration to uMap, first&nbsp;week</a></li>
<li><a href="https://blog.notmyidea.org/using-datasette-for-tracking-my-professional-activity.html" rel="bookmark" title="Permalink to Using Datasette for tracking my professional activity">Using Datasette for tracking my professional&nbsp;activity</a></li>
<li><a href="https://blog.notmyidea.org/2023-semaine-42.html" rel="bookmark" title="Permalink to 2023, Semaine 42">2023, Semaine&nbsp;42</a></li>

View file

@ -43,6 +43,14 @@ Alexis Métaireau </title>
</ul>
</section>
<h1></h1>
<section class="section index">
<time datetime="2023-12-25T00:00:00+01:00">25 décembre 2023</time>
<h1><a href="https://blog.notmyidea.org/format-an-usb-disk-from-the-command-line-on-macosx.html" id="page-title">Format an <span class="caps">USB</span> disk from the command-line on&nbsp;MacOSX</a></h1>
<div class="highlight"><pre><span></span><code>sudo<span class="w"> </span>diskutil<span class="w"> </span>unmountDisk<span class="w"> </span>/dev/disk5
sudo<span class="w"> </span>diskutil<span class="w"> </span>eraseDisk<span class="w"> </span><span class="s2">&quot;MS-DOS FAT32&quot;</span><span class="w"> </span>Brocolis<span class="w"> </span>/dev/disk
</code></pre></div>
</section>
<section class="section index">
<time datetime="2023-12-08T00:00:00+01:00">08 décembre 2023</time>
@ -109,13 +117,9 @@ Alexis Métaireau </title>
<span class="k">def</span> <span class="nf">string_to_duration</span><span class="p">(</span><span class="n">value</span><span class="p">:</span> <span class="nb">str</span><span class="p">,</span> <span class="n">target</span><span class="p">:</span> <span class="n">Literal</span><span class="p">[</span><span class="s2">&quot;days …</span></code></pre></div>
</section>
<section class="section index">
<time datetime="2023-09-27T00:00:00+02:00">27 septembre 2023</time>
<a class='tag' href="https://blog.notmyidea.org/tag/python.html">python</a>, <a class='tag' href="https://blog.notmyidea.org/tag/llm.html">llm</a>, <a class='tag' href="https://blog.notmyidea.org/tag/bash.html">bash</a>, <a class='tag' href="https://blog.notmyidea.org/tag/sqlite.html">sqlite</a> <h1><a href="https://blog.notmyidea.org/llm-command-line-tips.html" id="page-title">llm command-line&nbsp;tips</a></h1>
<p>I&#8217;m using <a href="https://llm.datasette.io">llm</a> more and more, and today I had to find back prompts I used in the past. Here is a command I&#8217;ve been using, which allows me to filter the results based on what I want. It leverages <a href="https://sqlutils.datasette.io">sql-utils</a>, a cli tool which is able to …</p>
</section>
<ul>
<li><a href="https://blog.notmyidea.org/deploying-and-customizing-datasette.html" rel="bookmark" title="Permalink to Deploying and customizing datasette">Deploying and customizing&nbsp;datasette</a></li>
<li><a href="https://blog.notmyidea.org/2023-semaine-45.html" rel="bookmark" title="Permalink to 2023, Semaine 45">2023, Semaine&nbsp;45</a></li>
<li><a href="https://blog.notmyidea.org/adding-real-time-collaboration-to-umap-first-week.html" rel="bookmark" title="Permalink to Adding Real-Time Collaboration to uMap, first week">Adding Real-Time Collaboration to uMap, first&nbsp;week</a></li>
<li><a href="https://blog.notmyidea.org/using-datasette-for-tracking-my-professional-activity.html" rel="bookmark" title="Permalink to Using Datasette for tracking my professional activity">Using Datasette for tracking my professional&nbsp;activity</a></li>
<li><a href="https://blog.notmyidea.org/2023-semaine-42.html" rel="bookmark" title="Permalink to 2023, Semaine 42">2023, Semaine&nbsp;42</a></li>

View file

@ -43,6 +43,14 @@ Alexis Métaireau </title>
</ul>
</section>
<h1></h1>
<section class="section index">
<time datetime="2023-12-25T00:00:00+01:00">25 décembre 2023</time>
<h1><a href="https://blog.notmyidea.org/format-an-usb-disk-from-the-command-line-on-macosx.html" id="page-title">Format an <span class="caps">USB</span> disk from the command-line on&nbsp;MacOSX</a></h1>
<div class="highlight"><pre><span></span><code>sudo<span class="w"> </span>diskutil<span class="w"> </span>unmountDisk<span class="w"> </span>/dev/disk5
sudo<span class="w"> </span>diskutil<span class="w"> </span>eraseDisk<span class="w"> </span><span class="s2">&quot;MS-DOS FAT32&quot;</span><span class="w"> </span>Brocolis<span class="w"> </span>/dev/disk
</code></pre></div>
</section>
<section class="section index">
<time datetime="2023-12-08T00:00:00+01:00">08 décembre 2023</time>
@ -109,13 +117,9 @@ Alexis Métaireau </title>
<span class="k">def</span> <span class="nf">string_to_duration</span><span class="p">(</span><span class="n">value</span><span class="p">:</span> <span class="nb">str</span><span class="p">,</span> <span class="n">target</span><span class="p">:</span> <span class="n">Literal</span><span class="p">[</span><span class="s2">&quot;days …</span></code></pre></div>
</section>
<section class="section index">
<time datetime="2023-09-27T00:00:00+02:00">27 septembre 2023</time>
<a class='tag' href="https://blog.notmyidea.org/tag/python.html">python</a>, <a class='tag' href="https://blog.notmyidea.org/tag/llm.html">llm</a>, <a class='tag' href="https://blog.notmyidea.org/tag/bash.html">bash</a>, <a class='tag' href="https://blog.notmyidea.org/tag/sqlite.html">sqlite</a> <h1><a href="https://blog.notmyidea.org/llm-command-line-tips.html" id="page-title">llm command-line&nbsp;tips</a></h1>
<p>I&#8217;m using <a href="https://llm.datasette.io">llm</a> more and more, and today I had to find back prompts I used in the past. Here is a command I&#8217;ve been using, which allows me to filter the results based on what I want. It leverages <a href="https://sqlutils.datasette.io">sql-utils</a>, a cli tool which is able to …</p>
</section>
<ul>
<li><a href="https://blog.notmyidea.org/deploying-and-customizing-datasette.html" rel="bookmark" title="Permalink to Deploying and customizing datasette">Deploying and customizing&nbsp;datasette</a></li>
<li><a href="https://blog.notmyidea.org/2023-semaine-45.html" rel="bookmark" title="Permalink to 2023, Semaine 45">2023, Semaine&nbsp;45</a></li>
<li><a href="https://blog.notmyidea.org/adding-real-time-collaboration-to-umap-first-week.html" rel="bookmark" title="Permalink to Adding Real-Time Collaboration to uMap, first week">Adding Real-Time Collaboration to uMap, first&nbsp;week</a></li>
<li><a href="https://blog.notmyidea.org/using-datasette-for-tracking-my-professional-activity.html" rel="bookmark" title="Permalink to Using Datasette for tracking my professional activity">Using Datasette for tracking my professional&nbsp;activity</a></li>
<li><a href="https://blog.notmyidea.org/2023-semaine-42.html" rel="bookmark" title="Permalink to 2023, Semaine 42">2023, Semaine&nbsp;42</a></li>

View file

@ -43,6 +43,14 @@ Alexis Métaireau </title>
</ul>
</section>
<h1></h1>
<section class="section index">
<time datetime="2023-12-25T00:00:00+01:00">25 décembre 2023</time>
<h1><a href="https://blog.notmyidea.org/format-an-usb-disk-from-the-command-line-on-macosx.html" id="page-title">Format an <span class="caps">USB</span> disk from the command-line on&nbsp;MacOSX</a></h1>
<div class="highlight"><pre><span></span><code>sudo<span class="w"> </span>diskutil<span class="w"> </span>unmountDisk<span class="w"> </span>/dev/disk5
sudo<span class="w"> </span>diskutil<span class="w"> </span>eraseDisk<span class="w"> </span><span class="s2">&quot;MS-DOS FAT32&quot;</span><span class="w"> </span>Brocolis<span class="w"> </span>/dev/disk
</code></pre></div>
</section>
<section class="section index">
<time datetime="2023-12-08T00:00:00+01:00">08 décembre 2023</time>
@ -109,13 +117,9 @@ Alexis Métaireau </title>
<span class="k">def</span> <span class="nf">string_to_duration</span><span class="p">(</span><span class="n">value</span><span class="p">:</span> <span class="nb">str</span><span class="p">,</span> <span class="n">target</span><span class="p">:</span> <span class="n">Literal</span><span class="p">[</span><span class="s2">&quot;days …</span></code></pre></div>
</section>
<section class="section index">
<time datetime="2023-09-27T00:00:00+02:00">27 septembre 2023</time>
<a class='tag' href="https://blog.notmyidea.org/tag/python.html">python</a>, <a class='tag' href="https://blog.notmyidea.org/tag/llm.html">llm</a>, <a class='tag' href="https://blog.notmyidea.org/tag/bash.html">bash</a>, <a class='tag' href="https://blog.notmyidea.org/tag/sqlite.html">sqlite</a> <h1><a href="https://blog.notmyidea.org/llm-command-line-tips.html" id="page-title">llm command-line&nbsp;tips</a></h1>
<p>I&#8217;m using <a href="https://llm.datasette.io">llm</a> more and more, and today I had to find back prompts I used in the past. Here is a command I&#8217;ve been using, which allows me to filter the results based on what I want. It leverages <a href="https://sqlutils.datasette.io">sql-utils</a>, a cli tool which is able to …</p>
</section>
<ul>
<li><a href="https://blog.notmyidea.org/deploying-and-customizing-datasette.html" rel="bookmark" title="Permalink to Deploying and customizing datasette">Deploying and customizing&nbsp;datasette</a></li>
<li><a href="https://blog.notmyidea.org/2023-semaine-45.html" rel="bookmark" title="Permalink to 2023, Semaine 45">2023, Semaine&nbsp;45</a></li>
<li><a href="https://blog.notmyidea.org/adding-real-time-collaboration-to-umap-first-week.html" rel="bookmark" title="Permalink to Adding Real-Time Collaboration to uMap, first week">Adding Real-Time Collaboration to uMap, first&nbsp;week</a></li>
<li><a href="https://blog.notmyidea.org/using-datasette-for-tracking-my-professional-activity.html" rel="bookmark" title="Permalink to Using Datasette for tracking my professional activity">Using Datasette for tracking my professional&nbsp;activity</a></li>
<li><a href="https://blog.notmyidea.org/2023-semaine-42.html" rel="bookmark" title="Permalink to 2023, Semaine 42">2023, Semaine&nbsp;42</a></li>

View file

@ -43,6 +43,14 @@ Alexis Métaireau </title>
</ul>
</section>
<h1></h1>
<section class="section index">
<time datetime="2023-12-25T00:00:00+01:00">25 décembre 2023</time>
<h1><a href="https://blog.notmyidea.org/format-an-usb-disk-from-the-command-line-on-macosx.html" id="page-title">Format an <span class="caps">USB</span> disk from the command-line on&nbsp;MacOSX</a></h1>
<div class="highlight"><pre><span></span><code>sudo<span class="w"> </span>diskutil<span class="w"> </span>unmountDisk<span class="w"> </span>/dev/disk5
sudo<span class="w"> </span>diskutil<span class="w"> </span>eraseDisk<span class="w"> </span><span class="s2">&quot;MS-DOS FAT32&quot;</span><span class="w"> </span>Brocolis<span class="w"> </span>/dev/disk
</code></pre></div>
</section>
<section class="section index">
<time datetime="2023-12-08T00:00:00+01:00">08 décembre 2023</time>
@ -109,13 +117,9 @@ Alexis Métaireau </title>
<span class="k">def</span> <span class="nf">string_to_duration</span><span class="p">(</span><span class="n">value</span><span class="p">:</span> <span class="nb">str</span><span class="p">,</span> <span class="n">target</span><span class="p">:</span> <span class="n">Literal</span><span class="p">[</span><span class="s2">&quot;days …</span></code></pre></div>
</section>
<section class="section index">
<time datetime="2023-09-27T00:00:00+02:00">27 septembre 2023</time>
<a class='tag' href="https://blog.notmyidea.org/tag/python.html">python</a>, <a class='tag' href="https://blog.notmyidea.org/tag/llm.html">llm</a>, <a class='tag' href="https://blog.notmyidea.org/tag/bash.html">bash</a>, <a class='tag' href="https://blog.notmyidea.org/tag/sqlite.html">sqlite</a> <h1><a href="https://blog.notmyidea.org/llm-command-line-tips.html" id="page-title">llm command-line&nbsp;tips</a></h1>
<p>I&#8217;m using <a href="https://llm.datasette.io">llm</a> more and more, and today I had to find back prompts I used in the past. Here is a command I&#8217;ve been using, which allows me to filter the results based on what I want. It leverages <a href="https://sqlutils.datasette.io">sql-utils</a>, a cli tool which is able to …</p>
</section>
<ul>
<li><a href="https://blog.notmyidea.org/deploying-and-customizing-datasette.html" rel="bookmark" title="Permalink to Deploying and customizing datasette">Deploying and customizing&nbsp;datasette</a></li>
<li><a href="https://blog.notmyidea.org/2023-semaine-45.html" rel="bookmark" title="Permalink to 2023, Semaine 45">2023, Semaine&nbsp;45</a></li>
<li><a href="https://blog.notmyidea.org/adding-real-time-collaboration-to-umap-first-week.html" rel="bookmark" title="Permalink to Adding Real-Time Collaboration to uMap, first week">Adding Real-Time Collaboration to uMap, first&nbsp;week</a></li>
<li><a href="https://blog.notmyidea.org/using-datasette-for-tracking-my-professional-activity.html" rel="bookmark" title="Permalink to Using Datasette for tracking my professional activity">Using Datasette for tracking my professional&nbsp;activity</a></li>
<li><a href="https://blog.notmyidea.org/2023-semaine-42.html" rel="bookmark" title="Permalink to 2023, Semaine 42">2023, Semaine&nbsp;42</a></li>

View file

@ -43,6 +43,14 @@ Alexis Métaireau </title>
</ul>
</section>
<h1></h1>
<section class="section index">
<time datetime="2023-12-25T00:00:00+01:00">25 décembre 2023</time>
<h1><a href="https://blog.notmyidea.org/format-an-usb-disk-from-the-command-line-on-macosx.html" id="page-title">Format an <span class="caps">USB</span> disk from the command-line on&nbsp;MacOSX</a></h1>
<div class="highlight"><pre><span></span><code>sudo<span class="w"> </span>diskutil<span class="w"> </span>unmountDisk<span class="w"> </span>/dev/disk5
sudo<span class="w"> </span>diskutil<span class="w"> </span>eraseDisk<span class="w"> </span><span class="s2">&quot;MS-DOS FAT32&quot;</span><span class="w"> </span>Brocolis<span class="w"> </span>/dev/disk
</code></pre></div>
</section>
<section class="section index">
<time datetime="2023-12-08T00:00:00+01:00">08 décembre 2023</time>
@ -109,13 +117,9 @@ Alexis Métaireau </title>
<span class="k">def</span> <span class="nf">string_to_duration</span><span class="p">(</span><span class="n">value</span><span class="p">:</span> <span class="nb">str</span><span class="p">,</span> <span class="n">target</span><span class="p">:</span> <span class="n">Literal</span><span class="p">[</span><span class="s2">&quot;days …</span></code></pre></div>
</section>
<section class="section index">
<time datetime="2023-09-27T00:00:00+02:00">27 septembre 2023</time>
<a class='tag' href="https://blog.notmyidea.org/tag/python.html">python</a>, <a class='tag' href="https://blog.notmyidea.org/tag/llm.html">llm</a>, <a class='tag' href="https://blog.notmyidea.org/tag/bash.html">bash</a>, <a class='tag' href="https://blog.notmyidea.org/tag/sqlite.html">sqlite</a> <h1><a href="https://blog.notmyidea.org/llm-command-line-tips.html" id="page-title">llm command-line&nbsp;tips</a></h1>
<p>I&#8217;m using <a href="https://llm.datasette.io">llm</a> more and more, and today I had to find back prompts I used in the past. Here is a command I&#8217;ve been using, which allows me to filter the results based on what I want. It leverages <a href="https://sqlutils.datasette.io">sql-utils</a>, a cli tool which is able to …</p>
</section>
<ul>
<li><a href="https://blog.notmyidea.org/deploying-and-customizing-datasette.html" rel="bookmark" title="Permalink to Deploying and customizing datasette">Deploying and customizing&nbsp;datasette</a></li>
<li><a href="https://blog.notmyidea.org/2023-semaine-45.html" rel="bookmark" title="Permalink to 2023, Semaine 45">2023, Semaine&nbsp;45</a></li>
<li><a href="https://blog.notmyidea.org/adding-real-time-collaboration-to-umap-first-week.html" rel="bookmark" title="Permalink to Adding Real-Time Collaboration to uMap, first week">Adding Real-Time Collaboration to uMap, first&nbsp;week</a></li>
<li><a href="https://blog.notmyidea.org/using-datasette-for-tracking-my-professional-activity.html" rel="bookmark" title="Permalink to Using Datasette for tracking my professional activity">Using Datasette for tracking my professional&nbsp;activity</a></li>
<li><a href="https://blog.notmyidea.org/2023-semaine-42.html" rel="bookmark" title="Permalink to 2023, Semaine 42">2023, Semaine&nbsp;42</a></li>

View file

@ -43,6 +43,14 @@ Alexis Métaireau </title>
</ul>
</section>
<h1></h1>
<section class="section index">
<time datetime="2023-12-25T00:00:00+01:00">25 décembre 2023</time>
<h1><a href="https://blog.notmyidea.org/format-an-usb-disk-from-the-command-line-on-macosx.html" id="page-title">Format an <span class="caps">USB</span> disk from the command-line on&nbsp;MacOSX</a></h1>
<div class="highlight"><pre><span></span><code>sudo<span class="w"> </span>diskutil<span class="w"> </span>unmountDisk<span class="w"> </span>/dev/disk5
sudo<span class="w"> </span>diskutil<span class="w"> </span>eraseDisk<span class="w"> </span><span class="s2">&quot;MS-DOS FAT32&quot;</span><span class="w"> </span>Brocolis<span class="w"> </span>/dev/disk
</code></pre></div>
</section>
<section class="section index">
<time datetime="2023-12-08T00:00:00+01:00">08 décembre 2023</time>
@ -109,13 +117,9 @@ Alexis Métaireau </title>
<span class="k">def</span> <span class="nf">string_to_duration</span><span class="p">(</span><span class="n">value</span><span class="p">:</span> <span class="nb">str</span><span class="p">,</span> <span class="n">target</span><span class="p">:</span> <span class="n">Literal</span><span class="p">[</span><span class="s2">&quot;days …</span></code></pre></div>
</section>
<section class="section index">
<time datetime="2023-09-27T00:00:00+02:00">27 septembre 2023</time>
<a class='tag' href="https://blog.notmyidea.org/tag/python.html">python</a>, <a class='tag' href="https://blog.notmyidea.org/tag/llm.html">llm</a>, <a class='tag' href="https://blog.notmyidea.org/tag/bash.html">bash</a>, <a class='tag' href="https://blog.notmyidea.org/tag/sqlite.html">sqlite</a> <h1><a href="https://blog.notmyidea.org/llm-command-line-tips.html" id="page-title">llm command-line&nbsp;tips</a></h1>
<p>I&#8217;m using <a href="https://llm.datasette.io">llm</a> more and more, and today I had to find back prompts I used in the past. Here is a command I&#8217;ve been using, which allows me to filter the results based on what I want. It leverages <a href="https://sqlutils.datasette.io">sql-utils</a>, a cli tool which is able to …</p>
</section>
<ul>
<li><a href="https://blog.notmyidea.org/deploying-and-customizing-datasette.html" rel="bookmark" title="Permalink to Deploying and customizing datasette">Deploying and customizing&nbsp;datasette</a></li>
<li><a href="https://blog.notmyidea.org/2023-semaine-45.html" rel="bookmark" title="Permalink to 2023, Semaine 45">2023, Semaine&nbsp;45</a></li>
<li><a href="https://blog.notmyidea.org/adding-real-time-collaboration-to-umap-first-week.html" rel="bookmark" title="Permalink to Adding Real-Time Collaboration to uMap, first week">Adding Real-Time Collaboration to uMap, first&nbsp;week</a></li>
<li><a href="https://blog.notmyidea.org/using-datasette-for-tracking-my-professional-activity.html" rel="bookmark" title="Permalink to Using Datasette for tracking my professional activity">Using Datasette for tracking my professional&nbsp;activity</a></li>
<li><a href="https://blog.notmyidea.org/2023-semaine-42.html" rel="bookmark" title="Permalink to 2023, Semaine 42">2023, Semaine&nbsp;42</a></li>

View file

@ -43,6 +43,14 @@ Alexis Métaireau </title>
</ul>
</section>
<h1></h1>
<section class="section index">
<time datetime="2023-12-25T00:00:00+01:00">25 décembre 2023</time>
<h1><a href="https://blog.notmyidea.org/format-an-usb-disk-from-the-command-line-on-macosx.html" id="page-title">Format an <span class="caps">USB</span> disk from the command-line on&nbsp;MacOSX</a></h1>
<div class="highlight"><pre><span></span><code>sudo<span class="w"> </span>diskutil<span class="w"> </span>unmountDisk<span class="w"> </span>/dev/disk5
sudo<span class="w"> </span>diskutil<span class="w"> </span>eraseDisk<span class="w"> </span><span class="s2">&quot;MS-DOS FAT32&quot;</span><span class="w"> </span>Brocolis<span class="w"> </span>/dev/disk
</code></pre></div>
</section>
<section class="section index">
<time datetime="2023-12-08T00:00:00+01:00">08 décembre 2023</time>
@ -109,13 +117,9 @@ Alexis Métaireau </title>
<span class="k">def</span> <span class="nf">string_to_duration</span><span class="p">(</span><span class="n">value</span><span class="p">:</span> <span class="nb">str</span><span class="p">,</span> <span class="n">target</span><span class="p">:</span> <span class="n">Literal</span><span class="p">[</span><span class="s2">&quot;days …</span></code></pre></div>
</section>
<section class="section index">
<time datetime="2023-09-27T00:00:00+02:00">27 septembre 2023</time>
<a class='tag' href="https://blog.notmyidea.org/tag/python.html">python</a>, <a class='tag' href="https://blog.notmyidea.org/tag/llm.html">llm</a>, <a class='tag' href="https://blog.notmyidea.org/tag/bash.html">bash</a>, <a class='tag' href="https://blog.notmyidea.org/tag/sqlite.html">sqlite</a> <h1><a href="https://blog.notmyidea.org/llm-command-line-tips.html" id="page-title">llm command-line&nbsp;tips</a></h1>
<p>I&#8217;m using <a href="https://llm.datasette.io">llm</a> more and more, and today I had to find back prompts I used in the past. Here is a command I&#8217;ve been using, which allows me to filter the results based on what I want. It leverages <a href="https://sqlutils.datasette.io">sql-utils</a>, a cli tool which is able to …</p>
</section>
<ul>
<li><a href="https://blog.notmyidea.org/deploying-and-customizing-datasette.html" rel="bookmark" title="Permalink to Deploying and customizing datasette">Deploying and customizing&nbsp;datasette</a></li>
<li><a href="https://blog.notmyidea.org/2023-semaine-45.html" rel="bookmark" title="Permalink to 2023, Semaine 45">2023, Semaine&nbsp;45</a></li>
<li><a href="https://blog.notmyidea.org/adding-real-time-collaboration-to-umap-first-week.html" rel="bookmark" title="Permalink to Adding Real-Time Collaboration to uMap, first week">Adding Real-Time Collaboration to uMap, first&nbsp;week</a></li>
<li><a href="https://blog.notmyidea.org/using-datasette-for-tracking-my-professional-activity.html" rel="bookmark" title="Permalink to Using Datasette for tracking my professional activity">Using Datasette for tracking my professional&nbsp;activity</a></li>
<li><a href="https://blog.notmyidea.org/2023-semaine-42.html" rel="bookmark" title="Permalink to 2023, Semaine 42">2023, Semaine&nbsp;42</a></li>

View file

@ -43,6 +43,14 @@ Alexis Métaireau </title>
</ul>
</section>
<h1></h1>
<section class="section index">
<time datetime="2023-12-25T00:00:00+01:00">25 décembre 2023</time>
<h1><a href="https://blog.notmyidea.org/format-an-usb-disk-from-the-command-line-on-macosx.html" id="page-title">Format an <span class="caps">USB</span> disk from the command-line on&nbsp;MacOSX</a></h1>
<div class="highlight"><pre><span></span><code>sudo<span class="w"> </span>diskutil<span class="w"> </span>unmountDisk<span class="w"> </span>/dev/disk5
sudo<span class="w"> </span>diskutil<span class="w"> </span>eraseDisk<span class="w"> </span><span class="s2">&quot;MS-DOS FAT32&quot;</span><span class="w"> </span>Brocolis<span class="w"> </span>/dev/disk
</code></pre></div>
</section>
<section class="section index">
<time datetime="2023-12-08T00:00:00+01:00">08 décembre 2023</time>
@ -109,13 +117,9 @@ Alexis Métaireau </title>
<span class="k">def</span> <span class="nf">string_to_duration</span><span class="p">(</span><span class="n">value</span><span class="p">:</span> <span class="nb">str</span><span class="p">,</span> <span class="n">target</span><span class="p">:</span> <span class="n">Literal</span><span class="p">[</span><span class="s2">&quot;days …</span></code></pre></div>
</section>
<section class="section index">
<time datetime="2023-09-27T00:00:00+02:00">27 septembre 2023</time>
<a class='tag' href="https://blog.notmyidea.org/tag/python.html">python</a>, <a class='tag' href="https://blog.notmyidea.org/tag/llm.html">llm</a>, <a class='tag' href="https://blog.notmyidea.org/tag/bash.html">bash</a>, <a class='tag' href="https://blog.notmyidea.org/tag/sqlite.html">sqlite</a> <h1><a href="https://blog.notmyidea.org/llm-command-line-tips.html" id="page-title">llm command-line&nbsp;tips</a></h1>
<p>I&#8217;m using <a href="https://llm.datasette.io">llm</a> more and more, and today I had to find back prompts I used in the past. Here is a command I&#8217;ve been using, which allows me to filter the results based on what I want. It leverages <a href="https://sqlutils.datasette.io">sql-utils</a>, a cli tool which is able to …</p>
</section>
<ul>
<li><a href="https://blog.notmyidea.org/deploying-and-customizing-datasette.html" rel="bookmark" title="Permalink to Deploying and customizing datasette">Deploying and customizing&nbsp;datasette</a></li>
<li><a href="https://blog.notmyidea.org/2023-semaine-45.html" rel="bookmark" title="Permalink to 2023, Semaine 45">2023, Semaine&nbsp;45</a></li>
<li><a href="https://blog.notmyidea.org/adding-real-time-collaboration-to-umap-first-week.html" rel="bookmark" title="Permalink to Adding Real-Time Collaboration to uMap, first week">Adding Real-Time Collaboration to uMap, first&nbsp;week</a></li>
<li><a href="https://blog.notmyidea.org/using-datasette-for-tracking-my-professional-activity.html" rel="bookmark" title="Permalink to Using Datasette for tracking my professional activity">Using Datasette for tracking my professional&nbsp;activity</a></li>
<li><a href="https://blog.notmyidea.org/2023-semaine-42.html" rel="bookmark" title="Permalink to 2023, Semaine 42">2023, Semaine&nbsp;42</a></li>

View file

@ -43,6 +43,14 @@ Alexis Métaireau </title>
</ul>
</section>
<h1></h1>
<section class="section index">
<time datetime="2023-12-25T00:00:00+01:00">25 décembre 2023</time>
<h1><a href="https://blog.notmyidea.org/format-an-usb-disk-from-the-command-line-on-macosx.html" id="page-title">Format an <span class="caps">USB</span> disk from the command-line on&nbsp;MacOSX</a></h1>
<div class="highlight"><pre><span></span><code>sudo<span class="w"> </span>diskutil<span class="w"> </span>unmountDisk<span class="w"> </span>/dev/disk5
sudo<span class="w"> </span>diskutil<span class="w"> </span>eraseDisk<span class="w"> </span><span class="s2">&quot;MS-DOS FAT32&quot;</span><span class="w"> </span>Brocolis<span class="w"> </span>/dev/disk
</code></pre></div>
</section>
<section class="section index">
<time datetime="2023-12-08T00:00:00+01:00">08 décembre 2023</time>
@ -109,13 +117,9 @@ Alexis Métaireau </title>
<span class="k">def</span> <span class="nf">string_to_duration</span><span class="p">(</span><span class="n">value</span><span class="p">:</span> <span class="nb">str</span><span class="p">,</span> <span class="n">target</span><span class="p">:</span> <span class="n">Literal</span><span class="p">[</span><span class="s2">&quot;days …</span></code></pre></div>
</section>
<section class="section index">
<time datetime="2023-09-27T00:00:00+02:00">27 septembre 2023</time>
<a class='tag' href="https://blog.notmyidea.org/tag/python.html">python</a>, <a class='tag' href="https://blog.notmyidea.org/tag/llm.html">llm</a>, <a class='tag' href="https://blog.notmyidea.org/tag/bash.html">bash</a>, <a class='tag' href="https://blog.notmyidea.org/tag/sqlite.html">sqlite</a> <h1><a href="https://blog.notmyidea.org/llm-command-line-tips.html" id="page-title">llm command-line&nbsp;tips</a></h1>
<p>I&#8217;m using <a href="https://llm.datasette.io">llm</a> more and more, and today I had to find back prompts I used in the past. Here is a command I&#8217;ve been using, which allows me to filter the results based on what I want. It leverages <a href="https://sqlutils.datasette.io">sql-utils</a>, a cli tool which is able to …</p>
</section>
<ul>
<li><a href="https://blog.notmyidea.org/deploying-and-customizing-datasette.html" rel="bookmark" title="Permalink to Deploying and customizing datasette">Deploying and customizing&nbsp;datasette</a></li>
<li><a href="https://blog.notmyidea.org/2023-semaine-45.html" rel="bookmark" title="Permalink to 2023, Semaine 45">2023, Semaine&nbsp;45</a></li>
<li><a href="https://blog.notmyidea.org/adding-real-time-collaboration-to-umap-first-week.html" rel="bookmark" title="Permalink to Adding Real-Time Collaboration to uMap, first week">Adding Real-Time Collaboration to uMap, first&nbsp;week</a></li>
<li><a href="https://blog.notmyidea.org/using-datasette-for-tracking-my-professional-activity.html" rel="bookmark" title="Permalink to Using Datasette for tracking my professional activity">Using Datasette for tracking my professional&nbsp;activity</a></li>
<li><a href="https://blog.notmyidea.org/2023-semaine-42.html" rel="bookmark" title="Permalink to 2023, Semaine 42">2023, Semaine&nbsp;42</a></li>

View file

@ -43,6 +43,14 @@ Alexis Métaireau </title>
</ul>
</section>
<h1></h1>
<section class="section index">
<time datetime="2023-12-25T00:00:00+01:00">25 décembre 2023</time>
<h1><a href="https://blog.notmyidea.org/format-an-usb-disk-from-the-command-line-on-macosx.html" id="page-title">Format an <span class="caps">USB</span> disk from the command-line on&nbsp;MacOSX</a></h1>
<div class="highlight"><pre><span></span><code>sudo<span class="w"> </span>diskutil<span class="w"> </span>unmountDisk<span class="w"> </span>/dev/disk5
sudo<span class="w"> </span>diskutil<span class="w"> </span>eraseDisk<span class="w"> </span><span class="s2">&quot;MS-DOS FAT32&quot;</span><span class="w"> </span>Brocolis<span class="w"> </span>/dev/disk
</code></pre></div>
</section>
<section class="section index">
<time datetime="2023-12-08T00:00:00+01:00">08 décembre 2023</time>
@ -109,13 +117,9 @@ Alexis Métaireau </title>
<span class="k">def</span> <span class="nf">string_to_duration</span><span class="p">(</span><span class="n">value</span><span class="p">:</span> <span class="nb">str</span><span class="p">,</span> <span class="n">target</span><span class="p">:</span> <span class="n">Literal</span><span class="p">[</span><span class="s2">&quot;days …</span></code></pre></div>
</section>
<section class="section index">
<time datetime="2023-09-27T00:00:00+02:00">27 septembre 2023</time>
<a class='tag' href="https://blog.notmyidea.org/tag/python.html">python</a>, <a class='tag' href="https://blog.notmyidea.org/tag/llm.html">llm</a>, <a class='tag' href="https://blog.notmyidea.org/tag/bash.html">bash</a>, <a class='tag' href="https://blog.notmyidea.org/tag/sqlite.html">sqlite</a> <h1><a href="https://blog.notmyidea.org/llm-command-line-tips.html" id="page-title">llm command-line&nbsp;tips</a></h1>
<p>I&#8217;m using <a href="https://llm.datasette.io">llm</a> more and more, and today I had to find back prompts I used in the past. Here is a command I&#8217;ve been using, which allows me to filter the results based on what I want. It leverages <a href="https://sqlutils.datasette.io">sql-utils</a>, a cli tool which is able to …</p>
</section>
<ul>
<li><a href="https://blog.notmyidea.org/deploying-and-customizing-datasette.html" rel="bookmark" title="Permalink to Deploying and customizing datasette">Deploying and customizing&nbsp;datasette</a></li>
<li><a href="https://blog.notmyidea.org/2023-semaine-45.html" rel="bookmark" title="Permalink to 2023, Semaine 45">2023, Semaine&nbsp;45</a></li>
<li><a href="https://blog.notmyidea.org/adding-real-time-collaboration-to-umap-first-week.html" rel="bookmark" title="Permalink to Adding Real-Time Collaboration to uMap, first week">Adding Real-Time Collaboration to uMap, first&nbsp;week</a></li>
<li><a href="https://blog.notmyidea.org/using-datasette-for-tracking-my-professional-activity.html" rel="bookmark" title="Permalink to Using Datasette for tracking my professional activity">Using Datasette for tracking my professional&nbsp;activity</a></li>
<li><a href="https://blog.notmyidea.org/2023-semaine-42.html" rel="bookmark" title="Permalink to 2023, Semaine 42">2023, Semaine&nbsp;42</a></li>

View file

@ -43,6 +43,14 @@ Alexis Métaireau </title>
</ul>
</section>
<h1></h1>
<section class="section index">
<time datetime="2023-12-25T00:00:00+01:00">25 décembre 2023</time>
<h1><a href="https://blog.notmyidea.org/format-an-usb-disk-from-the-command-line-on-macosx.html" id="page-title">Format an <span class="caps">USB</span> disk from the command-line on&nbsp;MacOSX</a></h1>
<div class="highlight"><pre><span></span><code>sudo<span class="w"> </span>diskutil<span class="w"> </span>unmountDisk<span class="w"> </span>/dev/disk5
sudo<span class="w"> </span>diskutil<span class="w"> </span>eraseDisk<span class="w"> </span><span class="s2">&quot;MS-DOS FAT32&quot;</span><span class="w"> </span>Brocolis<span class="w"> </span>/dev/disk
</code></pre></div>
</section>
<section class="section index">
<time datetime="2023-12-08T00:00:00+01:00">08 décembre 2023</time>
@ -109,13 +117,9 @@ Alexis Métaireau </title>
<span class="k">def</span> <span class="nf">string_to_duration</span><span class="p">(</span><span class="n">value</span><span class="p">:</span> <span class="nb">str</span><span class="p">,</span> <span class="n">target</span><span class="p">:</span> <span class="n">Literal</span><span class="p">[</span><span class="s2">&quot;days …</span></code></pre></div>
</section>
<section class="section index">
<time datetime="2023-09-27T00:00:00+02:00">27 septembre 2023</time>
<a class='tag' href="https://blog.notmyidea.org/tag/python.html">python</a>, <a class='tag' href="https://blog.notmyidea.org/tag/llm.html">llm</a>, <a class='tag' href="https://blog.notmyidea.org/tag/bash.html">bash</a>, <a class='tag' href="https://blog.notmyidea.org/tag/sqlite.html">sqlite</a> <h1><a href="https://blog.notmyidea.org/llm-command-line-tips.html" id="page-title">llm command-line&nbsp;tips</a></h1>
<p>I&#8217;m using <a href="https://llm.datasette.io">llm</a> more and more, and today I had to find back prompts I used in the past. Here is a command I&#8217;ve been using, which allows me to filter the results based on what I want. It leverages <a href="https://sqlutils.datasette.io">sql-utils</a>, a cli tool which is able to …</p>
</section>
<ul>
<li><a href="https://blog.notmyidea.org/deploying-and-customizing-datasette.html" rel="bookmark" title="Permalink to Deploying and customizing datasette">Deploying and customizing&nbsp;datasette</a></li>
<li><a href="https://blog.notmyidea.org/2023-semaine-45.html" rel="bookmark" title="Permalink to 2023, Semaine 45">2023, Semaine&nbsp;45</a></li>
<li><a href="https://blog.notmyidea.org/adding-real-time-collaboration-to-umap-first-week.html" rel="bookmark" title="Permalink to Adding Real-Time Collaboration to uMap, first week">Adding Real-Time Collaboration to uMap, first&nbsp;week</a></li>
<li><a href="https://blog.notmyidea.org/using-datasette-for-tracking-my-professional-activity.html" rel="bookmark" title="Permalink to Using Datasette for tracking my professional activity">Using Datasette for tracking my professional&nbsp;activity</a></li>
<li><a href="https://blog.notmyidea.org/2023-semaine-42.html" rel="bookmark" title="Permalink to 2023, Semaine 42">2023, Semaine&nbsp;42</a></li>

View file

@ -43,6 +43,14 @@ Alexis Métaireau </title>
</ul>
</section>
<h1></h1>
<section class="section index">
<time datetime="2023-12-25T00:00:00+01:00">25 décembre 2023</time>
<h1><a href="https://blog.notmyidea.org/format-an-usb-disk-from-the-command-line-on-macosx.html" id="page-title">Format an <span class="caps">USB</span> disk from the command-line on&nbsp;MacOSX</a></h1>
<div class="highlight"><pre><span></span><code>sudo<span class="w"> </span>diskutil<span class="w"> </span>unmountDisk<span class="w"> </span>/dev/disk5
sudo<span class="w"> </span>diskutil<span class="w"> </span>eraseDisk<span class="w"> </span><span class="s2">&quot;MS-DOS FAT32&quot;</span><span class="w"> </span>Brocolis<span class="w"> </span>/dev/disk
</code></pre></div>
</section>
<section class="section index">
<time datetime="2023-12-08T00:00:00+01:00">08 décembre 2023</time>
@ -109,13 +117,9 @@ Alexis Métaireau </title>
<span class="k">def</span> <span class="nf">string_to_duration</span><span class="p">(</span><span class="n">value</span><span class="p">:</span> <span class="nb">str</span><span class="p">,</span> <span class="n">target</span><span class="p">:</span> <span class="n">Literal</span><span class="p">[</span><span class="s2">&quot;days …</span></code></pre></div>
</section>
<section class="section index">
<time datetime="2023-09-27T00:00:00+02:00">27 septembre 2023</time>
<a class='tag' href="https://blog.notmyidea.org/tag/python.html">python</a>, <a class='tag' href="https://blog.notmyidea.org/tag/llm.html">llm</a>, <a class='tag' href="https://blog.notmyidea.org/tag/bash.html">bash</a>, <a class='tag' href="https://blog.notmyidea.org/tag/sqlite.html">sqlite</a> <h1><a href="https://blog.notmyidea.org/llm-command-line-tips.html" id="page-title">llm command-line&nbsp;tips</a></h1>
<p>I&#8217;m using <a href="https://llm.datasette.io">llm</a> more and more, and today I had to find back prompts I used in the past. Here is a command I&#8217;ve been using, which allows me to filter the results based on what I want. It leverages <a href="https://sqlutils.datasette.io">sql-utils</a>, a cli tool which is able to …</p>
</section>
<ul>
<li><a href="https://blog.notmyidea.org/deploying-and-customizing-datasette.html" rel="bookmark" title="Permalink to Deploying and customizing datasette">Deploying and customizing&nbsp;datasette</a></li>
<li><a href="https://blog.notmyidea.org/2023-semaine-45.html" rel="bookmark" title="Permalink to 2023, Semaine 45">2023, Semaine&nbsp;45</a></li>
<li><a href="https://blog.notmyidea.org/adding-real-time-collaboration-to-umap-first-week.html" rel="bookmark" title="Permalink to Adding Real-Time Collaboration to uMap, first week">Adding Real-Time Collaboration to uMap, first&nbsp;week</a></li>
<li><a href="https://blog.notmyidea.org/using-datasette-for-tracking-my-professional-activity.html" rel="bookmark" title="Permalink to Using Datasette for tracking my professional activity">Using Datasette for tracking my professional&nbsp;activity</a></li>
<li><a href="https://blog.notmyidea.org/2023-semaine-42.html" rel="bookmark" title="Permalink to 2023, Semaine 42">2023, Semaine&nbsp;42</a></li>

View file

@ -43,6 +43,14 @@ Alexis Métaireau </title>
</ul>
</section>
<h1></h1>
<section class="section index">
<time datetime="2023-12-25T00:00:00+01:00">25 décembre 2023</time>
<h1><a href="https://blog.notmyidea.org/format-an-usb-disk-from-the-command-line-on-macosx.html" id="page-title">Format an <span class="caps">USB</span> disk from the command-line on&nbsp;MacOSX</a></h1>
<div class="highlight"><pre><span></span><code>sudo<span class="w"> </span>diskutil<span class="w"> </span>unmountDisk<span class="w"> </span>/dev/disk5
sudo<span class="w"> </span>diskutil<span class="w"> </span>eraseDisk<span class="w"> </span><span class="s2">&quot;MS-DOS FAT32&quot;</span><span class="w"> </span>Brocolis<span class="w"> </span>/dev/disk
</code></pre></div>
</section>
<section class="section index">
<time datetime="2023-12-08T00:00:00+01:00">08 décembre 2023</time>
@ -109,13 +117,9 @@ Alexis Métaireau </title>
<span class="k">def</span> <span class="nf">string_to_duration</span><span class="p">(</span><span class="n">value</span><span class="p">:</span> <span class="nb">str</span><span class="p">,</span> <span class="n">target</span><span class="p">:</span> <span class="n">Literal</span><span class="p">[</span><span class="s2">&quot;days …</span></code></pre></div>
</section>
<section class="section index">
<time datetime="2023-09-27T00:00:00+02:00">27 septembre 2023</time>
<a class='tag' href="https://blog.notmyidea.org/tag/python.html">python</a>, <a class='tag' href="https://blog.notmyidea.org/tag/llm.html">llm</a>, <a class='tag' href="https://blog.notmyidea.org/tag/bash.html">bash</a>, <a class='tag' href="https://blog.notmyidea.org/tag/sqlite.html">sqlite</a> <h1><a href="https://blog.notmyidea.org/llm-command-line-tips.html" id="page-title">llm command-line&nbsp;tips</a></h1>
<p>I&#8217;m using <a href="https://llm.datasette.io">llm</a> more and more, and today I had to find back prompts I used in the past. Here is a command I&#8217;ve been using, which allows me to filter the results based on what I want. It leverages <a href="https://sqlutils.datasette.io">sql-utils</a>, a cli tool which is able to …</p>
</section>
<ul>
<li><a href="https://blog.notmyidea.org/deploying-and-customizing-datasette.html" rel="bookmark" title="Permalink to Deploying and customizing datasette">Deploying and customizing&nbsp;datasette</a></li>
<li><a href="https://blog.notmyidea.org/2023-semaine-45.html" rel="bookmark" title="Permalink to 2023, Semaine 45">2023, Semaine&nbsp;45</a></li>
<li><a href="https://blog.notmyidea.org/adding-real-time-collaboration-to-umap-first-week.html" rel="bookmark" title="Permalink to Adding Real-Time Collaboration to uMap, first week">Adding Real-Time Collaboration to uMap, first&nbsp;week</a></li>
<li><a href="https://blog.notmyidea.org/using-datasette-for-tracking-my-professional-activity.html" rel="bookmark" title="Permalink to Using Datasette for tracking my professional activity">Using Datasette for tracking my professional&nbsp;activity</a></li>
<li><a href="https://blog.notmyidea.org/2023-semaine-42.html" rel="bookmark" title="Permalink to 2023, Semaine 42">2023, Semaine&nbsp;42</a></li>

View file

@ -43,6 +43,14 @@ Alexis Métaireau </title>
</ul>
</section>
<h1></h1>
<section class="section index">
<time datetime="2023-12-25T00:00:00+01:00">25 décembre 2023</time>
<h1><a href="https://blog.notmyidea.org/format-an-usb-disk-from-the-command-line-on-macosx.html" id="page-title">Format an <span class="caps">USB</span> disk from the command-line on&nbsp;MacOSX</a></h1>
<div class="highlight"><pre><span></span><code>sudo<span class="w"> </span>diskutil<span class="w"> </span>unmountDisk<span class="w"> </span>/dev/disk5
sudo<span class="w"> </span>diskutil<span class="w"> </span>eraseDisk<span class="w"> </span><span class="s2">&quot;MS-DOS FAT32&quot;</span><span class="w"> </span>Brocolis<span class="w"> </span>/dev/disk
</code></pre></div>
</section>
<section class="section index">
<time datetime="2023-12-08T00:00:00+01:00">08 décembre 2023</time>
@ -109,13 +117,9 @@ Alexis Métaireau </title>
<span class="k">def</span> <span class="nf">string_to_duration</span><span class="p">(</span><span class="n">value</span><span class="p">:</span> <span class="nb">str</span><span class="p">,</span> <span class="n">target</span><span class="p">:</span> <span class="n">Literal</span><span class="p">[</span><span class="s2">&quot;days …</span></code></pre></div>
</section>
<section class="section index">
<time datetime="2023-09-27T00:00:00+02:00">27 septembre 2023</time>
<a class='tag' href="https://blog.notmyidea.org/tag/python.html">python</a>, <a class='tag' href="https://blog.notmyidea.org/tag/llm.html">llm</a>, <a class='tag' href="https://blog.notmyidea.org/tag/bash.html">bash</a>, <a class='tag' href="https://blog.notmyidea.org/tag/sqlite.html">sqlite</a> <h1><a href="https://blog.notmyidea.org/llm-command-line-tips.html" id="page-title">llm command-line&nbsp;tips</a></h1>
<p>I&#8217;m using <a href="https://llm.datasette.io">llm</a> more and more, and today I had to find back prompts I used in the past. Here is a command I&#8217;ve been using, which allows me to filter the results based on what I want. It leverages <a href="https://sqlutils.datasette.io">sql-utils</a>, a cli tool which is able to …</p>
</section>
<ul>
<li><a href="https://blog.notmyidea.org/deploying-and-customizing-datasette.html" rel="bookmark" title="Permalink to Deploying and customizing datasette">Deploying and customizing&nbsp;datasette</a></li>
<li><a href="https://blog.notmyidea.org/2023-semaine-45.html" rel="bookmark" title="Permalink to 2023, Semaine 45">2023, Semaine&nbsp;45</a></li>
<li><a href="https://blog.notmyidea.org/adding-real-time-collaboration-to-umap-first-week.html" rel="bookmark" title="Permalink to Adding Real-Time Collaboration to uMap, first week">Adding Real-Time Collaboration to uMap, first&nbsp;week</a></li>
<li><a href="https://blog.notmyidea.org/using-datasette-for-tracking-my-professional-activity.html" rel="bookmark" title="Permalink to Using Datasette for tracking my professional activity">Using Datasette for tracking my professional&nbsp;activity</a></li>
<li><a href="https://blog.notmyidea.org/2023-semaine-42.html" rel="bookmark" title="Permalink to 2023, Semaine 42">2023, Semaine&nbsp;42</a></li>

View file

@ -43,6 +43,14 @@ Alexis Métaireau </title>
</ul>
</section>
<h1></h1>
<section class="section index">
<time datetime="2023-12-25T00:00:00+01:00">25 décembre 2023</time>
<h1><a href="https://blog.notmyidea.org/format-an-usb-disk-from-the-command-line-on-macosx.html" id="page-title">Format an <span class="caps">USB</span> disk from the command-line on&nbsp;MacOSX</a></h1>
<div class="highlight"><pre><span></span><code>sudo<span class="w"> </span>diskutil<span class="w"> </span>unmountDisk<span class="w"> </span>/dev/disk5
sudo<span class="w"> </span>diskutil<span class="w"> </span>eraseDisk<span class="w"> </span><span class="s2">&quot;MS-DOS FAT32&quot;</span><span class="w"> </span>Brocolis<span class="w"> </span>/dev/disk
</code></pre></div>
</section>
<section class="section index">
<time datetime="2023-12-08T00:00:00+01:00">08 décembre 2023</time>
@ -109,13 +117,9 @@ Alexis Métaireau </title>
<span class="k">def</span> <span class="nf">string_to_duration</span><span class="p">(</span><span class="n">value</span><span class="p">:</span> <span class="nb">str</span><span class="p">,</span> <span class="n">target</span><span class="p">:</span> <span class="n">Literal</span><span class="p">[</span><span class="s2">&quot;days …</span></code></pre></div>
</section>
<section class="section index">
<time datetime="2023-09-27T00:00:00+02:00">27 septembre 2023</time>
<a class='tag' href="https://blog.notmyidea.org/tag/python.html">python</a>, <a class='tag' href="https://blog.notmyidea.org/tag/llm.html">llm</a>, <a class='tag' href="https://blog.notmyidea.org/tag/bash.html">bash</a>, <a class='tag' href="https://blog.notmyidea.org/tag/sqlite.html">sqlite</a> <h1><a href="https://blog.notmyidea.org/llm-command-line-tips.html" id="page-title">llm command-line&nbsp;tips</a></h1>
<p>I&#8217;m using <a href="https://llm.datasette.io">llm</a> more and more, and today I had to find back prompts I used in the past. Here is a command I&#8217;ve been using, which allows me to filter the results based on what I want. It leverages <a href="https://sqlutils.datasette.io">sql-utils</a>, a cli tool which is able to …</p>
</section>
<ul>
<li><a href="https://blog.notmyidea.org/deploying-and-customizing-datasette.html" rel="bookmark" title="Permalink to Deploying and customizing datasette">Deploying and customizing&nbsp;datasette</a></li>
<li><a href="https://blog.notmyidea.org/2023-semaine-45.html" rel="bookmark" title="Permalink to 2023, Semaine 45">2023, Semaine&nbsp;45</a></li>
<li><a href="https://blog.notmyidea.org/adding-real-time-collaboration-to-umap-first-week.html" rel="bookmark" title="Permalink to Adding Real-Time Collaboration to uMap, first week">Adding Real-Time Collaboration to uMap, first&nbsp;week</a></li>
<li><a href="https://blog.notmyidea.org/using-datasette-for-tracking-my-professional-activity.html" rel="bookmark" title="Permalink to Using Datasette for tracking my professional activity">Using Datasette for tracking my professional&nbsp;activity</a></li>
<li><a href="https://blog.notmyidea.org/2023-semaine-42.html" rel="bookmark" title="Permalink to 2023, Semaine 42">2023, Semaine&nbsp;42</a></li>

View file

@ -43,6 +43,14 @@ Alexis Métaireau </title>
</ul>
</section>
<h1></h1>
<section class="section index">
<time datetime="2023-12-25T00:00:00+01:00">25 décembre 2023</time>
<h1><a href="https://blog.notmyidea.org/format-an-usb-disk-from-the-command-line-on-macosx.html" id="page-title">Format an <span class="caps">USB</span> disk from the command-line on&nbsp;MacOSX</a></h1>
<div class="highlight"><pre><span></span><code>sudo<span class="w"> </span>diskutil<span class="w"> </span>unmountDisk<span class="w"> </span>/dev/disk5
sudo<span class="w"> </span>diskutil<span class="w"> </span>eraseDisk<span class="w"> </span><span class="s2">&quot;MS-DOS FAT32&quot;</span><span class="w"> </span>Brocolis<span class="w"> </span>/dev/disk
</code></pre></div>
</section>
<section class="section index">
<time datetime="2023-12-08T00:00:00+01:00">08 décembre 2023</time>
@ -109,13 +117,9 @@ Alexis Métaireau </title>
<span class="k">def</span> <span class="nf">string_to_duration</span><span class="p">(</span><span class="n">value</span><span class="p">:</span> <span class="nb">str</span><span class="p">,</span> <span class="n">target</span><span class="p">:</span> <span class="n">Literal</span><span class="p">[</span><span class="s2">&quot;days …</span></code></pre></div>
</section>
<section class="section index">
<time datetime="2023-09-27T00:00:00+02:00">27 septembre 2023</time>
<a class='tag' href="https://blog.notmyidea.org/tag/python.html">python</a>, <a class='tag' href="https://blog.notmyidea.org/tag/llm.html">llm</a>, <a class='tag' href="https://blog.notmyidea.org/tag/bash.html">bash</a>, <a class='tag' href="https://blog.notmyidea.org/tag/sqlite.html">sqlite</a> <h1><a href="https://blog.notmyidea.org/llm-command-line-tips.html" id="page-title">llm command-line&nbsp;tips</a></h1>
<p>I&#8217;m using <a href="https://llm.datasette.io">llm</a> more and more, and today I had to find back prompts I used in the past. Here is a command I&#8217;ve been using, which allows me to filter the results based on what I want. It leverages <a href="https://sqlutils.datasette.io">sql-utils</a>, a cli tool which is able to …</p>
</section>
<ul>
<li><a href="https://blog.notmyidea.org/deploying-and-customizing-datasette.html" rel="bookmark" title="Permalink to Deploying and customizing datasette">Deploying and customizing&nbsp;datasette</a></li>
<li><a href="https://blog.notmyidea.org/2023-semaine-45.html" rel="bookmark" title="Permalink to 2023, Semaine 45">2023, Semaine&nbsp;45</a></li>
<li><a href="https://blog.notmyidea.org/adding-real-time-collaboration-to-umap-first-week.html" rel="bookmark" title="Permalink to Adding Real-Time Collaboration to uMap, first week">Adding Real-Time Collaboration to uMap, first&nbsp;week</a></li>
<li><a href="https://blog.notmyidea.org/using-datasette-for-tracking-my-professional-activity.html" rel="bookmark" title="Permalink to Using Datasette for tracking my professional activity">Using Datasette for tracking my professional&nbsp;activity</a></li>
<li><a href="https://blog.notmyidea.org/2023-semaine-42.html" rel="bookmark" title="Permalink to 2023, Semaine 42">2023, Semaine&nbsp;42</a></li>

View file

@ -43,6 +43,14 @@ Alexis Métaireau </title>
</ul>
</section>
<h1></h1>
<section class="section index">
<time datetime="2023-12-25T00:00:00+01:00">25 décembre 2023</time>
<h1><a href="https://blog.notmyidea.org/format-an-usb-disk-from-the-command-line-on-macosx.html" id="page-title">Format an <span class="caps">USB</span> disk from the command-line on&nbsp;MacOSX</a></h1>
<div class="highlight"><pre><span></span><code>sudo<span class="w"> </span>diskutil<span class="w"> </span>unmountDisk<span class="w"> </span>/dev/disk5
sudo<span class="w"> </span>diskutil<span class="w"> </span>eraseDisk<span class="w"> </span><span class="s2">&quot;MS-DOS FAT32&quot;</span><span class="w"> </span>Brocolis<span class="w"> </span>/dev/disk
</code></pre></div>
</section>
<section class="section index">
<time datetime="2023-12-08T00:00:00+01:00">08 décembre 2023</time>
@ -109,13 +117,9 @@ Alexis Métaireau </title>
<span class="k">def</span> <span class="nf">string_to_duration</span><span class="p">(</span><span class="n">value</span><span class="p">:</span> <span class="nb">str</span><span class="p">,</span> <span class="n">target</span><span class="p">:</span> <span class="n">Literal</span><span class="p">[</span><span class="s2">&quot;days …</span></code></pre></div>
</section>
<section class="section index">
<time datetime="2023-09-27T00:00:00+02:00">27 septembre 2023</time>
<a class='tag' href="https://blog.notmyidea.org/tag/python.html">python</a>, <a class='tag' href="https://blog.notmyidea.org/tag/llm.html">llm</a>, <a class='tag' href="https://blog.notmyidea.org/tag/bash.html">bash</a>, <a class='tag' href="https://blog.notmyidea.org/tag/sqlite.html">sqlite</a> <h1><a href="https://blog.notmyidea.org/llm-command-line-tips.html" id="page-title">llm command-line&nbsp;tips</a></h1>
<p>I&#8217;m using <a href="https://llm.datasette.io">llm</a> more and more, and today I had to find back prompts I used in the past. Here is a command I&#8217;ve been using, which allows me to filter the results based on what I want. It leverages <a href="https://sqlutils.datasette.io">sql-utils</a>, a cli tool which is able to …</p>
</section>
<ul>
<li><a href="https://blog.notmyidea.org/deploying-and-customizing-datasette.html" rel="bookmark" title="Permalink to Deploying and customizing datasette">Deploying and customizing&nbsp;datasette</a></li>
<li><a href="https://blog.notmyidea.org/2023-semaine-45.html" rel="bookmark" title="Permalink to 2023, Semaine 45">2023, Semaine&nbsp;45</a></li>
<li><a href="https://blog.notmyidea.org/adding-real-time-collaboration-to-umap-first-week.html" rel="bookmark" title="Permalink to Adding Real-Time Collaboration to uMap, first week">Adding Real-Time Collaboration to uMap, first&nbsp;week</a></li>
<li><a href="https://blog.notmyidea.org/using-datasette-for-tracking-my-professional-activity.html" rel="bookmark" title="Permalink to Using Datasette for tracking my professional activity">Using Datasette for tracking my professional&nbsp;activity</a></li>
<li><a href="https://blog.notmyidea.org/2023-semaine-42.html" rel="bookmark" title="Permalink to 2023, Semaine 42">2023, Semaine&nbsp;42</a></li>

View file

@ -43,6 +43,14 @@ Alexis Métaireau </title>
</ul>
</section>
<h1></h1>
<section class="section index">
<time datetime="2023-12-25T00:00:00+01:00">25 décembre 2023</time>
<h1><a href="https://blog.notmyidea.org/format-an-usb-disk-from-the-command-line-on-macosx.html" id="page-title">Format an <span class="caps">USB</span> disk from the command-line on&nbsp;MacOSX</a></h1>
<div class="highlight"><pre><span></span><code>sudo<span class="w"> </span>diskutil<span class="w"> </span>unmountDisk<span class="w"> </span>/dev/disk5
sudo<span class="w"> </span>diskutil<span class="w"> </span>eraseDisk<span class="w"> </span><span class="s2">&quot;MS-DOS FAT32&quot;</span><span class="w"> </span>Brocolis<span class="w"> </span>/dev/disk
</code></pre></div>
</section>
<section class="section index">
<time datetime="2023-12-08T00:00:00+01:00">08 décembre 2023</time>
@ -109,13 +117,9 @@ Alexis Métaireau </title>
<span class="k">def</span> <span class="nf">string_to_duration</span><span class="p">(</span><span class="n">value</span><span class="p">:</span> <span class="nb">str</span><span class="p">,</span> <span class="n">target</span><span class="p">:</span> <span class="n">Literal</span><span class="p">[</span><span class="s2">&quot;days …</span></code></pre></div>
</section>
<section class="section index">
<time datetime="2023-09-27T00:00:00+02:00">27 septembre 2023</time>
<a class='tag' href="https://blog.notmyidea.org/tag/python.html">python</a>, <a class='tag' href="https://blog.notmyidea.org/tag/llm.html">llm</a>, <a class='tag' href="https://blog.notmyidea.org/tag/bash.html">bash</a>, <a class='tag' href="https://blog.notmyidea.org/tag/sqlite.html">sqlite</a> <h1><a href="https://blog.notmyidea.org/llm-command-line-tips.html" id="page-title">llm command-line&nbsp;tips</a></h1>
<p>I&#8217;m using <a href="https://llm.datasette.io">llm</a> more and more, and today I had to find back prompts I used in the past. Here is a command I&#8217;ve been using, which allows me to filter the results based on what I want. It leverages <a href="https://sqlutils.datasette.io">sql-utils</a>, a cli tool which is able to …</p>
</section>
<ul>
<li><a href="https://blog.notmyidea.org/deploying-and-customizing-datasette.html" rel="bookmark" title="Permalink to Deploying and customizing datasette">Deploying and customizing&nbsp;datasette</a></li>
<li><a href="https://blog.notmyidea.org/2023-semaine-45.html" rel="bookmark" title="Permalink to 2023, Semaine 45">2023, Semaine&nbsp;45</a></li>
<li><a href="https://blog.notmyidea.org/adding-real-time-collaboration-to-umap-first-week.html" rel="bookmark" title="Permalink to Adding Real-Time Collaboration to uMap, first week">Adding Real-Time Collaboration to uMap, first&nbsp;week</a></li>
<li><a href="https://blog.notmyidea.org/using-datasette-for-tracking-my-professional-activity.html" rel="bookmark" title="Permalink to Using Datasette for tracking my professional activity">Using Datasette for tracking my professional&nbsp;activity</a></li>
<li><a href="https://blog.notmyidea.org/2023-semaine-42.html" rel="bookmark" title="Permalink to 2023, Semaine 42">2023, Semaine&nbsp;42</a></li>

View file

@ -43,6 +43,14 @@ Alexis Métaireau </title>
</ul>
</section>
<h1></h1>
<section class="section index">
<time datetime="2023-12-25T00:00:00+01:00">25 décembre 2023</time>
<h1><a href="https://blog.notmyidea.org/format-an-usb-disk-from-the-command-line-on-macosx.html" id="page-title">Format an <span class="caps">USB</span> disk from the command-line on&nbsp;MacOSX</a></h1>
<div class="highlight"><pre><span></span><code>sudo<span class="w"> </span>diskutil<span class="w"> </span>unmountDisk<span class="w"> </span>/dev/disk5
sudo<span class="w"> </span>diskutil<span class="w"> </span>eraseDisk<span class="w"> </span><span class="s2">&quot;MS-DOS FAT32&quot;</span><span class="w"> </span>Brocolis<span class="w"> </span>/dev/disk
</code></pre></div>
</section>
<section class="section index">
<time datetime="2023-12-08T00:00:00+01:00">08 décembre 2023</time>
@ -109,13 +117,9 @@ Alexis Métaireau </title>
<span class="k">def</span> <span class="nf">string_to_duration</span><span class="p">(</span><span class="n">value</span><span class="p">:</span> <span class="nb">str</span><span class="p">,</span> <span class="n">target</span><span class="p">:</span> <span class="n">Literal</span><span class="p">[</span><span class="s2">&quot;days …</span></code></pre></div>
</section>
<section class="section index">
<time datetime="2023-09-27T00:00:00+02:00">27 septembre 2023</time>
<a class='tag' href="https://blog.notmyidea.org/tag/python.html">python</a>, <a class='tag' href="https://blog.notmyidea.org/tag/llm.html">llm</a>, <a class='tag' href="https://blog.notmyidea.org/tag/bash.html">bash</a>, <a class='tag' href="https://blog.notmyidea.org/tag/sqlite.html">sqlite</a> <h1><a href="https://blog.notmyidea.org/llm-command-line-tips.html" id="page-title">llm command-line&nbsp;tips</a></h1>
<p>I&#8217;m using <a href="https://llm.datasette.io">llm</a> more and more, and today I had to find back prompts I used in the past. Here is a command I&#8217;ve been using, which allows me to filter the results based on what I want. It leverages <a href="https://sqlutils.datasette.io">sql-utils</a>, a cli tool which is able to …</p>
</section>
<ul>
<li><a href="https://blog.notmyidea.org/deploying-and-customizing-datasette.html" rel="bookmark" title="Permalink to Deploying and customizing datasette">Deploying and customizing&nbsp;datasette</a></li>
<li><a href="https://blog.notmyidea.org/2023-semaine-45.html" rel="bookmark" title="Permalink to 2023, Semaine 45">2023, Semaine&nbsp;45</a></li>
<li><a href="https://blog.notmyidea.org/adding-real-time-collaboration-to-umap-first-week.html" rel="bookmark" title="Permalink to Adding Real-Time Collaboration to uMap, first week">Adding Real-Time Collaboration to uMap, first&nbsp;week</a></li>
<li><a href="https://blog.notmyidea.org/using-datasette-for-tracking-my-professional-activity.html" rel="bookmark" title="Permalink to Using Datasette for tracking my professional activity">Using Datasette for tracking my professional&nbsp;activity</a></li>
<li><a href="https://blog.notmyidea.org/2023-semaine-42.html" rel="bookmark" title="Permalink to 2023, Semaine 42">2023, Semaine&nbsp;42</a></li>

View file

@ -43,6 +43,14 @@ Alexis Métaireau </title>
</ul>
</section>
<h1></h1>
<section class="section index">
<time datetime="2023-12-25T00:00:00+01:00">25 décembre 2023</time>
<h1><a href="https://blog.notmyidea.org/format-an-usb-disk-from-the-command-line-on-macosx.html" id="page-title">Format an <span class="caps">USB</span> disk from the command-line on&nbsp;MacOSX</a></h1>
<div class="highlight"><pre><span></span><code>sudo<span class="w"> </span>diskutil<span class="w"> </span>unmountDisk<span class="w"> </span>/dev/disk5
sudo<span class="w"> </span>diskutil<span class="w"> </span>eraseDisk<span class="w"> </span><span class="s2">&quot;MS-DOS FAT32&quot;</span><span class="w"> </span>Brocolis<span class="w"> </span>/dev/disk
</code></pre></div>
</section>
<section class="section index">
<time datetime="2023-12-08T00:00:00+01:00">08 décembre 2023</time>
@ -109,13 +117,9 @@ Alexis Métaireau </title>
<span class="k">def</span> <span class="nf">string_to_duration</span><span class="p">(</span><span class="n">value</span><span class="p">:</span> <span class="nb">str</span><span class="p">,</span> <span class="n">target</span><span class="p">:</span> <span class="n">Literal</span><span class="p">[</span><span class="s2">&quot;days …</span></code></pre></div>
</section>
<section class="section index">
<time datetime="2023-09-27T00:00:00+02:00">27 septembre 2023</time>
<a class='tag' href="https://blog.notmyidea.org/tag/python.html">python</a>, <a class='tag' href="https://blog.notmyidea.org/tag/llm.html">llm</a>, <a class='tag' href="https://blog.notmyidea.org/tag/bash.html">bash</a>, <a class='tag' href="https://blog.notmyidea.org/tag/sqlite.html">sqlite</a> <h1><a href="https://blog.notmyidea.org/llm-command-line-tips.html" id="page-title">llm command-line&nbsp;tips</a></h1>
<p>I&#8217;m using <a href="https://llm.datasette.io">llm</a> more and more, and today I had to find back prompts I used in the past. Here is a command I&#8217;ve been using, which allows me to filter the results based on what I want. It leverages <a href="https://sqlutils.datasette.io">sql-utils</a>, a cli tool which is able to …</p>
</section>
<ul>
<li><a href="https://blog.notmyidea.org/deploying-and-customizing-datasette.html" rel="bookmark" title="Permalink to Deploying and customizing datasette">Deploying and customizing&nbsp;datasette</a></li>
<li><a href="https://blog.notmyidea.org/2023-semaine-45.html" rel="bookmark" title="Permalink to 2023, Semaine 45">2023, Semaine&nbsp;45</a></li>
<li><a href="https://blog.notmyidea.org/adding-real-time-collaboration-to-umap-first-week.html" rel="bookmark" title="Permalink to Adding Real-Time Collaboration to uMap, first week">Adding Real-Time Collaboration to uMap, first&nbsp;week</a></li>
<li><a href="https://blog.notmyidea.org/using-datasette-for-tracking-my-professional-activity.html" rel="bookmark" title="Permalink to Using Datasette for tracking my professional activity">Using Datasette for tracking my professional&nbsp;activity</a></li>
<li><a href="https://blog.notmyidea.org/2023-semaine-42.html" rel="bookmark" title="Permalink to 2023, Semaine 42">2023, Semaine&nbsp;42</a></li>

View file

@ -43,6 +43,14 @@ Alexis Métaireau </title>
</ul>
</section>
<h1></h1>
<section class="section index">
<time datetime="2023-12-25T00:00:00+01:00">25 décembre 2023</time>
<h1><a href="https://blog.notmyidea.org/format-an-usb-disk-from-the-command-line-on-macosx.html" id="page-title">Format an <span class="caps">USB</span> disk from the command-line on&nbsp;MacOSX</a></h1>
<div class="highlight"><pre><span></span><code>sudo<span class="w"> </span>diskutil<span class="w"> </span>unmountDisk<span class="w"> </span>/dev/disk5
sudo<span class="w"> </span>diskutil<span class="w"> </span>eraseDisk<span class="w"> </span><span class="s2">&quot;MS-DOS FAT32&quot;</span><span class="w"> </span>Brocolis<span class="w"> </span>/dev/disk
</code></pre></div>
</section>
<section class="section index">
<time datetime="2023-12-08T00:00:00+01:00">08 décembre 2023</time>
@ -109,13 +117,9 @@ Alexis Métaireau </title>
<span class="k">def</span> <span class="nf">string_to_duration</span><span class="p">(</span><span class="n">value</span><span class="p">:</span> <span class="nb">str</span><span class="p">,</span> <span class="n">target</span><span class="p">:</span> <span class="n">Literal</span><span class="p">[</span><span class="s2">&quot;days …</span></code></pre></div>
</section>
<section class="section index">
<time datetime="2023-09-27T00:00:00+02:00">27 septembre 2023</time>
<a class='tag' href="https://blog.notmyidea.org/tag/python.html">python</a>, <a class='tag' href="https://blog.notmyidea.org/tag/llm.html">llm</a>, <a class='tag' href="https://blog.notmyidea.org/tag/bash.html">bash</a>, <a class='tag' href="https://blog.notmyidea.org/tag/sqlite.html">sqlite</a> <h1><a href="https://blog.notmyidea.org/llm-command-line-tips.html" id="page-title">llm command-line&nbsp;tips</a></h1>
<p>I&#8217;m using <a href="https://llm.datasette.io">llm</a> more and more, and today I had to find back prompts I used in the past. Here is a command I&#8217;ve been using, which allows me to filter the results based on what I want. It leverages <a href="https://sqlutils.datasette.io">sql-utils</a>, a cli tool which is able to …</p>
</section>
<ul>
<li><a href="https://blog.notmyidea.org/deploying-and-customizing-datasette.html" rel="bookmark" title="Permalink to Deploying and customizing datasette">Deploying and customizing&nbsp;datasette</a></li>
<li><a href="https://blog.notmyidea.org/2023-semaine-45.html" rel="bookmark" title="Permalink to 2023, Semaine 45">2023, Semaine&nbsp;45</a></li>
<li><a href="https://blog.notmyidea.org/adding-real-time-collaboration-to-umap-first-week.html" rel="bookmark" title="Permalink to Adding Real-Time Collaboration to uMap, first week">Adding Real-Time Collaboration to uMap, first&nbsp;week</a></li>
<li><a href="https://blog.notmyidea.org/using-datasette-for-tracking-my-professional-activity.html" rel="bookmark" title="Permalink to Using Datasette for tracking my professional activity">Using Datasette for tracking my professional&nbsp;activity</a></li>
<li><a href="https://blog.notmyidea.org/2023-semaine-42.html" rel="bookmark" title="Permalink to 2023, Semaine 42">2023, Semaine&nbsp;42</a></li>

View file

@ -43,6 +43,14 @@ Alexis Métaireau </title>
</ul>
</section>
<h1></h1>
<section class="section index">
<time datetime="2023-12-25T00:00:00+01:00">25 décembre 2023</time>
<h1><a href="https://blog.notmyidea.org/format-an-usb-disk-from-the-command-line-on-macosx.html" id="page-title">Format an <span class="caps">USB</span> disk from the command-line on&nbsp;MacOSX</a></h1>
<div class="highlight"><pre><span></span><code>sudo<span class="w"> </span>diskutil<span class="w"> </span>unmountDisk<span class="w"> </span>/dev/disk5
sudo<span class="w"> </span>diskutil<span class="w"> </span>eraseDisk<span class="w"> </span><span class="s2">&quot;MS-DOS FAT32&quot;</span><span class="w"> </span>Brocolis<span class="w"> </span>/dev/disk
</code></pre></div>
</section>
<section class="section index">
<time datetime="2023-12-08T00:00:00+01:00">08 décembre 2023</time>
@ -109,13 +117,9 @@ Alexis Métaireau </title>
<span class="k">def</span> <span class="nf">string_to_duration</span><span class="p">(</span><span class="n">value</span><span class="p">:</span> <span class="nb">str</span><span class="p">,</span> <span class="n">target</span><span class="p">:</span> <span class="n">Literal</span><span class="p">[</span><span class="s2">&quot;days …</span></code></pre></div>
</section>
<section class="section index">
<time datetime="2023-09-27T00:00:00+02:00">27 septembre 2023</time>
<a class='tag' href="https://blog.notmyidea.org/tag/python.html">python</a>, <a class='tag' href="https://blog.notmyidea.org/tag/llm.html">llm</a>, <a class='tag' href="https://blog.notmyidea.org/tag/bash.html">bash</a>, <a class='tag' href="https://blog.notmyidea.org/tag/sqlite.html">sqlite</a> <h1><a href="https://blog.notmyidea.org/llm-command-line-tips.html" id="page-title">llm command-line&nbsp;tips</a></h1>
<p>I&#8217;m using <a href="https://llm.datasette.io">llm</a> more and more, and today I had to find back prompts I used in the past. Here is a command I&#8217;ve been using, which allows me to filter the results based on what I want. It leverages <a href="https://sqlutils.datasette.io">sql-utils</a>, a cli tool which is able to …</p>
</section>
<ul>
<li><a href="https://blog.notmyidea.org/deploying-and-customizing-datasette.html" rel="bookmark" title="Permalink to Deploying and customizing datasette">Deploying and customizing&nbsp;datasette</a></li>
<li><a href="https://blog.notmyidea.org/2023-semaine-45.html" rel="bookmark" title="Permalink to 2023, Semaine 45">2023, Semaine&nbsp;45</a></li>
<li><a href="https://blog.notmyidea.org/adding-real-time-collaboration-to-umap-first-week.html" rel="bookmark" title="Permalink to Adding Real-Time Collaboration to uMap, first week">Adding Real-Time Collaboration to uMap, first&nbsp;week</a></li>
<li><a href="https://blog.notmyidea.org/using-datasette-for-tracking-my-professional-activity.html" rel="bookmark" title="Permalink to Using Datasette for tracking my professional activity">Using Datasette for tracking my professional&nbsp;activity</a></li>
<li><a href="https://blog.notmyidea.org/2023-semaine-42.html" rel="bookmark" title="Permalink to 2023, Semaine 42">2023, Semaine&nbsp;42</a></li>

View file

@ -43,6 +43,14 @@ Alexis Métaireau </title>
</ul>
</section>
<h1></h1>
<section class="section index">
<time datetime="2023-12-25T00:00:00+01:00">25 décembre 2023</time>
<h1><a href="https://blog.notmyidea.org/format-an-usb-disk-from-the-command-line-on-macosx.html" id="page-title">Format an <span class="caps">USB</span> disk from the command-line on&nbsp;MacOSX</a></h1>
<div class="highlight"><pre><span></span><code>sudo<span class="w"> </span>diskutil<span class="w"> </span>unmountDisk<span class="w"> </span>/dev/disk5
sudo<span class="w"> </span>diskutil<span class="w"> </span>eraseDisk<span class="w"> </span><span class="s2">&quot;MS-DOS FAT32&quot;</span><span class="w"> </span>Brocolis<span class="w"> </span>/dev/disk
</code></pre></div>
</section>
<section class="section index">
<time datetime="2023-12-08T00:00:00+01:00">08 décembre 2023</time>
@ -109,13 +117,9 @@ Alexis Métaireau </title>
<span class="k">def</span> <span class="nf">string_to_duration</span><span class="p">(</span><span class="n">value</span><span class="p">:</span> <span class="nb">str</span><span class="p">,</span> <span class="n">target</span><span class="p">:</span> <span class="n">Literal</span><span class="p">[</span><span class="s2">&quot;days …</span></code></pre></div>
</section>
<section class="section index">
<time datetime="2023-09-27T00:00:00+02:00">27 septembre 2023</time>
<a class='tag' href="https://blog.notmyidea.org/tag/python.html">python</a>, <a class='tag' href="https://blog.notmyidea.org/tag/llm.html">llm</a>, <a class='tag' href="https://blog.notmyidea.org/tag/bash.html">bash</a>, <a class='tag' href="https://blog.notmyidea.org/tag/sqlite.html">sqlite</a> <h1><a href="https://blog.notmyidea.org/llm-command-line-tips.html" id="page-title">llm command-line&nbsp;tips</a></h1>
<p>I&#8217;m using <a href="https://llm.datasette.io">llm</a> more and more, and today I had to find back prompts I used in the past. Here is a command I&#8217;ve been using, which allows me to filter the results based on what I want. It leverages <a href="https://sqlutils.datasette.io">sql-utils</a>, a cli tool which is able to …</p>
</section>
<ul>
<li><a href="https://blog.notmyidea.org/deploying-and-customizing-datasette.html" rel="bookmark" title="Permalink to Deploying and customizing datasette">Deploying and customizing&nbsp;datasette</a></li>
<li><a href="https://blog.notmyidea.org/2023-semaine-45.html" rel="bookmark" title="Permalink to 2023, Semaine 45">2023, Semaine&nbsp;45</a></li>
<li><a href="https://blog.notmyidea.org/adding-real-time-collaboration-to-umap-first-week.html" rel="bookmark" title="Permalink to Adding Real-Time Collaboration to uMap, first week">Adding Real-Time Collaboration to uMap, first&nbsp;week</a></li>
<li><a href="https://blog.notmyidea.org/using-datasette-for-tracking-my-professional-activity.html" rel="bookmark" title="Permalink to Using Datasette for tracking my professional activity">Using Datasette for tracking my professional&nbsp;activity</a></li>
<li><a href="https://blog.notmyidea.org/2023-semaine-42.html" rel="bookmark" title="Permalink to 2023, Semaine 42">2023, Semaine&nbsp;42</a></li>

View file

@ -43,6 +43,14 @@ Alexis Métaireau </title>
</ul>
</section>
<h1></h1>
<section class="section index">
<time datetime="2023-12-25T00:00:00+01:00">25 décembre 2023</time>
<h1><a href="https://blog.notmyidea.org/format-an-usb-disk-from-the-command-line-on-macosx.html" id="page-title">Format an <span class="caps">USB</span> disk from the command-line on&nbsp;MacOSX</a></h1>
<div class="highlight"><pre><span></span><code>sudo<span class="w"> </span>diskutil<span class="w"> </span>unmountDisk<span class="w"> </span>/dev/disk5
sudo<span class="w"> </span>diskutil<span class="w"> </span>eraseDisk<span class="w"> </span><span class="s2">&quot;MS-DOS FAT32&quot;</span><span class="w"> </span>Brocolis<span class="w"> </span>/dev/disk
</code></pre></div>
</section>
<section class="section index">
<time datetime="2023-12-08T00:00:00+01:00">08 décembre 2023</time>
@ -109,13 +117,9 @@ Alexis Métaireau </title>
<span class="k">def</span> <span class="nf">string_to_duration</span><span class="p">(</span><span class="n">value</span><span class="p">:</span> <span class="nb">str</span><span class="p">,</span> <span class="n">target</span><span class="p">:</span> <span class="n">Literal</span><span class="p">[</span><span class="s2">&quot;days …</span></code></pre></div>
</section>
<section class="section index">
<time datetime="2023-09-27T00:00:00+02:00">27 septembre 2023</time>
<a class='tag' href="https://blog.notmyidea.org/tag/python.html">python</a>, <a class='tag' href="https://blog.notmyidea.org/tag/llm.html">llm</a>, <a class='tag' href="https://blog.notmyidea.org/tag/bash.html">bash</a>, <a class='tag' href="https://blog.notmyidea.org/tag/sqlite.html">sqlite</a> <h1><a href="https://blog.notmyidea.org/llm-command-line-tips.html" id="page-title">llm command-line&nbsp;tips</a></h1>
<p>I&#8217;m using <a href="https://llm.datasette.io">llm</a> more and more, and today I had to find back prompts I used in the past. Here is a command I&#8217;ve been using, which allows me to filter the results based on what I want. It leverages <a href="https://sqlutils.datasette.io">sql-utils</a>, a cli tool which is able to …</p>
</section>
<ul>
<li><a href="https://blog.notmyidea.org/deploying-and-customizing-datasette.html" rel="bookmark" title="Permalink to Deploying and customizing datasette">Deploying and customizing&nbsp;datasette</a></li>
<li><a href="https://blog.notmyidea.org/2023-semaine-45.html" rel="bookmark" title="Permalink to 2023, Semaine 45">2023, Semaine&nbsp;45</a></li>
<li><a href="https://blog.notmyidea.org/adding-real-time-collaboration-to-umap-first-week.html" rel="bookmark" title="Permalink to Adding Real-Time Collaboration to uMap, first week">Adding Real-Time Collaboration to uMap, first&nbsp;week</a></li>
<li><a href="https://blog.notmyidea.org/using-datasette-for-tracking-my-professional-activity.html" rel="bookmark" title="Permalink to Using Datasette for tracking my professional activity">Using Datasette for tracking my professional&nbsp;activity</a></li>
<li><a href="https://blog.notmyidea.org/2023-semaine-42.html" rel="bookmark" title="Permalink to 2023, Semaine 42">2023, Semaine&nbsp;42</a></li>

View file

@ -43,6 +43,14 @@ Alexis Métaireau </title>
</ul>
</section>
<h1></h1>
<section class="section index">
<time datetime="2023-12-25T00:00:00+01:00">25 décembre 2023</time>
<h1><a href="https://blog.notmyidea.org/format-an-usb-disk-from-the-command-line-on-macosx.html" id="page-title">Format an <span class="caps">USB</span> disk from the command-line on&nbsp;MacOSX</a></h1>
<div class="highlight"><pre><span></span><code>sudo<span class="w"> </span>diskutil<span class="w"> </span>unmountDisk<span class="w"> </span>/dev/disk5
sudo<span class="w"> </span>diskutil<span class="w"> </span>eraseDisk<span class="w"> </span><span class="s2">&quot;MS-DOS FAT32&quot;</span><span class="w"> </span>Brocolis<span class="w"> </span>/dev/disk
</code></pre></div>
</section>
<section class="section index">
<time datetime="2023-12-08T00:00:00+01:00">08 décembre 2023</time>
@ -109,13 +117,9 @@ Alexis Métaireau </title>
<span class="k">def</span> <span class="nf">string_to_duration</span><span class="p">(</span><span class="n">value</span><span class="p">:</span> <span class="nb">str</span><span class="p">,</span> <span class="n">target</span><span class="p">:</span> <span class="n">Literal</span><span class="p">[</span><span class="s2">&quot;days …</span></code></pre></div>
</section>
<section class="section index">
<time datetime="2023-09-27T00:00:00+02:00">27 septembre 2023</time>
<a class='tag' href="https://blog.notmyidea.org/tag/python.html">python</a>, <a class='tag' href="https://blog.notmyidea.org/tag/llm.html">llm</a>, <a class='tag' href="https://blog.notmyidea.org/tag/bash.html">bash</a>, <a class='tag' href="https://blog.notmyidea.org/tag/sqlite.html">sqlite</a> <h1><a href="https://blog.notmyidea.org/llm-command-line-tips.html" id="page-title">llm command-line&nbsp;tips</a></h1>
<p>I&#8217;m using <a href="https://llm.datasette.io">llm</a> more and more, and today I had to find back prompts I used in the past. Here is a command I&#8217;ve been using, which allows me to filter the results based on what I want. It leverages <a href="https://sqlutils.datasette.io">sql-utils</a>, a cli tool which is able to …</p>
</section>
<ul>
<li><a href="https://blog.notmyidea.org/deploying-and-customizing-datasette.html" rel="bookmark" title="Permalink to Deploying and customizing datasette">Deploying and customizing&nbsp;datasette</a></li>
<li><a href="https://blog.notmyidea.org/2023-semaine-45.html" rel="bookmark" title="Permalink to 2023, Semaine 45">2023, Semaine&nbsp;45</a></li>
<li><a href="https://blog.notmyidea.org/adding-real-time-collaboration-to-umap-first-week.html" rel="bookmark" title="Permalink to Adding Real-Time Collaboration to uMap, first week">Adding Real-Time Collaboration to uMap, first&nbsp;week</a></li>
<li><a href="https://blog.notmyidea.org/using-datasette-for-tracking-my-professional-activity.html" rel="bookmark" title="Permalink to Using Datasette for tracking my professional activity">Using Datasette for tracking my professional&nbsp;activity</a></li>
<li><a href="https://blog.notmyidea.org/2023-semaine-42.html" rel="bookmark" title="Permalink to 2023, Semaine 42">2023, Semaine&nbsp;42</a></li>

View file

@ -43,6 +43,14 @@ Alexis Métaireau </title>
</ul>
</section>
<h1></h1>
<section class="section index">
<time datetime="2023-12-25T00:00:00+01:00">25 décembre 2023</time>
<h1><a href="https://blog.notmyidea.org/format-an-usb-disk-from-the-command-line-on-macosx.html" id="page-title">Format an <span class="caps">USB</span> disk from the command-line on&nbsp;MacOSX</a></h1>
<div class="highlight"><pre><span></span><code>sudo<span class="w"> </span>diskutil<span class="w"> </span>unmountDisk<span class="w"> </span>/dev/disk5
sudo<span class="w"> </span>diskutil<span class="w"> </span>eraseDisk<span class="w"> </span><span class="s2">&quot;MS-DOS FAT32&quot;</span><span class="w"> </span>Brocolis<span class="w"> </span>/dev/disk
</code></pre></div>
</section>
<section class="section index">
<time datetime="2023-12-08T00:00:00+01:00">08 décembre 2023</time>
@ -109,13 +117,9 @@ Alexis Métaireau </title>
<span class="k">def</span> <span class="nf">string_to_duration</span><span class="p">(</span><span class="n">value</span><span class="p">:</span> <span class="nb">str</span><span class="p">,</span> <span class="n">target</span><span class="p">:</span> <span class="n">Literal</span><span class="p">[</span><span class="s2">&quot;days …</span></code></pre></div>
</section>
<section class="section index">
<time datetime="2023-09-27T00:00:00+02:00">27 septembre 2023</time>
<a class='tag' href="https://blog.notmyidea.org/tag/python.html">python</a>, <a class='tag' href="https://blog.notmyidea.org/tag/llm.html">llm</a>, <a class='tag' href="https://blog.notmyidea.org/tag/bash.html">bash</a>, <a class='tag' href="https://blog.notmyidea.org/tag/sqlite.html">sqlite</a> <h1><a href="https://blog.notmyidea.org/llm-command-line-tips.html" id="page-title">llm command-line&nbsp;tips</a></h1>
<p>I&#8217;m using <a href="https://llm.datasette.io">llm</a> more and more, and today I had to find back prompts I used in the past. Here is a command I&#8217;ve been using, which allows me to filter the results based on what I want. It leverages <a href="https://sqlutils.datasette.io">sql-utils</a>, a cli tool which is able to …</p>
</section>
<ul>
<li><a href="https://blog.notmyidea.org/deploying-and-customizing-datasette.html" rel="bookmark" title="Permalink to Deploying and customizing datasette">Deploying and customizing&nbsp;datasette</a></li>
<li><a href="https://blog.notmyidea.org/2023-semaine-45.html" rel="bookmark" title="Permalink to 2023, Semaine 45">2023, Semaine&nbsp;45</a></li>
<li><a href="https://blog.notmyidea.org/adding-real-time-collaboration-to-umap-first-week.html" rel="bookmark" title="Permalink to Adding Real-Time Collaboration to uMap, first week">Adding Real-Time Collaboration to uMap, first&nbsp;week</a></li>
<li><a href="https://blog.notmyidea.org/using-datasette-for-tracking-my-professional-activity.html" rel="bookmark" title="Permalink to Using Datasette for tracking my professional activity">Using Datasette for tracking my professional&nbsp;activity</a></li>
<li><a href="https://blog.notmyidea.org/2023-semaine-42.html" rel="bookmark" title="Permalink to 2023, Semaine 42">2023, Semaine&nbsp;42</a></li>

View file

@ -43,6 +43,14 @@ Alexis Métaireau </title>
</ul>
</section>
<h1></h1>
<section class="section index">
<time datetime="2023-12-25T00:00:00+01:00">25 décembre 2023</time>
<h1><a href="https://blog.notmyidea.org/format-an-usb-disk-from-the-command-line-on-macosx.html" id="page-title">Format an <span class="caps">USB</span> disk from the command-line on&nbsp;MacOSX</a></h1>
<div class="highlight"><pre><span></span><code>sudo<span class="w"> </span>diskutil<span class="w"> </span>unmountDisk<span class="w"> </span>/dev/disk5
sudo<span class="w"> </span>diskutil<span class="w"> </span>eraseDisk<span class="w"> </span><span class="s2">&quot;MS-DOS FAT32&quot;</span><span class="w"> </span>Brocolis<span class="w"> </span>/dev/disk
</code></pre></div>
</section>
<section class="section index">
<time datetime="2023-12-08T00:00:00+01:00">08 décembre 2023</time>
@ -109,13 +117,9 @@ Alexis Métaireau </title>
<span class="k">def</span> <span class="nf">string_to_duration</span><span class="p">(</span><span class="n">value</span><span class="p">:</span> <span class="nb">str</span><span class="p">,</span> <span class="n">target</span><span class="p">:</span> <span class="n">Literal</span><span class="p">[</span><span class="s2">&quot;days …</span></code></pre></div>
</section>
<section class="section index">
<time datetime="2023-09-27T00:00:00+02:00">27 septembre 2023</time>
<a class='tag' href="https://blog.notmyidea.org/tag/python.html">python</a>, <a class='tag' href="https://blog.notmyidea.org/tag/llm.html">llm</a>, <a class='tag' href="https://blog.notmyidea.org/tag/bash.html">bash</a>, <a class='tag' href="https://blog.notmyidea.org/tag/sqlite.html">sqlite</a> <h1><a href="https://blog.notmyidea.org/llm-command-line-tips.html" id="page-title">llm command-line&nbsp;tips</a></h1>
<p>I&#8217;m using <a href="https://llm.datasette.io">llm</a> more and more, and today I had to find back prompts I used in the past. Here is a command I&#8217;ve been using, which allows me to filter the results based on what I want. It leverages <a href="https://sqlutils.datasette.io">sql-utils</a>, a cli tool which is able to …</p>
</section>
<ul>
<li><a href="https://blog.notmyidea.org/deploying-and-customizing-datasette.html" rel="bookmark" title="Permalink to Deploying and customizing datasette">Deploying and customizing&nbsp;datasette</a></li>
<li><a href="https://blog.notmyidea.org/2023-semaine-45.html" rel="bookmark" title="Permalink to 2023, Semaine 45">2023, Semaine&nbsp;45</a></li>
<li><a href="https://blog.notmyidea.org/adding-real-time-collaboration-to-umap-first-week.html" rel="bookmark" title="Permalink to Adding Real-Time Collaboration to uMap, first week">Adding Real-Time Collaboration to uMap, first&nbsp;week</a></li>
<li><a href="https://blog.notmyidea.org/using-datasette-for-tracking-my-professional-activity.html" rel="bookmark" title="Permalink to Using Datasette for tracking my professional activity">Using Datasette for tracking my professional&nbsp;activity</a></li>
<li><a href="https://blog.notmyidea.org/2023-semaine-42.html" rel="bookmark" title="Permalink to 2023, Semaine 42">2023, Semaine&nbsp;42</a></li>

View file

@ -43,6 +43,14 @@ Alexis Métaireau </title>
</ul>
</section>
<h1></h1>
<section class="section index">
<time datetime="2023-12-25T00:00:00+01:00">25 décembre 2023</time>
<h1><a href="https://blog.notmyidea.org/format-an-usb-disk-from-the-command-line-on-macosx.html" id="page-title">Format an <span class="caps">USB</span> disk from the command-line on&nbsp;MacOSX</a></h1>
<div class="highlight"><pre><span></span><code>sudo<span class="w"> </span>diskutil<span class="w"> </span>unmountDisk<span class="w"> </span>/dev/disk5
sudo<span class="w"> </span>diskutil<span class="w"> </span>eraseDisk<span class="w"> </span><span class="s2">&quot;MS-DOS FAT32&quot;</span><span class="w"> </span>Brocolis<span class="w"> </span>/dev/disk
</code></pre></div>
</section>
<section class="section index">
<time datetime="2023-12-08T00:00:00+01:00">08 décembre 2023</time>
@ -109,13 +117,9 @@ Alexis Métaireau </title>
<span class="k">def</span> <span class="nf">string_to_duration</span><span class="p">(</span><span class="n">value</span><span class="p">:</span> <span class="nb">str</span><span class="p">,</span> <span class="n">target</span><span class="p">:</span> <span class="n">Literal</span><span class="p">[</span><span class="s2">&quot;days …</span></code></pre></div>
</section>
<section class="section index">
<time datetime="2023-09-27T00:00:00+02:00">27 septembre 2023</time>
<a class='tag' href="https://blog.notmyidea.org/tag/python.html">python</a>, <a class='tag' href="https://blog.notmyidea.org/tag/llm.html">llm</a>, <a class='tag' href="https://blog.notmyidea.org/tag/bash.html">bash</a>, <a class='tag' href="https://blog.notmyidea.org/tag/sqlite.html">sqlite</a> <h1><a href="https://blog.notmyidea.org/llm-command-line-tips.html" id="page-title">llm command-line&nbsp;tips</a></h1>
<p>I&#8217;m using <a href="https://llm.datasette.io">llm</a> more and more, and today I had to find back prompts I used in the past. Here is a command I&#8217;ve been using, which allows me to filter the results based on what I want. It leverages <a href="https://sqlutils.datasette.io">sql-utils</a>, a cli tool which is able to …</p>
</section>
<ul>
<li><a href="https://blog.notmyidea.org/deploying-and-customizing-datasette.html" rel="bookmark" title="Permalink to Deploying and customizing datasette">Deploying and customizing&nbsp;datasette</a></li>
<li><a href="https://blog.notmyidea.org/2023-semaine-45.html" rel="bookmark" title="Permalink to 2023, Semaine 45">2023, Semaine&nbsp;45</a></li>
<li><a href="https://blog.notmyidea.org/adding-real-time-collaboration-to-umap-first-week.html" rel="bookmark" title="Permalink to Adding Real-Time Collaboration to uMap, first week">Adding Real-Time Collaboration to uMap, first&nbsp;week</a></li>
<li><a href="https://blog.notmyidea.org/using-datasette-for-tracking-my-professional-activity.html" rel="bookmark" title="Permalink to Using Datasette for tracking my professional activity">Using Datasette for tracking my professional&nbsp;activity</a></li>
<li><a href="https://blog.notmyidea.org/2023-semaine-42.html" rel="bookmark" title="Permalink to 2023, Semaine 42">2023, Semaine&nbsp;42</a></li>

View file

@ -43,6 +43,14 @@ Alexis Métaireau </title>
</ul>
</section>
<h1></h1>
<section class="section index">
<time datetime="2023-12-25T00:00:00+01:00">25 décembre 2023</time>
<h1><a href="https://blog.notmyidea.org/format-an-usb-disk-from-the-command-line-on-macosx.html" id="page-title">Format an <span class="caps">USB</span> disk from the command-line on&nbsp;MacOSX</a></h1>
<div class="highlight"><pre><span></span><code>sudo<span class="w"> </span>diskutil<span class="w"> </span>unmountDisk<span class="w"> </span>/dev/disk5
sudo<span class="w"> </span>diskutil<span class="w"> </span>eraseDisk<span class="w"> </span><span class="s2">&quot;MS-DOS FAT32&quot;</span><span class="w"> </span>Brocolis<span class="w"> </span>/dev/disk
</code></pre></div>
</section>
<section class="section index">
<time datetime="2023-12-08T00:00:00+01:00">08 décembre 2023</time>
@ -109,13 +117,9 @@ Alexis Métaireau </title>
<span class="k">def</span> <span class="nf">string_to_duration</span><span class="p">(</span><span class="n">value</span><span class="p">:</span> <span class="nb">str</span><span class="p">,</span> <span class="n">target</span><span class="p">:</span> <span class="n">Literal</span><span class="p">[</span><span class="s2">&quot;days …</span></code></pre></div>
</section>
<section class="section index">
<time datetime="2023-09-27T00:00:00+02:00">27 septembre 2023</time>
<a class='tag' href="https://blog.notmyidea.org/tag/python.html">python</a>, <a class='tag' href="https://blog.notmyidea.org/tag/llm.html">llm</a>, <a class='tag' href="https://blog.notmyidea.org/tag/bash.html">bash</a>, <a class='tag' href="https://blog.notmyidea.org/tag/sqlite.html">sqlite</a> <h1><a href="https://blog.notmyidea.org/llm-command-line-tips.html" id="page-title">llm command-line&nbsp;tips</a></h1>
<p>I&#8217;m using <a href="https://llm.datasette.io">llm</a> more and more, and today I had to find back prompts I used in the past. Here is a command I&#8217;ve been using, which allows me to filter the results based on what I want. It leverages <a href="https://sqlutils.datasette.io">sql-utils</a>, a cli tool which is able to …</p>
</section>
<ul>
<li><a href="https://blog.notmyidea.org/deploying-and-customizing-datasette.html" rel="bookmark" title="Permalink to Deploying and customizing datasette">Deploying and customizing&nbsp;datasette</a></li>
<li><a href="https://blog.notmyidea.org/2023-semaine-45.html" rel="bookmark" title="Permalink to 2023, Semaine 45">2023, Semaine&nbsp;45</a></li>
<li><a href="https://blog.notmyidea.org/adding-real-time-collaboration-to-umap-first-week.html" rel="bookmark" title="Permalink to Adding Real-Time Collaboration to uMap, first week">Adding Real-Time Collaboration to uMap, first&nbsp;week</a></li>
<li><a href="https://blog.notmyidea.org/using-datasette-for-tracking-my-professional-activity.html" rel="bookmark" title="Permalink to Using Datasette for tracking my professional activity">Using Datasette for tracking my professional&nbsp;activity</a></li>
<li><a href="https://blog.notmyidea.org/2023-semaine-42.html" rel="bookmark" title="Permalink to 2023, Semaine 42">2023, Semaine&nbsp;42</a></li>

View file

@ -43,6 +43,14 @@ Alexis Métaireau </title>
</ul>
</section>
<h1></h1>
<section class="section index">
<time datetime="2023-12-25T00:00:00+01:00">25 décembre 2023</time>
<h1><a href="https://blog.notmyidea.org/format-an-usb-disk-from-the-command-line-on-macosx.html" id="page-title">Format an <span class="caps">USB</span> disk from the command-line on&nbsp;MacOSX</a></h1>
<div class="highlight"><pre><span></span><code>sudo<span class="w"> </span>diskutil<span class="w"> </span>unmountDisk<span class="w"> </span>/dev/disk5
sudo<span class="w"> </span>diskutil<span class="w"> </span>eraseDisk<span class="w"> </span><span class="s2">&quot;MS-DOS FAT32&quot;</span><span class="w"> </span>Brocolis<span class="w"> </span>/dev/disk
</code></pre></div>
</section>
<section class="section index">
<time datetime="2023-12-08T00:00:00+01:00">08 décembre 2023</time>
@ -109,13 +117,9 @@ Alexis Métaireau </title>
<span class="k">def</span> <span class="nf">string_to_duration</span><span class="p">(</span><span class="n">value</span><span class="p">:</span> <span class="nb">str</span><span class="p">,</span> <span class="n">target</span><span class="p">:</span> <span class="n">Literal</span><span class="p">[</span><span class="s2">&quot;days …</span></code></pre></div>
</section>
<section class="section index">
<time datetime="2023-09-27T00:00:00+02:00">27 septembre 2023</time>
<a class='tag' href="https://blog.notmyidea.org/tag/python.html">python</a>, <a class='tag' href="https://blog.notmyidea.org/tag/llm.html">llm</a>, <a class='tag' href="https://blog.notmyidea.org/tag/bash.html">bash</a>, <a class='tag' href="https://blog.notmyidea.org/tag/sqlite.html">sqlite</a> <h1><a href="https://blog.notmyidea.org/llm-command-line-tips.html" id="page-title">llm command-line&nbsp;tips</a></h1>
<p>I&#8217;m using <a href="https://llm.datasette.io">llm</a> more and more, and today I had to find back prompts I used in the past. Here is a command I&#8217;ve been using, which allows me to filter the results based on what I want. It leverages <a href="https://sqlutils.datasette.io">sql-utils</a>, a cli tool which is able to …</p>
</section>
<ul>
<li><a href="https://blog.notmyidea.org/deploying-and-customizing-datasette.html" rel="bookmark" title="Permalink to Deploying and customizing datasette">Deploying and customizing&nbsp;datasette</a></li>
<li><a href="https://blog.notmyidea.org/2023-semaine-45.html" rel="bookmark" title="Permalink to 2023, Semaine 45">2023, Semaine&nbsp;45</a></li>
<li><a href="https://blog.notmyidea.org/adding-real-time-collaboration-to-umap-first-week.html" rel="bookmark" title="Permalink to Adding Real-Time Collaboration to uMap, first week">Adding Real-Time Collaboration to uMap, first&nbsp;week</a></li>
<li><a href="https://blog.notmyidea.org/using-datasette-for-tracking-my-professional-activity.html" rel="bookmark" title="Permalink to Using Datasette for tracking my professional activity">Using Datasette for tracking my professional&nbsp;activity</a></li>
<li><a href="https://blog.notmyidea.org/2023-semaine-42.html" rel="bookmark" title="Permalink to 2023, Semaine 42">2023, Semaine&nbsp;42</a></li>

304
articles62.html Normal file
View file

@ -0,0 +1,304 @@
<!DOCTYPE html>
<html lang="fr">
<head>
<title>
Alexis Métaireau </title>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet"
href="https://blog.notmyidea.org/theme/css/main.css?v2"
type="text/css" />
<link href="https://blog.notmyidea.org/feeds/all.atom.xml"
type="application/atom+xml"
rel="alternate"
title="Alexis Métaireau ATOM Feed" />
</head>
<body>
<div id="content">
<section id="links">
<ul>
<li>
<a class="main" href="/">Alexis Métaireau</a>
</li>
<li>
<a class=""
href="https://blog.notmyidea.org/journal/index.html">Journal</a>
</li>
<li>
<a class=""
href="https://blog.notmyidea.org/code/">Code, etc.</a>
</li>
<li>
<a class=""
href="https://blog.notmyidea.org/weeknotes/">Notes hebdo</a>
</li>
<li>
<a class=""
href="https://blog.notmyidea.org/lectures/">Lectures</a>
</li>
<li>
<a class=""
href="https://blog.notmyidea.org/projets.html">Projets</a>
</li>
</ul>
</section>
<h1></h1>
<section class="section index">
<time datetime="2023-12-25T00:00:00+01:00">25 décembre 2023</time>
<h1><a href="https://blog.notmyidea.org/format-an-usb-disk-from-the-command-line-on-macosx.html" id="page-title">Format an <span class="caps">USB</span> disk from the command-line on&nbsp;MacOSX</a></h1>
<div class="highlight"><pre><span></span><code>sudo<span class="w"> </span>diskutil<span class="w"> </span>unmountDisk<span class="w"> </span>/dev/disk5
sudo<span class="w"> </span>diskutil<span class="w"> </span>eraseDisk<span class="w"> </span><span class="s2">&quot;MS-DOS FAT32&quot;</span><span class="w"> </span>Brocolis<span class="w"> </span>/dev/disk
</code></pre></div>
</section>
<section class="section index">
<time datetime="2023-12-08T00:00:00+01:00">08 décembre 2023</time>
<a class='tag' href="https://blog.notmyidea.org/tag/linux.html">Linux</a>, <a class='tag' href="https://blog.notmyidea.org/tag/asahi.html">Asahi</a> <h1><a href="https://blog.notmyidea.org/rescuing-a-broken-asahi-linux-workstation.html" id="page-title">Rescuing a broken asahi linux&nbsp;workstation</a></h1>
How I used Alpine linux as a rescue system
</section>
<section class="section index">
<time datetime="2023-11-23T00:00:00+01:00">23 novembre 2023</time>
<a class='tag' href="https://blog.notmyidea.org/tag/pelican.html">Pelican</a>, <a class='tag' href="https://blog.notmyidea.org/tag/work.html">Work</a>, <a class='tag' href="https://blog.notmyidea.org/tag/vega.html">Vega</a>, <a class='tag' href="https://blog.notmyidea.org/tag/markdown.html">Markdown</a> <h1><a href="https://blog.notmyidea.org/using-pelican-to-track-my-worked-and-volunteer-hours.html" id="page-title">Using pelican to track my worked and volunteer&nbsp;hours</a></h1>
Graphs, progress-bars and python-markdown extensions
</section>
<section class="section index">
<time datetime="2023-11-21T00:00:00+01:00">21 novembre 2023</time>
<a class='tag' href="https://blog.notmyidea.org/tag/python.html">Python</a>, <a class='tag' href="https://blog.notmyidea.org/tag/crdt.html">CRDT</a>, <a class='tag' href="https://blog.notmyidea.org/tag/sync.html">Sync</a>, <a class='tag' href="https://blog.notmyidea.org/tag/umap.html">uMap</a> <h1><a href="https://blog.notmyidea.org/adding-real-time-collaboration-to-umap-second-week.html" id="page-title">Adding Real-Time Collaboration to uMap, second&nbsp;week</a></h1>
A heads-up on what I've been doing this week on uMap
</section>
<section class="section index">
<time datetime="2023-11-20T00:00:00+01:00">20 novembre 2023</time>
<a class='tag' href="https://blog.notmyidea.org/tag/postgresql.html">postgresql</a>, <a class='tag' href="https://blog.notmyidea.org/tag/sysadmin.html">sysadmin</a> <h1><a href="https://blog.notmyidea.org/importing-a-postgresql-dump-under-a-different-database-name.html" id="page-title">Importing a PostgreSQL dump under a different database&nbsp;name</a></h1>
Simple commands to help you during an import
</section>
<section class="section index">
<time datetime="2023-11-12T00:00:00+01:00">12 novembre 2023</time>
<a class='tag' href="https://blog.notmyidea.org/tag/datasette.html">Datasette</a>, <a class='tag' href="https://blog.notmyidea.org/tag/deployment.html">Deployment</a> <h1><a href="https://blog.notmyidea.org/deploying-and-customizing-datasette.html" id="page-title">Deploying and customizing&nbsp;datasette</a></h1>
Step by step follow-up on how I've deployed it and added custom templates on top.
</section>
<section class="section index">
<time datetime="2023-11-11T00:00:00+01:00">11 novembre 2023</time>
<a class='tag' href="https://blog.notmyidea.org/tag/python.html">Python</a>, <a class='tag' href="https://blog.notmyidea.org/tag/crdt.html">CRDT</a>, <a class='tag' href="https://blog.notmyidea.org/tag/sync.html">Sync</a>, <a class='tag' href="https://blog.notmyidea.org/tag/umap.html">uMap</a> <h1><a href="https://blog.notmyidea.org/adding-real-time-collaboration-to-umap-first-week.html" id="page-title">Adding Real-Time Collaboration to uMap, first&nbsp;week</a></h1>
A heads-up on what I've been doing this week on uMap
</section>
<section class="section index">
<time datetime="2023-11-11T00:00:00+01:00">11 novembre 2023</time>
<a class='tag' href="https://blog.notmyidea.org/tag/datasette.html">Datasette</a>, <a class='tag' href="https://blog.notmyidea.org/tag/graphs.html">Graphs</a>, <a class='tag' href="https://blog.notmyidea.org/tag/sql.html">SQL</a> <h1><a href="https://blog.notmyidea.org/using-datasette-for-tracking-my-professional-activity.html" id="page-title">Using Datasette for tracking my professional&nbsp;activity</a></h1>
<p>I&#8217;ve been following Simon Willison since quite some time, but I&#8217;ve actually never played with his main project <a href="https://datasette.io">Datasette</a>&nbsp;before.</p>
<p>As I&#8217;m going back into development, I&#8217;m trying to track where my time goes, to be able to find patterns, and just remember how much time …</p>
</section>
<section class="section index">
<time datetime="2023-10-18T00:00:00+02:00">18 octobre 2023</time>
<a class='tag' href="https://blog.notmyidea.org/tag/sql.html">SQL</a>, <a class='tag' href="https://blog.notmyidea.org/tag/sqlalchemy.html">SQLAlchemy</a>, <a class='tag' href="https://blog.notmyidea.org/tag/python.html">Python</a> <h1><a href="https://blog.notmyidea.org/using-distinct-in-parent-child-relationships.html" id="page-title">Using <span class="caps">DISTINCT</span> in Parent-Child&nbsp;Relationships</a></h1>
How to get parent and most-recent child in a one-to-many relationship
</section>
<section class="section index">
<time datetime="2023-10-11T00:00:00+02:00">11 octobre 2023</time>
<a class='tag' href="https://blog.notmyidea.org/tag/python.html">python</a>, <a class='tag' href="https://blog.notmyidea.org/tag/conversion.html">conversion</a> <h1><a href="https://blog.notmyidea.org/convert-string-to-duration.html" id="page-title">Convert string to&nbsp;duration</a></h1>
<p>I found myself wanting to convert a string to a duration (int), for some&nbsp;configuration.</p>
<p>Something you can call like&nbsp;this:</p>
<div class="highlight"><pre><span></span><code><span class="n">string_to_duration</span><span class="p">(</span><span class="s2">&quot;1d&quot;</span><span class="p">,</span> <span class="n">target</span><span class="o">=</span><span class="s2">&quot;days&quot;</span><span class="p">)</span>
<span class="n">string_to_duration</span><span class="p">(</span><span class="s2">&quot;1d&quot;</span><span class="p">,</span> <span class="n">target</span><span class="o">=</span><span class="s2">&quot;hours&quot;</span><span class="p">)</span>
<span class="n">string_to_duration</span><span class="p">(</span><span class="s2">&quot;3m&quot;</span><span class="p">,</span> <span class="n">target</span><span class="o">=</span><span class="s2">&quot;hours&quot;</span><span class="p">)</span>
<span class="n">string_to_duration</span><span class="p">(</span><span class="s2">&quot;3m&quot;</span><span class="p">,</span> <span class="n">target</span><span class="o">=</span><span class="s2">&quot;minutes&quot;</span><span class="p">)</span>
</code></pre></div>
<p>The code&nbsp;:</p>
<div class="highlight"><pre><span></span><code><span class="kn">from</span> <span class="nn">typing</span> <span class="kn">import</span> <span class="n">Literal</span>
<span class="k">def</span> <span class="nf">string_to_duration</span><span class="p">(</span><span class="n">value</span><span class="p">:</span> <span class="nb">str</span><span class="p">,</span> <span class="n">target</span><span class="p">:</span> <span class="n">Literal</span><span class="p">[</span><span class="s2">&quot;days …</span></code></pre></div>
</section>
<ul>
<li><a href="https://blog.notmyidea.org/deploying-and-customizing-datasette.html" rel="bookmark" title="Permalink to Deploying and customizing datasette">Deploying and customizing&nbsp;datasette</a></li>
<li><a href="https://blog.notmyidea.org/2023-semaine-45.html" rel="bookmark" title="Permalink to 2023, Semaine 45">2023, Semaine&nbsp;45</a></li>
<li><a href="https://blog.notmyidea.org/adding-real-time-collaboration-to-umap-first-week.html" rel="bookmark" title="Permalink to Adding Real-Time Collaboration to uMap, first week">Adding Real-Time Collaboration to uMap, first&nbsp;week</a></li>
<li><a href="https://blog.notmyidea.org/using-datasette-for-tracking-my-professional-activity.html" rel="bookmark" title="Permalink to Using Datasette for tracking my professional activity">Using Datasette for tracking my professional&nbsp;activity</a></li>
<li><a href="https://blog.notmyidea.org/2023-semaine-42.html" rel="bookmark" title="Permalink to 2023, Semaine 42">2023, Semaine&nbsp;42</a></li>
<li><a href="https://blog.notmyidea.org/using-distinct-in-parent-child-relationships.html" rel="bookmark" title="Permalink to Using DISTINCT in Parent-Child Relationships">Using <span class="caps">DISTINCT</span> in Parent-Child&nbsp;Relationships</a></li>
<li><a href="https://blog.notmyidea.org/2023-semaine-41.html" rel="bookmark" title="Permalink to 2023, Semaine 41">2023, Semaine&nbsp;41</a></li>
<li><a href="https://blog.notmyidea.org/convert-string-to-duration.html" rel="bookmark" title="Permalink to Convert string to duration">Convert string to&nbsp;duration</a></li>
<li><a href="https://blog.notmyidea.org/2023-semaine-40.html" rel="bookmark" title="Permalink to 2023, Semaine 40">2023, Semaine&nbsp;40</a></li>
<li><a href="https://blog.notmyidea.org/2023-semaine-39.html" rel="bookmark" title="Permalink to 2023, Semaine 39">2023, Semaine&nbsp;39</a></li>
<li><a href="https://blog.notmyidea.org/llm-command-line-tips.html" rel="bookmark" title="Permalink to llm command-line tips">llm command-line&nbsp;tips</a></li>
<li><a href="https://blog.notmyidea.org/setting-up-a-irc-bouncer-with-znc.html" rel="bookmark" title="Permalink to Setting up a IRC Bouncer with ZNC">Setting up a <span class="caps">IRC</span> Bouncer with <span class="caps">ZNC</span></a></li>
<li><a href="https://blog.notmyidea.org/2023-semaine-38.html" rel="bookmark" title="Permalink to 2023, Semaine 38">2023, Semaine&nbsp;38</a></li>
<li><a href="https://blog.notmyidea.org/how-to-run-the-vigogne-model-locally.html" rel="bookmark" title="Permalink to How to run the vigogne model locally">How to run the vigogne model&nbsp;locally</a></li>
<li><a href="https://blog.notmyidea.org/creating-a-simple-command-line-to-post-snippets-on-gitlab.html" rel="bookmark" title="Permalink to Creating a simple command line to post snippets on Gitlab">Creating a simple command line to post snippets on&nbsp;Gitlab</a></li>
<li><a href="https://blog.notmyidea.org/creating-an-online-space-to-share-markdown-files.html" rel="bookmark" title="Permalink to Creating an online space to share markdown files">Creating an online space to share markdown&nbsp;files</a></li>
<li><a href="https://blog.notmyidea.org/eloge-de-lamitie.html" rel="bookmark" title="Permalink to Éloge de lamitié">Éloge de&nbsp;l&#8217;amitié</a></li>
<li><a href="https://blog.notmyidea.org/conversion-dun-fichier-svg-en-faviconico.html" rel="bookmark" title="Permalink to Conversion dun fichier svg en favicon.ico">Conversion d&#8217;un fichier svg en&nbsp;favicon.ico</a></li>
<li><a href="https://blog.notmyidea.org/decouverte-de-nouveaux-outils-pour-le-developpement-llm-helix-et-plus.html" rel="bookmark" title="Permalink to Découverte de nouveaux outils pour le développement: LLM, Helix et plus">Découverte de nouveaux outils pour le développement: <span class="caps">LLM</span>, Helix et&nbsp;plus</a></li>
<li><a href="https://blog.notmyidea.org/running-the-gitlab-ci-locally.html" rel="bookmark" title="Permalink to Running the Gitlab CI locally">Running the Gitlab <span class="caps">CI</span>&nbsp;locally</a></li>
<li><a href="https://blog.notmyidea.org/archlinux-et-mise-a-jour-du-keyring.html" rel="bookmark" title="Permalink to ArchLinux et mise à jour du keyring">ArchLinux et mise à jour du&nbsp;keyring</a></li>
<li><a href="https://blog.notmyidea.org/python-packaging-with-hatch-pipx-and-zsh-environment-variables.html" rel="bookmark" title="Permalink to Python packaging with Hatch, pipx and Zsh environment variables">Python packaging with Hatch, pipx and Zsh environment&nbsp;variables</a></li>
<li><a href="https://blog.notmyidea.org/profiling-and-speeding-up-django-and-pytest.html" rel="bookmark" title="Permalink to Profiling and speeding up Django and Pytest">Profiling and speeding up Django and&nbsp;Pytest</a></li>
<li><a href="https://blog.notmyidea.org/les-ignorances-affectives.html" rel="bookmark" title="Permalink to Les ignorances affectives">Les ignorances&nbsp;affectives</a></li>
<li><a href="https://blog.notmyidea.org/micropolitiques-des-groupes.html" rel="bookmark" title="Permalink to Micropolitiques des groupes">Micropolitiques des&nbsp;groupes</a></li>
<li><a href="https://blog.notmyidea.org/mediter.html" rel="bookmark" title="Permalink to Méditer">Méditer</a></li>
<li><a href="https://blog.notmyidea.org/crucial-conversations.html" rel="bookmark" title="Permalink to Crucial Conversations">Crucial&nbsp;Conversations</a></li>
<li><a href="https://blog.notmyidea.org/separation-travail-et-loisirs.html" rel="bookmark" title="Permalink to Séparation travail et loisirs">Séparation travail et&nbsp;loisirs</a></li>
<li><a href="https://blog.notmyidea.org/tolerance-empathie-et-limites.html" rel="bookmark" title="Permalink to Tolérance, empathie et limites">Tolérance, empathie et&nbsp;limites</a></li>
<li><a href="https://blog.notmyidea.org/installation-de-mosquitto-influxdb-telegraf-et-grafana.html" rel="bookmark" title="Permalink to Installation de Mosquitto, InfluxDB, Telegraf et Grafana">Installation de Mosquitto, InfluxDB, Telegraf et&nbsp;Grafana</a></li>
<li><a href="https://blog.notmyidea.org/2022-lannee-des-concerts.html" rel="bookmark" title="Permalink to 2022, lannée des concerts">2022, l&#8217;année des&nbsp;concerts</a></li>
<li><a href="https://blog.notmyidea.org/reveil-difficile.html" rel="bookmark" title="Permalink to Réveil difficile">Réveil&nbsp;difficile</a></li>
<li><a href="https://blog.notmyidea.org/lere-de-la-critique.html" rel="bookmark" title="Permalink to LÈre de la critique">L&#8217;Ère de la&nbsp;critique</a></li>
<li><a href="https://blog.notmyidea.org/fatigue-relationnelle.html" rel="bookmark" title="Permalink to Fatigue relationnelle">Fatigue&nbsp;relationnelle</a></li>
<li><a href="https://blog.notmyidea.org/conflit.html" rel="bookmark" title="Permalink to Conflit">Conflit</a></li>
<li><a href="https://blog.notmyidea.org/cooperation-et-travail.html" rel="bookmark" title="Permalink to Coopération et travail">Coopération et&nbsp;travail</a></li>
<li><a href="https://blog.notmyidea.org/rentree.html" rel="bookmark" title="Permalink to Rentrée">Rentrée</a></li>
<li><a href="https://blog.notmyidea.org/faire-de-la-musique-sous-linux.html" rel="bookmark" title="Permalink to Faire de la musique sous Linux">Faire de la musique sous&nbsp;Linux</a></li>
<li><a href="https://blog.notmyidea.org/vaccination-et-risques.html" rel="bookmark" title="Permalink to Vaccination et risques">Vaccination et&nbsp;risques</a></li>
<li><a href="https://blog.notmyidea.org/facebook-competition-ethique-et-marketing.html" rel="bookmark" title="Permalink to Facebook, compétition, éthique et marketing.">Facebook, compétition, éthique et&nbsp;marketing.</a></li>
<li><a href="https://blog.notmyidea.org/routine.html" rel="bookmark" title="Permalink to Routine">Routine</a></li>
<li><a href="https://blog.notmyidea.org/reconnexion.html" rel="bookmark" title="Permalink to Reconnexion ?">Reconnexion&nbsp;?</a></li>
<li><a href="https://blog.notmyidea.org/un-feminisme-decolonial.html" rel="bookmark" title="Permalink to Un féminisme décolonial">Un féminisme&nbsp;décolonial</a></li>
<li><a href="https://blog.notmyidea.org/forum-ouvert-animation-et-posture.html" rel="bookmark" title="Permalink to Forum ouvert, animation et posture">Forum ouvert, animation et&nbsp;posture</a></li>
<li><a href="https://blog.notmyidea.org/artfevre-2020-defi-artistique-en-fevrier.html" rel="bookmark" title="Permalink to Artfevre 2020 - Défi artistique en février">Artfevre 2020 - Défi artistique en&nbsp;février</a></li>
<li><a href="https://blog.notmyidea.org/le-piege-du-developpement-personnel.html" rel="bookmark" title="Permalink to Le piège du développement personnel">Le piège du développement&nbsp;personnel</a></li>
<li><a href="https://blog.notmyidea.org/packager-du-python-pour-debian.html" rel="bookmark" title="Permalink to Packager du python pour Debian">Packager du python pour&nbsp;Debian</a></li>
<li><a href="https://blog.notmyidea.org/prendre-le-temps.html" rel="bookmark" title="Permalink to Prendre le temps">Prendre le&nbsp;temps</a></li>
<li><a href="https://blog.notmyidea.org/limites-horaires.html" rel="bookmark" title="Permalink to Limites horaires">Limites&nbsp;horaires</a></li>
<li><a href="https://blog.notmyidea.org/prendre-soin.html" rel="bookmark" title="Permalink to Prendre soin">Prendre&nbsp;soin</a></li>
<li><a href="https://blog.notmyidea.org/remettre-les-choses-a-plus-tard.html" rel="bookmark" title="Permalink to Remettre les choses à plus tard">Remettre les choses à plus&nbsp;tard</a></li>
<li><a href="https://blog.notmyidea.org/au-dela-de-la-penetration.html" rel="bookmark" title="Permalink to Au delà de la pénétration">Au delà de la&nbsp;pénétration</a></li>
<li><a href="https://blog.notmyidea.org/la-conjuration-des-egos.html" rel="bookmark" title="Permalink to La conjuration des égos">La conjuration des&nbsp;égos</a></li>
<li><a href="https://blog.notmyidea.org/break-technologique.html" rel="bookmark" title="Permalink to Break technologique">Break&nbsp;technologique</a></li>
<li><a href="https://blog.notmyidea.org/assurance-chomage.html" rel="bookmark" title="Permalink to Assurance chômage">Assurance&nbsp;chômage</a></li>
<li><a href="https://blog.notmyidea.org/prix-libre-et-conscient.html" rel="bookmark" title="Permalink to Prix libre et conscient & culpabilisation">Prix libre et conscient <span class="amp">&amp;</span>&nbsp;culpabilisation</a></li>
<li><a href="https://blog.notmyidea.org/ecran-et-dependances.html" rel="bookmark" title="Permalink to Écran et dépendances">Écran et&nbsp;dépendances</a></li>
<li><a href="https://blog.notmyidea.org/groupe-de-paroles-hommes.html" rel="bookmark" title="Permalink to Groupe de paroles hommes">Groupe de paroles&nbsp;hommes</a></li>
<li><a href="https://blog.notmyidea.org/ignorance-et-vertu.html" rel="bookmark" title="Permalink to Ignorance et vertu">Ignorance et&nbsp;vertu</a></li>
<li><a href="https://blog.notmyidea.org/fatigue-et-competition.html" rel="bookmark" title="Permalink to Fatigue et compétition">Fatigue et&nbsp;compétition</a></li>
<li><a href="https://blog.notmyidea.org/francis-dupuis-deri-democratie.html" rel="bookmark" title="Permalink to Francis Dupuis Déri, Démocratie.">Francis Dupuis Déri,&nbsp;Démocratie.</a></li>
<li><a href="https://blog.notmyidea.org/musique-creation-et-partage.html" rel="bookmark" title="Permalink to Musique, création et partage">Musique, création et&nbsp;partage</a></li>
<li><a href="https://blog.notmyidea.org/elitisme-et-apprentissage.html" rel="bookmark" title="Permalink to Élitisme et apprentissage">Élitisme et&nbsp;apprentissage</a></li>
<li><a href="https://blog.notmyidea.org/travail-passion-et-limites.html" rel="bookmark" title="Permalink to Travail, passion et limites.">Travail, passion et&nbsp;limites.</a></li>
<li><a href="https://blog.notmyidea.org/leffondrement-parlons-en.html" rel="bookmark" title="Permalink to Leffondrement, parlons-en…">L&#8217;effondrement,&nbsp;parlons-en&#8230;</a></li>
<li><a href="https://blog.notmyidea.org/refuser-detre-un-homme.html" rel="bookmark" title="Permalink to Refuser dêtre un homme">Refuser d&#8217;être un&nbsp;homme</a></li>
<li><a href="https://blog.notmyidea.org/antisexisme-ou-antiracisme-un-faux-dilemme.html" rel="bookmark" title="Permalink to Antisexisme ou antiracisme ? Un faux dilemme">Antisexisme ou antiracisme ? Un faux&nbsp;dilemme</a></li>
<li><a href="https://blog.notmyidea.org/egologie.html" rel="bookmark" title="Permalink to Égologie">Égologie</a></li>
<li><a href="https://blog.notmyidea.org/hommes-anarchistes-face-au-feminisme.html" rel="bookmark" title="Permalink to Hommes Anarchistes face au féminisme">Hommes Anarchistes face au&nbsp;féminisme</a></li>
<li><a href="https://blog.notmyidea.org/open-space-technology.html" rel="bookmark" title="Permalink to Open space technology">Open space&nbsp;technology</a></li>
<li><a href="https://blog.notmyidea.org/rupture-anarchiste-et-trahison-pro-feministe.html" rel="bookmark" title="Permalink to Rupture anarchiste et trahison pro-féministe">Rupture anarchiste et trahison&nbsp;pro-féministe</a></li>
<li><a href="https://blog.notmyidea.org/ours.html" rel="bookmark" title="Permalink to Ours">Ours</a></li>
<li><a href="https://blog.notmyidea.org/velo.html" rel="bookmark" title="Permalink to Vélo">Vélo</a></li>
<li><a href="https://blog.notmyidea.org/un-espace-des-communs-rennais.html" rel="bookmark" title="Permalink to Un espace des communs Rennais ?">Un espace des communs Rennais&nbsp;?</a></li>
<li><a href="https://blog.notmyidea.org/comment-la-non-violence-protege-letat.html" rel="bookmark" title="Permalink to Comment la non-violence protège létat">Comment la non-violence protège&nbsp;l&#8217;état</a></li>
<li><a href="https://blog.notmyidea.org/un-an.html" rel="bookmark" title="Permalink to Brasserie - petit bilan, après un an dexistence">Brasserie - petit bilan, après un an&nbsp;dexistence</a></li>
<li><a href="https://blog.notmyidea.org/de-mozilla-a-la-brasserie-du-vieux-singe.html" rel="bookmark" title="Permalink to De Mozilla à la Brasserie du Vieux Singe">De Mozilla à la Brasserie du Vieux&nbsp;Singe</a></li>
<li><a href="https://blog.notmyidea.org/groupement-dachats-partage-dexperience.html" rel="bookmark" title="Permalink to Groupement dachats & partage dexpérience">Groupement d&#8217;achats <span class="amp">&amp;</span> partage&nbsp;d&#8217;expérience</a></li>
<li><a href="https://blog.notmyidea.org/webnotes.html" rel="bookmark" title="Permalink to Webnotes">Webnotes</a></li>
<li><a href="https://blog.notmyidea.org/faire-moins.html" rel="bookmark" title="Permalink to Faire moins">Faire&nbsp;moins</a></li>
<li><a href="https://blog.notmyidea.org/neipa-3.html" rel="bookmark" title="Permalink to NEIPA #3"><span class="caps">NEIPA</span>&nbsp;#3</a></li>
<li><a href="https://blog.notmyidea.org/neipa-2.html" rel="bookmark" title="Permalink to NEIPA #2"><span class="caps">NEIPA</span>&nbsp;#2</a></li>
<li><a href="https://blog.notmyidea.org/larrivee-du-trouble-ou-comment-faire-des-neipa.html" rel="bookmark" title="Permalink to Larrivée du trouble (ou comment faire des NEIPA ?)">L&#8217;arrivée du trouble (ou comment faire des <span class="caps">NEIPA</span>&nbsp;?)</a></li>
<li><a href="https://blog.notmyidea.org/un-club-des-brasseurs-amateurs-rennais.html" rel="bookmark" title="Permalink to Un club des brasseurs amateurs Rennais">Un club des brasseurs amateurs&nbsp;Rennais</a></li>
<li><a href="https://blog.notmyidea.org/brasserie-du-vieux-singe-installation-en-cours.html" rel="bookmark" title="Permalink to Brasserie du Vieux Singe — Installation en cours.">Brasserie du Vieux Singe — Installation en&nbsp;cours.</a></li>
<li><a href="https://blog.notmyidea.org/comment-est-ce-que-vous-generez-vos-formulaires.html" rel="bookmark" title="Permalink to Comment est-ce que vous générez vos formulaires ?">Comment est-ce que vous générez vos formulaires&nbsp;?</a></li>
<li><a href="https://blog.notmyidea.org/cloisonnement-des-activites.html" rel="bookmark" title="Permalink to Cloisonnement des activités ?">Cloisonnement des activités&nbsp;?</a></li>
<li><a href="https://blog.notmyidea.org/avez-vous-confiance-en-ssl.html" rel="bookmark" title="Permalink to Avez vous confiance en SSL?">Avez vous confiance en <span class="caps">SSL</span>?</a></li>
<li><a href="https://blog.notmyidea.org/focusing-on-what-matters.html" rel="bookmark" title="Permalink to Focusing on what matters">Focusing on what&nbsp;matters</a></li>
<li><a href="https://blog.notmyidea.org/retours-sur-un-atelier-zeronet.html" rel="bookmark" title="Permalink to Retours sur un atelier ZeroNet">Retours sur un atelier&nbsp;ZeroNet</a></li>
<li><a href="https://blog.notmyidea.org/lhorizon.html" rel="bookmark" title="Permalink to Lhorizon">L&#8217;horizon</a></li>
<li><a href="https://blog.notmyidea.org/service-de-nuages-garantir-lintegrite-des-donnees-via-des-signatures-fr.html" rel="bookmark" title="Permalink to Service de nuages : Garantir lintégrité des données via des signatures">Service de nuages : Garantir l&#8217;intégrité des données via des&nbsp;signatures</a></li>
<li><a href="https://blog.notmyidea.org/lets-encrypt-haproxy.html" rel="bookmark" title="Permalink to Lets Encrypt + HAProxy">Let&#8217;s Encrypt +&nbsp;HAProxy</a></li>
<li><a href="https://blog.notmyidea.org/ateliers-dautodefense-numerique.html" rel="bookmark" title="Permalink to Ateliers dautodéfense numérique">Ateliers d&#8217;autodéfense&nbsp;numérique</a></li>
<li><a href="https://blog.notmyidea.org/le-mail-doit-il-mourir.html" rel="bookmark" title="Permalink to Le mail doit-il mourir ?">Le mail doit-il mourir&nbsp;?</a></li>
<li><a href="https://blog.notmyidea.org/web-distribution-signing.html" rel="bookmark" title="Permalink to Web distribution signing">Web distribution&nbsp;signing</a></li>
<li><a href="https://blog.notmyidea.org/pourquoi-cliquet" rel="bookmark" title="Permalink to Service de nuages : Pourquoi avons-nous fait Cliquet ?">Service de nuages : Pourquoi avons-nous fait Cliquet&nbsp;?</a></li>
<li><a href="https://blog.notmyidea.org/charte-et-evenements-non-mixtes-au-sein-de-lafpy.html" rel="bookmark" title="Permalink to Charte et événements non-mixtes au sein de lAfpy">Charte et événements non-mixtes au sein de&nbsp;l&#8217;Afpy</a></li>
<li><a href="https://blog.notmyidea.org/service-de-nuages-perspectives-pour-lete-fr.html" rel="bookmark" title="Permalink to Service de nuages : Perspectives pour lété">Service de nuages : Perspectives pour&nbsp;l&#8217;été</a></li>
<li><a href="https://blog.notmyidea.org/roles.html" rel="bookmark" title="Permalink to Rôles">Rôles</a></li>
<li><a href="https://blog.notmyidea.org/service-de-nuages-achievement-unlocked-fr.html" rel="bookmark" title="Permalink to Service de nuages : Achievement unlocked">Service de nuages : Achievement&nbsp;unlocked</a></li>
<li><a href="https://blog.notmyidea.org/service-de-nuages-stocker-et-interroger-les-permissions-avec-kinto-fr.html" rel="bookmark" title="Permalink to Service de nuages : Stocker et interroger les permissions avec Kinto">Service de nuages : Stocker et interroger les permissions avec&nbsp;Kinto</a></li>
<li><a href="https://blog.notmyidea.org/les-problemes-de-pgp.html" rel="bookmark" title="Permalink to Les problèmes de PGP">Les problèmes de <span class="caps">PGP</span></a></li>
<li><a href="https://blog.notmyidea.org/travail-et-creativite.html" rel="bookmark" title="Permalink to Travail et créativité">Travail et&nbsp;créativité</a></li>
<li><a href="https://blog.notmyidea.org/simplifier-les-preuves-didentites.html" rel="bookmark" title="Permalink to Simplifier les preuves didentités">Simplifier les preuves&nbsp;d&#8217;identités</a></li>
<li><a href="https://blog.notmyidea.org/phrases-de-passe-et-bonnes-pratiques.html" rel="bookmark" title="Permalink to Phrases de passe et bonnes pratiques">Phrases de passe et bonnes&nbsp;pratiques</a></li>
<li><a href="https://blog.notmyidea.org/chiffrement.html" rel="bookmark" title="Permalink to Chiffrement">Chiffrement</a></li>
<li><a href="https://blog.notmyidea.org/language.html" rel="bookmark" title="Permalink to Language">Language</a></li>
<li><a href="https://blog.notmyidea.org/service-de-nuages-la-gestion-des-permissions-fr.html" rel="bookmark" title="Permalink to Service de nuages : La gestion des permissions">Service de nuages : La gestion des&nbsp;permissions</a></li>
<li><a href="https://blog.notmyidea.org/eco-systeme-et-stockage-generique.html" rel="bookmark" title="Permalink to Eco-système et stockage générique">Eco-système et stockage&nbsp;générique</a></li>
<li><a href="https://blog.notmyidea.org/service-de-nuages-fr.html" rel="bookmark" title="Permalink to Service de nuages !">Service de nuages&nbsp;!</a></li>
<li><a href="https://blog.notmyidea.org/le-secret-du-bonheur.html" rel="bookmark" title="Permalink to Le secret du bonheur">Le secret du&nbsp;bonheur</a></li>
<li><a href="https://blog.notmyidea.org/whats-hawk-and-how-to-use-it.html" rel="bookmark" title="Permalink to Whats Hawk and how to use it?">What&#8217;s Hawk and how to use&nbsp;it?</a></li>
<li><a href="https://blog.notmyidea.org/quel-metier-quelle-utilite.html" rel="bookmark" title="Permalink to Quel métier, quelle utilité ?">Quel métier, quelle utilité&nbsp;?</a></li>
<li><a href="https://blog.notmyidea.org/retours-sur-deux-ans-a-mozilla.html" rel="bookmark" title="Permalink to Retours sur deux ans à Mozilla">Retours sur deux ans à&nbsp;Mozilla</a></li>
<li><a href="https://blog.notmyidea.org/des-carnets-desquisse.html" rel="bookmark" title="Permalink to Des carnets desquisse">Des carnets&nbsp;d&#8217;esquisse</a></li>
<li><a href="https://blog.notmyidea.org/francois-elie-quelle-ecole-pour-la-societe-de-linformation.html" rel="bookmark" title="Permalink to François Elie : Quelle école pour la société de linformation ?">François Elie : Quelle école pour la société de linformation&nbsp;?</a></li>
<li><a href="https://blog.notmyidea.org/notes-economie-libidinale-et-economie-politique.html" rel="bookmark" title="Permalink to Notes: Économie libidinale et économie politique">Notes: Économie libidinale et économie&nbsp;politique</a></li>
<li><a href="https://blog.notmyidea.org/le-revenu-de-base.html" rel="bookmark" title="Permalink to Le revenu de base">Le revenu de&nbsp;base</a></li>
<li><a href="https://blog.notmyidea.org/des-profils-de-confiance-partout-et-pour-tout.html" rel="bookmark" title="Permalink to Des profils de confiance partout et pour tout ?">Des profils de confiance partout et pour tout&nbsp;?</a></li>
<li><a href="https://blog.notmyidea.org/implementing-cors-in-cornice.html" rel="bookmark" title="Permalink to Implementing CORS in Cornice">Implementing <span class="caps">CORS</span> in&nbsp;Cornice</a></li>
<li><a href="https://blog.notmyidea.org/new-year-python-meme-2012.html" rel="bookmark" title="Permalink to New year python meme, 2012">New year python meme,&nbsp;2012</a></li>
<li><a href="https://blog.notmyidea.org/status-board.html" rel="bookmark" title="Permalink to Status board">Status&nbsp;board</a></li>
<li><a href="https://blog.notmyidea.org/habitat-collectif.html" rel="bookmark" title="Permalink to Habitat collectif">Habitat&nbsp;collectif</a></li>
<li><a href="https://blog.notmyidea.org/tricot.html" rel="bookmark" title="Permalink to Tricot">Tricot</a></li>
<li><a href="https://blog.notmyidea.org/astuces-ssh.html" rel="bookmark" title="Permalink to Astuces SSH">Astuces <span class="caps">SSH</span></a></li>
<li><a href="https://blog.notmyidea.org/gnome-3-extensions.html" rel="bookmark" title="Permalink to Gnome 3, extensions">Gnome 3,&nbsp;extensions</a></li>
<li><a href="https://blog.notmyidea.org/groovy.html" rel="bookmark" title="Permalink to “Groovy”"><span class="dquo">&#8220;</span>Groovy&#8221;</a></li>
<li><a href="https://blog.notmyidea.org/notre-dame-des-landes.html" rel="bookmark" title="Permalink to Notre dame des landes">Notre dame des&nbsp;landes</a></li>
<li><a href="https://blog.notmyidea.org/semences-paysannes.html" rel="bookmark" title="Permalink to Semences paysannes">Semences&nbsp;paysannes</a></li>
<li><a href="https://blog.notmyidea.org/languages.html" rel="bookmark" title="Permalink to Languages">Languages</a></li>
<li><a href="https://blog.notmyidea.org/cheese-code-wrap-up.html" rel="bookmark" title="Permalink to Cheese & code - Wrap-up">Cheese <span class="amp">&amp;</span> code -&nbsp;Wrap-up</a></li>
<li><a href="https://blog.notmyidea.org/biere-maison.html" rel="bookmark" title="Permalink to Bière maison !">Bière maison&nbsp;!</a></li>
<li><a href="https://blog.notmyidea.org/motivation-benevolat-et-participation.html" rel="bookmark" title="Permalink to Motivation, bénévolat et participation">Motivation, bénévolat et&nbsp;participation</a></li>
<li><a href="https://blog.notmyidea.org/cheese-code-party-october-20-21.html" rel="bookmark" title="Permalink to Cheese & Code party: October 20-21">Cheese <span class="amp">&amp;</span> Code party: October&nbsp;20-21</a></li>
<li><a href="https://blog.notmyidea.org/circus-sprint-at-pyconfr.html" rel="bookmark" title="Permalink to Circus sprint at PyconFR">Circus sprint at&nbsp;PyconFR</a></li>
<li><a href="https://blog.notmyidea.org/pourquoi-mozilla.html" rel="bookmark" title="Permalink to Pourquoi Mozilla?">Pourquoi&nbsp;Mozilla?</a></li>
<li><a href="https://blog.notmyidea.org/lifestyle.html" rel="bookmark" title="Permalink to Lifestyle">Lifestyle</a></li>
<li><a href="https://blog.notmyidea.org/refactoring-cornice.html" rel="bookmark" title="Permalink to Refactoring Cornice">Refactoring&nbsp;Cornice</a></li>
<li><a href="https://blog.notmyidea.org/bidouille.html" rel="bookmark" title="Permalink to Bidouille">Bidouille</a></li>
<li><a href="https://blog.notmyidea.org/djangocong-2012.html" rel="bookmark" title="Permalink to Djangocong 2012">Djangocong&nbsp;2012</a></li>
<li><a href="https://blog.notmyidea.org/generation-de-formulaires-geolocalises.html" rel="bookmark" title="Permalink to Génération de formulaires, geolocalisés ?">Génération de formulaires, geolocalisés&nbsp;?</a></li>
<li><a href="https://blog.notmyidea.org/thoughts-about-a-form-generation-service-gis-enabled.html" rel="bookmark" title="Permalink to Thoughts about a form generation service, GIS enabled">Thoughts about a form generation service, <span class="caps">GIS</span>&nbsp;enabled</a></li>
<li><a href="https://blog.notmyidea.org/les-dangers-du-livre-numerique.html" rel="bookmark" title="Permalink to Les dangers du livre numérique">Les dangers du livre&nbsp;numérique</a></li>
<li><a href="https://blog.notmyidea.org/mozilla-first-months.html" rel="bookmark" title="Permalink to Mozilla, first months">Mozilla, first&nbsp;months</a></li>
<li><a href="https://blog.notmyidea.org/introducing-cornice.html" rel="bookmark" title="Permalink to Introducing Cornice">Introducing&nbsp;Cornice</a></li>
<li><a href="https://blog.notmyidea.org/quels-usages-pour-linformatique.html" rel="bookmark" title="Permalink to Quels usages pour linformatique ?">Quels usages pour l&#8217;informatique&nbsp;?</a></li>
<li><a href="https://blog.notmyidea.org/how-are-you-handling-your-shared-expenses.html" rel="bookmark" title="Permalink to How are you handling your shared expenses?">How are you handling your shared&nbsp;expenses?</a></li>
<li><a href="https://blog.notmyidea.org/la-simplicite-volontaire-contre-le-mythe-de-labondance.html" rel="bookmark" title="Permalink to La simplicité volontaire contre le mythe de labondance">La simplicité volontaire contre le mythe de&nbsp;l&#8217;abondance</a></li>
<li><a href="https://blog.notmyidea.org/using-dbpedia-to-get-languages-influences.html" rel="bookmark" title="Permalink to Using dbpedia to get languages influences">Using dbpedia to get languages&nbsp;influences</a></li>
<li><a href="https://blog.notmyidea.org/pelican-9-months-later.html" rel="bookmark" title="Permalink to Pelican, 9 months later">Pelican, 9 months&nbsp;later</a></li>
<li><a href="https://blog.notmyidea.org/using-jpype-to-bridge-python-and-java.html" rel="bookmark" title="Permalink to Using JPype to bridge python and Java">Using JPype to bridge python and&nbsp;Java</a></li>
<li><a href="https://blog.notmyidea.org/un-coup-de-main-pour-mon-memoire.html" rel="bookmark" title="Permalink to Un coup de main pour mon mémoire !">Un coup de main pour mon mémoire&nbsp;!</a></li>
<li><a href="https://blog.notmyidea.org/travailler-moins-pour-mieux-travailler.html" rel="bookmark" title="Permalink to Travailler moins pour mieux travailler ?">Travailler moins pour mieux travailler&nbsp;?</a></li>
<li><a href="https://blog.notmyidea.org/analyse-users-browsing-context-to-build-up-a-web-recommender.html" rel="bookmark" title="Permalink to Analyse users browsing context to build up a web recommender">Analyse users&#8217; browsing context to build up a web&nbsp;recommender</a></li>
<li><a href="https://blog.notmyidea.org/working-directly-on-your-server-how-to-backup-and-sync-your-dev-environment-with-unison.html" rel="bookmark" title="Permalink to Working directly on your server? How to backup and sync your dev environment with unison">Working directly on your server? How to backup and sync your dev environment with&nbsp;unison</a></li>
<li><a href="https://blog.notmyidea.org/wrap-up-of-the-distutils2-paris-sprint.html" rel="bookmark" title="Permalink to Wrap up of the distutils2 paris sprint">Wrap up of the distutils2 paris&#8217;&nbsp;sprint</a></li>
<li><a href="https://blog.notmyidea.org/pypi-on-couchdb.html" rel="bookmark" title="Permalink to PyPI on CouchDB">PyPI on&nbsp;CouchDB</a></li>
<li><a href="https://blog.notmyidea.org/help-me-to-go-to-the-distutils2-paris-sprint.html" rel="bookmark" title="Permalink to Help me to go to the distutils2 paris sprint">Help me to go to the distutils2 paris&#8217;&nbsp;sprint</a></li>
<li><a href="https://blog.notmyidea.org/fork-you-or-how-the-social-coding-can-help-you.html" rel="bookmark" title="Permalink to Fork you! or how the social coding can help you">Fork you! or how the social coding can help&nbsp;you</a></li>
<li><a href="https://blog.notmyidea.org/how-to-reboot-your-bebox-using-the-cli.html" rel="bookmark" title="Permalink to How to reboot your bebox using the CLI">How to reboot your bebox using the <span class="caps">CLI</span></a></li>
<li><a href="https://blog.notmyidea.org/dynamically-change-your-gnome-desktop-wallpaper.html" rel="bookmark" title="Permalink to Dynamically change your gnome desktop wallpaper">Dynamically change your gnome desktop&nbsp;wallpaper</a></li>
<li><a href="https://blog.notmyidea.org/how-to-install-nginx-php-53-on-freebsd.html" rel="bookmark" title="Permalink to How to install NGINX + PHP 5.3 on FreeBSD.">How to install <span class="caps">NGINX</span> + <span class="caps">PHP</span> 5.3 on&nbsp;FreeBSD.</a></li>
<li><a href="https://blog.notmyidea.org/pelican-a-simple-static-blog-generator-in-python.html" rel="bookmark" title="Permalink to Pelican, a simple static blog generator in python">Pelican, a simple static blog generator in&nbsp;python</a></li>
<li><a href="https://blog.notmyidea.org/an-amazing-summer-of-code-working-on-distutils2.html" rel="bookmark" title="Permalink to An amazing summer of code working on distutils2">An amazing summer of code working on&nbsp;distutils2</a></li>
<li><a href="https://blog.notmyidea.org/sprinting-on-distutils2-in-tours.html" rel="bookmark" title="Permalink to Sprinting on distutils2 in Tours">Sprinting on distutils2 in&nbsp;Tours</a></li>
<li><a href="https://blog.notmyidea.org/introducing-the-distutils2-index-crawlers.html" rel="bookmark" title="Permalink to Introducing the distutils2 index crawlers">Introducing the distutils2 index&nbsp;crawlers</a></li>
<li><a href="https://blog.notmyidea.org/use-restructured-text-rest-to-power-your-presentations.html" rel="bookmark" title="Permalink to Use Restructured Text (ReST) to power your presentations">Use Restructured Text (ReST) to power your&nbsp;presentations</a></li>
<li><a href="https://blog.notmyidea.org/first-week-working-on-distutils2.html" rel="bookmark" title="Permalink to first week working on distutils2">first week working on&nbsp;distutils2</a></li>
<li><a href="https://blog.notmyidea.org/a-distutils2-gsoc.html" rel="bookmark" title="Permalink to A Distutils2 GSoC">A Distutils2&nbsp;GSoC</a></li>
<li><a href="https://blog.notmyidea.org/le-temps-des-graces-courrez-y.html" rel="bookmark" title="Permalink to Le temps des grâces, courrez-y !">Le temps des grâces, courrez-y&nbsp;!</a></li>
<li><a href="https://blog.notmyidea.org/semaine-de-lenvironnement-la-consommation-etudiante.html" rel="bookmark" title="Permalink to Semaine de lenvironnement: La consommation étudiante">Semaine de lenvironnement: La consommation&nbsp;étudiante</a></li>
<li><a href="https://blog.notmyidea.org/python-go.html" rel="bookmark" title="Permalink to Python ? go !">Python ? go&nbsp;!</a></li>
<li><a href="https://blog.notmyidea.org/amap-media-paniers-bio-a-5e.html" rel="bookmark" title="Permalink to AMAP + Média = Paniers bio à 5e ?!"><span class="caps">AMAP</span> + Média = Paniers bio à 5e&nbsp;?!</a></li>
</ul>
</section>
<footer>
<a id="feed" href="/feeds/all.atom.xml">
<img alt="RSS Logo" src="/theme/rss.svg" />
</a>
</footer>
</div>
</body>
</html>

View file

@ -43,6 +43,14 @@ Alexis Métaireau </title>
</ul>
</section>
<h1></h1>
<section class="section index">
<time datetime="2023-12-25T00:00:00+01:00">25 décembre 2023</time>
<h1><a href="https://blog.notmyidea.org/format-an-usb-disk-from-the-command-line-on-macosx.html" id="page-title">Format an <span class="caps">USB</span> disk from the command-line on&nbsp;MacOSX</a></h1>
<div class="highlight"><pre><span></span><code>sudo<span class="w"> </span>diskutil<span class="w"> </span>unmountDisk<span class="w"> </span>/dev/disk5
sudo<span class="w"> </span>diskutil<span class="w"> </span>eraseDisk<span class="w"> </span><span class="s2">&quot;MS-DOS FAT32&quot;</span><span class="w"> </span>Brocolis<span class="w"> </span>/dev/disk
</code></pre></div>
</section>
<section class="section index">
<time datetime="2023-12-08T00:00:00+01:00">08 décembre 2023</time>
@ -109,13 +117,9 @@ Alexis Métaireau </title>
<span class="k">def</span> <span class="nf">string_to_duration</span><span class="p">(</span><span class="n">value</span><span class="p">:</span> <span class="nb">str</span><span class="p">,</span> <span class="n">target</span><span class="p">:</span> <span class="n">Literal</span><span class="p">[</span><span class="s2">&quot;days …</span></code></pre></div>
</section>
<section class="section index">
<time datetime="2023-09-27T00:00:00+02:00">27 septembre 2023</time>
<a class='tag' href="https://blog.notmyidea.org/tag/python.html">python</a>, <a class='tag' href="https://blog.notmyidea.org/tag/llm.html">llm</a>, <a class='tag' href="https://blog.notmyidea.org/tag/bash.html">bash</a>, <a class='tag' href="https://blog.notmyidea.org/tag/sqlite.html">sqlite</a> <h1><a href="https://blog.notmyidea.org/llm-command-line-tips.html" id="page-title">llm command-line&nbsp;tips</a></h1>
<p>I&#8217;m using <a href="https://llm.datasette.io">llm</a> more and more, and today I had to find back prompts I used in the past. Here is a command I&#8217;ve been using, which allows me to filter the results based on what I want. It leverages <a href="https://sqlutils.datasette.io">sql-utils</a>, a cli tool which is able to …</p>
</section>
<ul>
<li><a href="https://blog.notmyidea.org/deploying-and-customizing-datasette.html" rel="bookmark" title="Permalink to Deploying and customizing datasette">Deploying and customizing&nbsp;datasette</a></li>
<li><a href="https://blog.notmyidea.org/2023-semaine-45.html" rel="bookmark" title="Permalink to 2023, Semaine 45">2023, Semaine&nbsp;45</a></li>
<li><a href="https://blog.notmyidea.org/adding-real-time-collaboration-to-umap-first-week.html" rel="bookmark" title="Permalink to Adding Real-Time Collaboration to uMap, first week">Adding Real-Time Collaboration to uMap, first&nbsp;week</a></li>
<li><a href="https://blog.notmyidea.org/using-datasette-for-tracking-my-professional-activity.html" rel="bookmark" title="Permalink to Using Datasette for tracking my professional activity">Using Datasette for tracking my professional&nbsp;activity</a></li>
<li><a href="https://blog.notmyidea.org/2023-semaine-42.html" rel="bookmark" title="Permalink to 2023, Semaine 42">2023, Semaine&nbsp;42</a></li>

View file

@ -43,6 +43,14 @@ Alexis Métaireau </title>
</ul>
</section>
<h1></h1>
<section class="section index">
<time datetime="2023-12-25T00:00:00+01:00">25 décembre 2023</time>
<h1><a href="https://blog.notmyidea.org/format-an-usb-disk-from-the-command-line-on-macosx.html" id="page-title">Format an <span class="caps">USB</span> disk from the command-line on&nbsp;MacOSX</a></h1>
<div class="highlight"><pre><span></span><code>sudo<span class="w"> </span>diskutil<span class="w"> </span>unmountDisk<span class="w"> </span>/dev/disk5
sudo<span class="w"> </span>diskutil<span class="w"> </span>eraseDisk<span class="w"> </span><span class="s2">&quot;MS-DOS FAT32&quot;</span><span class="w"> </span>Brocolis<span class="w"> </span>/dev/disk
</code></pre></div>
</section>
<section class="section index">
<time datetime="2023-12-08T00:00:00+01:00">08 décembre 2023</time>
@ -109,13 +117,9 @@ Alexis Métaireau </title>
<span class="k">def</span> <span class="nf">string_to_duration</span><span class="p">(</span><span class="n">value</span><span class="p">:</span> <span class="nb">str</span><span class="p">,</span> <span class="n">target</span><span class="p">:</span> <span class="n">Literal</span><span class="p">[</span><span class="s2">&quot;days …</span></code></pre></div>
</section>
<section class="section index">
<time datetime="2023-09-27T00:00:00+02:00">27 septembre 2023</time>
<a class='tag' href="https://blog.notmyidea.org/tag/python.html">python</a>, <a class='tag' href="https://blog.notmyidea.org/tag/llm.html">llm</a>, <a class='tag' href="https://blog.notmyidea.org/tag/bash.html">bash</a>, <a class='tag' href="https://blog.notmyidea.org/tag/sqlite.html">sqlite</a> <h1><a href="https://blog.notmyidea.org/llm-command-line-tips.html" id="page-title">llm command-line&nbsp;tips</a></h1>
<p>I&#8217;m using <a href="https://llm.datasette.io">llm</a> more and more, and today I had to find back prompts I used in the past. Here is a command I&#8217;ve been using, which allows me to filter the results based on what I want. It leverages <a href="https://sqlutils.datasette.io">sql-utils</a>, a cli tool which is able to …</p>
</section>
<ul>
<li><a href="https://blog.notmyidea.org/deploying-and-customizing-datasette.html" rel="bookmark" title="Permalink to Deploying and customizing datasette">Deploying and customizing&nbsp;datasette</a></li>
<li><a href="https://blog.notmyidea.org/2023-semaine-45.html" rel="bookmark" title="Permalink to 2023, Semaine 45">2023, Semaine&nbsp;45</a></li>
<li><a href="https://blog.notmyidea.org/adding-real-time-collaboration-to-umap-first-week.html" rel="bookmark" title="Permalink to Adding Real-Time Collaboration to uMap, first week">Adding Real-Time Collaboration to uMap, first&nbsp;week</a></li>
<li><a href="https://blog.notmyidea.org/using-datasette-for-tracking-my-professional-activity.html" rel="bookmark" title="Permalink to Using Datasette for tracking my professional activity">Using Datasette for tracking my professional&nbsp;activity</a></li>
<li><a href="https://blog.notmyidea.org/2023-semaine-42.html" rel="bookmark" title="Permalink to 2023, Semaine 42">2023, Semaine&nbsp;42</a></li>

View file

@ -43,6 +43,14 @@ Alexis Métaireau </title>
</ul>
</section>
<h1></h1>
<section class="section index">
<time datetime="2023-12-25T00:00:00+01:00">25 décembre 2023</time>
<h1><a href="https://blog.notmyidea.org/format-an-usb-disk-from-the-command-line-on-macosx.html" id="page-title">Format an <span class="caps">USB</span> disk from the command-line on&nbsp;MacOSX</a></h1>
<div class="highlight"><pre><span></span><code>sudo<span class="w"> </span>diskutil<span class="w"> </span>unmountDisk<span class="w"> </span>/dev/disk5
sudo<span class="w"> </span>diskutil<span class="w"> </span>eraseDisk<span class="w"> </span><span class="s2">&quot;MS-DOS FAT32&quot;</span><span class="w"> </span>Brocolis<span class="w"> </span>/dev/disk
</code></pre></div>
</section>
<section class="section index">
<time datetime="2023-12-08T00:00:00+01:00">08 décembre 2023</time>
@ -109,13 +117,9 @@ Alexis Métaireau </title>
<span class="k">def</span> <span class="nf">string_to_duration</span><span class="p">(</span><span class="n">value</span><span class="p">:</span> <span class="nb">str</span><span class="p">,</span> <span class="n">target</span><span class="p">:</span> <span class="n">Literal</span><span class="p">[</span><span class="s2">&quot;days …</span></code></pre></div>
</section>
<section class="section index">
<time datetime="2023-09-27T00:00:00+02:00">27 septembre 2023</time>
<a class='tag' href="https://blog.notmyidea.org/tag/python.html">python</a>, <a class='tag' href="https://blog.notmyidea.org/tag/llm.html">llm</a>, <a class='tag' href="https://blog.notmyidea.org/tag/bash.html">bash</a>, <a class='tag' href="https://blog.notmyidea.org/tag/sqlite.html">sqlite</a> <h1><a href="https://blog.notmyidea.org/llm-command-line-tips.html" id="page-title">llm command-line&nbsp;tips</a></h1>
<p>I&#8217;m using <a href="https://llm.datasette.io">llm</a> more and more, and today I had to find back prompts I used in the past. Here is a command I&#8217;ve been using, which allows me to filter the results based on what I want. It leverages <a href="https://sqlutils.datasette.io">sql-utils</a>, a cli tool which is able to …</p>
</section>
<ul>
<li><a href="https://blog.notmyidea.org/deploying-and-customizing-datasette.html" rel="bookmark" title="Permalink to Deploying and customizing datasette">Deploying and customizing&nbsp;datasette</a></li>
<li><a href="https://blog.notmyidea.org/2023-semaine-45.html" rel="bookmark" title="Permalink to 2023, Semaine 45">2023, Semaine&nbsp;45</a></li>
<li><a href="https://blog.notmyidea.org/adding-real-time-collaboration-to-umap-first-week.html" rel="bookmark" title="Permalink to Adding Real-Time Collaboration to uMap, first week">Adding Real-Time Collaboration to uMap, first&nbsp;week</a></li>
<li><a href="https://blog.notmyidea.org/using-datasette-for-tracking-my-professional-activity.html" rel="bookmark" title="Permalink to Using Datasette for tracking my professional activity">Using Datasette for tracking my professional&nbsp;activity</a></li>
<li><a href="https://blog.notmyidea.org/2023-semaine-42.html" rel="bookmark" title="Permalink to 2023, Semaine 42">2023, Semaine&nbsp;42</a></li>

View file

@ -33,7 +33,7 @@ Au delà de la&nbsp;pénétration - Alexis Métaireau </title>
href="https://blog.notmyidea.org/weeknotes/">Notes hebdo</a>
</li>
<li>
<a class="selected"
<a class=""
href="https://blog.notmyidea.org/lectures/">Lectures</a>
</li>
<li>
@ -85,7 +85,7 @@ Le patriarcat règne. Souvent la pénétration reproduit la domination de l&#821
</blockquote>
<p>J&#8217;aime bien les « insultes » qui sont utilisées par Martin page : « Punaise de kalenbullar de plutonium », « punaise de tragédie », etc. C&#8217;est mignon et c&#8217;est bien comme ça&nbsp;!</p>
<p>
<a href="https://blog.notmyidea.org/tag/sexualite.html">#sexualité</a>, <a href="https://blog.notmyidea.org/tag/feminisme.html">#féminisme</a> - Posté dans la catégorie <a href="https://blog.notmyidea.org/lectures/">lectures</a>
<a href="https://blog.notmyidea.org/tag/sexualite.html">#sexualité</a>, <a href="https://blog.notmyidea.org/tag/feminisme.html">#féminisme</a> - Posté dans la catégorie <a href="https://blog.notmyidea.org/lectures/">Lectures</a>
</p>
</article>
<footer>

View file

@ -43,6 +43,14 @@ Alexis Métaireau - </title>
</ul>
</section>
<h1></h1>
<section class="section index">
<time datetime="2023-12-25T00:00:00+01:00">25 décembre 2023</time>
<h1><a href="https://blog.notmyidea.org/format-an-usb-disk-from-the-command-line-on-macosx.html" id="page-title">Format an <span class="caps">USB</span> disk from the command-line on&nbsp;MacOSX</a></h1>
<div class="highlight"><pre><span></span><code>sudo<span class="w"> </span>diskutil<span class="w"> </span>unmountDisk<span class="w"> </span>/dev/disk5
sudo<span class="w"> </span>diskutil<span class="w"> </span>eraseDisk<span class="w"> </span><span class="s2">&quot;MS-DOS FAT32&quot;</span><span class="w"> </span>Brocolis<span class="w"> </span>/dev/disk
</code></pre></div>
</section>
<section class="section index">
<time datetime="2023-12-08T00:00:00+01:00">08 décembre 2023</time>
@ -109,13 +117,9 @@ Alexis Métaireau - </title>
<span class="k">def</span> <span class="nf">string_to_duration</span><span class="p">(</span><span class="n">value</span><span class="p">:</span> <span class="nb">str</span><span class="p">,</span> <span class="n">target</span><span class="p">:</span> <span class="n">Literal</span><span class="p">[</span><span class="s2">&quot;days …</span></code></pre></div>
</section>
<section class="section index">
<time datetime="2023-09-27T00:00:00+02:00">27 septembre 2023</time>
<a class='tag' href="https://blog.notmyidea.org/tag/python.html">python</a>, <a class='tag' href="https://blog.notmyidea.org/tag/llm.html">llm</a>, <a class='tag' href="https://blog.notmyidea.org/tag/bash.html">bash</a>, <a class='tag' href="https://blog.notmyidea.org/tag/sqlite.html">sqlite</a> <h1><a href="https://blog.notmyidea.org/llm-command-line-tips.html" id="page-title">llm command-line&nbsp;tips</a></h1>
<p>I&#8217;m using <a href="https://llm.datasette.io">llm</a> more and more, and today I had to find back prompts I used in the past. Here is a command I&#8217;ve been using, which allows me to filter the results based on what I want. It leverages <a href="https://sqlutils.datasette.io">sql-utils</a>, a cli tool which is able to …</p>
</section>
<ul>
<li><a href="https://blog.notmyidea.org/deploying-and-customizing-datasette.html" rel="bookmark" title="Permalink to Deploying and customizing datasette">Deploying and customizing&nbsp;datasette</a></li>
<li><a href="https://blog.notmyidea.org/2023-semaine-45.html" rel="bookmark" title="Permalink to 2023, Semaine 45">2023, Semaine&nbsp;45</a></li>
<li><a href="https://blog.notmyidea.org/adding-real-time-collaboration-to-umap-first-week.html" rel="bookmark" title="Permalink to Adding Real-Time Collaboration to uMap, first week">Adding Real-Time Collaboration to uMap, first&nbsp;week</a></li>
<li><a href="https://blog.notmyidea.org/using-datasette-for-tracking-my-professional-activity.html" rel="bookmark" title="Permalink to Using Datasette for tracking my professional activity">Using Datasette for tracking my professional&nbsp;activity</a></li>
<li><a href="https://blog.notmyidea.org/2023-semaine-42.html" rel="bookmark" title="Permalink to 2023, Semaine 42">2023, Semaine&nbsp;42</a></li>

View file

@ -43,6 +43,14 @@ Alexis Métaireau - </title>
</ul>
</section>
<h1></h1>
<section class="section index">
<time datetime="2023-12-25T00:00:00+01:00">25 décembre 2023</time>
<h1><a href="https://blog.notmyidea.org/format-an-usb-disk-from-the-command-line-on-macosx.html" id="page-title">Format an <span class="caps">USB</span> disk from the command-line on&nbsp;MacOSX</a></h1>
<div class="highlight"><pre><span></span><code>sudo<span class="w"> </span>diskutil<span class="w"> </span>unmountDisk<span class="w"> </span>/dev/disk5
sudo<span class="w"> </span>diskutil<span class="w"> </span>eraseDisk<span class="w"> </span><span class="s2">&quot;MS-DOS FAT32&quot;</span><span class="w"> </span>Brocolis<span class="w"> </span>/dev/disk
</code></pre></div>
</section>
<section class="section index">
<time datetime="2023-12-08T00:00:00+01:00">08 décembre 2023</time>
@ -109,13 +117,9 @@ Alexis Métaireau - </title>
<span class="k">def</span> <span class="nf">string_to_duration</span><span class="p">(</span><span class="n">value</span><span class="p">:</span> <span class="nb">str</span><span class="p">,</span> <span class="n">target</span><span class="p">:</span> <span class="n">Literal</span><span class="p">[</span><span class="s2">&quot;days …</span></code></pre></div>
</section>
<section class="section index">
<time datetime="2023-09-27T00:00:00+02:00">27 septembre 2023</time>
<a class='tag' href="https://blog.notmyidea.org/tag/python.html">python</a>, <a class='tag' href="https://blog.notmyidea.org/tag/llm.html">llm</a>, <a class='tag' href="https://blog.notmyidea.org/tag/bash.html">bash</a>, <a class='tag' href="https://blog.notmyidea.org/tag/sqlite.html">sqlite</a> <h1><a href="https://blog.notmyidea.org/llm-command-line-tips.html" id="page-title">llm command-line&nbsp;tips</a></h1>
<p>I&#8217;m using <a href="https://llm.datasette.io">llm</a> more and more, and today I had to find back prompts I used in the past. Here is a command I&#8217;ve been using, which allows me to filter the results based on what I want. It leverages <a href="https://sqlutils.datasette.io">sql-utils</a>, a cli tool which is able to …</p>
</section>
<ul>
<li><a href="https://blog.notmyidea.org/deploying-and-customizing-datasette.html" rel="bookmark" title="Permalink to Deploying and customizing datasette">Deploying and customizing&nbsp;datasette</a></li>
<li><a href="https://blog.notmyidea.org/2023-semaine-45.html" rel="bookmark" title="Permalink to 2023, Semaine 45">2023, Semaine&nbsp;45</a></li>
<li><a href="https://blog.notmyidea.org/adding-real-time-collaboration-to-umap-first-week.html" rel="bookmark" title="Permalink to Adding Real-Time Collaboration to uMap, first week">Adding Real-Time Collaboration to uMap, first&nbsp;week</a></li>
<li><a href="https://blog.notmyidea.org/using-datasette-for-tracking-my-professional-activity.html" rel="bookmark" title="Permalink to Using Datasette for tracking my professional activity">Using Datasette for tracking my professional&nbsp;activity</a></li>
<li><a href="https://blog.notmyidea.org/2023-semaine-42.html" rel="bookmark" title="Permalink to 2023, Semaine 42">2023, Semaine&nbsp;42</a></li>

View file

@ -43,6 +43,14 @@ Alexis Métaireau - </title>
</ul>
</section>
<h1></h1>
<section class="section index">
<time datetime="2023-12-25T00:00:00+01:00">25 décembre 2023</time>
<h1><a href="https://blog.notmyidea.org/format-an-usb-disk-from-the-command-line-on-macosx.html" id="page-title">Format an <span class="caps">USB</span> disk from the command-line on&nbsp;MacOSX</a></h1>
<div class="highlight"><pre><span></span><code>sudo<span class="w"> </span>diskutil<span class="w"> </span>unmountDisk<span class="w"> </span>/dev/disk5
sudo<span class="w"> </span>diskutil<span class="w"> </span>eraseDisk<span class="w"> </span><span class="s2">&quot;MS-DOS FAT32&quot;</span><span class="w"> </span>Brocolis<span class="w"> </span>/dev/disk
</code></pre></div>
</section>
<section class="section index">
<time datetime="2023-12-08T00:00:00+01:00">08 décembre 2023</time>
@ -109,13 +117,9 @@ Alexis Métaireau - </title>
<span class="k">def</span> <span class="nf">string_to_duration</span><span class="p">(</span><span class="n">value</span><span class="p">:</span> <span class="nb">str</span><span class="p">,</span> <span class="n">target</span><span class="p">:</span> <span class="n">Literal</span><span class="p">[</span><span class="s2">&quot;days …</span></code></pre></div>
</section>
<section class="section index">
<time datetime="2023-09-27T00:00:00+02:00">27 septembre 2023</time>
<a class='tag' href="https://blog.notmyidea.org/tag/python.html">python</a>, <a class='tag' href="https://blog.notmyidea.org/tag/llm.html">llm</a>, <a class='tag' href="https://blog.notmyidea.org/tag/bash.html">bash</a>, <a class='tag' href="https://blog.notmyidea.org/tag/sqlite.html">sqlite</a> <h1><a href="https://blog.notmyidea.org/llm-command-line-tips.html" id="page-title">llm command-line&nbsp;tips</a></h1>
<p>I&#8217;m using <a href="https://llm.datasette.io">llm</a> more and more, and today I had to find back prompts I used in the past. Here is a command I&#8217;ve been using, which allows me to filter the results based on what I want. It leverages <a href="https://sqlutils.datasette.io">sql-utils</a>, a cli tool which is able to …</p>
</section>
<ul>
<li><a href="https://blog.notmyidea.org/deploying-and-customizing-datasette.html" rel="bookmark" title="Permalink to Deploying and customizing datasette">Deploying and customizing&nbsp;datasette</a></li>
<li><a href="https://blog.notmyidea.org/2023-semaine-45.html" rel="bookmark" title="Permalink to 2023, Semaine 45">2023, Semaine&nbsp;45</a></li>
<li><a href="https://blog.notmyidea.org/adding-real-time-collaboration-to-umap-first-week.html" rel="bookmark" title="Permalink to Adding Real-Time Collaboration to uMap, first week">Adding Real-Time Collaboration to uMap, first&nbsp;week</a></li>
<li><a href="https://blog.notmyidea.org/using-datasette-for-tracking-my-professional-activity.html" rel="bookmark" title="Permalink to Using Datasette for tracking my professional activity">Using Datasette for tracking my professional&nbsp;activity</a></li>
<li><a href="https://blog.notmyidea.org/2023-semaine-42.html" rel="bookmark" title="Permalink to 2023, Semaine 42">2023, Semaine&nbsp;42</a></li>

View file

@ -43,6 +43,14 @@ Alexis Métaireau - </title>
</ul>
</section>
<h1></h1>
<section class="section index">
<time datetime="2023-12-25T00:00:00+01:00">25 décembre 2023</time>
<h1><a href="https://blog.notmyidea.org/format-an-usb-disk-from-the-command-line-on-macosx.html" id="page-title">Format an <span class="caps">USB</span> disk from the command-line on&nbsp;MacOSX</a></h1>
<div class="highlight"><pre><span></span><code>sudo<span class="w"> </span>diskutil<span class="w"> </span>unmountDisk<span class="w"> </span>/dev/disk5
sudo<span class="w"> </span>diskutil<span class="w"> </span>eraseDisk<span class="w"> </span><span class="s2">&quot;MS-DOS FAT32&quot;</span><span class="w"> </span>Brocolis<span class="w"> </span>/dev/disk
</code></pre></div>
</section>
<section class="section index">
<time datetime="2023-12-08T00:00:00+01:00">08 décembre 2023</time>
@ -109,13 +117,9 @@ Alexis Métaireau - </title>
<span class="k">def</span> <span class="nf">string_to_duration</span><span class="p">(</span><span class="n">value</span><span class="p">:</span> <span class="nb">str</span><span class="p">,</span> <span class="n">target</span><span class="p">:</span> <span class="n">Literal</span><span class="p">[</span><span class="s2">&quot;days …</span></code></pre></div>
</section>
<section class="section index">
<time datetime="2023-09-27T00:00:00+02:00">27 septembre 2023</time>
<a class='tag' href="https://blog.notmyidea.org/tag/python.html">python</a>, <a class='tag' href="https://blog.notmyidea.org/tag/llm.html">llm</a>, <a class='tag' href="https://blog.notmyidea.org/tag/bash.html">bash</a>, <a class='tag' href="https://blog.notmyidea.org/tag/sqlite.html">sqlite</a> <h1><a href="https://blog.notmyidea.org/llm-command-line-tips.html" id="page-title">llm command-line&nbsp;tips</a></h1>
<p>I&#8217;m using <a href="https://llm.datasette.io">llm</a> more and more, and today I had to find back prompts I used in the past. Here is a command I&#8217;ve been using, which allows me to filter the results based on what I want. It leverages <a href="https://sqlutils.datasette.io">sql-utils</a>, a cli tool which is able to …</p>
</section>
<ul>
<li><a href="https://blog.notmyidea.org/deploying-and-customizing-datasette.html" rel="bookmark" title="Permalink to Deploying and customizing datasette">Deploying and customizing&nbsp;datasette</a></li>
<li><a href="https://blog.notmyidea.org/2023-semaine-45.html" rel="bookmark" title="Permalink to 2023, Semaine 45">2023, Semaine&nbsp;45</a></li>
<li><a href="https://blog.notmyidea.org/adding-real-time-collaboration-to-umap-first-week.html" rel="bookmark" title="Permalink to Adding Real-Time Collaboration to uMap, first week">Adding Real-Time Collaboration to uMap, first&nbsp;week</a></li>
<li><a href="https://blog.notmyidea.org/using-datasette-for-tracking-my-professional-activity.html" rel="bookmark" title="Permalink to Using Datasette for tracking my professional activity">Using Datasette for tracking my professional&nbsp;activity</a></li>
<li><a href="https://blog.notmyidea.org/2023-semaine-42.html" rel="bookmark" title="Permalink to 2023, Semaine 42">2023, Semaine&nbsp;42</a></li>

View file

@ -43,6 +43,14 @@ Alexis Métaireau - </title>
</ul>
</section>
<h1></h1>
<section class="section index">
<time datetime="2023-12-25T00:00:00+01:00">25 décembre 2023</time>
<h1><a href="https://blog.notmyidea.org/format-an-usb-disk-from-the-command-line-on-macosx.html" id="page-title">Format an <span class="caps">USB</span> disk from the command-line on&nbsp;MacOSX</a></h1>
<div class="highlight"><pre><span></span><code>sudo<span class="w"> </span>diskutil<span class="w"> </span>unmountDisk<span class="w"> </span>/dev/disk5
sudo<span class="w"> </span>diskutil<span class="w"> </span>eraseDisk<span class="w"> </span><span class="s2">&quot;MS-DOS FAT32&quot;</span><span class="w"> </span>Brocolis<span class="w"> </span>/dev/disk
</code></pre></div>
</section>
<section class="section index">
<time datetime="2023-12-08T00:00:00+01:00">08 décembre 2023</time>
@ -109,13 +117,9 @@ Alexis Métaireau - </title>
<span class="k">def</span> <span class="nf">string_to_duration</span><span class="p">(</span><span class="n">value</span><span class="p">:</span> <span class="nb">str</span><span class="p">,</span> <span class="n">target</span><span class="p">:</span> <span class="n">Literal</span><span class="p">[</span><span class="s2">&quot;days …</span></code></pre></div>
</section>
<section class="section index">
<time datetime="2023-09-27T00:00:00+02:00">27 septembre 2023</time>
<a class='tag' href="https://blog.notmyidea.org/tag/python.html">python</a>, <a class='tag' href="https://blog.notmyidea.org/tag/llm.html">llm</a>, <a class='tag' href="https://blog.notmyidea.org/tag/bash.html">bash</a>, <a class='tag' href="https://blog.notmyidea.org/tag/sqlite.html">sqlite</a> <h1><a href="https://blog.notmyidea.org/llm-command-line-tips.html" id="page-title">llm command-line&nbsp;tips</a></h1>
<p>I&#8217;m using <a href="https://llm.datasette.io">llm</a> more and more, and today I had to find back prompts I used in the past. Here is a command I&#8217;ve been using, which allows me to filter the results based on what I want. It leverages <a href="https://sqlutils.datasette.io">sql-utils</a>, a cli tool which is able to …</p>
</section>
<ul>
<li><a href="https://blog.notmyidea.org/deploying-and-customizing-datasette.html" rel="bookmark" title="Permalink to Deploying and customizing datasette">Deploying and customizing&nbsp;datasette</a></li>
<li><a href="https://blog.notmyidea.org/2023-semaine-45.html" rel="bookmark" title="Permalink to 2023, Semaine 45">2023, Semaine&nbsp;45</a></li>
<li><a href="https://blog.notmyidea.org/adding-real-time-collaboration-to-umap-first-week.html" rel="bookmark" title="Permalink to Adding Real-Time Collaboration to uMap, first week">Adding Real-Time Collaboration to uMap, first&nbsp;week</a></li>
<li><a href="https://blog.notmyidea.org/using-datasette-for-tracking-my-professional-activity.html" rel="bookmark" title="Permalink to Using Datasette for tracking my professional activity">Using Datasette for tracking my professional&nbsp;activity</a></li>
<li><a href="https://blog.notmyidea.org/2023-semaine-42.html" rel="bookmark" title="Permalink to 2023, Semaine 42">2023, Semaine&nbsp;42</a></li>

View file

@ -43,6 +43,14 @@ Alexis Métaireau - </title>
</ul>
</section>
<h1></h1>
<section class="section index">
<time datetime="2023-12-25T00:00:00+01:00">25 décembre 2023</time>
<h1><a href="https://blog.notmyidea.org/format-an-usb-disk-from-the-command-line-on-macosx.html" id="page-title">Format an <span class="caps">USB</span> disk from the command-line on&nbsp;MacOSX</a></h1>
<div class="highlight"><pre><span></span><code>sudo<span class="w"> </span>diskutil<span class="w"> </span>unmountDisk<span class="w"> </span>/dev/disk5
sudo<span class="w"> </span>diskutil<span class="w"> </span>eraseDisk<span class="w"> </span><span class="s2">&quot;MS-DOS FAT32&quot;</span><span class="w"> </span>Brocolis<span class="w"> </span>/dev/disk
</code></pre></div>
</section>
<section class="section index">
<time datetime="2023-12-08T00:00:00+01:00">08 décembre 2023</time>
@ -109,13 +117,9 @@ Alexis Métaireau - </title>
<span class="k">def</span> <span class="nf">string_to_duration</span><span class="p">(</span><span class="n">value</span><span class="p">:</span> <span class="nb">str</span><span class="p">,</span> <span class="n">target</span><span class="p">:</span> <span class="n">Literal</span><span class="p">[</span><span class="s2">&quot;days …</span></code></pre></div>
</section>
<section class="section index">
<time datetime="2023-09-27T00:00:00+02:00">27 septembre 2023</time>
<a class='tag' href="https://blog.notmyidea.org/tag/python.html">python</a>, <a class='tag' href="https://blog.notmyidea.org/tag/llm.html">llm</a>, <a class='tag' href="https://blog.notmyidea.org/tag/bash.html">bash</a>, <a class='tag' href="https://blog.notmyidea.org/tag/sqlite.html">sqlite</a> <h1><a href="https://blog.notmyidea.org/llm-command-line-tips.html" id="page-title">llm command-line&nbsp;tips</a></h1>
<p>I&#8217;m using <a href="https://llm.datasette.io">llm</a> more and more, and today I had to find back prompts I used in the past. Here is a command I&#8217;ve been using, which allows me to filter the results based on what I want. It leverages <a href="https://sqlutils.datasette.io">sql-utils</a>, a cli tool which is able to …</p>
</section>
<ul>
<li><a href="https://blog.notmyidea.org/deploying-and-customizing-datasette.html" rel="bookmark" title="Permalink to Deploying and customizing datasette">Deploying and customizing&nbsp;datasette</a></li>
<li><a href="https://blog.notmyidea.org/2023-semaine-45.html" rel="bookmark" title="Permalink to 2023, Semaine 45">2023, Semaine&nbsp;45</a></li>
<li><a href="https://blog.notmyidea.org/adding-real-time-collaboration-to-umap-first-week.html" rel="bookmark" title="Permalink to Adding Real-Time Collaboration to uMap, first week">Adding Real-Time Collaboration to uMap, first&nbsp;week</a></li>
<li><a href="https://blog.notmyidea.org/using-datasette-for-tracking-my-professional-activity.html" rel="bookmark" title="Permalink to Using Datasette for tracking my professional activity">Using Datasette for tracking my professional&nbsp;activity</a></li>
<li><a href="https://blog.notmyidea.org/2023-semaine-42.html" rel="bookmark" title="Permalink to 2023, Semaine 42">2023, Semaine&nbsp;42</a></li>

View file

@ -43,6 +43,14 @@ Alexis Métaireau - </title>
</ul>
</section>
<h1></h1>
<section class="section index">
<time datetime="2023-12-25T00:00:00+01:00">25 décembre 2023</time>
<h1><a href="https://blog.notmyidea.org/format-an-usb-disk-from-the-command-line-on-macosx.html" id="page-title">Format an <span class="caps">USB</span> disk from the command-line on&nbsp;MacOSX</a></h1>
<div class="highlight"><pre><span></span><code>sudo<span class="w"> </span>diskutil<span class="w"> </span>unmountDisk<span class="w"> </span>/dev/disk5
sudo<span class="w"> </span>diskutil<span class="w"> </span>eraseDisk<span class="w"> </span><span class="s2">&quot;MS-DOS FAT32&quot;</span><span class="w"> </span>Brocolis<span class="w"> </span>/dev/disk
</code></pre></div>
</section>
<section class="section index">
<time datetime="2023-12-08T00:00:00+01:00">08 décembre 2023</time>
@ -109,13 +117,9 @@ Alexis Métaireau - </title>
<span class="k">def</span> <span class="nf">string_to_duration</span><span class="p">(</span><span class="n">value</span><span class="p">:</span> <span class="nb">str</span><span class="p">,</span> <span class="n">target</span><span class="p">:</span> <span class="n">Literal</span><span class="p">[</span><span class="s2">&quot;days …</span></code></pre></div>
</section>
<section class="section index">
<time datetime="2023-09-27T00:00:00+02:00">27 septembre 2023</time>
<a class='tag' href="https://blog.notmyidea.org/tag/python.html">python</a>, <a class='tag' href="https://blog.notmyidea.org/tag/llm.html">llm</a>, <a class='tag' href="https://blog.notmyidea.org/tag/bash.html">bash</a>, <a class='tag' href="https://blog.notmyidea.org/tag/sqlite.html">sqlite</a> <h1><a href="https://blog.notmyidea.org/llm-command-line-tips.html" id="page-title">llm command-line&nbsp;tips</a></h1>
<p>I&#8217;m using <a href="https://llm.datasette.io">llm</a> more and more, and today I had to find back prompts I used in the past. Here is a command I&#8217;ve been using, which allows me to filter the results based on what I want. It leverages <a href="https://sqlutils.datasette.io">sql-utils</a>, a cli tool which is able to …</p>
</section>
<ul>
<li><a href="https://blog.notmyidea.org/deploying-and-customizing-datasette.html" rel="bookmark" title="Permalink to Deploying and customizing datasette">Deploying and customizing&nbsp;datasette</a></li>
<li><a href="https://blog.notmyidea.org/2023-semaine-45.html" rel="bookmark" title="Permalink to 2023, Semaine 45">2023, Semaine&nbsp;45</a></li>
<li><a href="https://blog.notmyidea.org/adding-real-time-collaboration-to-umap-first-week.html" rel="bookmark" title="Permalink to Adding Real-Time Collaboration to uMap, first week">Adding Real-Time Collaboration to uMap, first&nbsp;week</a></li>
<li><a href="https://blog.notmyidea.org/using-datasette-for-tracking-my-professional-activity.html" rel="bookmark" title="Permalink to Using Datasette for tracking my professional activity">Using Datasette for tracking my professional&nbsp;activity</a></li>
<li><a href="https://blog.notmyidea.org/2023-semaine-42.html" rel="bookmark" title="Permalink to 2023, Semaine 42">2023, Semaine&nbsp;42</a></li>

View file

@ -43,6 +43,14 @@ Alexis Métaireau - </title>
</ul>
</section>
<h1></h1>
<section class="section index">
<time datetime="2023-12-25T00:00:00+01:00">25 décembre 2023</time>
<h1><a href="https://blog.notmyidea.org/format-an-usb-disk-from-the-command-line-on-macosx.html" id="page-title">Format an <span class="caps">USB</span> disk from the command-line on&nbsp;MacOSX</a></h1>
<div class="highlight"><pre><span></span><code>sudo<span class="w"> </span>diskutil<span class="w"> </span>unmountDisk<span class="w"> </span>/dev/disk5
sudo<span class="w"> </span>diskutil<span class="w"> </span>eraseDisk<span class="w"> </span><span class="s2">&quot;MS-DOS FAT32&quot;</span><span class="w"> </span>Brocolis<span class="w"> </span>/dev/disk
</code></pre></div>
</section>
<section class="section index">
<time datetime="2023-12-08T00:00:00+01:00">08 décembre 2023</time>
@ -109,13 +117,9 @@ Alexis Métaireau - </title>
<span class="k">def</span> <span class="nf">string_to_duration</span><span class="p">(</span><span class="n">value</span><span class="p">:</span> <span class="nb">str</span><span class="p">,</span> <span class="n">target</span><span class="p">:</span> <span class="n">Literal</span><span class="p">[</span><span class="s2">&quot;days …</span></code></pre></div>
</section>
<section class="section index">
<time datetime="2023-09-27T00:00:00+02:00">27 septembre 2023</time>
<a class='tag' href="https://blog.notmyidea.org/tag/python.html">python</a>, <a class='tag' href="https://blog.notmyidea.org/tag/llm.html">llm</a>, <a class='tag' href="https://blog.notmyidea.org/tag/bash.html">bash</a>, <a class='tag' href="https://blog.notmyidea.org/tag/sqlite.html">sqlite</a> <h1><a href="https://blog.notmyidea.org/llm-command-line-tips.html" id="page-title">llm command-line&nbsp;tips</a></h1>
<p>I&#8217;m using <a href="https://llm.datasette.io">llm</a> more and more, and today I had to find back prompts I used in the past. Here is a command I&#8217;ve been using, which allows me to filter the results based on what I want. It leverages <a href="https://sqlutils.datasette.io">sql-utils</a>, a cli tool which is able to …</p>
</section>
<ul>
<li><a href="https://blog.notmyidea.org/deploying-and-customizing-datasette.html" rel="bookmark" title="Permalink to Deploying and customizing datasette">Deploying and customizing&nbsp;datasette</a></li>
<li><a href="https://blog.notmyidea.org/2023-semaine-45.html" rel="bookmark" title="Permalink to 2023, Semaine 45">2023, Semaine&nbsp;45</a></li>
<li><a href="https://blog.notmyidea.org/adding-real-time-collaboration-to-umap-first-week.html" rel="bookmark" title="Permalink to Adding Real-Time Collaboration to uMap, first week">Adding Real-Time Collaboration to uMap, first&nbsp;week</a></li>
<li><a href="https://blog.notmyidea.org/using-datasette-for-tracking-my-professional-activity.html" rel="bookmark" title="Permalink to Using Datasette for tracking my professional activity">Using Datasette for tracking my professional&nbsp;activity</a></li>
<li><a href="https://blog.notmyidea.org/2023-semaine-42.html" rel="bookmark" title="Permalink to 2023, Semaine 42">2023, Semaine&nbsp;42</a></li>

View file

@ -43,6 +43,14 @@ Alexis Métaireau - </title>
</ul>
</section>
<h1></h1>
<section class="section index">
<time datetime="2023-12-25T00:00:00+01:00">25 décembre 2023</time>
<h1><a href="https://blog.notmyidea.org/format-an-usb-disk-from-the-command-line-on-macosx.html" id="page-title">Format an <span class="caps">USB</span> disk from the command-line on&nbsp;MacOSX</a></h1>
<div class="highlight"><pre><span></span><code>sudo<span class="w"> </span>diskutil<span class="w"> </span>unmountDisk<span class="w"> </span>/dev/disk5
sudo<span class="w"> </span>diskutil<span class="w"> </span>eraseDisk<span class="w"> </span><span class="s2">&quot;MS-DOS FAT32&quot;</span><span class="w"> </span>Brocolis<span class="w"> </span>/dev/disk
</code></pre></div>
</section>
<section class="section index">
<time datetime="2023-12-08T00:00:00+01:00">08 décembre 2023</time>
@ -109,13 +117,9 @@ Alexis Métaireau - </title>
<span class="k">def</span> <span class="nf">string_to_duration</span><span class="p">(</span><span class="n">value</span><span class="p">:</span> <span class="nb">str</span><span class="p">,</span> <span class="n">target</span><span class="p">:</span> <span class="n">Literal</span><span class="p">[</span><span class="s2">&quot;days …</span></code></pre></div>
</section>
<section class="section index">
<time datetime="2023-09-27T00:00:00+02:00">27 septembre 2023</time>
<a class='tag' href="https://blog.notmyidea.org/tag/python.html">python</a>, <a class='tag' href="https://blog.notmyidea.org/tag/llm.html">llm</a>, <a class='tag' href="https://blog.notmyidea.org/tag/bash.html">bash</a>, <a class='tag' href="https://blog.notmyidea.org/tag/sqlite.html">sqlite</a> <h1><a href="https://blog.notmyidea.org/llm-command-line-tips.html" id="page-title">llm command-line&nbsp;tips</a></h1>
<p>I&#8217;m using <a href="https://llm.datasette.io">llm</a> more and more, and today I had to find back prompts I used in the past. Here is a command I&#8217;ve been using, which allows me to filter the results based on what I want. It leverages <a href="https://sqlutils.datasette.io">sql-utils</a>, a cli tool which is able to …</p>
</section>
<ul>
<li><a href="https://blog.notmyidea.org/deploying-and-customizing-datasette.html" rel="bookmark" title="Permalink to Deploying and customizing datasette">Deploying and customizing&nbsp;datasette</a></li>
<li><a href="https://blog.notmyidea.org/2023-semaine-45.html" rel="bookmark" title="Permalink to 2023, Semaine 45">2023, Semaine&nbsp;45</a></li>
<li><a href="https://blog.notmyidea.org/adding-real-time-collaboration-to-umap-first-week.html" rel="bookmark" title="Permalink to Adding Real-Time Collaboration to uMap, first week">Adding Real-Time Collaboration to uMap, first&nbsp;week</a></li>
<li><a href="https://blog.notmyidea.org/using-datasette-for-tracking-my-professional-activity.html" rel="bookmark" title="Permalink to Using Datasette for tracking my professional activity">Using Datasette for tracking my professional&nbsp;activity</a></li>
<li><a href="https://blog.notmyidea.org/2023-semaine-42.html" rel="bookmark" title="Permalink to 2023, Semaine 42">2023, Semaine&nbsp;42</a></li>

View file

@ -43,6 +43,14 @@ Alexis Métaireau - </title>
</ul>
</section>
<h1></h1>
<section class="section index">
<time datetime="2023-12-25T00:00:00+01:00">25 décembre 2023</time>
<h1><a href="https://blog.notmyidea.org/format-an-usb-disk-from-the-command-line-on-macosx.html" id="page-title">Format an <span class="caps">USB</span> disk from the command-line on&nbsp;MacOSX</a></h1>
<div class="highlight"><pre><span></span><code>sudo<span class="w"> </span>diskutil<span class="w"> </span>unmountDisk<span class="w"> </span>/dev/disk5
sudo<span class="w"> </span>diskutil<span class="w"> </span>eraseDisk<span class="w"> </span><span class="s2">&quot;MS-DOS FAT32&quot;</span><span class="w"> </span>Brocolis<span class="w"> </span>/dev/disk
</code></pre></div>
</section>
<section class="section index">
<time datetime="2023-12-08T00:00:00+01:00">08 décembre 2023</time>
@ -109,13 +117,9 @@ Alexis Métaireau - </title>
<span class="k">def</span> <span class="nf">string_to_duration</span><span class="p">(</span><span class="n">value</span><span class="p">:</span> <span class="nb">str</span><span class="p">,</span> <span class="n">target</span><span class="p">:</span> <span class="n">Literal</span><span class="p">[</span><span class="s2">&quot;days …</span></code></pre></div>
</section>
<section class="section index">
<time datetime="2023-09-27T00:00:00+02:00">27 septembre 2023</time>
<a class='tag' href="https://blog.notmyidea.org/tag/python.html">python</a>, <a class='tag' href="https://blog.notmyidea.org/tag/llm.html">llm</a>, <a class='tag' href="https://blog.notmyidea.org/tag/bash.html">bash</a>, <a class='tag' href="https://blog.notmyidea.org/tag/sqlite.html">sqlite</a> <h1><a href="https://blog.notmyidea.org/llm-command-line-tips.html" id="page-title">llm command-line&nbsp;tips</a></h1>
<p>I&#8217;m using <a href="https://llm.datasette.io">llm</a> more and more, and today I had to find back prompts I used in the past. Here is a command I&#8217;ve been using, which allows me to filter the results based on what I want. It leverages <a href="https://sqlutils.datasette.io">sql-utils</a>, a cli tool which is able to …</p>
</section>
<ul>
<li><a href="https://blog.notmyidea.org/deploying-and-customizing-datasette.html" rel="bookmark" title="Permalink to Deploying and customizing datasette">Deploying and customizing&nbsp;datasette</a></li>
<li><a href="https://blog.notmyidea.org/2023-semaine-45.html" rel="bookmark" title="Permalink to 2023, Semaine 45">2023, Semaine&nbsp;45</a></li>
<li><a href="https://blog.notmyidea.org/adding-real-time-collaboration-to-umap-first-week.html" rel="bookmark" title="Permalink to Adding Real-Time Collaboration to uMap, first week">Adding Real-Time Collaboration to uMap, first&nbsp;week</a></li>
<li><a href="https://blog.notmyidea.org/using-datasette-for-tracking-my-professional-activity.html" rel="bookmark" title="Permalink to Using Datasette for tracking my professional activity">Using Datasette for tracking my professional&nbsp;activity</a></li>
<li><a href="https://blog.notmyidea.org/2023-semaine-42.html" rel="bookmark" title="Permalink to 2023, Semaine 42">2023, Semaine&nbsp;42</a></li>

View file

@ -43,6 +43,14 @@ Alexis Métaireau - </title>
</ul>
</section>
<h1></h1>
<section class="section index">
<time datetime="2023-12-25T00:00:00+01:00">25 décembre 2023</time>
<h1><a href="https://blog.notmyidea.org/format-an-usb-disk-from-the-command-line-on-macosx.html" id="page-title">Format an <span class="caps">USB</span> disk from the command-line on&nbsp;MacOSX</a></h1>
<div class="highlight"><pre><span></span><code>sudo<span class="w"> </span>diskutil<span class="w"> </span>unmountDisk<span class="w"> </span>/dev/disk5
sudo<span class="w"> </span>diskutil<span class="w"> </span>eraseDisk<span class="w"> </span><span class="s2">&quot;MS-DOS FAT32&quot;</span><span class="w"> </span>Brocolis<span class="w"> </span>/dev/disk
</code></pre></div>
</section>
<section class="section index">
<time datetime="2023-12-08T00:00:00+01:00">08 décembre 2023</time>
@ -109,13 +117,9 @@ Alexis Métaireau - </title>
<span class="k">def</span> <span class="nf">string_to_duration</span><span class="p">(</span><span class="n">value</span><span class="p">:</span> <span class="nb">str</span><span class="p">,</span> <span class="n">target</span><span class="p">:</span> <span class="n">Literal</span><span class="p">[</span><span class="s2">&quot;days …</span></code></pre></div>
</section>
<section class="section index">
<time datetime="2023-09-27T00:00:00+02:00">27 septembre 2023</time>
<a class='tag' href="https://blog.notmyidea.org/tag/python.html">python</a>, <a class='tag' href="https://blog.notmyidea.org/tag/llm.html">llm</a>, <a class='tag' href="https://blog.notmyidea.org/tag/bash.html">bash</a>, <a class='tag' href="https://blog.notmyidea.org/tag/sqlite.html">sqlite</a> <h1><a href="https://blog.notmyidea.org/llm-command-line-tips.html" id="page-title">llm command-line&nbsp;tips</a></h1>
<p>I&#8217;m using <a href="https://llm.datasette.io">llm</a> more and more, and today I had to find back prompts I used in the past. Here is a command I&#8217;ve been using, which allows me to filter the results based on what I want. It leverages <a href="https://sqlutils.datasette.io">sql-utils</a>, a cli tool which is able to …</p>
</section>
<ul>
<li><a href="https://blog.notmyidea.org/deploying-and-customizing-datasette.html" rel="bookmark" title="Permalink to Deploying and customizing datasette">Deploying and customizing&nbsp;datasette</a></li>
<li><a href="https://blog.notmyidea.org/2023-semaine-45.html" rel="bookmark" title="Permalink to 2023, Semaine 45">2023, Semaine&nbsp;45</a></li>
<li><a href="https://blog.notmyidea.org/adding-real-time-collaboration-to-umap-first-week.html" rel="bookmark" title="Permalink to Adding Real-Time Collaboration to uMap, first week">Adding Real-Time Collaboration to uMap, first&nbsp;week</a></li>
<li><a href="https://blog.notmyidea.org/using-datasette-for-tracking-my-professional-activity.html" rel="bookmark" title="Permalink to Using Datasette for tracking my professional activity">Using Datasette for tracking my professional&nbsp;activity</a></li>
<li><a href="https://blog.notmyidea.org/2023-semaine-42.html" rel="bookmark" title="Permalink to 2023, Semaine 42">2023, Semaine&nbsp;42</a></li>

View file

@ -43,6 +43,14 @@ Alexis Métaireau - </title>
</ul>
</section>
<h1></h1>
<section class="section index">
<time datetime="2023-12-25T00:00:00+01:00">25 décembre 2023</time>
<h1><a href="https://blog.notmyidea.org/format-an-usb-disk-from-the-command-line-on-macosx.html" id="page-title">Format an <span class="caps">USB</span> disk from the command-line on&nbsp;MacOSX</a></h1>
<div class="highlight"><pre><span></span><code>sudo<span class="w"> </span>diskutil<span class="w"> </span>unmountDisk<span class="w"> </span>/dev/disk5
sudo<span class="w"> </span>diskutil<span class="w"> </span>eraseDisk<span class="w"> </span><span class="s2">&quot;MS-DOS FAT32&quot;</span><span class="w"> </span>Brocolis<span class="w"> </span>/dev/disk
</code></pre></div>
</section>
<section class="section index">
<time datetime="2023-12-08T00:00:00+01:00">08 décembre 2023</time>
@ -109,13 +117,9 @@ Alexis Métaireau - </title>
<span class="k">def</span> <span class="nf">string_to_duration</span><span class="p">(</span><span class="n">value</span><span class="p">:</span> <span class="nb">str</span><span class="p">,</span> <span class="n">target</span><span class="p">:</span> <span class="n">Literal</span><span class="p">[</span><span class="s2">&quot;days …</span></code></pre></div>
</section>
<section class="section index">
<time datetime="2023-09-27T00:00:00+02:00">27 septembre 2023</time>
<a class='tag' href="https://blog.notmyidea.org/tag/python.html">python</a>, <a class='tag' href="https://blog.notmyidea.org/tag/llm.html">llm</a>, <a class='tag' href="https://blog.notmyidea.org/tag/bash.html">bash</a>, <a class='tag' href="https://blog.notmyidea.org/tag/sqlite.html">sqlite</a> <h1><a href="https://blog.notmyidea.org/llm-command-line-tips.html" id="page-title">llm command-line&nbsp;tips</a></h1>
<p>I&#8217;m using <a href="https://llm.datasette.io">llm</a> more and more, and today I had to find back prompts I used in the past. Here is a command I&#8217;ve been using, which allows me to filter the results based on what I want. It leverages <a href="https://sqlutils.datasette.io">sql-utils</a>, a cli tool which is able to …</p>
</section>
<ul>
<li><a href="https://blog.notmyidea.org/deploying-and-customizing-datasette.html" rel="bookmark" title="Permalink to Deploying and customizing datasette">Deploying and customizing&nbsp;datasette</a></li>
<li><a href="https://blog.notmyidea.org/2023-semaine-45.html" rel="bookmark" title="Permalink to 2023, Semaine 45">2023, Semaine&nbsp;45</a></li>
<li><a href="https://blog.notmyidea.org/adding-real-time-collaboration-to-umap-first-week.html" rel="bookmark" title="Permalink to Adding Real-Time Collaboration to uMap, first week">Adding Real-Time Collaboration to uMap, first&nbsp;week</a></li>
<li><a href="https://blog.notmyidea.org/using-datasette-for-tracking-my-professional-activity.html" rel="bookmark" title="Permalink to Using Datasette for tracking my professional activity">Using Datasette for tracking my professional&nbsp;activity</a></li>
<li><a href="https://blog.notmyidea.org/2023-semaine-42.html" rel="bookmark" title="Permalink to 2023, Semaine 42">2023, Semaine&nbsp;42</a></li>

View file

@ -43,6 +43,14 @@ Alexis Métaireau - </title>
</ul>
</section>
<h1></h1>
<section class="section index">
<time datetime="2023-12-25T00:00:00+01:00">25 décembre 2023</time>
<h1><a href="https://blog.notmyidea.org/format-an-usb-disk-from-the-command-line-on-macosx.html" id="page-title">Format an <span class="caps">USB</span> disk from the command-line on&nbsp;MacOSX</a></h1>
<div class="highlight"><pre><span></span><code>sudo<span class="w"> </span>diskutil<span class="w"> </span>unmountDisk<span class="w"> </span>/dev/disk5
sudo<span class="w"> </span>diskutil<span class="w"> </span>eraseDisk<span class="w"> </span><span class="s2">&quot;MS-DOS FAT32&quot;</span><span class="w"> </span>Brocolis<span class="w"> </span>/dev/disk
</code></pre></div>
</section>
<section class="section index">
<time datetime="2023-12-08T00:00:00+01:00">08 décembre 2023</time>
@ -109,13 +117,9 @@ Alexis Métaireau - </title>
<span class="k">def</span> <span class="nf">string_to_duration</span><span class="p">(</span><span class="n">value</span><span class="p">:</span> <span class="nb">str</span><span class="p">,</span> <span class="n">target</span><span class="p">:</span> <span class="n">Literal</span><span class="p">[</span><span class="s2">&quot;days …</span></code></pre></div>
</section>
<section class="section index">
<time datetime="2023-09-27T00:00:00+02:00">27 septembre 2023</time>
<a class='tag' href="https://blog.notmyidea.org/tag/python.html">python</a>, <a class='tag' href="https://blog.notmyidea.org/tag/llm.html">llm</a>, <a class='tag' href="https://blog.notmyidea.org/tag/bash.html">bash</a>, <a class='tag' href="https://blog.notmyidea.org/tag/sqlite.html">sqlite</a> <h1><a href="https://blog.notmyidea.org/llm-command-line-tips.html" id="page-title">llm command-line&nbsp;tips</a></h1>
<p>I&#8217;m using <a href="https://llm.datasette.io">llm</a> more and more, and today I had to find back prompts I used in the past. Here is a command I&#8217;ve been using, which allows me to filter the results based on what I want. It leverages <a href="https://sqlutils.datasette.io">sql-utils</a>, a cli tool which is able to …</p>
</section>
<ul>
<li><a href="https://blog.notmyidea.org/deploying-and-customizing-datasette.html" rel="bookmark" title="Permalink to Deploying and customizing datasette">Deploying and customizing&nbsp;datasette</a></li>
<li><a href="https://blog.notmyidea.org/2023-semaine-45.html" rel="bookmark" title="Permalink to 2023, Semaine 45">2023, Semaine&nbsp;45</a></li>
<li><a href="https://blog.notmyidea.org/adding-real-time-collaboration-to-umap-first-week.html" rel="bookmark" title="Permalink to Adding Real-Time Collaboration to uMap, first week">Adding Real-Time Collaboration to uMap, first&nbsp;week</a></li>
<li><a href="https://blog.notmyidea.org/using-datasette-for-tracking-my-professional-activity.html" rel="bookmark" title="Permalink to Using Datasette for tracking my professional activity">Using Datasette for tracking my professional&nbsp;activity</a></li>
<li><a href="https://blog.notmyidea.org/2023-semaine-42.html" rel="bookmark" title="Permalink to 2023, Semaine 42">2023, Semaine&nbsp;42</a></li>

View file

@ -43,6 +43,14 @@ Alexis Métaireau - </title>
</ul>
</section>
<h1></h1>
<section class="section index">
<time datetime="2023-12-25T00:00:00+01:00">25 décembre 2023</time>
<h1><a href="https://blog.notmyidea.org/format-an-usb-disk-from-the-command-line-on-macosx.html" id="page-title">Format an <span class="caps">USB</span> disk from the command-line on&nbsp;MacOSX</a></h1>
<div class="highlight"><pre><span></span><code>sudo<span class="w"> </span>diskutil<span class="w"> </span>unmountDisk<span class="w"> </span>/dev/disk5
sudo<span class="w"> </span>diskutil<span class="w"> </span>eraseDisk<span class="w"> </span><span class="s2">&quot;MS-DOS FAT32&quot;</span><span class="w"> </span>Brocolis<span class="w"> </span>/dev/disk
</code></pre></div>
</section>
<section class="section index">
<time datetime="2023-12-08T00:00:00+01:00">08 décembre 2023</time>
@ -109,13 +117,9 @@ Alexis Métaireau - </title>
<span class="k">def</span> <span class="nf">string_to_duration</span><span class="p">(</span><span class="n">value</span><span class="p">:</span> <span class="nb">str</span><span class="p">,</span> <span class="n">target</span><span class="p">:</span> <span class="n">Literal</span><span class="p">[</span><span class="s2">&quot;days …</span></code></pre></div>
</section>
<section class="section index">
<time datetime="2023-09-27T00:00:00+02:00">27 septembre 2023</time>
<a class='tag' href="https://blog.notmyidea.org/tag/python.html">python</a>, <a class='tag' href="https://blog.notmyidea.org/tag/llm.html">llm</a>, <a class='tag' href="https://blog.notmyidea.org/tag/bash.html">bash</a>, <a class='tag' href="https://blog.notmyidea.org/tag/sqlite.html">sqlite</a> <h1><a href="https://blog.notmyidea.org/llm-command-line-tips.html" id="page-title">llm command-line&nbsp;tips</a></h1>
<p>I&#8217;m using <a href="https://llm.datasette.io">llm</a> more and more, and today I had to find back prompts I used in the past. Here is a command I&#8217;ve been using, which allows me to filter the results based on what I want. It leverages <a href="https://sqlutils.datasette.io">sql-utils</a>, a cli tool which is able to …</p>
</section>
<ul>
<li><a href="https://blog.notmyidea.org/deploying-and-customizing-datasette.html" rel="bookmark" title="Permalink to Deploying and customizing datasette">Deploying and customizing&nbsp;datasette</a></li>
<li><a href="https://blog.notmyidea.org/2023-semaine-45.html" rel="bookmark" title="Permalink to 2023, Semaine 45">2023, Semaine&nbsp;45</a></li>
<li><a href="https://blog.notmyidea.org/adding-real-time-collaboration-to-umap-first-week.html" rel="bookmark" title="Permalink to Adding Real-Time Collaboration to uMap, first week">Adding Real-Time Collaboration to uMap, first&nbsp;week</a></li>
<li><a href="https://blog.notmyidea.org/using-datasette-for-tracking-my-professional-activity.html" rel="bookmark" title="Permalink to Using Datasette for tracking my professional activity">Using Datasette for tracking my professional&nbsp;activity</a></li>
<li><a href="https://blog.notmyidea.org/2023-semaine-42.html" rel="bookmark" title="Permalink to 2023, Semaine 42">2023, Semaine&nbsp;42</a></li>

View file

@ -43,6 +43,14 @@ Alexis Métaireau - </title>
</ul>
</section>
<h1></h1>
<section class="section index">
<time datetime="2023-12-25T00:00:00+01:00">25 décembre 2023</time>
<h1><a href="https://blog.notmyidea.org/format-an-usb-disk-from-the-command-line-on-macosx.html" id="page-title">Format an <span class="caps">USB</span> disk from the command-line on&nbsp;MacOSX</a></h1>
<div class="highlight"><pre><span></span><code>sudo<span class="w"> </span>diskutil<span class="w"> </span>unmountDisk<span class="w"> </span>/dev/disk5
sudo<span class="w"> </span>diskutil<span class="w"> </span>eraseDisk<span class="w"> </span><span class="s2">&quot;MS-DOS FAT32&quot;</span><span class="w"> </span>Brocolis<span class="w"> </span>/dev/disk
</code></pre></div>
</section>
<section class="section index">
<time datetime="2023-12-08T00:00:00+01:00">08 décembre 2023</time>
@ -109,13 +117,9 @@ Alexis Métaireau - </title>
<span class="k">def</span> <span class="nf">string_to_duration</span><span class="p">(</span><span class="n">value</span><span class="p">:</span> <span class="nb">str</span><span class="p">,</span> <span class="n">target</span><span class="p">:</span> <span class="n">Literal</span><span class="p">[</span><span class="s2">&quot;days …</span></code></pre></div>
</section>
<section class="section index">
<time datetime="2023-09-27T00:00:00+02:00">27 septembre 2023</time>
<a class='tag' href="https://blog.notmyidea.org/tag/python.html">python</a>, <a class='tag' href="https://blog.notmyidea.org/tag/llm.html">llm</a>, <a class='tag' href="https://blog.notmyidea.org/tag/bash.html">bash</a>, <a class='tag' href="https://blog.notmyidea.org/tag/sqlite.html">sqlite</a> <h1><a href="https://blog.notmyidea.org/llm-command-line-tips.html" id="page-title">llm command-line&nbsp;tips</a></h1>
<p>I&#8217;m using <a href="https://llm.datasette.io">llm</a> more and more, and today I had to find back prompts I used in the past. Here is a command I&#8217;ve been using, which allows me to filter the results based on what I want. It leverages <a href="https://sqlutils.datasette.io">sql-utils</a>, a cli tool which is able to …</p>
</section>
<ul>
<li><a href="https://blog.notmyidea.org/deploying-and-customizing-datasette.html" rel="bookmark" title="Permalink to Deploying and customizing datasette">Deploying and customizing&nbsp;datasette</a></li>
<li><a href="https://blog.notmyidea.org/2023-semaine-45.html" rel="bookmark" title="Permalink to 2023, Semaine 45">2023, Semaine&nbsp;45</a></li>
<li><a href="https://blog.notmyidea.org/adding-real-time-collaboration-to-umap-first-week.html" rel="bookmark" title="Permalink to Adding Real-Time Collaboration to uMap, first week">Adding Real-Time Collaboration to uMap, first&nbsp;week</a></li>
<li><a href="https://blog.notmyidea.org/using-datasette-for-tracking-my-professional-activity.html" rel="bookmark" title="Permalink to Using Datasette for tracking my professional activity">Using Datasette for tracking my professional&nbsp;activity</a></li>
<li><a href="https://blog.notmyidea.org/2023-semaine-42.html" rel="bookmark" title="Permalink to 2023, Semaine 42">2023, Semaine&nbsp;42</a></li>

View file

@ -43,6 +43,14 @@ Alexis Métaireau - </title>
</ul>
</section>
<h1></h1>
<section class="section index">
<time datetime="2023-12-25T00:00:00+01:00">25 décembre 2023</time>
<h1><a href="https://blog.notmyidea.org/format-an-usb-disk-from-the-command-line-on-macosx.html" id="page-title">Format an <span class="caps">USB</span> disk from the command-line on&nbsp;MacOSX</a></h1>
<div class="highlight"><pre><span></span><code>sudo<span class="w"> </span>diskutil<span class="w"> </span>unmountDisk<span class="w"> </span>/dev/disk5
sudo<span class="w"> </span>diskutil<span class="w"> </span>eraseDisk<span class="w"> </span><span class="s2">&quot;MS-DOS FAT32&quot;</span><span class="w"> </span>Brocolis<span class="w"> </span>/dev/disk
</code></pre></div>
</section>
<section class="section index">
<time datetime="2023-12-08T00:00:00+01:00">08 décembre 2023</time>
@ -109,13 +117,9 @@ Alexis Métaireau - </title>
<span class="k">def</span> <span class="nf">string_to_duration</span><span class="p">(</span><span class="n">value</span><span class="p">:</span> <span class="nb">str</span><span class="p">,</span> <span class="n">target</span><span class="p">:</span> <span class="n">Literal</span><span class="p">[</span><span class="s2">&quot;days …</span></code></pre></div>
</section>
<section class="section index">
<time datetime="2023-09-27T00:00:00+02:00">27 septembre 2023</time>
<a class='tag' href="https://blog.notmyidea.org/tag/python.html">python</a>, <a class='tag' href="https://blog.notmyidea.org/tag/llm.html">llm</a>, <a class='tag' href="https://blog.notmyidea.org/tag/bash.html">bash</a>, <a class='tag' href="https://blog.notmyidea.org/tag/sqlite.html">sqlite</a> <h1><a href="https://blog.notmyidea.org/llm-command-line-tips.html" id="page-title">llm command-line&nbsp;tips</a></h1>
<p>I&#8217;m using <a href="https://llm.datasette.io">llm</a> more and more, and today I had to find back prompts I used in the past. Here is a command I&#8217;ve been using, which allows me to filter the results based on what I want. It leverages <a href="https://sqlutils.datasette.io">sql-utils</a>, a cli tool which is able to …</p>
</section>
<ul>
<li><a href="https://blog.notmyidea.org/deploying-and-customizing-datasette.html" rel="bookmark" title="Permalink to Deploying and customizing datasette">Deploying and customizing&nbsp;datasette</a></li>
<li><a href="https://blog.notmyidea.org/2023-semaine-45.html" rel="bookmark" title="Permalink to 2023, Semaine 45">2023, Semaine&nbsp;45</a></li>
<li><a href="https://blog.notmyidea.org/adding-real-time-collaboration-to-umap-first-week.html" rel="bookmark" title="Permalink to Adding Real-Time Collaboration to uMap, first week">Adding Real-Time Collaboration to uMap, first&nbsp;week</a></li>
<li><a href="https://blog.notmyidea.org/using-datasette-for-tracking-my-professional-activity.html" rel="bookmark" title="Permalink to Using Datasette for tracking my professional activity">Using Datasette for tracking my professional&nbsp;activity</a></li>
<li><a href="https://blog.notmyidea.org/2023-semaine-42.html" rel="bookmark" title="Permalink to 2023, Semaine 42">2023, Semaine&nbsp;42</a></li>

View file

@ -43,6 +43,14 @@ Alexis Métaireau - </title>
</ul>
</section>
<h1></h1>
<section class="section index">
<time datetime="2023-12-25T00:00:00+01:00">25 décembre 2023</time>
<h1><a href="https://blog.notmyidea.org/format-an-usb-disk-from-the-command-line-on-macosx.html" id="page-title">Format an <span class="caps">USB</span> disk from the command-line on&nbsp;MacOSX</a></h1>
<div class="highlight"><pre><span></span><code>sudo<span class="w"> </span>diskutil<span class="w"> </span>unmountDisk<span class="w"> </span>/dev/disk5
sudo<span class="w"> </span>diskutil<span class="w"> </span>eraseDisk<span class="w"> </span><span class="s2">&quot;MS-DOS FAT32&quot;</span><span class="w"> </span>Brocolis<span class="w"> </span>/dev/disk
</code></pre></div>
</section>
<section class="section index">
<time datetime="2023-12-08T00:00:00+01:00">08 décembre 2023</time>
@ -109,13 +117,9 @@ Alexis Métaireau - </title>
<span class="k">def</span> <span class="nf">string_to_duration</span><span class="p">(</span><span class="n">value</span><span class="p">:</span> <span class="nb">str</span><span class="p">,</span> <span class="n">target</span><span class="p">:</span> <span class="n">Literal</span><span class="p">[</span><span class="s2">&quot;days …</span></code></pre></div>
</section>
<section class="section index">
<time datetime="2023-09-27T00:00:00+02:00">27 septembre 2023</time>
<a class='tag' href="https://blog.notmyidea.org/tag/python.html">python</a>, <a class='tag' href="https://blog.notmyidea.org/tag/llm.html">llm</a>, <a class='tag' href="https://blog.notmyidea.org/tag/bash.html">bash</a>, <a class='tag' href="https://blog.notmyidea.org/tag/sqlite.html">sqlite</a> <h1><a href="https://blog.notmyidea.org/llm-command-line-tips.html" id="page-title">llm command-line&nbsp;tips</a></h1>
<p>I&#8217;m using <a href="https://llm.datasette.io">llm</a> more and more, and today I had to find back prompts I used in the past. Here is a command I&#8217;ve been using, which allows me to filter the results based on what I want. It leverages <a href="https://sqlutils.datasette.io">sql-utils</a>, a cli tool which is able to …</p>
</section>
<ul>
<li><a href="https://blog.notmyidea.org/deploying-and-customizing-datasette.html" rel="bookmark" title="Permalink to Deploying and customizing datasette">Deploying and customizing&nbsp;datasette</a></li>
<li><a href="https://blog.notmyidea.org/2023-semaine-45.html" rel="bookmark" title="Permalink to 2023, Semaine 45">2023, Semaine&nbsp;45</a></li>
<li><a href="https://blog.notmyidea.org/adding-real-time-collaboration-to-umap-first-week.html" rel="bookmark" title="Permalink to Adding Real-Time Collaboration to uMap, first week">Adding Real-Time Collaboration to uMap, first&nbsp;week</a></li>
<li><a href="https://blog.notmyidea.org/using-datasette-for-tracking-my-professional-activity.html" rel="bookmark" title="Permalink to Using Datasette for tracking my professional activity">Using Datasette for tracking my professional&nbsp;activity</a></li>
<li><a href="https://blog.notmyidea.org/2023-semaine-42.html" rel="bookmark" title="Permalink to 2023, Semaine 42">2023, Semaine&nbsp;42</a></li>

View file

@ -43,6 +43,14 @@ Alexis Métaireau - </title>
</ul>
</section>
<h1></h1>
<section class="section index">
<time datetime="2023-12-25T00:00:00+01:00">25 décembre 2023</time>
<h1><a href="https://blog.notmyidea.org/format-an-usb-disk-from-the-command-line-on-macosx.html" id="page-title">Format an <span class="caps">USB</span> disk from the command-line on&nbsp;MacOSX</a></h1>
<div class="highlight"><pre><span></span><code>sudo<span class="w"> </span>diskutil<span class="w"> </span>unmountDisk<span class="w"> </span>/dev/disk5
sudo<span class="w"> </span>diskutil<span class="w"> </span>eraseDisk<span class="w"> </span><span class="s2">&quot;MS-DOS FAT32&quot;</span><span class="w"> </span>Brocolis<span class="w"> </span>/dev/disk
</code></pre></div>
</section>
<section class="section index">
<time datetime="2023-12-08T00:00:00+01:00">08 décembre 2023</time>
@ -109,13 +117,9 @@ Alexis Métaireau - </title>
<span class="k">def</span> <span class="nf">string_to_duration</span><span class="p">(</span><span class="n">value</span><span class="p">:</span> <span class="nb">str</span><span class="p">,</span> <span class="n">target</span><span class="p">:</span> <span class="n">Literal</span><span class="p">[</span><span class="s2">&quot;days …</span></code></pre></div>
</section>
<section class="section index">
<time datetime="2023-09-27T00:00:00+02:00">27 septembre 2023</time>
<a class='tag' href="https://blog.notmyidea.org/tag/python.html">python</a>, <a class='tag' href="https://blog.notmyidea.org/tag/llm.html">llm</a>, <a class='tag' href="https://blog.notmyidea.org/tag/bash.html">bash</a>, <a class='tag' href="https://blog.notmyidea.org/tag/sqlite.html">sqlite</a> <h1><a href="https://blog.notmyidea.org/llm-command-line-tips.html" id="page-title">llm command-line&nbsp;tips</a></h1>
<p>I&#8217;m using <a href="https://llm.datasette.io">llm</a> more and more, and today I had to find back prompts I used in the past. Here is a command I&#8217;ve been using, which allows me to filter the results based on what I want. It leverages <a href="https://sqlutils.datasette.io">sql-utils</a>, a cli tool which is able to …</p>
</section>
<ul>
<li><a href="https://blog.notmyidea.org/deploying-and-customizing-datasette.html" rel="bookmark" title="Permalink to Deploying and customizing datasette">Deploying and customizing&nbsp;datasette</a></li>
<li><a href="https://blog.notmyidea.org/2023-semaine-45.html" rel="bookmark" title="Permalink to 2023, Semaine 45">2023, Semaine&nbsp;45</a></li>
<li><a href="https://blog.notmyidea.org/adding-real-time-collaboration-to-umap-first-week.html" rel="bookmark" title="Permalink to Adding Real-Time Collaboration to uMap, first week">Adding Real-Time Collaboration to uMap, first&nbsp;week</a></li>
<li><a href="https://blog.notmyidea.org/using-datasette-for-tracking-my-professional-activity.html" rel="bookmark" title="Permalink to Using Datasette for tracking my professional activity">Using Datasette for tracking my professional&nbsp;activity</a></li>
<li><a href="https://blog.notmyidea.org/2023-semaine-42.html" rel="bookmark" title="Permalink to 2023, Semaine 42">2023, Semaine&nbsp;42</a></li>

View file

@ -43,6 +43,14 @@ Alexis Métaireau - </title>
</ul>
</section>
<h1></h1>
<section class="section index">
<time datetime="2023-12-25T00:00:00+01:00">25 décembre 2023</time>
<h1><a href="https://blog.notmyidea.org/format-an-usb-disk-from-the-command-line-on-macosx.html" id="page-title">Format an <span class="caps">USB</span> disk from the command-line on&nbsp;MacOSX</a></h1>
<div class="highlight"><pre><span></span><code>sudo<span class="w"> </span>diskutil<span class="w"> </span>unmountDisk<span class="w"> </span>/dev/disk5
sudo<span class="w"> </span>diskutil<span class="w"> </span>eraseDisk<span class="w"> </span><span class="s2">&quot;MS-DOS FAT32&quot;</span><span class="w"> </span>Brocolis<span class="w"> </span>/dev/disk
</code></pre></div>
</section>
<section class="section index">
<time datetime="2023-12-08T00:00:00+01:00">08 décembre 2023</time>
@ -109,13 +117,9 @@ Alexis Métaireau - </title>
<span class="k">def</span> <span class="nf">string_to_duration</span><span class="p">(</span><span class="n">value</span><span class="p">:</span> <span class="nb">str</span><span class="p">,</span> <span class="n">target</span><span class="p">:</span> <span class="n">Literal</span><span class="p">[</span><span class="s2">&quot;days …</span></code></pre></div>
</section>
<section class="section index">
<time datetime="2023-09-27T00:00:00+02:00">27 septembre 2023</time>
<a class='tag' href="https://blog.notmyidea.org/tag/python.html">python</a>, <a class='tag' href="https://blog.notmyidea.org/tag/llm.html">llm</a>, <a class='tag' href="https://blog.notmyidea.org/tag/bash.html">bash</a>, <a class='tag' href="https://blog.notmyidea.org/tag/sqlite.html">sqlite</a> <h1><a href="https://blog.notmyidea.org/llm-command-line-tips.html" id="page-title">llm command-line&nbsp;tips</a></h1>
<p>I&#8217;m using <a href="https://llm.datasette.io">llm</a> more and more, and today I had to find back prompts I used in the past. Here is a command I&#8217;ve been using, which allows me to filter the results based on what I want. It leverages <a href="https://sqlutils.datasette.io">sql-utils</a>, a cli tool which is able to …</p>
</section>
<ul>
<li><a href="https://blog.notmyidea.org/deploying-and-customizing-datasette.html" rel="bookmark" title="Permalink to Deploying and customizing datasette">Deploying and customizing&nbsp;datasette</a></li>
<li><a href="https://blog.notmyidea.org/2023-semaine-45.html" rel="bookmark" title="Permalink to 2023, Semaine 45">2023, Semaine&nbsp;45</a></li>
<li><a href="https://blog.notmyidea.org/adding-real-time-collaboration-to-umap-first-week.html" rel="bookmark" title="Permalink to Adding Real-Time Collaboration to uMap, first week">Adding Real-Time Collaboration to uMap, first&nbsp;week</a></li>
<li><a href="https://blog.notmyidea.org/using-datasette-for-tracking-my-professional-activity.html" rel="bookmark" title="Permalink to Using Datasette for tracking my professional activity">Using Datasette for tracking my professional&nbsp;activity</a></li>
<li><a href="https://blog.notmyidea.org/2023-semaine-42.html" rel="bookmark" title="Permalink to 2023, Semaine 42">2023, Semaine&nbsp;42</a></li>

View file

@ -43,6 +43,14 @@ Alexis Métaireau - </title>
</ul>
</section>
<h1></h1>
<section class="section index">
<time datetime="2023-12-25T00:00:00+01:00">25 décembre 2023</time>
<h1><a href="https://blog.notmyidea.org/format-an-usb-disk-from-the-command-line-on-macosx.html" id="page-title">Format an <span class="caps">USB</span> disk from the command-line on&nbsp;MacOSX</a></h1>
<div class="highlight"><pre><span></span><code>sudo<span class="w"> </span>diskutil<span class="w"> </span>unmountDisk<span class="w"> </span>/dev/disk5
sudo<span class="w"> </span>diskutil<span class="w"> </span>eraseDisk<span class="w"> </span><span class="s2">&quot;MS-DOS FAT32&quot;</span><span class="w"> </span>Brocolis<span class="w"> </span>/dev/disk
</code></pre></div>
</section>
<section class="section index">
<time datetime="2023-12-08T00:00:00+01:00">08 décembre 2023</time>
@ -109,13 +117,9 @@ Alexis Métaireau - </title>
<span class="k">def</span> <span class="nf">string_to_duration</span><span class="p">(</span><span class="n">value</span><span class="p">:</span> <span class="nb">str</span><span class="p">,</span> <span class="n">target</span><span class="p">:</span> <span class="n">Literal</span><span class="p">[</span><span class="s2">&quot;days …</span></code></pre></div>
</section>
<section class="section index">
<time datetime="2023-09-27T00:00:00+02:00">27 septembre 2023</time>
<a class='tag' href="https://blog.notmyidea.org/tag/python.html">python</a>, <a class='tag' href="https://blog.notmyidea.org/tag/llm.html">llm</a>, <a class='tag' href="https://blog.notmyidea.org/tag/bash.html">bash</a>, <a class='tag' href="https://blog.notmyidea.org/tag/sqlite.html">sqlite</a> <h1><a href="https://blog.notmyidea.org/llm-command-line-tips.html" id="page-title">llm command-line&nbsp;tips</a></h1>
<p>I&#8217;m using <a href="https://llm.datasette.io">llm</a> more and more, and today I had to find back prompts I used in the past. Here is a command I&#8217;ve been using, which allows me to filter the results based on what I want. It leverages <a href="https://sqlutils.datasette.io">sql-utils</a>, a cli tool which is able to …</p>
</section>
<ul>
<li><a href="https://blog.notmyidea.org/deploying-and-customizing-datasette.html" rel="bookmark" title="Permalink to Deploying and customizing datasette">Deploying and customizing&nbsp;datasette</a></li>
<li><a href="https://blog.notmyidea.org/2023-semaine-45.html" rel="bookmark" title="Permalink to 2023, Semaine 45">2023, Semaine&nbsp;45</a></li>
<li><a href="https://blog.notmyidea.org/adding-real-time-collaboration-to-umap-first-week.html" rel="bookmark" title="Permalink to Adding Real-Time Collaboration to uMap, first week">Adding Real-Time Collaboration to uMap, first&nbsp;week</a></li>
<li><a href="https://blog.notmyidea.org/using-datasette-for-tracking-my-professional-activity.html" rel="bookmark" title="Permalink to Using Datasette for tracking my professional activity">Using Datasette for tracking my professional&nbsp;activity</a></li>
<li><a href="https://blog.notmyidea.org/2023-semaine-42.html" rel="bookmark" title="Permalink to 2023, Semaine 42">2023, Semaine&nbsp;42</a></li>

View file

@ -43,6 +43,14 @@ Alexis Métaireau - </title>
</ul>
</section>
<h1></h1>
<section class="section index">
<time datetime="2023-12-25T00:00:00+01:00">25 décembre 2023</time>
<h1><a href="https://blog.notmyidea.org/format-an-usb-disk-from-the-command-line-on-macosx.html" id="page-title">Format an <span class="caps">USB</span> disk from the command-line on&nbsp;MacOSX</a></h1>
<div class="highlight"><pre><span></span><code>sudo<span class="w"> </span>diskutil<span class="w"> </span>unmountDisk<span class="w"> </span>/dev/disk5
sudo<span class="w"> </span>diskutil<span class="w"> </span>eraseDisk<span class="w"> </span><span class="s2">&quot;MS-DOS FAT32&quot;</span><span class="w"> </span>Brocolis<span class="w"> </span>/dev/disk
</code></pre></div>
</section>
<section class="section index">
<time datetime="2023-12-08T00:00:00+01:00">08 décembre 2023</time>
@ -109,13 +117,9 @@ Alexis Métaireau - </title>
<span class="k">def</span> <span class="nf">string_to_duration</span><span class="p">(</span><span class="n">value</span><span class="p">:</span> <span class="nb">str</span><span class="p">,</span> <span class="n">target</span><span class="p">:</span> <span class="n">Literal</span><span class="p">[</span><span class="s2">&quot;days …</span></code></pre></div>
</section>
<section class="section index">
<time datetime="2023-09-27T00:00:00+02:00">27 septembre 2023</time>
<a class='tag' href="https://blog.notmyidea.org/tag/python.html">python</a>, <a class='tag' href="https://blog.notmyidea.org/tag/llm.html">llm</a>, <a class='tag' href="https://blog.notmyidea.org/tag/bash.html">bash</a>, <a class='tag' href="https://blog.notmyidea.org/tag/sqlite.html">sqlite</a> <h1><a href="https://blog.notmyidea.org/llm-command-line-tips.html" id="page-title">llm command-line&nbsp;tips</a></h1>
<p>I&#8217;m using <a href="https://llm.datasette.io">llm</a> more and more, and today I had to find back prompts I used in the past. Here is a command I&#8217;ve been using, which allows me to filter the results based on what I want. It leverages <a href="https://sqlutils.datasette.io">sql-utils</a>, a cli tool which is able to …</p>
</section>
<ul>
<li><a href="https://blog.notmyidea.org/deploying-and-customizing-datasette.html" rel="bookmark" title="Permalink to Deploying and customizing datasette">Deploying and customizing&nbsp;datasette</a></li>
<li><a href="https://blog.notmyidea.org/2023-semaine-45.html" rel="bookmark" title="Permalink to 2023, Semaine 45">2023, Semaine&nbsp;45</a></li>
<li><a href="https://blog.notmyidea.org/adding-real-time-collaboration-to-umap-first-week.html" rel="bookmark" title="Permalink to Adding Real-Time Collaboration to uMap, first week">Adding Real-Time Collaboration to uMap, first&nbsp;week</a></li>
<li><a href="https://blog.notmyidea.org/using-datasette-for-tracking-my-professional-activity.html" rel="bookmark" title="Permalink to Using Datasette for tracking my professional activity">Using Datasette for tracking my professional&nbsp;activity</a></li>
<li><a href="https://blog.notmyidea.org/2023-semaine-42.html" rel="bookmark" title="Permalink to 2023, Semaine 42">2023, Semaine&nbsp;42</a></li>

View file

@ -43,6 +43,14 @@ Alexis Métaireau - </title>
</ul>
</section>
<h1></h1>
<section class="section index">
<time datetime="2023-12-25T00:00:00+01:00">25 décembre 2023</time>
<h1><a href="https://blog.notmyidea.org/format-an-usb-disk-from-the-command-line-on-macosx.html" id="page-title">Format an <span class="caps">USB</span> disk from the command-line on&nbsp;MacOSX</a></h1>
<div class="highlight"><pre><span></span><code>sudo<span class="w"> </span>diskutil<span class="w"> </span>unmountDisk<span class="w"> </span>/dev/disk5
sudo<span class="w"> </span>diskutil<span class="w"> </span>eraseDisk<span class="w"> </span><span class="s2">&quot;MS-DOS FAT32&quot;</span><span class="w"> </span>Brocolis<span class="w"> </span>/dev/disk
</code></pre></div>
</section>
<section class="section index">
<time datetime="2023-12-08T00:00:00+01:00">08 décembre 2023</time>
@ -109,13 +117,9 @@ Alexis Métaireau - </title>
<span class="k">def</span> <span class="nf">string_to_duration</span><span class="p">(</span><span class="n">value</span><span class="p">:</span> <span class="nb">str</span><span class="p">,</span> <span class="n">target</span><span class="p">:</span> <span class="n">Literal</span><span class="p">[</span><span class="s2">&quot;days …</span></code></pre></div>
</section>
<section class="section index">
<time datetime="2023-09-27T00:00:00+02:00">27 septembre 2023</time>
<a class='tag' href="https://blog.notmyidea.org/tag/python.html">python</a>, <a class='tag' href="https://blog.notmyidea.org/tag/llm.html">llm</a>, <a class='tag' href="https://blog.notmyidea.org/tag/bash.html">bash</a>, <a class='tag' href="https://blog.notmyidea.org/tag/sqlite.html">sqlite</a> <h1><a href="https://blog.notmyidea.org/llm-command-line-tips.html" id="page-title">llm command-line&nbsp;tips</a></h1>
<p>I&#8217;m using <a href="https://llm.datasette.io">llm</a> more and more, and today I had to find back prompts I used in the past. Here is a command I&#8217;ve been using, which allows me to filter the results based on what I want. It leverages <a href="https://sqlutils.datasette.io">sql-utils</a>, a cli tool which is able to …</p>
</section>
<ul>
<li><a href="https://blog.notmyidea.org/deploying-and-customizing-datasette.html" rel="bookmark" title="Permalink to Deploying and customizing datasette">Deploying and customizing&nbsp;datasette</a></li>
<li><a href="https://blog.notmyidea.org/2023-semaine-45.html" rel="bookmark" title="Permalink to 2023, Semaine 45">2023, Semaine&nbsp;45</a></li>
<li><a href="https://blog.notmyidea.org/adding-real-time-collaboration-to-umap-first-week.html" rel="bookmark" title="Permalink to Adding Real-Time Collaboration to uMap, first week">Adding Real-Time Collaboration to uMap, first&nbsp;week</a></li>
<li><a href="https://blog.notmyidea.org/using-datasette-for-tracking-my-professional-activity.html" rel="bookmark" title="Permalink to Using Datasette for tracking my professional activity">Using Datasette for tracking my professional&nbsp;activity</a></li>
<li><a href="https://blog.notmyidea.org/2023-semaine-42.html" rel="bookmark" title="Permalink to 2023, Semaine 42">2023, Semaine&nbsp;42</a></li>

View file

@ -43,6 +43,14 @@ Alexis Métaireau - </title>
</ul>
</section>
<h1></h1>
<section class="section index">
<time datetime="2023-12-25T00:00:00+01:00">25 décembre 2023</time>
<h1><a href="https://blog.notmyidea.org/format-an-usb-disk-from-the-command-line-on-macosx.html" id="page-title">Format an <span class="caps">USB</span> disk from the command-line on&nbsp;MacOSX</a></h1>
<div class="highlight"><pre><span></span><code>sudo<span class="w"> </span>diskutil<span class="w"> </span>unmountDisk<span class="w"> </span>/dev/disk5
sudo<span class="w"> </span>diskutil<span class="w"> </span>eraseDisk<span class="w"> </span><span class="s2">&quot;MS-DOS FAT32&quot;</span><span class="w"> </span>Brocolis<span class="w"> </span>/dev/disk
</code></pre></div>
</section>
<section class="section index">
<time datetime="2023-12-08T00:00:00+01:00">08 décembre 2023</time>
@ -109,13 +117,9 @@ Alexis Métaireau - </title>
<span class="k">def</span> <span class="nf">string_to_duration</span><span class="p">(</span><span class="n">value</span><span class="p">:</span> <span class="nb">str</span><span class="p">,</span> <span class="n">target</span><span class="p">:</span> <span class="n">Literal</span><span class="p">[</span><span class="s2">&quot;days …</span></code></pre></div>
</section>
<section class="section index">
<time datetime="2023-09-27T00:00:00+02:00">27 septembre 2023</time>
<a class='tag' href="https://blog.notmyidea.org/tag/python.html">python</a>, <a class='tag' href="https://blog.notmyidea.org/tag/llm.html">llm</a>, <a class='tag' href="https://blog.notmyidea.org/tag/bash.html">bash</a>, <a class='tag' href="https://blog.notmyidea.org/tag/sqlite.html">sqlite</a> <h1><a href="https://blog.notmyidea.org/llm-command-line-tips.html" id="page-title">llm command-line&nbsp;tips</a></h1>
<p>I&#8217;m using <a href="https://llm.datasette.io">llm</a> more and more, and today I had to find back prompts I used in the past. Here is a command I&#8217;ve been using, which allows me to filter the results based on what I want. It leverages <a href="https://sqlutils.datasette.io">sql-utils</a>, a cli tool which is able to …</p>
</section>
<ul>
<li><a href="https://blog.notmyidea.org/deploying-and-customizing-datasette.html" rel="bookmark" title="Permalink to Deploying and customizing datasette">Deploying and customizing&nbsp;datasette</a></li>
<li><a href="https://blog.notmyidea.org/2023-semaine-45.html" rel="bookmark" title="Permalink to 2023, Semaine 45">2023, Semaine&nbsp;45</a></li>
<li><a href="https://blog.notmyidea.org/adding-real-time-collaboration-to-umap-first-week.html" rel="bookmark" title="Permalink to Adding Real-Time Collaboration to uMap, first week">Adding Real-Time Collaboration to uMap, first&nbsp;week</a></li>
<li><a href="https://blog.notmyidea.org/using-datasette-for-tracking-my-professional-activity.html" rel="bookmark" title="Permalink to Using Datasette for tracking my professional activity">Using Datasette for tracking my professional&nbsp;activity</a></li>
<li><a href="https://blog.notmyidea.org/2023-semaine-42.html" rel="bookmark" title="Permalink to 2023, Semaine 42">2023, Semaine&nbsp;42</a></li>

View file

@ -43,6 +43,14 @@ Alexis Métaireau - </title>
</ul>
</section>
<h1></h1>
<section class="section index">
<time datetime="2023-12-25T00:00:00+01:00">25 décembre 2023</time>
<h1><a href="https://blog.notmyidea.org/format-an-usb-disk-from-the-command-line-on-macosx.html" id="page-title">Format an <span class="caps">USB</span> disk from the command-line on&nbsp;MacOSX</a></h1>
<div class="highlight"><pre><span></span><code>sudo<span class="w"> </span>diskutil<span class="w"> </span>unmountDisk<span class="w"> </span>/dev/disk5
sudo<span class="w"> </span>diskutil<span class="w"> </span>eraseDisk<span class="w"> </span><span class="s2">&quot;MS-DOS FAT32&quot;</span><span class="w"> </span>Brocolis<span class="w"> </span>/dev/disk
</code></pre></div>
</section>
<section class="section index">
<time datetime="2023-12-08T00:00:00+01:00">08 décembre 2023</time>
@ -109,13 +117,9 @@ Alexis Métaireau - </title>
<span class="k">def</span> <span class="nf">string_to_duration</span><span class="p">(</span><span class="n">value</span><span class="p">:</span> <span class="nb">str</span><span class="p">,</span> <span class="n">target</span><span class="p">:</span> <span class="n">Literal</span><span class="p">[</span><span class="s2">&quot;days …</span></code></pre></div>
</section>
<section class="section index">
<time datetime="2023-09-27T00:00:00+02:00">27 septembre 2023</time>
<a class='tag' href="https://blog.notmyidea.org/tag/python.html">python</a>, <a class='tag' href="https://blog.notmyidea.org/tag/llm.html">llm</a>, <a class='tag' href="https://blog.notmyidea.org/tag/bash.html">bash</a>, <a class='tag' href="https://blog.notmyidea.org/tag/sqlite.html">sqlite</a> <h1><a href="https://blog.notmyidea.org/llm-command-line-tips.html" id="page-title">llm command-line&nbsp;tips</a></h1>
<p>I&#8217;m using <a href="https://llm.datasette.io">llm</a> more and more, and today I had to find back prompts I used in the past. Here is a command I&#8217;ve been using, which allows me to filter the results based on what I want. It leverages <a href="https://sqlutils.datasette.io">sql-utils</a>, a cli tool which is able to …</p>
</section>
<ul>
<li><a href="https://blog.notmyidea.org/deploying-and-customizing-datasette.html" rel="bookmark" title="Permalink to Deploying and customizing datasette">Deploying and customizing&nbsp;datasette</a></li>
<li><a href="https://blog.notmyidea.org/2023-semaine-45.html" rel="bookmark" title="Permalink to 2023, Semaine 45">2023, Semaine&nbsp;45</a></li>
<li><a href="https://blog.notmyidea.org/adding-real-time-collaboration-to-umap-first-week.html" rel="bookmark" title="Permalink to Adding Real-Time Collaboration to uMap, first week">Adding Real-Time Collaboration to uMap, first&nbsp;week</a></li>
<li><a href="https://blog.notmyidea.org/using-datasette-for-tracking-my-professional-activity.html" rel="bookmark" title="Permalink to Using Datasette for tracking my professional activity">Using Datasette for tracking my professional&nbsp;activity</a></li>
<li><a href="https://blog.notmyidea.org/2023-semaine-42.html" rel="bookmark" title="Permalink to 2023, Semaine 42">2023, Semaine&nbsp;42</a></li>

View file

@ -43,6 +43,14 @@ Alexis Métaireau - </title>
</ul>
</section>
<h1></h1>
<section class="section index">
<time datetime="2023-12-25T00:00:00+01:00">25 décembre 2023</time>
<h1><a href="https://blog.notmyidea.org/format-an-usb-disk-from-the-command-line-on-macosx.html" id="page-title">Format an <span class="caps">USB</span> disk from the command-line on&nbsp;MacOSX</a></h1>
<div class="highlight"><pre><span></span><code>sudo<span class="w"> </span>diskutil<span class="w"> </span>unmountDisk<span class="w"> </span>/dev/disk5
sudo<span class="w"> </span>diskutil<span class="w"> </span>eraseDisk<span class="w"> </span><span class="s2">&quot;MS-DOS FAT32&quot;</span><span class="w"> </span>Brocolis<span class="w"> </span>/dev/disk
</code></pre></div>
</section>
<section class="section index">
<time datetime="2023-12-08T00:00:00+01:00">08 décembre 2023</time>
@ -109,13 +117,9 @@ Alexis Métaireau - </title>
<span class="k">def</span> <span class="nf">string_to_duration</span><span class="p">(</span><span class="n">value</span><span class="p">:</span> <span class="nb">str</span><span class="p">,</span> <span class="n">target</span><span class="p">:</span> <span class="n">Literal</span><span class="p">[</span><span class="s2">&quot;days …</span></code></pre></div>
</section>
<section class="section index">
<time datetime="2023-09-27T00:00:00+02:00">27 septembre 2023</time>
<a class='tag' href="https://blog.notmyidea.org/tag/python.html">python</a>, <a class='tag' href="https://blog.notmyidea.org/tag/llm.html">llm</a>, <a class='tag' href="https://blog.notmyidea.org/tag/bash.html">bash</a>, <a class='tag' href="https://blog.notmyidea.org/tag/sqlite.html">sqlite</a> <h1><a href="https://blog.notmyidea.org/llm-command-line-tips.html" id="page-title">llm command-line&nbsp;tips</a></h1>
<p>I&#8217;m using <a href="https://llm.datasette.io">llm</a> more and more, and today I had to find back prompts I used in the past. Here is a command I&#8217;ve been using, which allows me to filter the results based on what I want. It leverages <a href="https://sqlutils.datasette.io">sql-utils</a>, a cli tool which is able to …</p>
</section>
<ul>
<li><a href="https://blog.notmyidea.org/deploying-and-customizing-datasette.html" rel="bookmark" title="Permalink to Deploying and customizing datasette">Deploying and customizing&nbsp;datasette</a></li>
<li><a href="https://blog.notmyidea.org/2023-semaine-45.html" rel="bookmark" title="Permalink to 2023, Semaine 45">2023, Semaine&nbsp;45</a></li>
<li><a href="https://blog.notmyidea.org/adding-real-time-collaboration-to-umap-first-week.html" rel="bookmark" title="Permalink to Adding Real-Time Collaboration to uMap, first week">Adding Real-Time Collaboration to uMap, first&nbsp;week</a></li>
<li><a href="https://blog.notmyidea.org/using-datasette-for-tracking-my-professional-activity.html" rel="bookmark" title="Permalink to Using Datasette for tracking my professional activity">Using Datasette for tracking my professional&nbsp;activity</a></li>
<li><a href="https://blog.notmyidea.org/2023-semaine-42.html" rel="bookmark" title="Permalink to 2023, Semaine 42">2023, Semaine&nbsp;42</a></li>

View file

@ -43,6 +43,14 @@ Alexis Métaireau - </title>
</ul>
</section>
<h1></h1>
<section class="section index">
<time datetime="2023-12-25T00:00:00+01:00">25 décembre 2023</time>
<h1><a href="https://blog.notmyidea.org/format-an-usb-disk-from-the-command-line-on-macosx.html" id="page-title">Format an <span class="caps">USB</span> disk from the command-line on&nbsp;MacOSX</a></h1>
<div class="highlight"><pre><span></span><code>sudo<span class="w"> </span>diskutil<span class="w"> </span>unmountDisk<span class="w"> </span>/dev/disk5
sudo<span class="w"> </span>diskutil<span class="w"> </span>eraseDisk<span class="w"> </span><span class="s2">&quot;MS-DOS FAT32&quot;</span><span class="w"> </span>Brocolis<span class="w"> </span>/dev/disk
</code></pre></div>
</section>
<section class="section index">
<time datetime="2023-12-08T00:00:00+01:00">08 décembre 2023</time>
@ -109,13 +117,9 @@ Alexis Métaireau - </title>
<span class="k">def</span> <span class="nf">string_to_duration</span><span class="p">(</span><span class="n">value</span><span class="p">:</span> <span class="nb">str</span><span class="p">,</span> <span class="n">target</span><span class="p">:</span> <span class="n">Literal</span><span class="p">[</span><span class="s2">&quot;days …</span></code></pre></div>
</section>
<section class="section index">
<time datetime="2023-09-27T00:00:00+02:00">27 septembre 2023</time>
<a class='tag' href="https://blog.notmyidea.org/tag/python.html">python</a>, <a class='tag' href="https://blog.notmyidea.org/tag/llm.html">llm</a>, <a class='tag' href="https://blog.notmyidea.org/tag/bash.html">bash</a>, <a class='tag' href="https://blog.notmyidea.org/tag/sqlite.html">sqlite</a> <h1><a href="https://blog.notmyidea.org/llm-command-line-tips.html" id="page-title">llm command-line&nbsp;tips</a></h1>
<p>I&#8217;m using <a href="https://llm.datasette.io">llm</a> more and more, and today I had to find back prompts I used in the past. Here is a command I&#8217;ve been using, which allows me to filter the results based on what I want. It leverages <a href="https://sqlutils.datasette.io">sql-utils</a>, a cli tool which is able to …</p>
</section>
<ul>
<li><a href="https://blog.notmyidea.org/deploying-and-customizing-datasette.html" rel="bookmark" title="Permalink to Deploying and customizing datasette">Deploying and customizing&nbsp;datasette</a></li>
<li><a href="https://blog.notmyidea.org/2023-semaine-45.html" rel="bookmark" title="Permalink to 2023, Semaine 45">2023, Semaine&nbsp;45</a></li>
<li><a href="https://blog.notmyidea.org/adding-real-time-collaboration-to-umap-first-week.html" rel="bookmark" title="Permalink to Adding Real-Time Collaboration to uMap, first week">Adding Real-Time Collaboration to uMap, first&nbsp;week</a></li>
<li><a href="https://blog.notmyidea.org/using-datasette-for-tracking-my-professional-activity.html" rel="bookmark" title="Permalink to Using Datasette for tracking my professional activity">Using Datasette for tracking my professional&nbsp;activity</a></li>
<li><a href="https://blog.notmyidea.org/2023-semaine-42.html" rel="bookmark" title="Permalink to 2023, Semaine 42">2023, Semaine&nbsp;42</a></li>

View file

@ -43,6 +43,14 @@ Alexis Métaireau - </title>
</ul>
</section>
<h1></h1>
<section class="section index">
<time datetime="2023-12-25T00:00:00+01:00">25 décembre 2023</time>
<h1><a href="https://blog.notmyidea.org/format-an-usb-disk-from-the-command-line-on-macosx.html" id="page-title">Format an <span class="caps">USB</span> disk from the command-line on&nbsp;MacOSX</a></h1>
<div class="highlight"><pre><span></span><code>sudo<span class="w"> </span>diskutil<span class="w"> </span>unmountDisk<span class="w"> </span>/dev/disk5
sudo<span class="w"> </span>diskutil<span class="w"> </span>eraseDisk<span class="w"> </span><span class="s2">&quot;MS-DOS FAT32&quot;</span><span class="w"> </span>Brocolis<span class="w"> </span>/dev/disk
</code></pre></div>
</section>
<section class="section index">
<time datetime="2023-12-08T00:00:00+01:00">08 décembre 2023</time>
@ -109,13 +117,9 @@ Alexis Métaireau - </title>
<span class="k">def</span> <span class="nf">string_to_duration</span><span class="p">(</span><span class="n">value</span><span class="p">:</span> <span class="nb">str</span><span class="p">,</span> <span class="n">target</span><span class="p">:</span> <span class="n">Literal</span><span class="p">[</span><span class="s2">&quot;days …</span></code></pre></div>
</section>
<section class="section index">
<time datetime="2023-09-27T00:00:00+02:00">27 septembre 2023</time>
<a class='tag' href="https://blog.notmyidea.org/tag/python.html">python</a>, <a class='tag' href="https://blog.notmyidea.org/tag/llm.html">llm</a>, <a class='tag' href="https://blog.notmyidea.org/tag/bash.html">bash</a>, <a class='tag' href="https://blog.notmyidea.org/tag/sqlite.html">sqlite</a> <h1><a href="https://blog.notmyidea.org/llm-command-line-tips.html" id="page-title">llm command-line&nbsp;tips</a></h1>
<p>I&#8217;m using <a href="https://llm.datasette.io">llm</a> more and more, and today I had to find back prompts I used in the past. Here is a command I&#8217;ve been using, which allows me to filter the results based on what I want. It leverages <a href="https://sqlutils.datasette.io">sql-utils</a>, a cli tool which is able to …</p>
</section>
<ul>
<li><a href="https://blog.notmyidea.org/deploying-and-customizing-datasette.html" rel="bookmark" title="Permalink to Deploying and customizing datasette">Deploying and customizing&nbsp;datasette</a></li>
<li><a href="https://blog.notmyidea.org/2023-semaine-45.html" rel="bookmark" title="Permalink to 2023, Semaine 45">2023, Semaine&nbsp;45</a></li>
<li><a href="https://blog.notmyidea.org/adding-real-time-collaboration-to-umap-first-week.html" rel="bookmark" title="Permalink to Adding Real-Time Collaboration to uMap, first week">Adding Real-Time Collaboration to uMap, first&nbsp;week</a></li>
<li><a href="https://blog.notmyidea.org/using-datasette-for-tracking-my-professional-activity.html" rel="bookmark" title="Permalink to Using Datasette for tracking my professional activity">Using Datasette for tracking my professional&nbsp;activity</a></li>
<li><a href="https://blog.notmyidea.org/2023-semaine-42.html" rel="bookmark" title="Permalink to 2023, Semaine 42">2023, Semaine&nbsp;42</a></li>

View file

@ -43,6 +43,14 @@ Alexis Métaireau - </title>
</ul>
</section>
<h1></h1>
<section class="section index">
<time datetime="2023-12-25T00:00:00+01:00">25 décembre 2023</time>
<h1><a href="https://blog.notmyidea.org/format-an-usb-disk-from-the-command-line-on-macosx.html" id="page-title">Format an <span class="caps">USB</span> disk from the command-line on&nbsp;MacOSX</a></h1>
<div class="highlight"><pre><span></span><code>sudo<span class="w"> </span>diskutil<span class="w"> </span>unmountDisk<span class="w"> </span>/dev/disk5
sudo<span class="w"> </span>diskutil<span class="w"> </span>eraseDisk<span class="w"> </span><span class="s2">&quot;MS-DOS FAT32&quot;</span><span class="w"> </span>Brocolis<span class="w"> </span>/dev/disk
</code></pre></div>
</section>
<section class="section index">
<time datetime="2023-12-08T00:00:00+01:00">08 décembre 2023</time>
@ -109,13 +117,9 @@ Alexis Métaireau - </title>
<span class="k">def</span> <span class="nf">string_to_duration</span><span class="p">(</span><span class="n">value</span><span class="p">:</span> <span class="nb">str</span><span class="p">,</span> <span class="n">target</span><span class="p">:</span> <span class="n">Literal</span><span class="p">[</span><span class="s2">&quot;days …</span></code></pre></div>
</section>
<section class="section index">
<time datetime="2023-09-27T00:00:00+02:00">27 septembre 2023</time>
<a class='tag' href="https://blog.notmyidea.org/tag/python.html">python</a>, <a class='tag' href="https://blog.notmyidea.org/tag/llm.html">llm</a>, <a class='tag' href="https://blog.notmyidea.org/tag/bash.html">bash</a>, <a class='tag' href="https://blog.notmyidea.org/tag/sqlite.html">sqlite</a> <h1><a href="https://blog.notmyidea.org/llm-command-line-tips.html" id="page-title">llm command-line&nbsp;tips</a></h1>
<p>I&#8217;m using <a href="https://llm.datasette.io">llm</a> more and more, and today I had to find back prompts I used in the past. Here is a command I&#8217;ve been using, which allows me to filter the results based on what I want. It leverages <a href="https://sqlutils.datasette.io">sql-utils</a>, a cli tool which is able to …</p>
</section>
<ul>
<li><a href="https://blog.notmyidea.org/deploying-and-customizing-datasette.html" rel="bookmark" title="Permalink to Deploying and customizing datasette">Deploying and customizing&nbsp;datasette</a></li>
<li><a href="https://blog.notmyidea.org/2023-semaine-45.html" rel="bookmark" title="Permalink to 2023, Semaine 45">2023, Semaine&nbsp;45</a></li>
<li><a href="https://blog.notmyidea.org/adding-real-time-collaboration-to-umap-first-week.html" rel="bookmark" title="Permalink to Adding Real-Time Collaboration to uMap, first week">Adding Real-Time Collaboration to uMap, first&nbsp;week</a></li>
<li><a href="https://blog.notmyidea.org/using-datasette-for-tracking-my-professional-activity.html" rel="bookmark" title="Permalink to Using Datasette for tracking my professional activity">Using Datasette for tracking my professional&nbsp;activity</a></li>
<li><a href="https://blog.notmyidea.org/2023-semaine-42.html" rel="bookmark" title="Permalink to 2023, Semaine 42">2023, Semaine&nbsp;42</a></li>

View file

@ -43,6 +43,14 @@ Alexis Métaireau - </title>
</ul>
</section>
<h1></h1>
<section class="section index">
<time datetime="2023-12-25T00:00:00+01:00">25 décembre 2023</time>
<h1><a href="https://blog.notmyidea.org/format-an-usb-disk-from-the-command-line-on-macosx.html" id="page-title">Format an <span class="caps">USB</span> disk from the command-line on&nbsp;MacOSX</a></h1>
<div class="highlight"><pre><span></span><code>sudo<span class="w"> </span>diskutil<span class="w"> </span>unmountDisk<span class="w"> </span>/dev/disk5
sudo<span class="w"> </span>diskutil<span class="w"> </span>eraseDisk<span class="w"> </span><span class="s2">&quot;MS-DOS FAT32&quot;</span><span class="w"> </span>Brocolis<span class="w"> </span>/dev/disk
</code></pre></div>
</section>
<section class="section index">
<time datetime="2023-12-08T00:00:00+01:00">08 décembre 2023</time>
@ -109,13 +117,9 @@ Alexis Métaireau - </title>
<span class="k">def</span> <span class="nf">string_to_duration</span><span class="p">(</span><span class="n">value</span><span class="p">:</span> <span class="nb">str</span><span class="p">,</span> <span class="n">target</span><span class="p">:</span> <span class="n">Literal</span><span class="p">[</span><span class="s2">&quot;days …</span></code></pre></div>
</section>
<section class="section index">
<time datetime="2023-09-27T00:00:00+02:00">27 septembre 2023</time>
<a class='tag' href="https://blog.notmyidea.org/tag/python.html">python</a>, <a class='tag' href="https://blog.notmyidea.org/tag/llm.html">llm</a>, <a class='tag' href="https://blog.notmyidea.org/tag/bash.html">bash</a>, <a class='tag' href="https://blog.notmyidea.org/tag/sqlite.html">sqlite</a> <h1><a href="https://blog.notmyidea.org/llm-command-line-tips.html" id="page-title">llm command-line&nbsp;tips</a></h1>
<p>I&#8217;m using <a href="https://llm.datasette.io">llm</a> more and more, and today I had to find back prompts I used in the past. Here is a command I&#8217;ve been using, which allows me to filter the results based on what I want. It leverages <a href="https://sqlutils.datasette.io">sql-utils</a>, a cli tool which is able to …</p>
</section>
<ul>
<li><a href="https://blog.notmyidea.org/deploying-and-customizing-datasette.html" rel="bookmark" title="Permalink to Deploying and customizing datasette">Deploying and customizing&nbsp;datasette</a></li>
<li><a href="https://blog.notmyidea.org/2023-semaine-45.html" rel="bookmark" title="Permalink to 2023, Semaine 45">2023, Semaine&nbsp;45</a></li>
<li><a href="https://blog.notmyidea.org/adding-real-time-collaboration-to-umap-first-week.html" rel="bookmark" title="Permalink to Adding Real-Time Collaboration to uMap, first week">Adding Real-Time Collaboration to uMap, first&nbsp;week</a></li>
<li><a href="https://blog.notmyidea.org/using-datasette-for-tracking-my-professional-activity.html" rel="bookmark" title="Permalink to Using Datasette for tracking my professional activity">Using Datasette for tracking my professional&nbsp;activity</a></li>
<li><a href="https://blog.notmyidea.org/2023-semaine-42.html" rel="bookmark" title="Permalink to 2023, Semaine 42">2023, Semaine&nbsp;42</a></li>

View file

@ -43,6 +43,14 @@ Alexis Métaireau - </title>
</ul>
</section>
<h1></h1>
<section class="section index">
<time datetime="2023-12-25T00:00:00+01:00">25 décembre 2023</time>
<h1><a href="https://blog.notmyidea.org/format-an-usb-disk-from-the-command-line-on-macosx.html" id="page-title">Format an <span class="caps">USB</span> disk from the command-line on&nbsp;MacOSX</a></h1>
<div class="highlight"><pre><span></span><code>sudo<span class="w"> </span>diskutil<span class="w"> </span>unmountDisk<span class="w"> </span>/dev/disk5
sudo<span class="w"> </span>diskutil<span class="w"> </span>eraseDisk<span class="w"> </span><span class="s2">&quot;MS-DOS FAT32&quot;</span><span class="w"> </span>Brocolis<span class="w"> </span>/dev/disk
</code></pre></div>
</section>
<section class="section index">
<time datetime="2023-12-08T00:00:00+01:00">08 décembre 2023</time>
@ -109,13 +117,9 @@ Alexis Métaireau - </title>
<span class="k">def</span> <span class="nf">string_to_duration</span><span class="p">(</span><span class="n">value</span><span class="p">:</span> <span class="nb">str</span><span class="p">,</span> <span class="n">target</span><span class="p">:</span> <span class="n">Literal</span><span class="p">[</span><span class="s2">&quot;days …</span></code></pre></div>
</section>
<section class="section index">
<time datetime="2023-09-27T00:00:00+02:00">27 septembre 2023</time>
<a class='tag' href="https://blog.notmyidea.org/tag/python.html">python</a>, <a class='tag' href="https://blog.notmyidea.org/tag/llm.html">llm</a>, <a class='tag' href="https://blog.notmyidea.org/tag/bash.html">bash</a>, <a class='tag' href="https://blog.notmyidea.org/tag/sqlite.html">sqlite</a> <h1><a href="https://blog.notmyidea.org/llm-command-line-tips.html" id="page-title">llm command-line&nbsp;tips</a></h1>
<p>I&#8217;m using <a href="https://llm.datasette.io">llm</a> more and more, and today I had to find back prompts I used in the past. Here is a command I&#8217;ve been using, which allows me to filter the results based on what I want. It leverages <a href="https://sqlutils.datasette.io">sql-utils</a>, a cli tool which is able to …</p>
</section>
<ul>
<li><a href="https://blog.notmyidea.org/deploying-and-customizing-datasette.html" rel="bookmark" title="Permalink to Deploying and customizing datasette">Deploying and customizing&nbsp;datasette</a></li>
<li><a href="https://blog.notmyidea.org/2023-semaine-45.html" rel="bookmark" title="Permalink to 2023, Semaine 45">2023, Semaine&nbsp;45</a></li>
<li><a href="https://blog.notmyidea.org/adding-real-time-collaboration-to-umap-first-week.html" rel="bookmark" title="Permalink to Adding Real-Time Collaboration to uMap, first week">Adding Real-Time Collaboration to uMap, first&nbsp;week</a></li>
<li><a href="https://blog.notmyidea.org/using-datasette-for-tracking-my-professional-activity.html" rel="bookmark" title="Permalink to Using Datasette for tracking my professional activity">Using Datasette for tracking my professional&nbsp;activity</a></li>
<li><a href="https://blog.notmyidea.org/2023-semaine-42.html" rel="bookmark" title="Permalink to 2023, Semaine 42">2023, Semaine&nbsp;42</a></li>

View file

@ -43,6 +43,14 @@ Alexis Métaireau - </title>
</ul>
</section>
<h1></h1>
<section class="section index">
<time datetime="2023-12-25T00:00:00+01:00">25 décembre 2023</time>
<h1><a href="https://blog.notmyidea.org/format-an-usb-disk-from-the-command-line-on-macosx.html" id="page-title">Format an <span class="caps">USB</span> disk from the command-line on&nbsp;MacOSX</a></h1>
<div class="highlight"><pre><span></span><code>sudo<span class="w"> </span>diskutil<span class="w"> </span>unmountDisk<span class="w"> </span>/dev/disk5
sudo<span class="w"> </span>diskutil<span class="w"> </span>eraseDisk<span class="w"> </span><span class="s2">&quot;MS-DOS FAT32&quot;</span><span class="w"> </span>Brocolis<span class="w"> </span>/dev/disk
</code></pre></div>
</section>
<section class="section index">
<time datetime="2023-12-08T00:00:00+01:00">08 décembre 2023</time>
@ -109,13 +117,9 @@ Alexis Métaireau - </title>
<span class="k">def</span> <span class="nf">string_to_duration</span><span class="p">(</span><span class="n">value</span><span class="p">:</span> <span class="nb">str</span><span class="p">,</span> <span class="n">target</span><span class="p">:</span> <span class="n">Literal</span><span class="p">[</span><span class="s2">&quot;days …</span></code></pre></div>
</section>
<section class="section index">
<time datetime="2023-09-27T00:00:00+02:00">27 septembre 2023</time>
<a class='tag' href="https://blog.notmyidea.org/tag/python.html">python</a>, <a class='tag' href="https://blog.notmyidea.org/tag/llm.html">llm</a>, <a class='tag' href="https://blog.notmyidea.org/tag/bash.html">bash</a>, <a class='tag' href="https://blog.notmyidea.org/tag/sqlite.html">sqlite</a> <h1><a href="https://blog.notmyidea.org/llm-command-line-tips.html" id="page-title">llm command-line&nbsp;tips</a></h1>
<p>I&#8217;m using <a href="https://llm.datasette.io">llm</a> more and more, and today I had to find back prompts I used in the past. Here is a command I&#8217;ve been using, which allows me to filter the results based on what I want. It leverages <a href="https://sqlutils.datasette.io">sql-utils</a>, a cli tool which is able to …</p>
</section>
<ul>
<li><a href="https://blog.notmyidea.org/deploying-and-customizing-datasette.html" rel="bookmark" title="Permalink to Deploying and customizing datasette">Deploying and customizing&nbsp;datasette</a></li>
<li><a href="https://blog.notmyidea.org/2023-semaine-45.html" rel="bookmark" title="Permalink to 2023, Semaine 45">2023, Semaine&nbsp;45</a></li>
<li><a href="https://blog.notmyidea.org/adding-real-time-collaboration-to-umap-first-week.html" rel="bookmark" title="Permalink to Adding Real-Time Collaboration to uMap, first week">Adding Real-Time Collaboration to uMap, first&nbsp;week</a></li>
<li><a href="https://blog.notmyidea.org/using-datasette-for-tracking-my-professional-activity.html" rel="bookmark" title="Permalink to Using Datasette for tracking my professional activity">Using Datasette for tracking my professional&nbsp;activity</a></li>
<li><a href="https://blog.notmyidea.org/2023-semaine-42.html" rel="bookmark" title="Permalink to 2023, Semaine 42">2023, Semaine&nbsp;42</a></li>

Some files were not shown because too many files have changed in this diff Show more