Real time push based on workerman (no ajax polling)

Let's start with: TCP/IP TCP/IP is a protocol group, which can be divided into three layers: network layer, transport layer and application layer. There are IP protocol, ICMP Protocol, ARP protocol, RARP protocol and BOOTP protocol in the network layer. There are TCP protocol and UDP protocol in the transport layer. In the application layer, th ...

Posted on Mon, 11 May 2020 09:04:41 -0400 by synical21

Ansible deployment source code nginx

Divide all deployed nginx hosts into nginx groups: vim /etc/ansible/hosts [nginx] 192.168.200.102 • create management directory: mkdir -p nginx/roles/nginx_install/{files,handlers,meta,tasks,templates,vars} cd nginx/ explain: Files: store source files and configuration files that need to be synchronized to remote servers; handlers: the ...

Posted on Sun, 10 May 2020 10:28:18 -0400 by Andy17

opencv-12-gaussian filter-bilateral filter (with C + + code implementation)

Before you start In recent days, I haven't written for my own reasons. One is that I'm lazy. The other is that I don't want to write down some problems I have encountered here. Let's try to finish this chapter first. Before that, I introduced the more commonly used and well understood mean and median filtering. However, in the routine Smoothing ...

Posted on Sun, 10 May 2020 05:52:58 -0400 by stunna671

How to implement an API gateway using Golang

Have you ever wanted to expose an interface to the network. But you have to add some permissions, otherwise it's not good to be called by others. The process of permission verification should be as simple as possible. Maybe it's just to compare two strings that are equal. In general, we need to implement or add a global interceptor. But I still ...

Posted on Thu, 07 May 2020 01:51:19 -0400 by bigdspbandj

Meeting record management system (3) - Design of user personal information module

1, User personal information module design 1. Overview of user's personal information module After the user logs in, he can see the personal information. Here, users can view personal user name, permission level, current date, last login time, login times and perform safe exit operation. 2. User personal information module technology ...

Posted on Wed, 06 May 2020 11:25:35 -0400 by glueater

PHP function library details and objects

Discard Some functions have been discarded or removed, please do not use them __autoload - 7.2 obsolete Call > User > method > array - version 7.0 remove Call "user" method - version 7.0 remove judge   Class existence check correlation function class_exists - judge whether a class exists Interface? Exists - determines ...

Posted on Wed, 06 May 2020 05:42:39 -0400 by webren

The magic of indexers: reading configuration files

GPS platform, website construction, software development, system operation and maintenance, find Senda network technology!http://cnsendnet.taobao.comFrom Senda Technology Official Bloghttp://www.cnsendblog.com/index.php/?p=602 Indexer: Officially, it is a member of a class that allows instances of a class or structure to be sorted in the same ...

Posted on Wed, 06 May 2020 00:05:45 -0400 by Mastermind

Front desk one key backup database + PHP implementation

1, Realization ideas 1. Click the Backup button to transfer the parameters to the background. ajax implements: function backupDatabase(){ var back = 'backupDatabase'; $.ajax({ url:'system_backup.php?do=backupDatabase', type:'POST', data:back, dataType:'json', beforeSend:function(){ inte ...

Posted on Tue, 05 May 2020 16:40:58 -0400 by Festy

WordPress problem solving: 500 errors in the background of website moving

WordPress website moved home, visit the background display 500 error terms of settlement WordPress enable Developer mode Modify wp-config.php Add define ('wp_debug ', true); Parse error details Visit the background again and display: Fatal error: Uncaught Error: [] operator not supported for strings in /h ...

Posted on Tue, 05 May 2020 14:16:44 -0400 by birdie

Python List Data Type (list) [Learn Python Essentials] [Read this article is enough]

Your "concern" and "compliment" are trust, recognition, support and motivation... If you have any comments, you can leave a message. I will do my best to try to be accurate and comprehensive, and make modifications and supplemental updates throughout my life. Catalog 1 Python List Data Type Overview 2 Python Create ...

Posted on Tue, 05 May 2020 11:35:00 -0400 by timmy0320