Tagged articles
console
49 articles · Page 1 of 1
Discover how senior developers replace noisy console.log statements with powerful JavaScript console features—object shorthand, console.table, trace, assert, timing, styled logs, grouping, deep inspection, log levels, and DevTools shortcuts—to debug code faster and more precisely.
JavaScriptconsoletips
0 likes · 11 min read

This article presents eight practical Chrome DevTools techniques—including designMode editing, request replay, local overrides, quick fetch copying, request filtering, DOM selection shortcuts, on‑the‑fly npm installation, and fast source navigation—to boost debugging efficiency and streamline front‑end workflows.
Chrome DevToolsconsoledebugging
0 likes · 6 min read

Learn how to streamline Ethereum smart contract debugging by using Hardhat’s interactive console, covering setup, querying chain state, interacting with deployed contracts, reading and writing functions, and advanced features like manual mining, all with practical code examples to boost development efficiency.
EthereumHardhatSmart Contracts
0 likes · 7 min read

This article introduces six alternative JavaScript output techniques—including document.write, advanced console methods, the Notification API, speech synthesis, Blob with URL.createObjectURL, and WebSocket—providing developers with richer options beyond console.log and alert for diverse web scenarios.
JavaScriptWeb APIsconsole
0 likes · 5 min read

Discover five advanced debugging strategies—including effective use of the debugger breakpoint, console’s advanced methods, source maps for production code, asynchronous debugging tricks, and performance profiling tools—to quickly identify and resolve complex JavaScript issues in modern front‑end development.
JavaScriptSource Mapsconsole
0 likes · 4 min read

This article explains how to create dynamic progress bars in Python using plain print statements, the tqdm library, custom styling, multiple and nested bars, update‑frequency control, dynamic descriptions, custom callbacks, as well as the click and rich libraries, providing complete code snippets for each method.
clickconsoleprogress-bar
0 likes · 7 min read

This guide explains how to customize the Spring Boot startup banner by creating a banner.txt file, using ANSI color codes, retrieving various Spring Boot properties, and optionally disabling the banner altogether through code changes.
BackendBannerJava
0 likes · 6 min read

This article explains how to enhance console output in JavaScript by using format specifiers, CSS styling, and a custom prettyLog utility that provides info, error, warning, success, table, and image printing functions, while ensuring the logs run only in development environments.
LoggingStylingUtility
0 likes · 12 min read

This article explains the distinct roles of the Linux special device files /dev/tty, /dev/tty0, and /dev/console, showing how each maps to the current terminal, the graphical virtual console, and the kernel boot console respectively, with command examples and usage details.
Device FilesLinuxconsole
0 likes · 4 min read

This article demonstrates how to style console.log output using %c placeholders, outlines the supported CSS properties, and walks through creating a lightweight, Vue‑devtool‑inspired log‑button library with Vite, TypeScript, ESLint, Husky, and ChatGPT‑generated UI color palettes, culminating in publishing the package to npm.
Viteconsolefrontend
0 likes · 14 min read


21CTONov 25, 2022 · Fundamentals
This article clarifies the concepts of consoles, shells, and terminals, detailing their definitions, roles, and how they differ across Linux and Windows environments, while also covering GUI and CLI interfaces for developers and operations engineers.
GUIconsoleshell
0 likes · 9 min read

This tutorial explains the difference between newline and carriage‑return, the three buffering modes of stdio, and shows step‑by‑step C code that uses fflush, format specifiers, and a custom loop to create a live console progress bar and countdown timer.
BufferingC++Countdown
0 likes · 7 min read

This tutorial explains how to use ANSI escape sequences, 16‑color and 256‑color schemes, and the Python Colorama library to display colored and styled text, background colors, and cursor effects in terminal windows, with complete code examples and usage notes.
ANSIcolorcolorama
0 likes · 11 min read

This article introduces a lightweight Java logging utility class named LogUtils that supports four log levels, formats messages, and can output logs to the console or a file, with configurable level, target, and file settings, accompanied by example usage code.
BackendFileIOJava
0 likes · 8 min read


21CTOJun 12, 2022 · Frontend Development
This comprehensive guide walks developers through Chrome DevTools' powerful editing, debugging, and override features—including quick CSS/JS tweaks, workspace setup, console utilities, breakpoint strategies, and even Node.js/Deno debugging—empowering efficient front‑end development without leaving the browser.
Chrome DevToolsFrontend DevelopmentNode.js Debugging
0 likes · 11 min read

This article explains how to implement a console progress bar and countdown timer in C by covering carriage returns, newline handling, output buffering strategies, and the use of fflush to force immediate screen updates, complete with sample code and visual demonstrations.
BufferingC++Countdown
0 likes · 5 min read

