Commit Graph

44 Commits

Author SHA1 Message Date
00696fc449 feat(scripts): add reusable venv utilities and file case renaming script
- Added `scripts/library/venv_utils.py`:
  - Utilities for creating, activating, and managing Python virtual environments.
  - Supports automatic requirement installation and optional --verbose mode.
- Added `scripts/change_case.py`:
  - CLI script to recursively rename files and directories based on case transformation (lower, upper, capitalize).
  - Supports --recursive and --case flags, and integrates with `venv_utils.py`.
- Updated README with usage instructions and documentation for new components.
2025-07-12 13:58:34 -04:00
e966f4625a Added changes to README to reflect latest changes in scripts. 2025-02-08 15:13:02 -05:00
8ff995a29f feat: Add shorthand parameters to video_manage_audio.py and video_manage_subtitles.py
- Added shorthand options for common arguments:
  - `-t` for --track
  - `-f` for --file
  - `-d` for --dir
- Simplified command-line usage for managing audio and subtitle tracks in video files.
2025-02-08 13:55:14 -05:00
2152479d2e feat: Add video_manage_subtitles.py to manage subtitle tracks in video files
- Implement functionality to remove, keep, or remove all subtitle tracks.
- Supports processing single video files or entire directories.
- Includes options for managing subtitle tracks by index.
2025-02-08 13:50:38 -05:00
53f483b574 feat: Enhanced functionalities of video_manage_audio.py to support removing and keeping tracks.
- Refactored audio processing logic to handle both 'remove' and 'keep' commands.
- Added a command-line argument to specify whether to remove a specific audio track or keep only a selected audio track while preserving other streams.
- Improved handling of video file processing in directories with recursive function.
- Streamlined error handling for more informative output during ffmpeg execution.
- Updated argument parsing with command options and enhanced autocomplete support.
2025-02-08 13:37:41 -05:00
4c76cbfe76 Renamed video_remove_audio.py to video_manage_audio.py to reflect incomming changes. 2025-02-08 13:16:33 -05:00
4ef0772105 Added argcomplete to video_autoreduce scripts. 2025-02-08 13:07:02 -05:00
98f9a57ea1 feat: add video_autoreduce_rename.py for automated renaming
- Adds `video_autoreduce_rename.py`, a companion script to rename video files and directories containing resolution tags.
- Automatically replaces higher resolution tags (e.g., 2160p, 1080p) with a specified max height (default: 720p).
- Supports debug mode for detailed output.
- Prevents overwriting existing files by skipping conflicts.
- Complements `video_autoreduce.py` for a streamlined video processing workflow.
2025-02-08 13:01:15 -05:00
218951f035 Merge branch 'main' gitea.fabq.ca 2025-02-08 12:55:54 -05:00
c062b32dc6 feat: add video_autoreduce.py for automatic video resolution reduction
Added `video_autoreduce.py`, a Python script that scans directories for video files exceeding a specified resolution and prepares them for automatic resolution reduction using FFmpeg.

- Detects video files in a given directory.
- Determines their resolution using `ffprobe`.
- Identifies videos exceeding a maximum height threshold.
- Supports subtitle codec validation and ensures proper output handling.
- Includes utility functions for file management and logging.

This script will help streamline batch video processing while preserving essential metadata and subtitles.
2025-02-08 12:55:09 -05:00
45fb6b35b3 Updated README with information about latest notes. 2025-02-03 10:25:28 -05:00
9246fde44a Added some notes on debugging WordPress sites. 2025-02-03 10:22:54 -05:00
358d95d9d4 Added notes on managing and upgrading cache on BTRFS partitions. 2025-01-30 12:32:38 -05:00
d82801a8f1 Obfuscated stor2 references with <name-hypervisor-nas> placeholder and refined placeholders.
- Updated `<hostname-intranet>`, `<hostname-internet>`, `<hostname-hypervisor>`, and `<hostname-hypervisor-nas>` placeholders to include `.domain.com` in examples.
- Added `<name-hypervisor-nas>` placeholder for clarity.
- Applied changes across all guides for consistency and enhanced obfuscation.
2024-12-13 19:39:50 -05:00
3f940f4c0a Add manual IP configuration instructions for Brother printers to notes
- Include commands for setting a fixed IP using brsaneconfig4 and brsaneconfig3.
2024-12-11 17:56:16 -05:00
a6fa2738cd docs: update README to reflect recent repository changes
- Added references to new guides included in the repository.
- Updated paths to server setup notes moved to `setups/*`.
- Reflected overall structural changes and improvements in the repository.

