The third operation of system comprehensive practice

The third comprehensive system practice 1, Installation of docker compose Download docker composesudo curl -L "https://github.com/docker/compose/releases/download/1.25.5/docker-compose-$(uname -s)-$(uname -m)" -o /usr/local/bin/docker-compose Apply executable permissions to binariessudo chmod +x /usr/local/bin/docker-compose Create s ...

Posted on Fri, 08 May 2020 19:31:51 -0700 by v4g

Teach you how to realize 12306 automatic ticket grabbing in Python 3. Beginners must learn

Recently, I was learning python, so I wrote this 12306 ticket grabbing script in Python, shared it with you, and shared it with you. If there is something wrong, please correct it. Don't say much, go to the main topic: before going to the main topic, I want to explain that due to the update of 12306 official website, the script has made a littl ...

Posted on Thu, 07 May 2020 19:52:11 -0700 by pabs1983

php realizes simple chat function

1. To create a chat message table, its fields include message content, sending time and sender's name; SQL: CREATE TABLE `guanhui`.`message` ( `id` INT(10) NOT NULL AUTO_INCREMENT COMMENT 'news ID' , `content` VARCHAR(255) NOT NULL COMMENT 'Message content' , `sender` VARCHAR(60) NOT NULL COMMENT 'sender ' , `send_time` IN ...

Posted on Thu, 07 May 2020 08:33:20 -0700 by thatsme

jQuery learning (2) using ajax()

Share in the previous article Using AJAX in JavaScript (for beginners) We learned how to use AJAX in JavaScript. Because jQuery has excellent performance and concise writing method, and it also supports the use of AJAX, this sharing will show how to use ajax() function in jQuery.    for a tutorial on the ajax() function of jQuery, p ...

Posted on Tue, 05 May 2020 11:55:40 -0700 by C_Calav

Python -- deploying LNMP business service environment

Please indicate the source of Reprint: http://blog.csdn.net/l1028386804/article/details/79042734 Before we go online, we need to deploy the corresponding environment, often a business involves multiple environments, such as Web, DB, Proxy, Cache, etc. in this example, we define different roles through env.roledefs, and then use the @ roles(&qu ...

Posted on Mon, 04 May 2020 08:48:51 -0700 by shibobo12

Speculation fund lost, grab data out....

Ah ~ ~ I didn't want to take some dead wages and go to buy funds, but I lost money all the time. After work, I was going to do some data research. As a result, the interface provided by XXX platform still received money, but I had to go to other websites to ask for it . (interested friends leave email to design an inve ...

Posted on Mon, 04 May 2020 06:47:30 -0700 by ruraldev

Laravel generate Word document - phpword

In the actual development or learning of a project, there is a need to export data to generate word documents. Here we use the elegant and popular laravel framework to simply teach you how to implement it. phpword, which can easily generate word documents, can also add tables, directories, pictures, hyperlinks, headers ...

Posted on Sun, 03 May 2020 15:06:33 -0700 by Ibnatu

PHP object oriented object value transfer method

1 <?php 2 // Declare a variable and assign a value 3 $a = 1; 4 // Assign a value of data type to a variable 5 $b = $a; 6 7 // modify $a Value 8 $a = 2; 9 // $a and $b Two independent memory space modifications, one of which is unaffected 10 echo $b; // 1 11 12 class Person 13 { 14 ...

Posted on Sun, 03 May 2020 07:37:18 -0700 by waverider303

News crawler based on php, inserted into WordPress database

This reptile has been writing for a long time. It hasn't updated its blog for a long time. 1. The first idea is: you can easily and quickly grab the web page through the curl Φ setopt() function of php. 2. What kind of news attracts people? Of course, hot news. Here choose Baidu's search billboard to get a list of hot keywords. 3. For th ...

Posted on Sun, 03 May 2020 06:30:08 -0700 by bigscanner

CodeIgniter source reading notes (3) - public function Common.php

1. Overview Common declares many functions of common operations. Common.php is recorded in Codeigniter.php, so this file is called globally. 1. What functions does Common provide? is_php: determine PHP version function is_php($version) { //Note that instead of returning true or false directly, ...

Posted on Sat, 02 May 2020 17:00:06 -0700 by Daukan