User Management API Documentation
User Count Retrieval
Endpoint
POST /api/users/count
Parameters
Name
Type
Required
Description
query
string
No
Search by username or phone
active
string
No
Filter: all, true, false
Response
{
"status": 200,
"result": {
"totalUsers": 150
}
}
User List Retrieval
Endpoint
POST /api/users
Parame ...
Posted on Thu, 04 Jun 2026 18:26:50 +0000 by racing_fire
Essential Linux System Administration Commands
Disk Partition Analysis
To identify which partition a specific directory resides on, utilize the df command with the -h flag for human-readable output. For example, to determine the partition containing the /var directory:
[root@server ~]# df -h /var
Filesystem Size Used Avail Use% Mounted on
/dev/mapper/vg_system-lv_root 50G ...
Posted on Mon, 01 Jun 2026 17:47:32 +0000 by duelist
Common User Login Modules and Their Usage
Using the 'next' Parameter on the Login Page
Determine if a next parameter exists in the URL of the user's login page. If it does, redirect to the URL the user was trying to access before logging in.
A common practice is to modify the login logic in the LoginView handler by adding the following code:
# Check if the request URL contains a 'next' ...
Posted on Tue, 19 May 2026 08:02:56 +0000 by omprakash
Managing Linux Systems: Network Configuration, User Administration, Disk Management, and Package Installation
Week 01: Configure Network Connections
This module covers connecting Linux computers together. Topics include Linux network configuration files, command line network configuration, and basic to advanced network troubleshooting.
Learning Objectives
Describe Network Configuration Files
Configure Networks with the Linux command line
Perform Basic ...
Posted on Sat, 16 May 2026 17:09:04 +0000 by werushka
Working with Django's Built-in Authentication System
Django provides a robust built-in authentication framework that handles user registration, login, logout, password management, and access control.
To begin, create an admin user via the command line:
python manage.py createsuperuser
The core functionality is accessible through django.contrib.auth.
User Authentication
The authenticate() functio ...
Posted on Thu, 14 May 2026 02:39:45 +0000 by justinwhite93
MySQL Administration and Routine Database Operations
Configuring the CLI Prompt
To temporarily modify the MySQL prompt during a session, execute the prompt command:
mysql> prompt \u@mycluster \r:\m:\s->
For a persistent configuration, append the prompt directive under the [mysql] section in the my.cnf configuration file:
[mysql]
prompt=\u@mycluster \r:\m:\s->
Establishing Database Connec ...
Posted on Fri, 08 May 2026 18:45:15 +0000 by reeferd