Skip to content

Instantly share code, notes, and snippets.

@kompowiec
kompowiec / IRCcloud.css
Last active August 16, 2026 13:01
IRCCloud-inspired dark theme for The Lounge. The code needs refactoring.
@import 'default.css';
/*
* IRCCloud-inspired dark theme for The Lounge
*/
:root {
--body-color: #c7ccd1;
--dim-color: #7f8790;
--link-color: #5da9e9;
@kompowiec
kompowiec / IRCcloud.css
Last active July 23, 2026 13:04
IRCCloud Hide Topic Changes
/* ==UserStyle==
@name IRCCloud - Hide Topic Changes
@namespace github.com/yourname
@version 1.0.0
@match https://www.irccloud.com/*
==/UserStyle== */
.type_channel_topic {
display: none !important;
}
@kompowiec
kompowiec / Win98SE.cfg
Last active January 13, 2026 13:37
Config under x86Box which work with I'm Spy Spooky Mansion https://www.youtube.com/watch?v=jihno2Gh6eM
[Machine]
cpu_family = celeron_mendocino
cpu_multi = 2
cpu_speed = 133333333
cpu_use_dynarec = 1
fpu_type = internal
machine = p6bap
mem_size = 131072
[Video]
@kompowiec
kompowiec / vvv-FHS-start.sh
Last active May 3, 2025 16:05
config vvv script to adopt FHS
#!/bin/sh
# Resolve the script location (symlink-safe)
SCRIPT_DIR="$(cd "$(dirname "$(readlink -f "$0")")" && pwd)"
# Set the root of the app (we assume bin/ is next to lib/)
VVV_ROOT="$(dirname "$SCRIPT_DIR")/lib/vvv"
# Change directory to where the actual app lives
cd "$VVV_ROOT" || exit 1
# Set up environment
export LD_LIBRARY_PATH="$VVV_ROOT/firebird"
import os
import time
import json
import subprocess
import psutil
import threading
from collections import deque
from pystray import Icon, Menu, MenuItem
from PIL import Image, ImageDraw
@kompowiec
kompowiec / Disc-spanning.py
Last active September 6, 2025 15:28
implementation feature for linux: https://cdburnerxp.se/help/Data/disc-spanning
import os
import shutil
import subprocess
import tkinter as tk
from tkinter import filedialog, messagebox
from collections import defaultdict
def get_file_sizes(directory):
files = []
for root, _, filenames in os.walk(directory):
@kompowiec
kompowiec / convert_cbr_to_cbz
Created November 21, 2024 12:57
CBR to CBZ converter
#!/bin/bash
# Find all CBR files recursively and process each
find . -type f -iname '*.cbr' | while read -r cbr_file; do
# Extract the directory and file name without extension
dir=$(dirname "$cbr_file")
base=$(basename "$cbr_file" .cbr)
# Create a temporary folder for extraction
temp_dir="${dir}/${base}_temp"
@kompowiec
kompowiec / Matrix.pm
Last active September 2, 2024 11:27
file format for Perl IRC Statistics Generator - https://pisg.github.io/ - matrix protocol
package Pisg::Parser::Format::Matrix;
use strict;
use warnings;
use Carp;
sub new
{
my ($type, %args) = @_;
my $self = {
@kompowiec
kompowiec / IRCcloud.pm
Last active September 1, 2024 11:51
file format for Perl IRC Statistics Generator - https://pisg.github.io/
package Pisg::Parser::Format::IRCcloud;
use strict;
$^W = 1;
sub new
{
my ($type, %args) = @_;
my $self = {
cfg => $args{cfg},
@kompowiec
kompowiec / Problem solving.md
Last active July 27, 2026 19:29
Marketing prompt for ChatGPT

✅ 1. Freeform Brainstorming Prompt Template

🧠 Use for: Micro-tasks, general ideation, quick hacks, first-draft ideas

I'm looking for creative ideas or practical suggestions for this situation:

[DESCRIBE YOUR PROBLEM / GOAL]

There are no strict constraints. Be unconventional if helpful, but make it usable in real life.