Tagged articles
zip
61 articles · Page 1 of 1
This comprehensive guide examines Linux compression and decompression, comparing tar, gzip, and zip in depth, covering algorithm fundamentals, performance benchmarks, practical command examples, automation scripts, security considerations, and best‑practice recommendations to help engineers choose the optimal tool for backup, deployment, and data transfer tasks.
CompressionGZIPLinux
0 likes · 32 min read

Linux favors tar.gz because it follows the Unix philosophy of single‑purpose tools, preserves file permissions and metadata, is universally available without extra installation, offers flexible compression options, and benefits from a mature ecosystem, whereas ZIP loses metadata and 7Z requires extra tools and is slower.
7zGZIPLinux
0 likes · 7 min read

An online education platform needs to batch‑download course materials from self‑hosted courses, partner APIs, and archived PDFs; the article details a Spring Boot service that aggregates URLs, signs them, distinguishes direct downloads, submits an asynchronous PDF conversion and ZIP packaging task via Feign, and returns a task ID for front‑end polling.
FeignJavaPDF
0 likes · 15 min read

This guide introduces essential Linux file management commands—including tar, zip, unzip, ln, scp, and rsync—detailing their most useful options, typical usage patterns, and examples for creating, extracting, linking, and synchronizing files both locally and remotely.
Linuxfile-managementln
0 likes · 7 min read

zip_read() is a PHP function that reads each entry from an opened ZIP archive, returning detailed information about the entry or false when the end is reached; the guide explains its syntax, step‑by‑step usage, example code, and notes its limitation to metadata reading.
file handlingzipzip_read
0 likes · 3 min read

This guide explains where to find trustworthy PHP project zip files—such as from official sites, GitHub, or open‑source communities—then walks through the step‑by‑step download process, extraction, and essential post‑download checks like file integrity, installation instructions, server deployment, and PHP version compatibility.
DownloadTutorialsetup
0 likes · 4 min read

This comprehensive guide explains Linux compression and decompression fundamentals, compares tar, gzip, and zip commands, provides detailed syntax, performance benchmarks, practical scripts, automation techniques, monitoring, security considerations, cloud integration, and future trends for reliable data handling in modern operations.
CompressionGZIPLinux
0 likes · 39 min read

Learn how to efficiently package local and remote files into a Zip archive while preserving directory structure, using streaming I/O in Java Spring, with safe filename handling, empty directory markers, error handling, and best practices for large or batch downloads.
File DownloadSpringStreaming I/O
0 likes · 13 min read

This comprehensive guide explores Linux compression and decompression, detailing the fundamentals of tar, gzip, and zip, comparing performance, providing practical command examples, advanced techniques, automation scripts, monitoring, security considerations, and real‑world case studies to help engineers choose the right tool for efficient data handling.
CompressionGZIPbackup
0 likes · 44 min read

Discover seven practical Python tricks—from function attributes and pass placeholders to eval, web server shortcuts, unlimited arguments, zip merging, and list rotation—each illustrated with clear code examples that make everyday coding faster and more elegant.
code tricksevalfunctions
0 likes · 5 min read

This guide explains the concepts and practical commands for file packaging and compression on Linux, covering zip, gzip, bzip2, xz, tar, and split utilities, their options, usage examples, and cross‑platform compatibility with Windows formats.
GZIPLinux commandsfile compression
0 likes · 11 min read

This guide explores six practical Python techniques for merging two lists—including the + operator, extend(), zip(), unpacking, list comprehensions, and itertools.chain()—detailing code examples, performance considerations, and when to choose each method for efficient data handling.
Pythonextenditertools
0 likes · 5 min read

This article introduces a Java utility class named CompressUtil that provides methods for compressing files and directories into ZIP archives, handling duplicate filenames, creating new files safely, and offering HTTP endpoints for downloading the generated ZIP files in a single request.
ServletUtilityfile compression
0 likes · 10 min read

This article shows how to transform a list of (letter, number) tuples into two independent lists using four different Python approaches—including basic loops, zip unpacking, pandas, and numpy—complete with code examples and output screenshots.
Pythonlist manipulationtuple
0 likes · 5 min read

Learn how to efficiently package and compress files on Linux using tools such as zip, tar, gzip, bzip2, xz and split, covering command syntax, options, practical examples, and tips for handling directories, exclusions, and cross‑platform compatibility.
GZIPLinuxfile compression
0 likes · 11 min read

