easywechat -- use in thinkPHP5

1. installation Version 1.1 v-4.0 requires PHP version above 7.0 1.2 run the following command in the project directory If composer is not installed, install composer first - > http://docs.phpcomposer.com/00-intro.html Under windows environment, if openssl extension is missing is reported, modify php.ini file and open extension=php_openssl. ...

Added by QuizToon on Tue, 31 Mar 2020 23:33:36 +0300

openGL learning notes - hybrid

Discard clip: for the rendering of transparent objects, you can discard the clip: void main() { vec4 texColor = texture(texture1, TexCoords); if(texColor.a < 0.1) discard; FragColor = texColor; } Blend: although it's good to discard the clip directly, it can't render a translucent image. We ei ...

Added by point86 on Mon, 30 Mar 2020 18:27:09 +0300

Python learning - using Python to crawl popular comments on Eason Chan's new song "we"

It has been several days since "later we" was released. I haven't been to see it. There was a ticket refund incident a few days ago. The theme song of the movie was sung by Eason Chan. I specially looked for the MV of the theme song "we" and watched it. It's still that feeling. That day, I saw an official account of the Pyth ...

Added by harinath on Thu, 26 Mar 2020 20:07:24 +0200

Nginx log management

Check Nginx's nginx.conf file, and you can see such a message #access_log logs/access.log main; This indicates that the file of the server access log is logs/host.access.log in the format of "main". main format #log_format main '$remote_addr - $remote_user [$time_local] "$request" ' # '$st ...

Added by TonyB on Fri, 20 Mar 2020 17:53:01 +0200

Using Java to read / write Windows registry

How to use Java to read / write to the Windows registry? #1 building I added David's original release of Pure java code to allow access to 32-bit parts of the registry from a 64 bit JVM and vice versa. I don't think there is any other answer to this problem. Here is: /** * Pure Java Windows Registry access. * Modified by petrucio@s ...

Added by jbardin on Thu, 19 Mar 2020 10:55:39 +0200

Python crawler practice, get Baidu Post Bar content

After a lot of study and preparation in the early stage, it is important for us to start writing the first real reptile. This time we want to climb the site is: Baidu Post Bar, a very suitable place for new people to practice, so let's start. This time I climb the post bar is < western world > > which is an American drama I always l ...

Added by pearjam on Tue, 17 Mar 2020 15:58:46 +0200

Bus route tips

According to the real bus route map of Nanjing, the storage structure of the main bus route map of Nanjing is established. [basic requirements] (1) Input any two stations and give the route with the least number of transfers. (2) Input any two stations, and give the minimum route through the stati ...

Added by ak_mypayday on Sun, 15 Mar 2020 07:48:01 +0200

Sword finger offer 61-67(Java)

Article directory 61. Serialize binary tree* thinking 62. The k-th node of binary search tree 63. Median in data flow 64. Maximum sliding window 65. Matrix path 66. Range of motion of robot 67. Cut the rope* 61. Serialize binary tree* Please implement two functions to serialize and deserialize b ...

Added by Cognito on Thu, 12 Mar 2020 09:15:58 +0200

tkinter variable category of Python

Article directory 1, Basic introduction of variable categories 2, set() method 3, get() method 4, trace() use mode w 5, trace() usage mode r 6, Method parameters of trace() method call 1, Basic introduction of variable categories Some controls will change content when they are executed, for exam ...

Added by N350CA on Wed, 11 Mar 2020 07:56:50 +0200

Computer vision -- SIFT feature extraction and retrieval

Article directory 1, About sift 2, sift algorithm principle 1. characteristics 2. Solvable problems 3. Algorithm decomposition 4. disadvantages Three. Experiment 1.SIFT feature extraction and display feature points 3.1.1 code implementation 3.1.2 result display 2.SIFT feature matching 3.2.1 cod ...

Added by spyke01 on Sun, 08 Mar 2020 08:25:20 +0200