This guide explains the differences between carriage return and newline, explores C output buffering strategies, and provides step‑by‑step C code to create a countdown and a dynamic progress bar that updates smoothly in the terminal.
BufferingC++console
0 likes · 6 min read

This tutorial explains how to create a console progress bar in C by covering newline versus carriage return handling, output buffering strategies, using fflush to force screen updates, and adapting the code for multi‑digit countdowns.
C++CountdownOutput Buffering
0 likes · 6 min read

This article walks through building a classic number‑guessing game in Python, explains two community‑sourced solutions with full source code, highlights common pitfalls, and shows how to enhance interactivity by narrowing the guessing range.
Code ExamplePythonconsole
0 likes · 6 min read

This article introduces the Rich Python library, detailing its cross‑platform compatibility, installation, rich printing, console control, logging, emojis, tables, progress bars, columns, markdown rendering, syntax highlighting, and enhanced tracebacks, all illustrated with code snippets and screenshots.
FormattingPythonconsole
0 likes · 9 min read


ByteFENov 3, 2021 · Frontend Development
This article provides a comprehensive guide to using the browser console's various methods—such as log, warn, error, info, time, group, count, table, and more—to debug JavaScript code effectively, including syntax examples, placeholders, styling tricks, and visual output demonstrations.
DevToolsconsoledebugging
0 likes · 14 min read

This article introduces the Python Rich library, detailing its cross‑platform compatibility, installation via pip, and features such as rich text printing, console logging, emoji support, tables, columns, markdown rendering, syntax highlighting, and progress bars with code examples.
PythonTableconsole
0 likes · 9 min read

This tutorial introduces the Rich Python library, covering its cross‑platform compatibility, installation steps, enhanced print functions, custom console usage, logging, tables, progress bars, markdown rendering, syntax highlighting, and traceback formatting, all illustrated with clear code examples and screenshots.
FormattingPythoncode
0 likes · 10 min read

This article introduces the Rich Python library, explains its cross‑platform compatibility, provides step‑by‑step installation instructions, demonstrates how to use its enhanced print, console, logging, table, progress bar, column, markdown, and syntax‑highlighting features, and includes numerous code examples and screenshots.
FormattingLoggingconsole
0 likes · 8 min read

This guide walks you through setting up RocketMQ Console 2.0 on a RocketMQ 4.8.0 cluster, configuring its properties, building and running the service, and testing message sending and receiving using a Spring Boot application, including topic creation tips.
BackendRocketMQTutorial
0 likes · 6 min read

This article presents a Python console program that implements a graduate student information management system, providing basic CRUD operations such as viewing, adding, modifying, and deleting student records, and includes the full source code with menu-driven interaction.
Data ManagementStudent Managementconsole
0 likes · 6 min read

This tutorial explains how to create a VS Code extension that automatically prefixes console.log statements with custom identifiers, covering project scaffolding, key file structures, activation events, command registration, implementation details, debugging, and publishing to the marketplace.
ExtensionJavaScriptNode.js
0 likes · 8 min read

This comprehensive guide walks you through Chrome DevTools panels—including Console, Elements, Network, Sources, Performance, Lighthouse, Security, and advanced commands—detailing shortcuts, core methods, debugging techniques, performance metrics, and practical tips for front‑end developers to optimize and troubleshoot web applications.
Chrome DevToolsconsolenetwork
0 likes · 40 min read

This article introduces the Python Rich library, showing how to install it, use print and Console for colorful output, create progress bars, render markdown, highlight syntax, and build adaptive tables, turning a bland monochrome terminal into a vibrant, information‑rich interface.
Markdownconsoleprogress bar
0 likes · 4 min read

This article explains how to create a Babel plugin that removes console calls in production builds while extending console methods with styled output and source location information in development, covering installation, configuration, AST manipulation, option validation, and comprehensive testing using TypeScript, ts‑mocha, and chai.
ASTBabelJavaScript
0 likes · 11 min read

This article explains why JSON output in a Java console is often unreadable, presents a custom method that formats and indents JSON strings with visual markers, provides the full implementation code, shows the resulting output, and notes its current limitations.
JSONJavaPretty Print
0 likes · 4 min read

This article introduces a lightweight Java class, ConsoleTable, that formats map and list data into a neatly aligned console grid resembling SQL client output, explains its usage, provides full source code, and discusses stream-based implementations and potential enhancements.
FormattingJavaStream
0 likes · 5 min read

