- Alexis Métaireau
- Journal
- Code, etc.
- Notes hebdo
- Lectures
- Projets

# Code, etc.

Des bouts de trucs liés au code, que je trouve utiles de stocker quelque part (en anglais)

12 février 2024

# Adding collaboration on uMap, third update

I’ve spent the last few weeks working on uMap, still with the goal of bringing real-time collaboration to the maps. I’m not there yet, but I’ve made some progress that I will relate here.

## JavaScript modules

uMap has been there since 2012, at a time when ES6 …

umap, geojson, websockets
08 février 2024

# Returning objects from an arrow function

When using an arrow function in JavaScript, I was expecting to be able to return objects, but ended up with returning `undefined` values.

Turns out it’s not possible to return directly objects from inside the arrow function because they’re confused as statements.

This is covered by MDN.

To …

Javascript
25 décembre 2023

# Format an USB disk from the command-line on MacOSX

    sudo diskutil unmountDisk /dev/disk5
    sudo diskutil eraseDisk "MS-DOS FAT32" Brocolis /dev/disk

08 décembre 2023

# Rescuing a broken asahi linux workstation

How I used Alpine linux as a rescue system
Linux, Asahi
23 novembre 2023

# Using pelican to track my worked and volunteer hours

Graphs, progress-bars and python-markdown extensions
Pelican, Work, Vega, Markdown
21 novembre 2023

# Adding Real-Time Collaboration to uMap, second week

A heads-up on what I've been doing this week on uMap
Python, CRDT, Sync, uMap
20 novembre 2023

# Importing a PostgreSQL dump under a different database name

Simple commands to help you during an import
postgresql, sysadmin
12 novembre 2023

# Deploying and customizing datasette

Step by step follow-up on how I've deployed it and added custom templates on top.
Datasette, Deployment
11 novembre 2023

# Adding Real-Time Collaboration to uMap, first week

A heads-up on what I've been doing this week on uMap
Python, CRDT, Sync, uMap
11 novembre 2023

# Using Datasette for tracking my professional activity

I’ve been following Simon Willison since quite some time, but I’ve actually never played with his main project Datasette before.

As I’m going back into development, I’m trying to track where my time goes, to be able to find patterns, and just remember how much time …

Datasette, Graphs, SQL

- Using DISTINCT in Parent-Child Relationships
- Convert string to duration
- llm command-line tips
- Setting up a IRC Bouncer with ZNC
- How to run the vigogne model locally
- Creating a simple command line to post snippets on Gitlab
- Creating an online space to share markdown files
- Conversion d’un fichier svg en favicon.ico
- Découverte de nouveaux outils pour le développement: LLM, Helix et plus
- Running the Gitlab CI locally
- ArchLinux et mise à jour du keyring
- Python packaging with Hatch, pipx and Zsh environment variables
- Profiling and speeding up Django and Pytest
- Installation de Mosquitto, InfluxDB, Telegraf et Grafana
- Groupement d’achats & partage d’expérience
- Webnotes
- Comment est-ce que vous générez vos formulaires ?
- Avez vous confiance en SSL?
- Retours sur un atelier ZeroNet
- Service de nuages : Garantir l’intégrité des données via des signatures
- Let’s Encrypt + HAProxy
- Ateliers d’autodéfense numérique
- Le mail doit-il mourir ?
- Web distribution signing
- Service de nuages : Pourquoi avons-nous fait Cliquet ?
- Service de nuages : Perspectives pour l’été
- Service de nuages : Achievement unlocked
- Service de nuages : Stocker et interroger les permissions avec Kinto
- Les problèmes de PGP
- Simplifier les preuves d’identités
- Phrases de passe et bonnes pratiques
- Service de nuages : La gestion des permissions
- Eco-système et stockage générique
- Service de nuages !
- What’s Hawk and how to use it?
- Implementing CORS in Cornice
- Status board
- Astuces SSH
- Gnome 3, extensions
- Cheese & code - Wrap-up
- Circus sprint at PyconFR
- Refactoring Cornice
- Djangocong 2012
- Génération de formulaires, geolocalisés ?
- Thoughts about a form generation service, GIS enabled
- Introducing Cornice
- How are you handling your shared expenses?
- Using dbpedia to get languages influences
- Pelican, 9 months later
- Using JPype to bridge python and Java
- Un coup de main pour mon mémoire !
- Analyse users’ browsing context to build up a web recommender
- Working directly on your server? How to backup and sync your dev environment with unison
- Wrap up of the distutils2 paris’ sprint
- PyPI on CouchDB
- Help me to go to the distutils2 paris’ sprint
- How to reboot your bebox using the CLI
- Dynamically change your gnome desktop wallpaper
- How to install NGINX + PHP 5.3 on FreeBSD.
- Pelican, a simple static blog generator in python
- An amazing summer of code working on distutils2
- Sprinting on distutils2 in Tours
- Introducing the distutils2 index crawlers
- Use Restructured Text (ReST) to power your presentations
- first week working on distutils2
- A Distutils2 GSoC
- Python ? go !