Fading Coder

One Final Commit for the Last Sprint

Configuring NOI Linux for Competitive Programming

System Setup Setting up a productive environment on NOI Linux requires several key modifications. First, configure language settings and update package sources. The system includes backup source lists, making it easy to switch repositories using sudo cp. Install additional software packages includin...

Deploying and Removing RabbitMQ on Linux Systems

Deployment Steps Configure Repository Integrate the official package source for Debian-based distributions: echo 'deb http://www.rabbitmq.com/debian/ testing main' | sudo tee /etc/apt/sources.list.d/rabbitmq.list Add Signing Key Fetch and register the GPG key to authenticate packages: wget -O- https...

Configuring and Deploying Windows Subsystem for Linux on Windows 10

The Windows Subsystem for Linux (WSL) provides a compatibility layer for running native Linux ELF64 binaries directly on Windows 10. This integration allows developers to utilize Linux command-line tools and applications without the overhead of a traditional virtual machine. Activating Developer Mod...

Implementing the ping Command in C on Linux

ICMP Packet Structure and Transmission The Internet Control Message Protocol (ICMP) operates at the network layer and functions as a support protocol for IP. ICMP messages are encapsulated within IP datagrams, where the IP header precedes the ICMP header and payload. An ICMP packet consists of an IP...

Managing Firewall Ports on Linux with iptables, firewalld, and ufw

Managing Ports on CentOS Control the firewalld service daemon: # Activate the firewall service systemctl start firewalld.service # Deactivate the firewall service systemctl stop firewalld.service # Check current service status systemctl status firewalld Using iptables (CentOS/RHEL 6) To permit traff...

Detailed Guide to Linux Inter-Process Communication

Overview of Inter-Process Communication IPC Objectives Data Transfer: Send data from one process to another Resource Sharing: Allow multiple processes to access shared resources Event Notification: Alert one or more processes of system or application events (e.g., a parent process receiving notifica...

Linux System Installation and Server Hardware Components Explained

Server systems are generally categorized into physical and virtual deployments. Physical servers vary in form factor: Rack-Mount Servers: Designed for installation in standard 19-inch server racks. Common sizes include 1U, 2U, 4U, where 'U' (rack unit) is 1.75 inches (4.45 cm) in height. They offer...

Understanding Linux Signals: A Comprehensive Guide

1. Signal Fundamentals Signals in Linux are software interrupts delivered to a process by the operating system or other processes. They serve as notifications that a particular event has occurred, requiring attention or action from the receiving process. When a process receives a signal, it can: Exe...

STM32 LED Blinking with Assembly on Linux

Setting Up Embededd Development Environment To develop STM32 applications on Linux, configure the ARM GNU toolchain for cross-compilation. Download the latest ARM GNU Toolchain from Arm Developer and extract it to /opt/gcc-arm-none-eabi. Add the binary path to your shell configuration: export PATH=$...

Comprehensive Guide to Linux Command Line Operations

Linux vs. Windows Linux offers several advantages over Windows in server and development environments: Stability and Efficiency: Known for high uptime and efficient resource utilization. Cost: Generally free and open-source, though enterprise support may incur costs. Security: Fewer vulnerabilities...