Skip to content

Instantly share code, notes, and snippets.

21:35:12.126 TRACE wezterm_font::locator::font_config > listing "Fixed" by family took 5.18887ms to compute and is []
21:35:12.126 TRACE wezterm_font::locator::font_config > listing "Fixed" by postscriptname took 29.44µs to compute and is []
21:35:12.126 TRACE wezterm_font::locator::font_config > matching by family 'Fixed' took 285.013µs to compute and is Pattern(Noto Sans:style=Regular:slant=0:weight=80:width=100:file=/usr/share/fonts/noto/NotoSans-Regular.ttf:index=0:charset=20-7e a0-377 37a-37f 384-38a 38c 38e-3a1 3a3-3e1 3f0-52f 10fb 1ab0-1ac0 1ac5 1ac7-1ace 1c80-1c88 1d00-1df9 1dfb-1f15 1f18-1f1d 1f20-1f45 1f48-1f4d 1f50-1f57 1f59 1f5b 1f5d 1f5f-1f7d 1f80-1fb4 1fb6-1fc4 1fc6-1fd3 1fd6-1fdb 1fdd-1fef 1ff2-1ff4 1ff6-1ffe 2000-2064 2066-2071 2074-208e 2090-209c 20a0-20c0 20f0 2100-215f 2183-2184 2189 2212 25cc 2c60-2c7f 2de0-2e5d a640-a69f a700-a7ca a7d0-a7d1 a7d3 a7d5-a7d9 a7f2-a7ff a92e ab30-ab6b fb00-fb06 fe00 fe20-fe2f feff fffc-fffd 10780-10785 10787-107b0 107b2-107ba 1df00-1df1e:fontformat=TrueT
pi@raspberrypi:~ $ sudo dmesg -w
[ 0.000000] Booting Linux on physical CPU 0x0
[ 0.000000] Linux version 5.4.79-v7l+ (dom@buildbot) (gcc version 8.4.0 (Ubuntu/Linaro 8.4.0-3ubuntu1)) #1373 SMP Mon Nov 23 13:27:40 GMT 2020
[ 0.000000] CPU: ARMv7 Processor [410fd083] revision 3 (ARMv7), cr=30c5383d
[ 0.000000] CPU: div instructions available: patching division code
[ 0.000000] CPU: PIPT / VIPT nonaliasing data cache, PIPT instruction cache
[ 0.000000] OF: fdt: Machine model: Raspberry Pi 400 Rev 1.0
[ 0.000000] Memory policy: Data cache writealloc
[ 0.000000] Reserved memory: created CMA memory pool at 0x000000001ec00000, size 256 MiB
[ 0.000000] OF: reserved mem: initialized node linux,cma, compatible id shared-dma-pool
pi@raspberrypi:~ $ sudo dmesg -w
[ 0.000000] Booting Linux on physical CPU 0x0
[ 0.000000] Linux version 5.4.79-v7l+ (dom@buildbot) (gcc version 8.4.0 (Ubuntu/Linaro 8.4.0-3ubuntu1)) #1373 SMP Mon Nov 23 13:27:40 GMT 2020
[ 0.000000] CPU: ARMv7 Processor [410fd083] revision 3 (ARMv7), cr=30c5383d
[ 0.000000] CPU: div instructions available: patching division code
[ 0.000000] CPU: PIPT / VIPT nonaliasing data cache, PIPT instruction cache
[ 0.000000] OF: fdt: Machine model: Raspberry Pi 400 Rev 1.0
[ 0.000000] Memory policy: Data cache writealloc
[ 0.000000] Reserved memory: created CMA memory pool at 0x000000001ec00000, size 256 MiB
[ 0.000000] OF: reserved mem: initialized node linux,cma, compatible id shared-dma-pool

Keybase proof

I hereby claim:

  • I am piec on github.
  • I am pierrec (https://keybase.io/pierrec) on keybase.
  • I have a public key whose fingerprint is 6A23 3FDC F96A B290 9108 C976 4B7A B5BB F307 9B11

To claim this, I am signing this object:

@piec
piec / generator3.py
Last active June 21, 2018 17:44
Dirty patch for pycharm stub generator
# encoding: utf-8
import atexit
import zipfile
from pycharm_generator_utils.clr_tools import *
from pycharm_generator_utils.module_redeclarator import *
from pycharm_generator_utils.util_methods import *
# TODO: Move all CLR-specific functions to clr_tools
@piec
piec / PKGBUID
Last active February 28, 2018 22:45
ubertooth-git: fix prefix + install udev rule
_gitname=ubertooth
pkgname=ubertooth-git
pkgver=2017.03.R2
epoch=2
pkgrel=2
pkgdesc="an open source wireless development platform suitable for Bluetooth experimentation"
url="https://github.com/greatscottgadgets/ubertooth"
arch=('x86_64' 'i686')
license=('GPL2')
depends=('libbtbb-git' 'libusbx' 'libpcap' 'python')
@piec
piec / output.txt
Created January 15, 2018 09:41
Check existence of tmux supported terminfo entries in ncurses' terminfo
bad bce
xterm ok
bad E3
xterm ok
bad ech
xterm ok
bad hpa
xterm ok
bad ich1
bad indn
@piec
piec / true_color_test.py
Created January 14, 2018 22:58
Test Terminal "true color" (24 bit) color escape sequences
#!/usr/bin/env python
#Based on https://github.com/jonathanslenders/pymux/blob/master/examples/true_color_test.py
from __future__ import unicode_literals, print_function
import sys
n = 20
if len(sys.argv) > 1:
n = int(sys.argv[1])
% uname -a
Linux 4.11.9-1-ARCH #1 SMP PREEMPT Wed Jul 5 18:23:08 CEST 2017 x86_64 GNU/Linux
% docker info
Containers: 12
Running: 0
Paused: 0
Stopped: 12
Images: 28
Server Version: 17.06.0-ce
decorator==4.0.10
entrypoints==0.2.2
ipykernel==4.5.0
ipython==5.1.0
ipython-genutils==0.1.0
-e git+https://github.com/ipython/ipywidgets@2fd54077bf65e576cf5a1f8b2652be532cdf73c1#egg=ipywidgets
Jinja2==2.8
jsonschema==2.5.1
jupyter-client==4.4.0
jupyter-core==4.2.0