Liangxu Linux
Author

Liangxu Linux

Liangxu, a self‑taught IT professional now working as a Linux development engineer at a Fortune 500 multinational, shares extensive Linux knowledge—fundamentals, applications, tools, plus Git, databases, Raspberry Pi, etc. (Reply “Linux” to receive essential resources.)

3.4k
Articles
0
Likes
3.6k
Views
0
Comments
Recent Articles

Latest from Liangxu Linux

100 recent articles max
Liangxu Linux
Liangxu Linux
Nov 17, 2025 · Fundamentals

30 Proven C Optimization Tricks to Supercharge Embedded Code Performance

This article presents a comprehensive collection of low‑level C optimization techniques for embedded systems, covering algorithm selection, data type choices, arithmetic shortcuts, loop transformations, structure layout, function inlining, register usage, and many practical code examples to dramatically improve execution speed and reduce code size.

C ProgrammingCode OptimizationPerformance tuning
0 likes · 26 min read
30 Proven C Optimization Tricks to Supercharge Embedded Code Performance
Liangxu Linux
Liangxu Linux
Nov 16, 2025 · Fundamentals

Mastering pthread Condition Variables: Efficient Thread Wait‑Notify in Linux

This article explains the core principles, API usage, and best‑practice steps for pthread condition variables in embedded Linux, showing why they must be paired with mutexes, how to avoid lost wake‑ups, when to use signal versus broadcast, and includes a complete C example with practical tips.

c-programmingcondition variablepthread
0 likes · 9 min read
Mastering pthread Condition Variables: Efficient Thread Wait‑Notify in Linux
Liangxu Linux
Liangxu Linux
Nov 16, 2025 · Information Security

Mastering Linux Netfilter: Core Tools and Their Functions

Netfilter, created by Rusty Russell in 1998 and merged into the Linux kernel in 2000, offers a modular packet‑filtering framework with hooks for filtering, NAT, dropping and logging, and is managed through utilities such as ebtables, arptables, iptables/ip6tables, nftables, conntrack, ulogd, nf_log and nf_queue.

Linuxfirewalliptables
0 likes · 4 min read
Mastering Linux Netfilter: Core Tools and Their Functions
Liangxu Linux
Liangxu Linux
Nov 16, 2025 · Information Security

Essential Linux Security Vulnerabilities & Practical Hardening Guide for Ops Engineers

This comprehensive guide walks ops engineers through the most common Linux security flaws—from sudo misconfigurations and SUID/SGID risks to SSH, web server, kernel, container, file system, logging, firewall, and compliance issues—offering concrete code snippets, step‑by‑step hardening measures, and actionable best‑practice recommendations.

HardeningLinuxVulnerability
0 likes · 16 min read
Essential Linux Security Vulnerabilities & Practical Hardening Guide for Ops Engineers
Liangxu Linux
Liangxu Linux
Nov 16, 2025 · Fundamentals

Convert Serial Bytes to Float in Embedded C with Unions and Endianness

This article explains how to reconstruct a 32‑bit floating‑point value from four serial bytes in embedded C by using a union or struct overlay, demonstrates the code, shows the resulting little‑endian byte order, and provides a simple function to detect system endianness.

CSerial CommunicationUNION
0 likes · 5 min read
Convert Serial Bytes to Float in Embedded C with Unions and Endianness
Liangxu Linux
Liangxu Linux
Nov 15, 2025 · Operations

How Many Files and TCP Connections Can a Linux Server Actually Handle?

This article explains the Linux kernel parameters that limit the number of open files and TCP connections, shows how to adjust them, estimates realistic connection counts based on memory, and discusses client‑side port constraints and related practical issues.

Kernel ParametersLinuxSystem Tuning
0 likes · 14 min read
How Many Files and TCP Connections Can a Linux Server Actually Handle?
Liangxu Linux
Liangxu Linux
Nov 13, 2025 · Fundamentals

How to Define a Custom read() in C Without Hiding the System Call

This article explains how to create a user‑defined read() function in C that coexists with the standard library read() by using the static keyword and separate translation units, providing code examples, compilation steps, and execution results.

CLinuxfunction-overriding
0 likes · 6 min read
How to Define a Custom read() in C Without Hiding the System Call
Liangxu Linux
Liangxu Linux
Nov 13, 2025 · Fundamentals

Boost Embedded Performance: 10 Proven C Code Optimization Tricks

This article presents a collection of practical embedded‑system optimization techniques, covering time‑efficiency improvements such as avoiding floating‑point arithmetic and inlining functions, space‑efficiency strategies like choosing appropriate data types, using unions and flexible arrays, as well as loop unrolling, bit‑field usage, and data‑type selection to maximize performance on resource‑constrained devices.

Memory Optimizationembeddedlow‑level
0 likes · 10 min read
Boost Embedded Performance: 10 Proven C Code Optimization Tricks
Liangxu Linux
Liangxu Linux
Nov 12, 2025 · Artificial Intelligence

Top Open‑Source AI‑Powered Tools to Boost Your Workflow (2024)

It introduces several open-source projects—MarkItDown for document-to‑Markdown conversion, Codebuff AI coding assistant, Twitter’s recommendation algorithm, mlx‑lm for running LLMs on Apple silicon, Perplexica AI search, and ChinaTextbook dataset—highlighting their features, usage, and GitHub links.

AILarge Language Modelsdocument conversion
0 likes · 6 min read
Top Open‑Source AI‑Powered Tools to Boost Your Workflow (2024)