I hereby claim:
- I am hoehermann on github.
- I am hehoe (https://keybase.io/hehoe) on keybase.
- I have a public key whose fingerprint is 3042 CEF6 6876 4CC1 FFFA 95E6 BAA2 AC67 4D2E C9D1
To claim this, I am signing this object:
| # ChatGPT wrote this | |
| import usb.core | |
| import usb.util | |
| import argparse | |
| class CyberJack: | |
| def __init__(self): | |
| self.dev = usb.core.find(idVendor=0x0c4b, idProduct=0x0501) | |
| if self.dev is None: |
| #!/usr/bin/env python3 | |
| import fileinput | |
| import sys | |
| # TODO: buffer all lines, keep most recent (not first occurrence) | |
| o = [] | |
| for line in fileinput.input(): | |
| if (line in o): |
| <?xml version="1.0"?> | |
| <!DOCTYPE fontconfig SYSTEM "urn:fontconfig:fonts.dtd"> | |
| <fontconfig> | |
| <!-- This file wants to reside at ~/.config/fontconfig/conf.d/00-mononolig.conf --> | |
| <description>Disable ligatures for monospaced fonts to avoid ff, fi, ffi, etc. becoming only one character wide</description> | |
| <match target="font"> | |
| <test name="family" compare="contains" ignore-blanks="true"> | |
| <string>Mono</string> | |
| </test> | |
| <edit name="fontfeatures" mode="append"> |
| # disallow accessing block devices directly | |
| reject_devsdx () { | |
| # check if being executed at the top-level (e.g. invoked by the user trying to execute a command, but not when doing tab completion) | |
| if [[ -z "${FUNCNAME[1]}" ]] | |
| then | |
| blockdev_path="" | |
| # check each argument if it is a path that refers to a block device | |
| for arg in ${BASH_COMMAND} | |
| do | |
| # it is safe to use ${arg} without quotes here since the for loop has split it anyway |
| import argparse | |
| parser = argparse.ArgumentParser() | |
| parser.add_argument('--format', required=True, choices=['binary', 'xml', 'text']) | |
| args, rem_args = parser.parse_known_args() | |
| if (args.format == "text"): | |
| parser.add_argument('--encoding', required=True) | |
| parser.parse_args(rem_args, namespace=args) | |
| # this does not work since required argument has already been consumed |
| #!/usr/bin/env python3 | |
| # encoding: utf-8 | |
| import sys | |
| import dbus | |
| import dbus.mainloop.glib | |
| import subprocess | |
| import time | |
| import re | |
| from gi.repository import GLib |
I hereby claim:
To claim this, I am signing this object:
| User's notes | |
| =============================================================================================== | |
| Witcher 2 does not support this Intel graphics driver. | |
| Console output is witcher2: /mnt/Storage/Development/Projects/eon2-witcher2/src/dlls/directx/d3d9/uniformBuffer.cpp:71: void eON_UniformBufferStreamed::MakeNewBuffer(): Assertion `mBufferPtr' failed | |
| =============================================================================================== | |
| Output of command: ''/media/EXTRA/Spiele/SteamLibrary/SteamApps/common/the witcher 2/crash_reporting/minidump_stackwalk' '/home/hermann/.local/share/cdprojektred/witcher2//3cd0cb0f-df91-ef2b-0cd7a362-420f4d0e.dmp' '/media/EXTRA/Spiele/SteamLibrary/SteamApps/common/the witcher 2/crash_reporting/symbols/'' | |
| =============================================================================================== | |
| Operating system: Linux | |
| 0.0.0 Linux 3.13.0-39-generic #66-Ubuntu SMP Tue Oct 28 13:30:27 UTC 2014 x86_64 | |
| CPU: x86 |