Jupyter Lab with Chrome on Mac

Jupyter Lab with Chrome on Mac

I describe how to change the default browser for Jupyter Lab on a Mac. If we don’t do anything and launch jupyter lab from the command line, the system’s default browser (Safari) will be invoked. If you want to change it to Chrome, follow the steps below. …

October 19, 2021 · 1 min
Git Cheat Sheet

Git Cheat Sheet

This post contains my GIT cheat sheet, various reminders I use as a programmer — common commands or situations. It comes in handy for example when I accidentally delete a file and want to recover it, check a previous version of code, or ignore a modification in a specific file. …

October 10, 2021 · 18 min
Home Pi-hole

Home Pi-hole

Pi-hole is a DNS (and DHCP) server that protects your devices from unwanted content, without needing to install any software on the clients in your network. Its use case is to act as a sinkhole for the advertising that floods today’s networks. Yes, a small Linux PC with Pi-hole on your home network to prevent tons of ads from reaching you while you browse. …

June 20, 2021 · 11 min
User Systemd Services

User Systemd Services

The systemd manager allows configuring services from a normal system user. These systemd user services are a little-known but very useful feature. It consists of being able to create and use .service files from a user’s local directory that run with their privileges. …

May 30, 2021 · 2 min
Vagrant with Libvirt KVM

Vagrant with Libvirt KVM

Vagrant creates and runs virtual machines, relying on virtualization providers such as Virtualbox, KVM, Docker, VMWare, and 30+ others. It will always default to launching the VM with Virtualbox unless we explicitly specify a different provider. In this guide I explain how I set up Vagrant with the Libvirt KVM provider on Linux. …

May 15, 2021 · 5 min
JupyterLabs to PDF

JupyterLabs to PDF

In this post I describe how I managed, from a MacOS, to correctly convert Jupyter Lab exercises to PDF in different environments. Converting Jupyter Lab notebooks to PDF is not easy due to the multiple variants (images, links) they can contain. I’ve tried intermediate exports, pandoc, apps, without much success. …

May 11, 2021 · 3 min