This update ensures the README stays accurate and provides clear navigation for users.
2024-12-05 22:36:36 -05:00
d57bc2e973 feat: Add comprehensive guide for installing Gitea on Debian
- Introduced a detailed installation guide for Gitea on Debian in a Proxmox LXC container.
- Included sections on:
  - Introduction to Gitea
  - Prerequisites for installation
  - Step-by-step installation procedure
  - Important warnings and security practices
  - Useful commands and information

This guide aims to simplify the setup and configuration of Gitea for efficient Debian package management.

- Updated README.md to reflect those changes.
2024-12-05 22:33:20 -05:00
ebeeddd77e refactor: unify and enhance documentation across repositories
- Unified and cleaned up common headers and notes for consistency.
- Standardized formatting and normalized examples for better readability.
- Aligned wording and comments for common commands to ensure uniform style.

These changes improve clarity, maintainability, and usability of the documentation.
2024-12-05 22:31:47 -05:00
9b827965d5 Moved machine setups from notes to own folder. 2024-12-05 18:37:02 -05:00
b8b8817cd4 feat(notes): add guide for OCR and PDF manipulation on Linux
- Added instructions for setting up Tesseract with language support.
- Documented steps for converting PDFs to images using `pdftoppm` and alternatives like `ImageMagick`.
- Included examples for single and multi-page OCR processing.
- Detailed methods for merging extracted text into a single file.
- Added troubleshooting tips for improving OCR results and handling selectable PDFs with `pdftotext`.
2024-12-05 16:09:04 -05:00
115eec5c62 feat(dns): add comprehensive DNS notes
- Documented commands for flushing DNS cache using `resolvectl` and `systemd-resolve`.
- Included instructions for enabling and restarting `systemd-resolved` service.
- Added usage examples for `dig` and `nslookup` to query DNS records.
- Provided contextual explanations and legacy tool considerations.
2024-12-05 15:49:54 -05:00
cd1db53397 Add commands to find information about Linux distribution, version, and kernel
Included various commands such as `lsb_release -a`, `cat /etc/debian_version`, and `hostnamectl` to document ways of retrieving system and distribution details.
2024-12-05 15:40:37 -05:00
38da2a4315 Slight additions of missing commands in aptly setup notes. 2024-11-18 20:17:00 -05:00
758a624218 feat: Add comprehensive guide for installing Aptly on Debian
- Introduced a detailed installation guide for Aptly on Debian in a Proxmox LXC container.
- Included sections on:
  - Introduction to Aptly
  - Prerequisites for installation
  - Step-by-step installation procedure
  - Important warnings and security practices
  - Useful commands and information

This guide aims to simplify the setup and configuration of Aptly for efficient Debian package management.

- Updated README.md to reflect those changes.
2024-10-30 01:21:57 -04:00
1d9f2f60a7 feat: add debrepo.fabq.ca.html and related images
- Added debrepo.fabq.ca.html template for the Debian package repository homepage.
- Included various icons for better representation and accessibility, such as:
  - Favicon (16x16, 32x32)
  - Android Chrome icons (192x192, 512x512)
  - Apple Touch icon
  - Web manifest for site configuration
2024-10-29 17:42:26 -04:00
3ae971374f feat: add user creation notes to linux.md
- Documented user addition using the `adduser` command with the `--gecos` option for pre-filling user details.
2024-10-29 17:35:58 -04:00
e793f578de Added step to install a public key on a remote server for passwordless authentication manually 2024-10-24 14:13:52 -04:00
0a0099d44d Update README: Improve formatting and clarity
- Enhanced section headers for improved readability
- Added detailed descriptions for setup and usage instructions
- Clarified contribution guidelines and project objectives
2024-10-23 14:17:41 -04:00
173bffb260 Add SSH notes to repository
This commit introduces comprehensive SSH documentation, covering key management, connection methods, firewall configurations, and secure file transfer protocols. The new section includes:

- Instructions for connecting using specific SSH keys.
- Detailed SSH key management processes, including key generation and public key installation.
- Verbose mode usage for connection troubleshooting.
- Configuration guidelines for enabling root login and firewall settings with firewalld.
- Examples of SCP (Secure Copy Protocol) for secure file transfers.
- Commands for executing remote commands and testing SSH connections.
- Best practices for managing SSH aliases and updating known hosts.
- Steps for removing offending SSH keys from the known_hosts file.

These notes serve as a resource for efficient SSH usage and management, enhancing the overall functionality of the repository.
2024-10-23 13:28:34 -04:00
069db4061b Add script to remove audio tracks from video files using ffmpeg
- Published a Python script that removes specified audio tracks from video files.
- Supports individual files and recursive directory processing.
- Added argument parsing with options for specifying audio track, file, and directory.
- Implemented color-coded output for clearer feedback.
- Integrated argcomplete for command-line autocompletion.
2024-10-23 10:10:22 -04:00
42658df87b Add detailed Debian packaging notes
- Added a comprehensive guide for creating Debian packages, including steps for source tarball creation, building control files, changelog format, and package testing.
- Clarified the purpose of key Debian control files (control, rules, changelog, etc.).
- Included optional `lintian` step to ensure package compliance with Debian policies.
- Provided instructions for testing the built `.deb` package after installation.
- Ensured versioning structure aligns with Debian conventions.

