(venv) โ mano.local bi-data git:(main)
> pip install polars
Collecting polars
Downloading polars-0.10.10.tar.gz (543 kB)
|โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ| 543 kB 2.0 MB/s
Installing build dependencies ... done
Getting requirements to build wheel ... done
Preparing wheel metadata (pyproject.toml) ... error
ERROR: Command errored out with exit status 1:
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
sudo amazon-linux-extras enable postgresql13 | |
sudo yum -y clean metadata | |
sudo yum -y install postgresql |
โ rpi4-3.lan ui git:(main) โ cat docker/base/Dockerfile
FROM debian:bullseye-slim
RUN DEBIAN_FRONTEND=noninteractive apt-get clean && apt-get update \
&& apt install apt-utils && apt-get install doas -y
RUN useradd -m -u 5000 -s /sbin/nologin app || :
RUN useradd -m -u 5001 -s /bin/bash admin || :
RUN echo 'permit nopass admin as root' > /etc/doas.conf
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
cfonts "rpi4-3" -f huge --gradient blue,cyan,"#FFA500" --transition-gradient > motd |
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
sudo killall -HUP mDNSResponder;sudo killall mDNSResponderHelper;sudo dscacheutil -flushcache |
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
#!/usr/bin/env python | |
import os | |
import hashlib | |
import sys | |
def get_folders(folder): | |
ret = [] | |
for root, subdirs, _files in os.walk(folder): | |
for subdir in subdirs: |
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
git config --global alias.sweep | |
git config --global --replace-all alias.sweep '!git branch --merged $([[ $1 != "-f" ]] \ | |
&& git rev-parse master) | egrep -v "(^\*|^\s*(main|master|develop)$)" \ | |
| xargs git branch -d' |
โ frontend git:(master) git stash
No local changes to save
โ frontend git:(master) git checkout feature/user-menu-and-logout
error: Your local changes to the following files would be overwritten by checkout:
backend/warm-up/VERSION
Please commit your changes or stash them before you switch branches.
Aborting
sh build.sh
bin/nim c koch
./koch boot -d:release
./koch tools
Both systems are Raspberry 4 having exactly the same HW configuration, living on the same network. The first is Alpine Linux with OpenRC, the second if Ubuntu with Systemd. Both of the systems run OpenSSH with the same configuration.
โ ~ time ssh -A 10.10.10.41 'exit 0'
________________________________________________________
Executed in 239.94 millis fish external
usr time 12.44 millis 67.00 micros 12.37 millis
sys time 9.36 millis 448.00 micros 8.91 millis