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

wordpress website uses wechat-social-login plug-in for QQ, WeChat, Pin, Github, Mobile number login

Wordpress version: wordpress:4.9.8 version php version: v7.2.12 The dockcer image is: wordpress:4.9.8 Article Directory Graphic Authentication Code could not be loaded Ways to view phpinfo() docker compile mirror docker compile mirror error Use a new mirror that integrates freetype Reference resour ...

Posted by aravind_mg on Sun, 09 Feb 2020 05:44:59 +0100

WeChat Payment Detailed Tutorial Actual

1: This article only aims at the scavenging payment of the third-party native pc platform 1. Noun Interpretation: 1, WeChat Public Platform The WeChat public platform is the WeChat public account application entry and management background.Merchants can submit basic data, business data and financia ...

Posted by Viper_4 on Sat, 08 Feb 2020 06:10:20 +0100