Skip to content

Instantly share code, notes, and snippets.

@piec
piec / crash.txt
Created June 17, 2025 07:12
galaxy-s24-webgl-crash
06-16 11:57:48.898 28934 28934 F DEBUG : *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
06-16 11:57:48.898 28934 28934 F DEBUG : Build fingerprint: 'samsung/e1sxeea/e1s:15/AP3A.240905.015.A2/S921BXXU6BYE7:user/release-keys'
06-16 11:57:48.898 28934 28934 F DEBUG : Revision: '17'
06-16 11:57:48.898 28934 28934 F DEBUG : ABI: 'arm64'
06-16 11:57:48.898 28934 28934 F DEBUG : Processor: '4'
06-16 11:57:48.898 28934 28934 F DEBUG : Timestamp: 2025-06-16 11:57:48.414623906+0200
06-16 11:57:48.898 28934 28934 F DEBUG : Process uptime: 338s
06-16 11:57:48.898 28934 28934 F DEBUG : Cmdline: com.android.chrome:privileged_process4
06-16 11:57:48.898 28934 28934 F DEBUG : pid: 22042, tid: 22067, name: CrGpuMain >>> com.android.chrome:privileged_process4 <<<
06-16 11:57:48.899 28934 28934 F DEBUG : uid: 10286
span {
font-family: cursive !important;
}
@piec
piec / gmail-toggle-unread.js
Last active September 16, 2025 13:30
violentmonkey script to toggle gmail "is unread"
// ==UserScript==
// @name gmail - toggle is unread
// @namespace Violentmonkey Scripts
// @match https://mail.google.com/*
// @grant none
// @version 1.2
// @author piec
// @description 3/17/2025, 10:19:57 AM
// @require https://cdn.jsdelivr.net/npm/@violentmonkey/shortcut@1
// @homepageURL https://gist.github.com/piec/d17ac9317025c96bb5f3a88ecab7f8e0
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