This guide reviews the most common Linux compression and archiving utilities—compress, gzip, bzip2, xz, zip, tar, and cpio—detailing their file formats, key options for compressing, decompressing, preserving original files, displaying progress, and adjusting compression levels with practical command examples.
CompressionGZIParchiving
0 likes · 9 min read

This guide explains why and how to compress files on Linux, compares Windows and Linux archive formats, lists common compression types, and provides practical command‑line examples for zip, gzip, bzip2, xz, tar and split utilities.
GZIPcommand-linefile compression
0 likes · 10 min read

The article demonstrates how to avoid blocking SpringBoot services during massive Excel exports by splitting data, using CompletableFuture with a ThreadPoolTaskExecutor to generate multiple Excel files concurrently via EasyExcel, then compressing them into a ZIP for client download, including full code and resource‑cleanup details.
CompletableFutureConcurrent ExportEasyExcel
0 likes · 9 min read

This guide explains how Python’s built‑in zip() and dict() functions can be combined to pair elements from two separate lists and create a dictionary, covering function basics, step‑by‑step examples, practical use cases such as user credentials and student scores, and a concise summary of the technique.
Pythondata structuresdict
0 likes · 6 min read

This guide walks through the most common Linux compression and archiving tools—zip, unzip, rar, unrar, and tar—detailing file formats, command syntax, options for compression levels, encryption, and extraction, plus practical examples for each utility.
CompressionLinuxcommand-line
0 likes · 8 min read

This step‑by‑step guide shows how to structure a Python project, write a setup.py and README, add code and tests, build a source distribution, create a zip package, upload it to PyPI with Twine, and finally install the library using pip.
Pythondistributionpackaging
0 likes · 5 min read

This guide explains how to use Python's built‑in zipfile and tarfile modules to compress individual files or entire directories into ZIP or TAR archives, traverse archive contents, and extract them, covering both plain TAR and compressed variants such as .tar.gz.
Compressiondecompressionfile compression
0 likes · 6 min read

This article introduces 10 essential Python built-in functions and utilities including enumerate(), zip(), filter(), map(), sorted(), functools.partial(), itertools.combinations(), lambda, getattr()/setattr(), and reversed(), with practical code examples for each.
Pythonbuilt-in functionsenumerate
0 likes · 3 min read

The article explains PHP's zip_read() function, its syntax, how to open a ZIP file, iterate through entries, retrieve entry names and sizes, and notes its limitations, providing a complete code example for reading ZIP file entries.
Backendfile-handlingzip
0 likes · 3 min read

This guide explains the step-by-step process of preparing, managing dependencies with Composer, creating directory structures, and using PHP code to package a project into a zip archive for deployment, including installation commands and deployment tips for web servers.
Backenddeploymentpackaging
0 likes · 5 min read

This article presents fifteen practical Python techniques—including multi‑key sorting, data classes, list comprehensions, memory inspection, frequency analysis, dictionary merging, multiple return values, filter/map/zip usage, list reversal, element existence checks, flattening nested lists, and uniqueness verification—to help developers write cleaner, faster, and more readable code.
Data ClassesMemory usagePython
0 likes · 9 min read

This article introduces six useful Python techniques—including string manipulation, list comprehensions, lambda functions, the map and zip utilities, and one‑line conditional expressions—showing concise code examples and explaining how each feature can simplify everyday programming tasks.
Pythonlambdalist-comprehension
0 likes · 8 min read

This article explains what a compression bomb is, outlines its potential harms such as resource exhaustion and system crashes, describes detection methods, and provides detailed Java code examples for preventing compression bomb attacks by limiting unzip size, using safe libraries, and applying security policies.
JavaSecuritycompression bomb
0 likes · 16 min read

This guide walks you through the most common Linux compression tools—tar, gzip, bzip2, and zip—showing how to create archives, compress files, and extract contents with clear command examples and practical usage tips.
CompressionGZIPLinux
0 likes · 7 min read

This article explains how to use PHP's RarArchive and ZipArchive classes to extract RAR and ZIP files, create ZIP archives, and compress folders into RAR archives, providing step‑by‑step code examples and detailed explanations for each operation.
PHPfile compressionrar
0 likes · 7 min read

