Tagged articles
diff
27 articles · Page 1 of 1
This guide compares five Linux file comparison tools—diff, colordiff, wdiff, vimdiff, and sdiff—covering syntax, key options, installation steps, and practical examples for line-by-line, word-level, colored, side-by-side, and interactive diff workflows.
Linuxcolordiffcommand-line
0 likes · 9 min read

This article introduces five core Linux file comparison utilities—diff, colordiff, wdiff, vimdiff, and sdiff—explaining their syntax, key options, installation steps, and practical examples so readers can choose the right tool for their workflow.
Linuxcolordiffcommand-line
0 likes · 8 min read

This guide walks through practical Git workflows—creating parallel worktrees, handling merge conflicts, stashing changes, inspecting diffs, navigating history with log and reflog, amending commits, using reset versus revert, cherry‑picking specific changes, bisecting bugs, and preserving empty directories with .gitkeep—tailored for AI coding tools such as Claude Code, Cursor, and Codex.
Gitamendbisect
0 likes · 9 min read

This guide introduces five Linux file‑comparison utilities—diff, colordiff, wdiff, vimdiff, and sdiff—detailing their core syntax, useful options, installation steps, and practical examples so readers can choose the right tool for any diffing task.
Linuxcolordiffdiff
0 likes · 8 min read


转转QASep 28, 2025 · Backend Development
This article explains how a smart, three‑layer JSON alignment algorithm automatically reorders and matches elements to remove false differences caused by array order, delivering high accuracy, low false‑positive rates, and strong performance for backend data comparison tasks.
BackendJSONdata alignment
0 likes · 14 min read

This article introduces a Python‑based GUI application that formats, compares, and highlights differences between two JSON files, detailing its features, implementation using tkinter, json and DeepDiff, example usage, and instructions for running and extending the tool.
DeepDiffGUIPython
0 likes · 10 min read

Learn how to use essential Linux file management commands—cat, cmp, diff, file, and find—including their syntax, key options, and practical examples such as concatenating files, comparing contents, displaying file types, and searching directories, all illustrated with clear code snippets and screenshots.
CATCMPcommand-line
0 likes · 7 min read

This guide provides a comprehensive overview of essential Linux text‑processing commands—including grep, cut, sort, uniq, tee, diff, paste, and tr—detailing their key options, usage examples, and practical tips for efficiently searching, extracting, sorting, comparing, merging, and transforming file contents.
Linuxcutdiff
0 likes · 24 min read

Comparing JSON responses in functional and API testing is essential for validating data accuracy, detecting unintended changes, debugging issues, automating verification, and monitoring production health, and this article explains the reasons and provides a Python Tkinter tool to perform such comparisons.
JSONdifftkinter
0 likes · 6 min read

This article examines the principles behind diff tools by implementing three approaches—Levenshtein edit distance, longest common subsequence, and the Myers algorithm—in TypeScript, detailing dynamic-programming solutions, back-tracing techniques, and visualizations to illustrate how strings can be transformed efficiently.
AlgorithmTypeScriptdiff
0 likes · 19 min read

This article investigates how diff tools work by presenting three algorithmic approaches—shortest edit distance, longest common subsequence, and the Myers algorithm—each explained with dynamic‑programming concepts, back‑tracing techniques, and complete TypeScript code examples.
Algorithmdiffedit distance
0 likes · 14 min read

This article demonstrates how to use pandas' groupby and diff functions to calculate daily differences for numeric columns within each category, offering four implementation methods—including apply, direct diff, transform, and a custom function—complete with code examples and visual results.
PandasPythondata analysis
0 likes · 7 min read

This tutorial shows how to calculate upward and downward differences of numeric columns for each category in a pandas DataFrame by sorting, grouping with groupby, and applying diff through several concise methods, including a custom helper function.
PandasPythondata analysis
0 likes · 7 min read

