Tag:modify
-
How Android studio modifies the line spacing between codes
The default line spacing of Android studio is sometimes too centralized, which reduces the readability of our code. Here, I will introduce how to modify the line spacing of our code; Let’s go and have a look! Method / step 1. First, press the shortcut key Ctrl + Alt + s clock in settings 2. […]
-
Linux modify system date and time
1、 Modify in text mode Command and parameter options: date -s Examples are as follows: \date -s 04/11/2008 —– willsystemThe time is set to April 11th, 2008 \date -s 22:24:30 —– willsystemThe time is set to 22:24:30 #Clock -w —— ensure the modification takes effect 2、 Modify in the graphical interface Log in to the […]
-
How to modify the maximum number of Apache 2 connections
Modify httpd Conf file <IfModule prefork.c> StartServers 8 MinSpareServers 5 MaxSpareServers 20 MaxClients 150 MaxRequestsPerChild 1000 </IfModule> modify MaxClients 150by ServerLimit 2000 MaxClients 2000 ServerLimit instructions explain serviceMaximum number of processes allowed to be configured by the grammar ServerLimit number Default See instructions below Scope server config state MPM modular prefork, […]
-
Linux system modifies the size of pictures in batches with commands
Taking photos often requires reducing the size of a large number of photos to facilitate online transmission or storage. Here is a simple methodmethodChange a large number of photos to the specified size find ./ -name ‘*.jpg’ -exec convert -resize 600×480 {} {} \; Note the space and the last semicolon. The […]
-
Installation and configuration of shorewall firewall under Linux
Environment Description: This machine has only one network card and uses static IP to surf the Internet Command: apt get install shorewall Ubuntu will automatically give youinstallOK, but shorewall is not configured or started 【1】 First, CP / usr / share / Doc / shorewall / examples / one interface / * / […]
-
UTF-8 and GB2312 web page codes
Recently, many students asked me about the coding of web pages. What is the difference between GB2312 and UTF-8 coding? Today’s summary.Recently, many students asked me about the coding of web pages. What is the difference between GB2312 and UTF-8 coding? Today’s summary:I wonder if you will encounter the problem that the style definition does […]
-
How to use touch command under Linux system
1. Command format: Touch [options] File 2. Command parameters: -A) or — time = atime or — time = access or — time = use only change the access time.-C # or — no create does not create any documents.-D use the specified date and time instead of the current time.-F this parameter will be […]
-
Add a new hard disk under Linux system
Fdisk -l ## here is to check how many hard disks are currently on the system Disk /dev/sda: 36.4 GB, 36401479680 bytes 255 heads, 63 sectors/track, 4425 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Device Boot Start End Blocks Id System /dev/sda1 * 1 255 2048256 83 Linux /dev/sda2 256 1530 […]
-
Analysis of Python global variable reference and modification process
This article mainly introduces the python global variable reference and modification process analysis, the article through the example code is very detailed, for everyone’s study or work has a certain reference learning value, need friends can refer to 1、 Citation The global variable is only used as a reference. If its value is not modified […]
-
PHP + Ajax to achieve upload, delete, modify a single picture and background processing logic operation details
In this paper, an example of PHP + Ajax implementation of upload, delete, modify a single picture and background processing logic operation. The details are as follows: Updated on July 4, 2019 Update reason: The UI display of the front interface is not good-looking Background processing logic confusion, involving multiple images, processing is very troublesome, […]
-
Modify the batch code of the system user name
Copy codeThe code is as follows: @echo off echo. Echo. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~echo. net user echo. set / p User = please enter the user name you want to change:set / p Newuser = please enter a new name :wmic useraccount where name=’%user%’ call Rename %newuser% echo. echo. echo Change complete !!!!! Two seconds later sign outping 127.255.255.255 -n 1 -w 2000 >nul cls