This guide walks through the most common Linux compression formats—.zip, .gz, .bz2, .tar.gz, and .tar.bz2—detailing their syntax, practical command examples, and how to compress, decompress, and inspect archives efficiently from the terminal.
CompressionGZIPLinux
0 likes · 6 min read

This guide explains how to create and extract common Linux compression formats—including zip, gzip, bzip2, tar.gz, and tar.bz2—by using the appropriate command‑line options, showing practical examples for files and directories.
GZIPLinuxbzip2
0 likes · 5 min read

A security researcher demonstrated that an AES‑256 encrypted ZIP archive can be opened with two completely different passwords because ZIP implementations hash passwords longer than 64 bytes using PBKDF2, turning the long password into its SHA‑1 hash which matches the short password.
AES-256PBKDF2password hashing
0 likes · 5 min read

This article walks through a community‑raised Python list‑merging question, explains why zip and join are ideal for combining two equal‑length lists, provides clean example code, shows the expected output, and highlights the usefulness of the zip() function for similar tasks.
ListPythonTutorial
0 likes · 5 min read

An experiment by a security researcher shows that AES‑256 encrypted ZIP files can be opened with two completely different passwords because passwords longer than 64 bytes are hashed with PBKDF2, turning the hash into the actual key used for encryption and decryption.
AES-256PBKDF2password hashing
0 likes · 6 min read

This article introduces five practical Python tricks—including string manipulation, list comprehensions, lambda and map functions, single-line conditional expressions, and the zip function—providing concise examples and code snippets to help developers write cleaner, more efficient code.
code-tipsif-elselist-comprehension
0 likes · 8 min read

This article demonstrates how to use PHP's ZipArchive class to create ZIP packages, stream large files for download, and encapsulate these operations within a reusable class, providing complete code examples and detailed explanations for backend developers.
File DownloadZipArchivefile handling
0 likes · 7 min read

This article demonstrates four practical ways to transform a list of (letter, number) tuples into two distinct lists—one for letters and one for numbers—using basic loops, zip unpacking, pandas, and numpy, complete with code snippets and output screenshots.
NumPyPandascoding
0 likes · 6 min read

This article introduces five practical Python tricks—including string operations, list comprehensions, lambda with map, single‑line conditional expressions, and the zip function—providing clear explanations and code examples that help beginners write more concise and readable code.
list-comprehensionprogrammingzip
0 likes · 7 min read

This article explains how to work with common compressed file formats such as zip, tar.gz, rar, and 7z in Python, detailing the relevant modules, usage patterns, and providing complete code examples for creating and extracting archives on both Windows and Linux.
7zZipfilefile compression
0 likes · 10 min read

This article presents Python scripts for cracking ZIP file passwords, explains how to fix Chinese filename encoding issues, and provides single‑threaded, multithreaded, and dictionary‑based brute‑force methods with detailed code examples and usage instructions.
Pythonbrute-forceencoding
0 likes · 13 min read

zip_entry_filesize() is a PHP function that returns the actual size of a specified zip entry, taking a zip entry resource obtained via zip_read() as its argument and providing the entry’s size in bytes.
BackendFunctionPHP
0 likes · 1 min read

This guide explains the PHP zip_open() function, detailing its purpose, required filename parameter, return values, and provides a clear code example showing how to open a ZIP file, read its entries, and close the archive safely.
BackendPHPfile handling
0 likes · 1 min read

This guide shows Java developers how to use the Cloudmersive API to create both unencrypted and password‑protected ZIP archives, covering Maven setup, API key configuration, and complete code examples for handling up to ten files with optional AES‑256 encryption.
APICloudmersiveJava
0 likes · 7 min read

The Windows‑only baulk package manager version 2.0 adds experimental untar and unzip sub‑commands, detailing untar's support for various tar formats and unzip's robust baulk::archive::zip implementation that handles many compression methods, filename encoding detection, SIMD‑accelerated decompression, and strict path security.
Operationsarchivebaulk
0 likes · 3 min read

This tutorial explains how to install PySimpleGUI, create various popup windows—including one‑shot, persistent, text‑scrolling, input, file and folder selectors—as well as a progress bar, and then combine these elements to build a simple Python compression utility that zips a chosen folder and reports its size.
GUITutorialpopup
0 likes · 8 min read

