This is all done as a user.
cat <<EOF> ~/.config/containers/registries.conf
unqualified-search-registries = ["registry.fedoraproject.org", "registry.access.redhat.com", "registry.centos.org", "docker.io"]
[[registry]]
This is all done as a user.
cat <<EOF> ~/.config/containers/registries.conf
unqualified-search-registries = ["registry.fedoraproject.org", "registry.access.redhat.com", "registry.centos.org", "docker.io"]
[[registry]]
| import re | |
| import gc | |
| import logging | |
| import micropython | |
| try: | |
| import ujson as json | |
| except ImportError: | |
| import json | |
| try: |
Make sure the user has access to libvirt:
sudo usermod -a -G libvirt $USER
| # | |
| # vim:ft=make | |
| # Makefile | |
| # | |
| # | |
| # For bash autocomplete add to `~/.bashrc`: | |
| # | |
| # complete -W "\`if [ -f Makefile ]; then grep -oE '^[a-zA-Z0-9_-]+:([^=]|$)' Makefile | sed 's/[^a-zA-Z0-9_-]*$//'; elif [ -f makefile ]; then grep -oE '^[a-zA-Z0-9_-]+:([^=]|$)' makefile | sed 's/[^a-zA-Z0-9_-]*$//'; fi \`" make | |
| .DEFAULT_GOAL := help |
--namespaced for absolutly everythingkubectl get $(kubectl api-resources --verbs=list --namespaced -o name | xargs |sed 's/ /,/g')
fix NYTimes website
Install Stylus extension
Create a custom css for the site
| Get a kernel and the dtb files from | |
| https://www.raspberrypi.org/downloads/raspberry-pi-os/ | |
| https://github.com/dhruvvyas90/qemu-rpi-kernel | |
| sudo qemu-system-arm -kernel kernel-qemu-4.19.50-buster -cpu arm1176 -m 256 -M versatilepb -no-reboot -serial stdio -append "root=/dev/sda2 panic=1 console=ttyAMA0" -hda raspbian-buster-lite.qcow2 -dtb versatile-pb-buster.dtb -net nic -net user -vnc :0 -net tap,ifname=vnet0,script=no,downscript=no |
| python -uc "import sys, socket;from functools import partial; a = socket.create_server(('0.0.0.0', 8888)).accept(); [sys.stdout.buffer.write(bytes(i)) for i in iter(partial(a[0].recv, 1024), b'')]" |
| #!/usr/bin/env python | |
| # encoding: utf-8 | |
| """Minimal python commad line.""" | |
| import sys | |
| import argparse | |
| import logging |
| #! /usr/bin/env python | |
| # -*- coding: utf-8 -*- | |
| # vim:fenc=utf-8 | |
| # | |
| # Copyright © 2020 Tim Hughes <thughes@thegoldfish.org> | |
| # | |
| # Distributed under terms of the MIT license. | |
| """ |