This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env bash | |
| set -e | |
| if [ -z "$1" ]; then | |
| echo "Użycie: $0 <plik_lub_katalog_cbz>" | |
| exit 1 | |
| fi | |
| convert_cbz() { | |
| local cbz_file="$1" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /* ========================================================= | |
| VARIABLES & THEME CONFIGURATION | |
| ========================================================= */ | |
| :root { | |
| /* Text & Links */ | |
| --body-color: #c7ccd1; | |
| --link-color: #5da9e9; | |
| --text-muted: #707982; | |
| --text-light: #ffffff; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /* ==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; | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| [Machine] | |
| cpu_family = celeron_mendocino | |
| cpu_multi = 2 | |
| cpu_speed = 133333333 | |
| cpu_use_dynarec = 1 | |
| fpu_type = internal | |
| machine = p6bap | |
| mem_size = 131072 | |
| [Video] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/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" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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): |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/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" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package Pisg::Parser::Format::Matrix; | |
| use strict; | |
| use warnings; | |
| use Carp; | |
| sub new | |
| { | |
| my ($type, %args) = @_; | |
| my $self = { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package Pisg::Parser::Format::IRCcloud; | |
| use strict; | |
| $^W = 1; | |
| sub new | |
| { | |
| my ($type, %args) = @_; | |
| my $self = { | |
| cfg => $args{cfg}, |
NewerOlder