php date and time functions

System time zone settings for PHP date and time functions In PHP, there are two ways to change the time zone: The first: modify php.ini For the settings in the file, click data; date.timezone =Option, remove the preceding quotation marks, and change to:“ date.timezone =Asia / Shanghai "and restart the Apache server Second: In the a ...

Posted on Thu, 21 May 2020 22:26:51 -0700 by rklapwijk

Reptile knows how to land

Introduction to reptile Function: It's a friendly website for reptiles, but! Now the login verification code is disgusting. You need to click the inverted text in the figure! This makes us a person who is not literate at all. So we use the method of replacing url parameter to login with a login verification code, which needs to be entered manua ...

Posted on Fri, 01 May 2020 09:36:52 -0700 by KyleVA

Automated Operations and Maintenance Tool Ansible-playbook Details and Case Actual

1. playbook - Introduction to playbook playbooks is a different mode of execution from the Ansible command line, which is more flexible and powerful.Simply put, playbook is a very simple configuration management and multi-host deployment system that, unlike any existing pattern, serves as a foundation for deploying complex applications.Playboo ...

Posted on Sun, 12 Apr 2020 09:44:13 -0700 by susi

go Language Series - From Operators to Functions

Two great tricks in programming 1. Easier than harder, breaking a complex problem into simple ones 2. Live after death operator Operators are special symbols used to represent operations, assignments, comparisons, and so on, of data. Operators are used to perform mathematical or logical operations while a program is running The built-in operato ...

Posted on Tue, 07 Apr 2020 20:57:23 -0700 by tuneout

[RH134] 10-NFS and Samba Clients

For configuration of NFS and samba servers, see: Here, we will only discuss the use of the client   1. Use of NFS clients nfs implements a remote shared directory between Unix-like systems.   Suppose we already have a server that provides nfs services with an IP of 192.168.1.17.A directory/aa has already been shared. 1) Query nfs direc ...

Posted on Sun, 05 Apr 2020 20:45:05 -0700 by mridang_agarwal

What is the difference between 127.0.0.1 and localhost in connecting to mysql database

1, The difference between 127.0.0.1 and localhost in connecting mysql database 1. Connection of localhost to mysql database mysql -h localhost -uroot -p 2. The following is 127.0.0.1 connecting to mysql database mysql -h 127.0.0.1 root -p I don't know how you see the connection is different. Let me analyze ...

Posted on Sun, 05 Apr 2020 18:07:25 -0700 by elementaluk

Chapter 7 1. Input / output and template

Catalog I / O stream Flow operator** File read write [^ 1] I / O stream I / O class derivation Standard flow object Standard input stream: cin -- connected to standard input device, istream object Standard output stream: cout -- connected to standard output device, ostream objectcerr -- connected to standard error output device (no buf ...

Posted on Sat, 04 Apr 2020 01:54:31 -0700 by fallen00sniper

ps command is a simple use

Ten simple uses of ps command Annotation ps commands have two different syntax styles - BSD and UNIX. Novices often misunderstand these two forms, so we need to make a simple explanation here: ps aux is different from ps aux. For example, the - U parameter indicates the uid of the printing process, while the parameter ...

Posted on Thu, 02 Apr 2020 05:41:13 -0700 by Prodigal Son

Docker discovery-swarm to build docker cluster

Origin: http://www.cnblogs.com/520playboy/p/7873903.html Preface Swarm was an independent project prior to Docker version 1.12. After the release of Docker version 1.12, the project was merged into Docker and became a subcommand of Docker. Doker swarm is a tool for creating a server cluster, which requires only a few commands to create a ...

Posted on Wed, 01 Apr 2020 10:14:08 -0700 by stormszero

Introduction to compression packaging, gzip compression tool, bzip2 compression tool, xz compression tool

Introduction to compression packaging Compressing files saves bandwidth. Common compressed files windows -.rar   .zip   .7z linux-.zip ,.gz,  .bz2,  .xz, .tar.gz ,  tar.bz2, tar.xz gzip compression tool Usage: gzip [filename] cannot compress directory [root@glinux-01 tmp]# gzip test.sh [root@glinux-01 tmp]# ls dnsmasq.conf newdisk ...

Posted on Tue, 31 Mar 2020 22:25:35 -0700 by topflight