Add a random number to introduce the script to prevent the browser from reading the cache. the random number script
How can we get a link to prevent the browser from reading the cache?
% Response. setHeader (Cache-Control, no-cache); // HTTP 1.1 response. setHeader (Pragma, no-cache); // HTTP 1.0 response. setDateHeader (Expires, 0); // prevents caching at the proxy server % add this to the page after logo
[Python O M] Simple Python O M script and python O M scriptBackground
Recently I used the Linux subsystem on Windows 10 and found that it has a very bad character: the Linux subsystem is not in the power-on and shutdown state, and is automatically loaded every time it enters the Bash shell, after exiting, all processes in the Linux subsystem will be shut down. If you try to run services such as Mysql at any time, you must enable the Bash shell at a
1, using a user name as a parameter, if the user specified parameter exists, it is displayed, otherwise added; Displays the ID number of the added user, etc.#!/bin/bash#read-p "Please input one UserName:" Usernameid $USERNAME >/dev/nullif [$? -eq 0];thenecho "The User is exist" Exitelseuseradd $USERNAMEecho "$USERNAME already Add" echo "' grep" \2, determine the user input file path, display its file type (normal, directory, link, other file types)#!/bin/bash#read-p "Please input valid path:" Pa
SHELL: Compile NGINX automatic deployment script and shellnginx script
1. Function Description
1. Install the support package, download the custom NGINX package from the software source, and create NGINX users and user groups.
2. Install and initialize NGINX configuration.
3. Run NGINX and check the running status.
2. Implementation
The source code is as follows:
#!/bin/bash# eastmoney public tools# versio
Linux practical log analysis script and linux Log Analysis script
Log Analysis
Randomly tail an access_log file. Below is a classic access record
218.19.140.242--[10/Dec/2010: 09: 31: 17 + 0800] "GET/query/trendxml/district/todayreturn/month/2009-12-14/2010-12-09/haizhu_tianhe.xml HTTP/1.1" 200 1933 "-" "Mozilla/ 5.0 (Windows; u; Windows NT 5.1; zh-CN; rv: 1.9.2.8) Gecko/20100722 Firefox/3.6.8 (. net clr 3.
Shell script programming (strict terminal format control, beautiful output font color), shell script Programming
#! /Bin/bash # font output color and terminal format control # font color 30-37echo-e "\ 033 [30 m black character \ 033 [0 m" echo-e "\ 033 [31 m red word \ 033 [0 m "echo-e" \ 033 [32 m green word \ 033 [0 m "echo-e" \ 033 [33m yellow word \ 033 [0 m "echo-e" \ 033 [34m Blue Word \ 033 [0 m "ec
Name: satool PS: it can be called a "Silly Rabbit" by a colleague ")
Function: This script can run commands in batches, copy files, and perform simple logon. You can quickly log on without remembering the specific IP address of the application server.
Note: batch management can be performed by group, with a single thread. It is not applicable to the problem that hundreds of devices in each group can be used, that is, the duration of waiting for the re
Create Table space script in oracle and create script in oracle
Preface:
Previously, we used oracle tools to generate tablespaces. Today we see a more convenient and fast way to use database scripts.
/* Divided into four steps * // * Step 4: create a temporary tablespace */create temporary tablespace airforce34 tempfile 'd: \ date \ airforce34.dbf' size 1st m autoextend on; -- delete temporary TABLESPA
Write a script to create and manage LV:Note: During script execution, a menu is displayed to the user, as shown in the following figure:A create an LV.B create an LV in an existing VG.C extend an LV.D reduce an LV.
If you select item A, the following functions are completed:1) display information about all disks and disk cylinders on the current system: Total number of cylinders and the range of idle cylind
When using SSH to log on to the server with secure, if there are many servers, It is very troublesome to log on to the server at one time. Therefore, you can write VBScript on your own.
I. Introduction to the secure script
Secure is a VBScript, VB Script tutorial, please refer to the relevant documentation.
The built-in secure objects are as follows:
The application object, that is, CRT, is a top-level obje
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.