You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Instantly share code, notes, and snippets.
DeedleFake
Computer scientist with interests in economics and linguistics as well. Looking to get into game development, but, really, I just enjoy programming.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Simple GenServer that can coordinate work to a single duplicate of itself across a cluster.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Very simple benchmark of the new Go 1.23 iterators.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
To use this, just stick webauth.exs in /app/user/extensions or, if using a Docker container for Livebook, stick it somewhere else and mount it into the Docker container via -v /path/to/webauth.exs:/app/user/extensions/webauth.exs:ro. Then, just set LIVEBOOK_IDENTITY_PROVIDER=custom:Webauth when running the Livebook server.
Docker Configuration for Running Livebook in a Container with Tailscale as the Identity Provider
I had a very specific configuration I was trying to get working for personal usage. After a bunch of running in circles, this was the result. I figured I'd stick it somewhere public in case anyone else finds it useful.
Livebook Setup with livebook:// URL Support on Linux
A Quick Guide to Setting up Livebook with Support for livebook:// URLs on Linux
Note that the following steps are intended as a rough outline. They are exact steps to replicate my setup, but your setup might differ depending on, for example, using an init system other than systemd or various other factors. Adjust as necessary.
Run docker volume create livebook-data and docker volume create livebook-config.
Place the livebook.service file in $HOME/.config/systemd/user.
Run systemctl --user enable --now livebook.service.
Place the dev.livebook.Livebook.desktop file in $HOME/.local/share/applications.
Place the dev.livebook.Livebook.svg file in $HOME/.local/share/icons/hicolor/scalable/apps.