1. Get today's 0:0:0:0 seconds (usually used to get the start date)
new Date(new Date().toLocaleDateString()); // Mon Nov 12 2018 00:00:00 GMT+0800 (China standard time)
2. Get the date one month ago
new Date(new Date().setMonth(new Date().getMonth()-1)); //Fri Oct 12 2018 17:20:07 GMT+0800 (China standard time)
3. Get 0:00:00 of a month ag ...
Posted by phisher1 on Sat, 07 Dec 2019 22:09:00 -0800
Extract this note from: https://www.cnblogs.com/zhili/archive/2012/07/23/Event_Constructor.html And record the learning process for future reference.
(Thread synchronization mentioned earlier is mainly user mode (as defined in CLR Via C#, which refers to threading synchronization in two ways: first, user mode construction, and kernel mode const ...
Posted by caster001 on Sat, 07 Dec 2019 21:41:07 -0800
LNMP deployment instance and HTTPS service implementation
What is LNMP: Linux + nginx + MySQL + (PHP FPM, PHP MySQL)
The web service architecture of Nginx+Mysql+Php on the Linux operating system.
MySQL in CentOS 6, Mariadb in CentOS 7
What's the function: it provides web services and can parse applications of PHP classes;
Next, I will dep ...
Posted by jason102178 on Sat, 07 Dec 2019 21:27:47 -0800
I. environmental preparation:
Operating system: CentOS Linux release 7.5.1804 (Core) MySQL version: mysql-5.7.24-linux-glibc2.12-x86_.tar.gzMain warehouse: 172.16.8.247Slave Library: 172.16.8.249Host name:172.16.8.247 qas-zabbix-node01172.16.8.249 qas-zabbix-node02172.16.8.248 vip
2. mysql5.7 installation and master-slave replication configur ...
Posted by Xurion on Sat, 07 Dec 2019 21:09:55 -0800
To be honest, PHP is under a lot of pressure in terms of code quality. By reading this series of articles, you'll learn how to improve the quality of your PHP code.
There are many reasons for this, but it's certainly not just the lack of proper testing tools for the PHP ecosystem. In this article, I want to show you a simple setup for basic qu ...
Posted by Alex-B on Sat, 07 Dec 2019 22:17:16 -0800