This article demonstrates how to use Python's zipfile module to open and extract password‑protected ZIP archives, explains the required parameters, shows successful and failed extraction attempts, and provides a simple brute‑force script that iterates numeric passwords to recover the archive's contents.
File ExtractionPythonSecurity
0 likes · 2 min read

This guide explains how to install and use the zip, unzip, and tar commands on Linux to compress files, create archives, list contents, extract data, and apply gzip, bzip2, or xz compression with various options and examples.
CompressionUnziparchiving
0 likes · 7 min read

This tutorial explains how to set up a Windows development environment, install the ThinkPHP6 framework, and create a PHP class that compresses files or directories into a ZIP archive, optionally streams it for download, and also provides a method for extracting ZIP files.
File Downloadzip
0 likes · 6 min read

This article provides a comprehensive guide to Python’s zip() function, covering basic, advanced, and creative usages, explaining its underlying implementation, highlighting limitations such as the “shortest‑iterator” behavior, and presenting solutions like zip_longest and the upcoming PEP‑618 changes.
PEP 618PythonTutorial
0 likes · 8 min read

Streaming ZIP decompression enables extracting files while downloading, eliminating the need to fetch the entire archive; by leveraging Local File Header metadata and supporting both traditional and AES encryption, this technique dramatically reduces latency, as demonstrated by Youku’s 0.91‑second load for 30 MB books.
Streaming Decompressionencryptionfile format
0 likes · 11 min read

This article outlines the release timeline for Python 3.8‑3.10 and showcases four major Python 3.10 enhancements—bit_count() for counting set bits, a strict mode for zip(), read‑only mapping proxies for dictionary views, and the removal of deprecated collection ABC aliases—complete with illustrative code snippets.
PythonPython 3.10bit_count
0 likes · 7 min read

PEP 618 proposes adding an optional strict flag to Python's built‑in zip function to raise errors when iterables have mismatched lengths, preventing silent data loss and making debugging of common zip‑related bugs easier.
PEPPythonlanguage design
0 likes · 13 min read

This guide explains how to upgrade MySQL 5.6 instances to 5.7 on Windows by using the ZIP distribution and an in‑place upgrade, covering preparation, installation, required Visual C++ libraries, common pitfalls, troubleshooting steps, and a complete checklist of post‑upgrade actions.
MySQLUpgradedatabase
0 likes · 16 min read

This article introduces several powerful pure‑Python features—lambda functions, list comprehensions, and the zip function—demonstrating how they can simplify data cleaning, feature engineering, and iterative processing with concise code examples, helping programmers reduce reliance on external libraries while improving productivity.
Pythondata-cleaninglambda
0 likes · 7 min read

This article introduces several Python iteration tricks—including zip for parallel loops, C‑style range loops, filter for selective processing, enumerate for indexed iteration, and sorted for ordering data—providing concise code examples that make loops more efficient and readable.
LoopsPythonenumerate
0 likes · 7 min read

This guide shows how to combine two lists of dictionaries into a single list of merged dictionaries in Python by leveraging the {**dict1, **dict2} unpacking syntax together with zip and list extension, providing clear code examples and explanations.
dictionarylist comprehensionmerge
0 likes · 3 min read

This tutorial explains how Python's built‑in enumerate and zip functions simplify list iteration, allowing you to retrieve both element indices and values or combine multiple sequences, with clear code examples and visual illustrations for everyday programming scenarios.
ListPythonbuilt-in functions
0 likes · 7 min read

This article explains how to use Python's built‑in zip() function to combine multiple iterables, enabling simultaneous parameterization of several variables in a single API request, demonstrates syntax differences between Python 2 and 3, and provides a concrete code example that constructs URLs from zipped lists.
API testingPythonparameterization
0 likes · 3 min read

This concise tutorial shows how to use Python's built‑in zipfile module to recursively collect all files from a specified folder and create a compressed ZIP archive, including example code and a brief note on where to find more automation resources.
file compressionscriptingzip
0 likes · 2 min read

This article explains how Python's range(), enumerate() and zip() functions can be combined to create more flexible loops, allowing iteration by index, simultaneous access to indices and elements, and parallel traversal of multiple sequences.
Loopsenumeraterange
0 likes · 4 min read
