Skip to content

Instantly share code, notes, and snippets.

View costis-t's full-sized avatar
💭
I may be slow to respond.

Konstantinos Tsardounis costis-t

💭
I may be slow to respond.
View GitHub Profile
@costis-t
costis-t / logs.md
Last active August 5, 2026 02:18
nVidia 595.84 and 610.57.04: hibernation fails

AI-generated supporting logs for a comment on NVIDIA/open-gpu-kernel-modules#1226.

Disk and LUKS UUIDs in the kernel command line have been replaced with <UUID-A> / <UUID-B>.

The complete matrix

595.84 610.57.04
A — NVIDIA modules in the initramfs (force_drivers) restore leg: pci_pm_freeze returns -5 restore leg: pci_pm_freeze returns -5
@costis-t
costis-t / lxqt-wallet-4.0.2-export-import-split.patch
Created July 26, 2026 17:06
Repro + fix for lxqt_wallet protected-visibility link failure (lxqt_wallet#60 / sirikali#300)
--- a/frontend/lxqt_wallet.h 2024-11-01 20:52:06.000000000 +0100
+++ b/frontend/lxqt_wallet.h 2026-07-26 16:12:09.161971178 +0200
@@ -31,6 +31,13 @@
#ifndef LXQT_WALLET_INTERFACE_H
#define LXQT_WALLET_INTERFACE_H
+#include <QtGlobal>
+#if defined(LXQT_WALLET_BUILDING_LIBRARY)
+#define LXQT_WALLET_API Q_DECL_EXPORT
+#else
@costis-t
costis-t / lxqt-wallet-4.0.2-export-import-split.patch
Created July 26, 2026 17:04
Repro + fix for lxqt_wallet protected-visibility link failure (lxqt_wallet#60 / sirikali#300)
--- a/frontend/lxqt_wallet.h 2024-11-01 20:52:06.000000000 +0100
+++ b/frontend/lxqt_wallet.h 2026-07-26 16:12:09.161971178 +0200
@@ -31,6 +31,13 @@
#ifndef LXQT_WALLET_INTERFACE_H
#define LXQT_WALLET_INTERFACE_H
+#include <QtGlobal>
+#if defined(LXQT_WALLET_BUILDING_LIBRARY)
+#define LXQT_WALLET_API Q_DECL_EXPORT
+#else
@costis-t
costis-t / emerge --info
Created January 13, 2024 15:07
Binary gcc
# emerge --info
Portage 3.0.61 (python 3.11.7-final-0, default/linux/amd64/17.1, gcc-13, glibc-2.38-r9, 6.1.66-gentoo-x86_64 x86_64)
=================================================================
System uname: Linux-6.1.66-gentoo-x86_64-x86_64-AMD_Ryzen_7_2700_Eight-Core_Processor-with-glibc2.38
KiB Mem: 32788860 total, 17878708 free
KiB Swap: 0 total, 0 free
Timestamp of repository gentoo: Sat, 13 Jan 2024 14:00:01 +0000
Head commit of repository gentoo: 50d2af6c43a8ba2dc16407c818d4c6f1972704a4
sh bash 5.1_p16-r6
ld GNU ld (Gentoo 2.41 p4) 2.41.0
@costis-t
costis-t / .p10k.zsh
Created March 3, 2022 02:50
Powerlevel10k configuration
# Generated by Powerlevel10k configuration wizard on 2022-03-03 at 00:47 CET.
# Based on romkatv/powerlevel10k/config/p10k-rainbow.zsh, checksum 58020.
# Wizard options: nerdfont-complete + powerline, small icons, rainbow, unicode,
# 24h time, round separators, round heads, round tails, 2 lines, dotted, full frame,
# darkest-ornaments, sparse, many icons, fluent, transient_prompt,
# instant_prompt=verbose.
# Type `p10k configure` to generate another config.
#
# Config for Powerlevel10k with powerline prompt style with colorful background.
# Type `p10k configure` to generate your own config based on it.
We can make this file beautiful and searchable if this error is corrected: Any value after quoted field isn't allowed in line 2.
"Group ID (Vulid)", "Group Title", "Rule ID", "Severity", "Rule Version (STIG-ID)", "Rule Title", "Vulnerability Discussion", "Check Content", "Fix Text", "CCI"
"V-81749", "SRG-OS-000067-GPOS-00035", "SV-96463r1_rule", "CAT II", "AOSX-13-067035", "The macOS system must enable certificate for smartcards.", "its issuer is system-trusted, the certificate is not expired, its "valid-after" date is in the past, and it passes CRL and OCSP checking.", "sudo /usr/sbin/system_profiler SPConfigurationProfileDataType | /usr/bin/grep checkCertificateTrust If the output is null or not "checkCertificateTrust = 1;" this is a finding.", "This setting is enforced using the "Smartcard" configuration profile.", "CCI-000186"
"V-81749", "SRG-OS-000067-GPOS-00035", "SV-96463r1_rule", "CAT II", "AOSX-13-067035", "The macOS system must enable certificate for smartcards.", "its issuer is system-trusted, the certificate is not expired, its "valid-after" date is in the past, and it passes CRL and OCSP checking.", "sudo /usr/sbin/system_
@costis-t
costis-t / .config
Created December 19, 2017 01:31
Gentoo Installation Files
#
# Automatically generated file; DO NOT EDIT.
# Linux/x86 4.12.12-gentoo Kernel Configuration
#
#
# Gentoo Linux
#
CONFIG_GENTOO_LINUX=y
CONFIG_GENTOO_LINUX_UDEV=y
= Arch Linux step-by-step installation =
= http://blog.fabio.mancinelli.me/2012/12/28/Arch_Linux_on_BTRFS.html =
== Boot the installation CD ==
== Create partition ==
cfdisk /dev/sda
* Create a partition with code 8300 (Linux)