Redis - using Gearmand as mysql cache server

Redis - using Gearmand as mysql cache server Article directory Redis - using Gearmand as mysql cache server 1. What is gearland? 2. Deployment process 3. test 1. What is gearland? Gearmand is a machine used to delegate work to other machines, distributed calls are more suitable for doing a c ...

Posted by onedumbcoder on Fri, 13 Mar 2020 07:53:45 +0100

Centos7.4 source code to build lamp ᥤ PHP configuration

Learning notes 1. Command for the location of the PHP configuration file /usr/local/php/bin/php -i|grep -i "loaded configuration file"      ​ 2. Disable functions in PHP 2.1. php has many built-in functions, so it is safe to disable some risky functions vim /etc/php.ini         #This is the lo ...

Posted by Aybabtu on Tue, 25 Feb 2020 05:20:33 +0100

Find the longest string in a string (PHP version)

Title Description 1: read in a string STR, and output the longest string in the string str. If there are more than one consecutive longest digital string, just output the first one. Input description The input contains 1 test case, a string str, and the length does not exceed 255. Output descrip ...

Posted by Cheez on Fri, 21 Feb 2020 14:13:10 +0100

laravel code focus

1. To create a project through composer: composer create-project --prefer-dist laravel/laravel laravel 2. Enter project: cd /var/www/html/laravel 3. To create a controller: php artisan make:controller StudentController 4. Create model classes and data migration files: php artisan make:model Student ...

Posted by ibanez270dx on Thu, 20 Feb 2020 04:54:06 +0100

WeChat official account interface development -- reply message

WeChat official account interface development - reply message As a WeChat official account, interaction with users is very important. For example, according to the message sent by users and the user information (text, pictures, videos, pictures, etc.) that are passively answered by push events, I have ...

Posted by Mouse on Tue, 18 Feb 2020 14:07:56 +0100

Introduction to rpm package management

API: application program interface ABI: application binary interface The ABI file of linux system is in ELF format The ABI file of windows system is in the form of exe and msi System level development language: c/c++ Works: httpd, vsftpd, nginx Application level development: java/python/php java works: hadoop, hbase python works: openstack It's ...

Posted by dekeb55 on Sat, 15 Feb 2020 11:28:04 +0100

PHP environment building windows

To prepare the Apache and php packages: Link: https://pan.baidu.com/s/1xclkowi-a3r8oeyften3a Extraction code: whjj Install Apache 1. Modify the httpd.conf configuration in the Apache24\conf \ directory, and open the httpd.conf file in Notepad 2. Find the item "Define SRVROOT" and change the ...

Posted by getmukesh on Fri, 14 Feb 2020 08:54:55 +0100

Use Sonar for Code Quality Management and Mail Alarm

1. Overview of Sonar Sonar is an open platform for code quality management.Through the plug-in mechanism, Sonar can integrate different testing tools, code analysis tools, and continuous integration tools. Unlike continuous integration tools such as Hudson/Jenkins, Sonar does not simply display the results of different code inspection tools (s ...

Posted by NixNod on Thu, 13 Feb 2020 23:00:45 +0100

Qt embedded Baidu map

Catalog Qt embedded Baidu map 1.WebEngineView declaration and definition 2. Use Baidu map JavaScript API 2.1. Register account, add application and obtain ak code 2.2. Set container style and create map container element 2.3. Initialize map and display 3.Qt calls Javascript function 4.Javascr ...

Posted by ducey on Wed, 12 Feb 2020 18:00:36 +0100

Python Learning Notes Day 1

Python Learning Notes Day 1 Writing of hello world Hello world in other languages C++ C JAVA php ruby go variable Naming variables ASCII Code Binary character User Interaction Mode Notes User typing (keyboard entry) Formatted output and connector: Form One Form Two Form Three if elif else w ...

Posted by djopie on Mon, 10 Feb 2020 03:22:46 +0100