php implements redis message publishing subscription
Basic Introduction
Pub/Sub function (means Publish, Subscribe) is the publishing and subscription function
In event-based systems, Pub/Sub is a widely used communication model, which uses events as the basic communication mechanism to provide loosely coupled interaction modes required by large-scale systems: subscribers (such as clients) expre ...
Added by rheroux on Sun, 15 Sep 2019 05:02:13 +0300
PHP Learning Notes: Foundation
Links to the original text: https://my.oschina.net/zipu888/blog/549651
1. Basic GrammarPHP script block to
<? PHP starts with
At the end, we can place the script block of PHP an ...
Added by james182 on Sat, 14 Sep 2019 09:01:05 +0300
Build PHP+Nginx Environment on Linux
PHP+Nginx Environment Setup
Author: Mirror ^^
Reference article:
Nginx+PHP+MySQL Installation Reference
PHP Source Installation Experience
Common problems in PHP source environment building
CentOS environment
Configure the CentOS-7 network:
CentOS (minimum installation) does not open the network by default
Start the network
vi Open: / ...
Added by pdn on Fri, 13 Sep 2019 21:41:18 +0300
CentOS7 Installation Cacti1.1.38 (Kind Test Available)
1. Software Installation1.1 Update System
yum -y install wget vim-enhanced
mkdir /etc/yum.repos.d/backup
mv /etc/yum.repos.d/{*.repo,backup}
wget -O /etc/yum.repos.d/CentOS-Base.repo https://mirrors.163.com/.help/CentOS7-Base-163.repo
wget -O /etc/yum.repos.d/epel.repo http://mirrors.aliyun.com/repo/epel-7.repo
rm -rf /var/cache/yum
rm -rf /va ...
Added by piet on Fri, 13 Sep 2019 02:11:04 +0300
iconfont font icons and various CSS icons
Links to the original text: https://www.mk2048.com/blog/blog.php?id=000iac1hj&title=iconfont%E5%AD%97%E4%BD%93%E5%9B%BE%E6%A0%87%E5%92%8C%E5%90%84%E7%A7%8DCSS%E5%B0%8F%E5%9B%BE%E6%A0%87
Foreword: This is the author's own understanding an ...
Added by kyoru on Thu, 12 Sep 2019 15:07:04 +0300
python crawler-simulated microblog login
Microblog Simulated Logon
This is the website of this crawl: https://weibo.com/
I. Request Analysis
Find the login location, fill in the username password for login operation
Look at the data for this request response.
This is the data from the response. Save it.
exectime: 8
nonce: "HW9VSX"
pcid: "gz-4ede4c6269a09f5b7a6490f790b4aa944eec"
pubk ...
Added by freakus_maximus on Thu, 12 Sep 2019 10:43:47 +0300
The Way to Fill the Pit with Wechat Small Program Service Provider Model
The Way to Fill the Pit with Wechat Small Program Service Provider Model
Having read the posts of this predecessor, I have come out of the deep pit and added a few easy mistakes by the way: https://blog.csdn.net/qq_18881987/article/details/94428628 ...
Added by Pegasys on Wed, 11 Sep 2019 07:24:04 +0300
Curl's Solution in the Swoole Coprocess
It is well known that Curl is not recommended in SWOLE applications because it blocks processes.
This article will use actual code and data, in the most intuitive way, to let you understand why.
Finally, Curl's solution in Swoole will be given. If you don't want to see the analysis, you can go straight to the end.
Routine comparison
Yu Run does ...
Added by kr4mer on Wed, 11 Sep 2019 04:59:38 +0300
Business Logic Processing of Laravel Point Comment and Comment Module
Requirement: A user gives or cancels a comment on an article and then returns to the list page of the article to show the number of comments and the number of comments.
In laravel, we can use the idea of model association to develop this functio ...
Added by Madzz on Fri, 30 Aug 2019 12:59:30 +0300
Various ways of sharing content on h5 pages of Weixin, qq and other channels
In common shared landing business, product managers or operating classmates often require that shared pages carry shared pictures, page descriptions and page titles.
Then how can we solve some of the problems? Here are several solutions for your reference.
Traditional way
The most traditional way is to set the title, description and other head ...
Added by Caesar on Tue, 27 Aug 2019 09:10:07 +0300