Claude Code Status Line - Complete Guide: all fields, config, ready-to-use scripts
A persistent, customizable bar at the bottom of Claude Code that shows real-time session data.
| import io | |
| import pathlib | |
| import pycdlib | |
| ubuntu = pathlib.Path('ubuntu-22.04.1-live-server-amd64.iso') | |
| new_iso_path = pathlib.Path('ubuntu-22.04.1-live-server-amd64-auto.iso') | |
| iso = pycdlib.PyCdlib() | |
| iso.open(ubuntu) |
| # For recent versions of Ubuntu: | |
| - https://www.pugetsystems.com/labs/hpc/ubuntu-22-04-server-autoinstall-iso/ | |
| # Docs: | |
| - https://wiki.ubuntu.com/FoundationsTeam/AutomatedServerInstalls | |
| - https://wiki.ubuntu.com/FoundationsTeam/AutomatedServerInstalls/ConfigReference | |
| - https://cloudinit.readthedocs.io/en/latest/topics/datasources/nocloud.html | |
| - https://discourse.ubuntu.com/t/please-test-autoinstalls-for-20-04/15250/53 | |
| # Download ISO Installer: |
i3-gaps has some packages that are required for it to work so install these things:
sudo apt install libxcb1-dev libxcb-keysyms1-dev libpango1.0-dev libxcb-util0-dev libxcb-icccm4-dev libyajl-dev libstartup-notification0-dev libxcb-randr0-dev libev-dev libxcb-cursor-dev libxcb-xinerama0-dev libxcb-xkb-dev libxkbcommon-dev libxkbcommon-x11-dev autoconf xutils-dev libtool automake
You also need to install libxcb-xrm-dev, but I got Unable to locate package libxcb-xrm-dev when trying to install from the apt repositories on Ubuntu 16.04. If this happens to you, just install it from source using these commands:
mkdir tmp
This guide has moved to a GitHub repository to enable collaboration and community input via pull-requests.
https://github.com/alexellis/k8s-on-raspbian
Alex
| #!/usr/bin/env python3 | |
| # Because OSX doesn't have mkpasswd... | |
| # Based on https://stackoverflow.com/a/17992126/117471 | |
| # python3 -c "from passlib.hash import sha512_crypt; print(sha512_crypt.encrypt(input()))" <<< bruno # NOQA | |
| # Usage: | |
| # | |
| # $ ./mkpasswd.py |
namespaces - overview of Linux namespaces http://man7.org/linux/man-pages/man7/namespaces.7.html
mount_namespaces - overview of Linux mount namespaces
Long ago, the first time I read "The Pragmatic Programmer", I read some advice that really stuck with me.
"Don't Use Manual Procedures".
This in the chapter on Ubiquitous Automation. To summarize, they want you to automate all the things.
The trouble was that I hadn't much of an idea how to actually go