mastodon.ar.al is one of the many independent Mastodon servers you can use to participate in the fediverse.
This is my personal fediverse server.

Administered by:

Server stats:

1
active users

Nix-shell shebangs are really handy.

Today, I needed to write a quick and dirty Python script to do some web page parsing and regexery, so just popped in python311 and python311Packages.

No pyproject.toml, no containers, no Docker, no venv. Run it, use result, then Nix's garbage collector will throwaway the dependencies when we're done.

nixos.wiki/wiki/Nix-shell_sheb

nixos.wikiNix-shell shebang - NixOS Wiki

Also 24 lines of Python with httpx and bs4 that took about 20 minutes just saved me multiple hours of time-consuming work.

@tommorris Hey Tom, do you happen to know a good getting started guide for Nix/NixOS written for mere mortals? I really feel I should be using Nix but every time I look into I get frustrated trying to set up a working system and leave it at that.