These notes provide a full step-by-step process to package applications for Debian, making it easier to manage future packaging tasks.
2024-10-23 10:01:00 -04:00
7124708173 Added pip packaging notes and guide for Debian
- Included instructions for required tools, building the package, and uploading to Test PyPI and Live PyPI.
- Added comments for clarity in the notes.

Added notes on user commands and font directories in Linux notes

- Included commands to run commands as a specific user, change user shells, and switch to a user with a specific shell.
- Added instructions for managing local and global font directories.
2024-10-21 03:19:21 -04:00
83af3e5f80 Add installation guide for ChromeDriver on Linux 2024-09-24 16:01:23 -04:00
feffc2920c Add comprehensive BTRFS management notes
- Added sections for Information on Drives, Filesystem, Backup Procedures, Recovery, Drive Manipulation, Balances, Scrub, and Snapshots.
- Included commands and procedures for listing drives, displaying filesystem information, managing backups, handling recovery, drive replacements, balancing, scrubbing, and snapshot operations.
- Updated and standardized syntax highlighting and command format for clarity.
2024-09-24 05:04:24 -04:00
b0fea8a511 Add Brother printer installation instructions for Linux
- Added resources and download links for Brother printer drivers (MFC-9010CN and DCP-L2520DW).
- Included installation commands for downloading and installing printer drivers.
- Provided detailed step-by-step instructions for extracting and running the installer script.
- Clarified options for USB and network printer setups during installation.
2024-09-23 23:34:40 -04:00
328b876257 Add Disk Management and Diagnosis sections to notes
- **Disk Management**: Added commands for switching data between two USB drives, including formatting and copying operations.
- **Diagnosis**:
  - **Apt**: Included command to view APT logs for package history.
  - **Wayland Issues**: Added commands for checking system logs and GPU information to diagnose Wayland-related issues.
2024-09-23 23:20:37 -04:00
3364657b0b Enhance system management notes with additional commands and scripts
- Added instructions for setting and updating hostnames, including alias configuration.
- Included detailed `tar` commands for creating and transferring backups over SSH.
- Expanded time zone configuration section with `timedatectl` commands and manual link setup.
- Added methods for locating specific services using `systemctl`.
- Included steps for decrypting and re-encrypting `openssl` archives with password management.
- Added `diff`, `rsync`, and `cmp` methods for recursively verifying directory content differences.
2024-09-23 23:07:21 -04:00
aeae8e4ab1 Add notes on installing and updating fonts
- Added instructions for downloading, extracting, and copying font files.
- Included steps to update the font cache with explanations of `fc-cache` options.
2024-09-23 17:59:28 -04:00
51c0b3312c Update Linux Notes: Expanded System Information and User Management Sections
- **System Information**:
  - Added detailed commands for hardware and software information, including `lscpu`, `lshw`, `hwinfo`, and more.
  - Included commands for finding binary paths, counting words and lines in files.

- **User Management**:
  - Introduced new sections for managing user information, super user management, and switching users.
  - Added commands for listing users, disabling root login via SSH, managing sudo permissions, and switching users with sudo or root privileges.

This update provides a more comprehensive overview of system and user management tasks.
2024-09-23 17:51:52 -04:00
3d175495c9 Add notes on pdftk for PDF manipulation
- Included basic commands for common PDF tasks using pdftk
- Added instructions for:
  - Merging PDFs
  - Appending one PDF to another
  - Cutting specific pages from a PDF
  - Splitting PDFs into individual pages
  - Rotating PDF pages
  - Encrypting PDFs with a password

This commit provides essential pdftk commands for managing and manipulating PDF files.
2024-09-23 16:53:44 -04:00
c66d6a3213 Add notes on Linux system commands and USB device management
- Added detailed instructions for checking and managing USB devices
- Included commands for:
  - Viewing system information related to USB devices
  - Identifying mount points and device information
  - Checking filesystem and data integrity
  - Testing for bad blocks and running SMART diagnostics
  - Benchmarking read speed and safely removing devices

This commit provides a comprehensive guide for handling USB devices in Linux environments.
2024-09-23 16:48:41 -04:00
c63f44feee Ajouté pages et requetes d'erreurs par défaut. 2024-07-30 22:25:07 -04:00
6127efd6e1 Added default error pages 2024-07-07 01:59:53 -04:00
973d9ac9b6 Initial commit 2024-07-07 00:26:42 -04:00