[small attempt] access to the original path course list of mooc.com

As an old MOOC network( https://www.imooc.com/ )Fans, remember that there are many free path courses at the beginning of mooc.com. It's a good way to get started with a language. Now mooc.com has developed the charging mode and added many higher-level courses, which is a good thing, but the original free path can not be found. If there is an or ...

Posted by carichod on Thu, 02 Apr 2020 00:54:08 -0700

[bzoj3307] tail in rainy days [line tree]

[title link]   http://www.lydsy.com/JudgeOnline/problem.php?id=3307 [Abstract] First of all, all the changes of this problem can be handled at one time. If there is an edge (u,v)(u,v), put a + 1 + 1 mark on u,vu,v respectively, put a − 1 − 1 mark on LCA (U, V), Dad (U, V)) LCA (U, V), Dad (U, V)). ...

Posted by Dr John on Wed, 01 Apr 2020 23:53:09 -0700

Installation and deployment of Nginx

1: Install toolkits wget, vim, and gcc yum install -y wget yum install -y vim-enhanced yum install -y make cmake gcc gcc-c++ 2: Download nginx installation package wget http://nginx.org/download/nginx-1.6.2.tar.gz 3: Install dependency package yum install -y pcre pcre-devel yum install -y zlib zlib-devel yum i ...

Posted by phpchamps on Wed, 01 Apr 2020 10:22:31 -0700

nginx profile description

nginx.conf user www www; # Nginx's worker processes run users and user groups worker_processes 4; # Number of startup processes, usually set equal to the number of CPUs #worker_processes auto; #The following parameters specify which cpu is assigned to which process, generally speaking, there is no special specific ...

Posted by lukeurtnowski on Tue, 31 Mar 2020 13:02:36 -0700

Common commands for nginx log statistics

IP related statistics Statistics of IP access (number of independent IP access) awk '{print $1}' access.log | sort -n | uniq | wc -l View the IP access of a certain period of time (4-5 points) grep "07/Apr/2017:0[4-5]" access.log | awk '{print $1}' | sort | uniq -c| sort -nr | wc -l View the top 100 IP S with the most frequent access ...

Posted by TomT on Tue, 31 Mar 2020 12:10:34 -0700

HPU timetable software of Henan University of Technology

HpuTimetableAPI Background open interface of [HPU timetable] software It includes the whole course library of the second semester 2017-2018 of Henan University of technology 23 colleges, 901 classes, 5647 courses, 20241 course records Rubbing class function Sharing courses Scan code import course management Course library ma ...

Posted by solus on Tue, 31 Mar 2020 08:20:54 -0700

Configure expiration time for static elements

Configure static element expiration time The browser will cache static files (pictures, CSS, JS) in the computer by default when visiting the website. So the next time you visit, you don't have to download remotely. How long is the cache? The browser will have its own mechanism to clear the cache. Or it can be set on the remote ...

Posted by jamiel on Mon, 30 Mar 2020 23:46:01 -0700

Changing Apache to run php in fastcgi mode under windows

Recently, we are using the Phalcon 3.3 framework, the local environment is wampserver, and php7.0 is selected. It is found in the project that using curl to request other interfaces of the project or other interfaces of the project report errors. If you switch to php5.6, you can request normally. After trying many methods, you ...

Posted by boinnk on Thu, 26 Mar 2020 09:07:55 -0700

Zabbix Download Pictures via Graphid - 2nd Edition

Read the above before reading this article: https://blog.51cto.com/181647568/2480079 After downloading the script from the last Powershell version of the picture, I received some feedback.1. The last script accesses the database through dll and gets graphid through sql statement, which means there is a dll in addition to the script.And the dat ...

Posted by Protato on Wed, 25 Mar 2020 09:42:18 -0700

Laravel6 for third-party WeChat login

At present, many websites will have a lot of interactive functions, which reduces the user's operational difficulty, thus bringing the third-party login of WeChat to the project real-world function development.For the development content in this example, instead of using native content, use the encapsulated class libraries written by others dir ...

Posted by johnoc on Tue, 24 Mar 2020 19:58:08 -0700