com.sun.net.httpserver create web Service

I started to learn Java web programming by writing a servlet, rewriting the service method, configuring the web.xml file, and finally deploying it to tomcat or jetty container and starting it. Later, I used some frameworks, struts 2 spring MVC. Today, I rummaged through the source code of JDK and found that the web service can be created very q ...

Posted by rgermain on Tue, 10 Dec 2019 11:22:09 -0800

Android source code download and compilation - 2019

Android source code download and compilation - 2019 (based on Ubuntu 18.10, applicable to domestic environment) Download repo tool If you do not download the repo script tool, please go to Tsinghua mirror to download it curl https://mirrors.tuna.tsinghua.edu.cn/git/git-repo -o repo chmod +x repo Then set the update source: export REPO_URL='http ...

Posted by melkara on Mon, 09 Dec 2019 12:35:11 -0800

GlusterFS for Kubernetes persistent storage

GlusterFS is an open-source distributed file with strong horizontal expansion ability. It can support several petabytes of storage capacity and thousands of clients. It is interconnected into a parallel network file system through the network. It has the characteristics of expansibility, high performance and high availability. Premise: you mu ...

Posted by raje on Mon, 09 Dec 2019 11:17:00 -0800

Wechat direct download APP solution

With the increasing number of wechat users, there are 108.25 million wechat users active every month, and 45 billion pieces of information are released every day. From this data, we can see that wechat is a way of life. People's communication, social interaction and reading methods have changed. No matter individuals or businesses, they want t ...

Posted by ChaosXero on Mon, 09 Dec 2019 07:47:46 -0800

Scrapy Crawler and Case Analysis

Due to the rapid development of the Internet, all the information is in a state of massive accumulation. We need to obtain a large amount of data from the outside world and filter the useless data in a large amount of data.We need to specify a crawl for our useful data, so there are now crawling techniques that allow us to quickly get the data ...

Posted by klance on Sat, 07 Dec 2019 04:35:57 -0800

nextcloud and oauth2 integration tutorial

Basic environment Nextcloud 15.0.5 oauth2 Install sociallogin Download in the official app store sociallogin Extract and copy sociallogin to app directory Open Nextcloud and enable it in the application Configure oauth2 Use the administrator account to open Nextcloud to find the sociallogin settings, select Custom OAuth2 and add oauth2 in ...

Posted by apaxson on Thu, 05 Dec 2019 21:30:04 -0800

LNMP architecture introduction, MySQL and PHP installation, Nginx introduction

LNMP architecture introduction Unlike LAMP, Nginx provides web Services And php exists as an independent service, which is called php FPM Nginx processes static requests directly, and dynamic requests are forwarded to PHP FPM MySQL reinstallation MySQL is installed by compiling free binary installation package. You need to delete the corre ...

Posted by Jason28 on Thu, 05 Dec 2019 20:56:00 -0800

Monkey data domain name anti blocking interface reduces the risk of novel being blocked

Recently, there have been frequent complaints on the Internet that the novels they read have been sealed, even if they are not vulgar novels, or they have been shared too many times. The readers are upset and angry, but the business should be the more dry. Especially for paid distribution businesses, the painstaking public numbers are basicall ...

Posted by psycovic23 on Thu, 05 Dec 2019 13:15:25 -0800

k8s using Kube router to build highly available and extensible ingress

brief introduction Use Kube router to realize the function of inress of k8s cluster, which is highly available and easy to expand Environmental description This experiment is based on the k8s cluster which has been installed and configured. For k8s installation, please refer to other blog articles. lab4, as a router, forwards lab5's request Exp ...

Posted by eirikol on Tue, 03 Dec 2019 05:27:35 -0800

The importance of response speed in wechat domain name detection

With the popularization of wechat domain name detection, more and more people pay attention to this aspect. One customer told me that the detection he is using now has a frequency limit and can only detect one in a second at most. When there is too much concurrency, it can't be detected while skipping. It can only be written into the planned t ...

Posted by Darkness31 on Mon, 02 Dec 2019 22:33:48 -0800