This article introduces the Python filestools library, demonstrating how to install it and use its four core utilities—tree‑style directory listing, text file diff comparison, image watermarking, and converting cURL commands to requests code—complete with command‑line and Jupyter examples.
PythonWatermarkcurl
0 likes · 10 min read

This guide provides a comprehensive collection of Git commands covering diff, branch management, file handling, remote repository operations, stash usage, configuration, and advanced techniques, enabling developers to efficiently compare changes, manage branches, clean workspaces, and interact with remote repositories.
Configurationbranchdiff
0 likes · 11 min read

Learn step-by-step how to compare two Linux directories, using the diff command with options like -q and -r to list unique files, and visualize results with the graphical Meld tool, including installation instructions for various distributions and screenshots of the comparison workflow.
LinuxMeldcommand-line
0 likes · 4 min read

This article explains the PHP function array_diff_assoc(), its syntax, parameters, and provides code examples demonstrating how to compare arrays by keys and values to obtain the difference, along with a practical use case for detecting changes in form data during web development.
BackendPHPTutorial
0 likes · 2 min read

The article explains how PHP's array_diff_uassoc() function compares arrays using both values and user‑defined key comparison callbacks, describes its parameters and return value, and provides a complete example with code and expected output.
BackendCallbackFunction
0 likes · 2 min read

This guide walks you through creating sample files, using the Linux diff command to detect differences, interpreting its output symbols, handling case‑sensitivity, ignoring whitespace, and swapping file order, all illustrated with step‑by‑step commands and screenshots.
Linuxdifffile-comparison
0 likes · 6 min read

This guide introduces nine widely used Linux diff utilities—including command‑line tools like diff, colordiff, wdiff, vimdiff and GUI applications such as Kompare, DiffMerge, Meld, Diffuse, XXdiff, KDiff3, and TkDiff—detailing their features, installation commands, and typical use cases for comparing files and directories.
Development ToolsGUILinux
0 likes · 9 min read


ITPUBFeb 17, 2020 · Fundamentals
This guide explains Git's core workflow—adding, committing, and pushing—covers the four Git areas (working, staging, local, remote), describes the five file states, shows how to inspect changes with diff commands, and provides step‑by‑step commands to revert modifications at any stage.
Gitcommand-linediff
0 likes · 8 min read

This guide explains six practical Linux commands—diff, cksum, find, fslint, rdfind, and fdupes—that help you locate identical files across Windows or Linux systems and safely delete them to reclaim valuable disk space.
cksumcommand-linediff
0 likes · 8 min read

While Git dominates version control with its distributed model and flexible branching, many developers still stumble over common pitfalls; this article collects real‑world problems—from recovering lost commits with reflog to fixing commit messages, undoing accidental master pushes, and understanding diff behavior—offering practical commands to resolve them.
Gitbranch recoverycommit
0 likes · 5 min read


转转QAMar 27, 2019 · Backend Development
This article presents an automated RPC diff testing framework that extracts real‑world request parameters, generates Java test code, executes calls against both production and sandbox services, and compares JSON results to quickly verify interface correctness without extensive manual effort.
RPCdiff
0 likes · 8 min read

This guide explains how to use the Linux diff command for file comparison, covering its basic syntax, common options like -b, -B, -i, -r, and demonstrating normal, context, unified, and side‑by‑side output formats with concrete examples and interpretation of the results.
command-linedifftext comparison
0 likes · 7 min read

This article explains how to transform raw Git diff output into a structured JSON format, handle various diff headers, and apply line‑by‑line highlighting using the diff‑match‑patch algorithm, while also offering performance optimizations for long lines.
GitJSONcode review
0 likes · 13 min read

The article explains why simple String comparison is insufficient for XML validation, introduces the Java‑based XMLUnit library, and demonstrates how to use it with JUnit/TestNG, Diff, and XPath to reliably test XML structure, content, and specific values.
JavaXML TestingXMLUnit
0 likes · 12 min read
