Detailed installation directory for Nginx
1.Nginx Log Rotation, Log Cutting for logrotate Service | Profile
/etc/logrotate.d/nginx
2.Nginx Home Profile|Directory, Profile
/etc/nginx
/etc/nginx/nginx.conf
/etc/nginx/conf.d
/etc/nginx/conf.d/default.conf
3.cgi configuration related, fastcgi | configuration file
/etc/nginx/fastcgi_params
/etc/nginx/scgi ...
Posted by Pieman86 on Sun, 19 Jul 2020 08:07:05 -0700
python selenium+beautifulSoup crawl lottery network data
I've always been particularly interested in python, and now I'm learning python. Here's how to use the library selenium and beautifulSoup from Python to crawl 360 lottery net winners:
First open the page you want to crawl to see its content structure:
Web address is http://chart.cp.360.cn/kaijiang/ssq?sb_spm=b5d6e27c6 ...
Posted by mash on Sat, 18 Jul 2020 09:23:12 -0700
Imitate Advertising Effect
Imitate the effect of an advertisement, see the effect picture first
The results are as follows:
Slide up, the head of the picture comes out first, and then scroll along as you scroll. When the picture slides out of the screen, the inside of the picture also reaches the bottom.
Slide down, the bottom of the ...
Posted by ven0m on Thu, 09 Jul 2020 08:16:22 -0700
Imitate Advertising Effect
Imitate the effect of an advertisement, see the effect picture first
The results are as follows:
Slide up, the head of the picture comes out first, and then scroll along as you scroll. When the picture slides out of the screen, the inside of the picture also reaches the bottom.
Slide down, the bottom of the ...
Posted by ntohky14 on Thu, 09 Jul 2020 08:17:04 -0700
Imitate Advertising Effect
Imitate the effect of an advertisement, see the effect picture first
The results are as follows:
Slide up, the head of the picture comes out first, and then scroll along as you scroll. When the picture slides out of the screen, the inside of the picture also reaches the bottom.
Slide down, the bottom of the ...
Posted by mattsinclair on Thu, 09 Jul 2020 08:16:04 -0700
Recording MediaRecorder, Playing Audio (MediaPlayer, SoundPool) by Android
_Before using MediaRecorder, AudioRecord was used to record audio and found that the more complex and recorded audio was all harsh.It is possible that the file also needs a header.If you want to record, use MediaRecorder, it's easy to use.
_Recording requires privileges, android 6.0 and above require runtime privileges ...
Posted by drax on Mon, 06 Jul 2020 09:23:48 -0700
NavigationView of Material Design Control
Introduction to Material Design Android Official Controls
NavigationView
The NavigationView is used for DrawerLayout's second sublayout, the drawer layout
Controls provided by google have the same status as inearLayout in DrawerLayout
Of course, you can use other layouts (such as FrameLayout+Fragment) as drawer layouts instead of Navigat ...
Posted by wkoneal on Mon, 06 Jul 2020 09:20:39 -0700
Several special ways of Spring Bean instantiation
ServiceLoader uses the reverse control in JDK
ServiceLoaderFactoryBean
AutowireCapableBeanFactory#createBean
BeanDefinitionRegistry#registerBeanDefinition
RumenzFactory interface and default implementation class DefaultRumenzFactory
RumenzFactory.java
package com.rumenz;
public interface RumenzFactory {
//jdk1.8 default implementation
...
Posted by svgmx5 on Tue, 30 Jun 2020 00:16:42 -0700
Pytoch deep learning practical course: today, do you classify garbage?
This article is about GitHub https://github.com/Jack-Cherish/PythonPark Has included, there are technical dry goods articles, collated learning materials, interview experience sharing of first-line large factories, etc., welcome to Star and improve.
1, Waste classification
Do you remember the gar ...
Posted by Michael 01 on Mon, 29 Jun 2020 19:46:17 -0700
jwt Logon Check Carry token
jwt login registration
jwt concept
Token does not need to be stored in the database.Just generate the key behind the scenes, then put the token in the request body or header when the client sends the request. When the client receives the token, it is stored in the local store or cookie. Note that sensitive information cannot be stored in the to ...
Posted by phat_hip_prog on Mon, 29 Jun 2020 09:12:56 -0700