Skip to content

Instantly share code, notes, and snippets.

View kenorb's full-sized avatar
💭
The Consciousness Has Shifted...The Awakening Has Begun

Rafal W. kenorb

💭
The Consciousness Has Shifted...The Awakening Has Begun
View GitHub Profile
@kenorb
kenorb / adj-2keys.py
Last active February 15, 2025 00:25
Find surrounding keys on keyboard layouts
#!/usr/bin/env bash
keyboard_layouts = {
# US QWERTY Layout (Lowercase)
"us_lowercase": [
"`1234567890-=",
" qwertyuiop[]\\",
" asdfghjkl;'",
" zxcvbnm,./"
],
@kenorb
kenorb / unicode-ranges.md
Last active February 8, 2025 18:41
Unicode ranges
Hex Start Hex End Name Category
0x0000 0x001F C0 Controls Control
0x0020 0x007F Basic Latin Latin
0x0080 0x009F C1 Controls Control
0x00A0 0x00FF Latin-1 Supplement Latin
0x0100 0x017F Latin Extended-A Latin
0x0180 0x024F Latin Extended-B Latin
0x0250 0x02AF IPA Extensions Phonetic
0x02B0 0x02FF Spacing Modifier Letters Phonetic
@kenorb
kenorb / dmesg.txt
Created February 1, 2025 22:30
PCIe error on Ubuntu
[ 1.852280] calling bert_init+0x0/0x320 @ 1
[ 1.852291] BERT: Error records from previous boot:
[ 1.852493] [Hardware Error]: event severity: fatal
[ 1.852695] [Hardware Error]: Error 0, type: fatal
[ 1.852892] [Hardware Error]: fru_text: PcieError
[ 1.853085] [Hardware Error]: section_type: PCIe error
[ 1.853277] [Hardware Error]: port_type: 4, root port
[ 1.853467] [Hardware Error]: version: 0.2
[ 1.853658] [Hardware Error]: command: 0x0003, status: 0x0010
[ 1.853846] [Hardware Error]: device_id: 0000:e0:05.2
@kenorb
kenorb / macOS-14.4-kernel-panic.txt
Created May 12, 2024 22:56
panic(cpu 0 caller 0xfffffe00297edd74): hibernate_write_image encountered error
panic(cpu 0 caller 0xfffffe00297edd74): hibernate_write_image encountered error 0xe00002e8 - 903926, 194303, 253093, 0, 0, 0, 10857, 12, 0, 0, 0, 1, 1, 0
@vm_compressor.c:5609
Debugger message: panic
Memory ID: 0x6
OS release type: User
OS version: 23E214
Kernel version: Darwin Kernel Version 23.4.0: Wed Feb 21 21:44:43 PST 2024; root:xnu-10063.101.15~2/RELEASE_ARM64_T6000
Fileset Kernelcache UUID: 8E2B18A405A53944BF38EFAC03047CB4
Kernel UUID: FF85748F-8743-36DA-9559-6332F0650C53
Boot session UUID: 0A212AA3-0746-482B-9B48-8896B7464863
@kenorb
kenorb / pdftotext.sh
Created January 27, 2024 14:47
pdftotext script
sudo apt install poppler-utils poppler-data
find . -iname "*.pdf" -print -execdir bash -c '! test -f "{}".txt && pdftotext "{}" "{}".txt' ';'
@kenorb
kenorb / macOS-13.5.2-kernel-panic.txt
Created September 25, 2023 11:19
panic(cpu 0 caller 0xfffffe00212c33fc): hibernate_write_image
panic(cpu 0 caller 0xfffffe00212c33fc): hibernate_write_image encountered error 0xe00002e8 - 344909, 149243, 86225, 0, 0, 0, 4142, 14, 0, 0, 0, 1, 1, 0
@vm_compressor.c:5648
Debugger message: panic
Memory ID: 0x6
OS release type: User
OS version: 22G91
Kernel version: Darwin Kernel Version 22.6.0: Wed Jul 5 22:22:05 PDT 2023; root:xnu-8796.141.3~6/RELEASE_ARM64_T6000
Fileset Kernelcache UUID: FB61321F4E98E49311ADEF1582F1A086
Kernel UUID: E88B0B04-7B4D-3E52-8980-A19ED82304F7
Boot session UUID: DDD30AA4-393A-431A-BD9E-C489A236BF86
@kenorb
kenorb / macOS-Outlook-SEGV.txt
Created July 14, 2023 13:59
Exception: EXC_BAD_ACCESS: KERN_INVALID_ADDRESS (0x0000000000000070)
Microsoft Error Reporting log version: 2.0
Error Signature:
Exception: EXC_BAD_ACCESS
ExceptionEnumString: 1
Exception Code: KERN_INVALID_ADDRESS (0x0000000000000070)
Date/Time: 2023-07-14 11:04:20 +0000
Application Name: Microsoft Outlook
Application Bundle ID: com.microsoft.Outlook
Application Signature: OPIM
@kenorb
kenorb / MAM5-admin-crash.log
Created July 13, 2023 22:11
System.ServiceModel.CommunicationObjectFaultedException
See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.
************** Exception Text **************
System.ServiceModel.CommunicationObjectFaultedException: The communication object, System.ServiceModel.Channels.ServiceChannel, cannot be used for communication because it is in the Faulted state.
Server stack trace:
at System.ServiceModel.Channels.CommunicationObject.ThrowIfFaulted()
at System.ServiceModel.Channels.ServiceChannel.Call(String action, Boolean oneway, ProxyOperationRuntime operation, Object[] ins, Object[] outs, TimeSpan timeout)
at System.ServiceModel.Channels.ServiceChannelProxy.InvokeService(IMethodCallMessage methodCall, ProxyOperationRuntime operation)
@kenorb
kenorb / macOS-Ventura-panic-cpu-watchdogd-crash.txt
Last active July 12, 2023 12:15
[macOS Ventura] userspace watchdog timeout: no successful checkins from logd in 120 seconds
panic(cpu 1 caller 0xfffffe0026c5d2f8): userspace watchdog timeout: no successful checkins from logd in 120 seconds
service returned not alive with context : unresponsive dispatch queue(s): com.apple.firehose.drain-mem, com.apple.firehose.io-wl
logd has not exited since first loaded
service: logd, total successful checkins in 136891 seconds: 13458, last successful checkin: 120 seconds ago
service: WindowServer, total successful checkins in 136835 seconds: 13456, last successful checkin: 100 seconds ago
service: opendirectoryd, total successful checkins in 136891 seconds: 13469, last successful checkin: 0 seconds ago
service: configd, total successful checkins in 136891 seconds: 13469, last successful checkin: 0 seconds ago
Debugger message: panic
Memory ID: 0x6
@kenorb
kenorb / Monterey-kernel.macos.crash.txt
Created May 17, 2023 16:49
panic(cpu 2 caller 0xfffffe00199212dc): watchdog timeout: no checkins from watchdogd
panic(cpu 2 caller 0xfffffe00199212dc): watchdog timeout: no checkins from watchdogd in 92 seconds (2386 total checkins since monitoring last enabled)
Debugger message: panic
Memory ID: 0x6
OS release type: User
OS version: 21G115
Kernel version: Darwin Kernel Version 21.6.0: Mon Aug 22 20:19:52 PDT 2022; root:xnu-8020.140.49~2/RELEASE_ARM64_T6000
Fileset Kernelcache UUID: 39A7E336B0FAA0022B3764E49DFF29D2
Kernel UUID: 778CC57A-CF0B-3D35-8EE8-5035142D0177
iBoot version: iBoot-7459.141.1
secure boot?: YES