This guide walks you through creating a custom ThinkPHP console command, configuring it in the application, executing it via the CLI, handling logs, running it as a background daemon with nohup, and extending it to subscribe to Redis key‑event notifications.
command-lineconsoledaemon
0 likes · 7 min read

The article presents a Java ConsoleTable class that formats Map and List data into a tidy, SQL‑client‑like grid for console output, explains its implementation details, shows usage examples, and discusses the use of Java Stream APIs.
FormattingJavaStream
0 likes · 5 min read

This short tutorial shows how to use Java's IntStream API to generate an ASCII heart directly in the console with a single expressive one‑line statement, complete with the full code snippet and a visual result.
ASCII artHeart ShapeJava
0 likes · 2 min read

This article demonstrates how to generate a heart-shaped pattern directly in the Java console using a compact IntStream‑based one‑liner, explaining the mathematical formula and stream operations that produce the visual output without external libraries.
ASCII artHeart ShapeIntStream
0 likes · 3 min read

This article walks through the full implementation of a console‑based 2048 game in Python, covering the main game loop, movement logic using matrix operations, random tile generation, score handling, board rendering with curses, and the initialization process, all illustrated with code snippets and diagrams.
2048Pythonconsole
0 likes · 12 min read

This article introduces Chrome DevTools console shortcuts—including $0‑$4 for element references, $ and $$ for query selectors, $_ for the last expression result, and $i for importing npm libraries—explaining their usage to streamline front‑end debugging and testing.
Chrome DevToolsJavaScriptconsole
0 likes · 3 min read

This article explores the full range of browser console functions—including formatted logging, object inspection, warnings, tables, assertions, counters, timing, tracing, and grouping—to help JavaScript developers debug more efficiently and gain deeper insight into their code.
browserconsoledebugging
0 likes · 11 min read


21CTOSep 24, 2018 · Frontend Development
This guide walks through Chrome's console features—including basic output methods, formatted and styled logs, DOM and object inspection, grouped messages, performance profiling, timing, assertions, and useful shortcuts—providing practical examples and tips for effective front‑end debugging.
Chromeconsoledebugging
0 likes · 9 min read

This guide reveals dozens of lesser‑known Chrome DevTools features—from enabling Canary builds and experimental flags to powerful console shortcuts, DOM selectors, conditional breakpoints, network overrides, and Node debugging—helping developers debug faster and more efficiently.
Chrome DevToolsconsoledebugging
0 likes · 13 min read

This article explains how Python input() behaves in Python 2 versus Python 3, compares it with raw_input(), shows the function syntax, provides concrete examples of reading strings and numbers, and reveals the simple one‑line implementation used in Python 2.
Python2User Inputconsole
0 likes · 3 min read

Explore the extensive capabilities of the browser Console object—including log, group, table, dir, assert, count, trace, timing, profiling, and custom styling—to enhance debugging and streamline development, with practical examples and visual guides for Chrome.
Loggingbrowser consoleconsole
0 likes · 6 min read

This guide walks through the most useful JavaScript console methods—including log, formatted placeholders, grouping, object inspection, assertions, tracing, timing, and profiling—showing how to display text, images, and DOM nodes directly in the browser developer console.
console
0 likes · 5 min read


ITPUBMay 11, 2017 · Frontend Development
This article provides a comprehensive guide to JavaScript's console API, covering basic logging methods, object inspection, grouping, clearing, performance timing, profiling, tracing, assertions, and counting, with practical code examples and tips for effective debugging in development environments.
JavaScriptconsolefrontend
0 likes · 8 min read


ITPUBAug 8, 2016 · Fundamentals
This article explains the origins and evolution of Linux TTY devices, clarifies the differences between consoles, virtual consoles, serial terminals, dumb terminals, smart terminals, and pseudo‑terminals, and provides practical examples and commands for identifying and using these character devices.
DeviceLinuxPseudo‑terminal
0 likes · 21 min read

This guide explores essential JavaScript console methods—trace, table, time, and profile—to help developers debug call stacks, visualize objects, measure execution time, and analyze CPU usage, complete with code examples and visual illustrations.
JavaScriptconsoledebugging
0 likes · 4 min read


Aotu LabJul 8, 2016 · Frontend Development
This tutorial explores advanced console.log techniques—including format specifiers, CSS styling, image rendering, and creating ASCII art—while detailing browser compatibility, practical code examples, and useful tools for front‑end developers seeking more expressive debugging output.
CSSascii-artconsole
0 likes · 8 min read

This article explains the five main Linux terminal types—console, controlling, serial, pseudo, and virtual—detailing their device files, typical use cases, and how they interact with the kernel and user applications.
LinuxPseudo‑terminalVirtual Terminal
0 likes · 2 min read
