fastdfs reports java.net.socketimeoutexception: connect timed out exception

Today, I tried to build a fastdfs environment. There is no problem for fastdfs to test the upload function on the server side. The project can also be uploaded normally on the intranet, but the image and other information cannot be uploaded normally on the Internet. The Internet firewall has paid attention to that all the configurations of fast ...

Posted by j-dearden on Thu, 26 Dec 2019 08:01:05 -0800

spring boot packaging and centos deployment

Packaging and deployment of spring boot First, packing There are many ways to package spring boot. Some of them are war, jar, or directly submitted to github for packaging and deployment through jekins. This is mainly about how to make jar for deployment. War is not recommended, because springboot is suitable for front-end and back-end separati ...

Posted by seanlyons on Wed, 25 Dec 2019 13:47:46 -0800

Making "wheels" by yourself -- several methods commonly used in python

Because of the content of the work, we often need some python scripts. Over time, we found that some methods are often used, so we edited some common, popular and general methods by ourselves. I'm not talented, but I also hope to contribute to open source. Finally, code HA is attached; 1, At present, only five methods are summarized in this do ...

Posted by Nommy on Wed, 25 Dec 2019 01:32:27 -0800

Using ggplot 2 package to draw the thermal map of the islands in the South China Sea

This paper mainly refers to the courseware content of Li Ding, a teacher of the people's Congress, and fork s the map file of Li on github For Mr. Ding's courseware, please refer to https://github.com/lidingruc/2017R/commit/30a14cc9c77b69dfd8252b7aa425afc87566c786 The South China Sea is a vast area. Generally, after the map of ...

Posted by stormszero on Tue, 24 Dec 2019 07:30:03 -0800

CentOS 7 configures Oracle VM and host network, notes on hand - continuous update~

CentOS 7 ---- Recently, I have reinstalled the virtual machine Linux, and I will take some practical notes. The following is a guide for pit arrangement: For initial installation, configure the network card and virtual machine host network first. To view network card details, enter the following command: ifconfig ip addr ip link ...

Posted by Garethp on Tue, 24 Dec 2019 06:42:10 -0800

axios Network Interaction Application-Vue

Author| Jeskson Source|Dada Front End Bistro <template> <div id="app"> <input type="text" placeholder="name" v-model="user.name"> <input type="text" placeholder="age" v-model="user.age"> <button type="button" class="btn" @click="btn.clickcallback"> {{btn.text}} </button> <table class="table"> ...

Posted by kumarsatishn on Mon, 23 Dec 2019 18:53:38 -0800

Autodesk Forge Viewer truly realizes single machine offline application

Autodesk Forge Viewer to truly implement stand-alone offline application) About the offline implementation of Autodesk Forge Viewer, the official has allowed exporting SVF and related documents, allowing users to deploy SVF and other documents to private servers, but this paper discusses another requirement. The customer requi ...

Posted by TechGuru on Mon, 23 Dec 2019 10:59:05 -0800

base64 transcoding and decoding of js front end

Why do we use base base64 is one of the most common encoding methods used to transmit 8-bit byte code on the network. Sometimes we need to encode the binary data in a form suitable for placement in the URL. At this time, base64 encoding is not readable, that is, the encoded data will not be directly seen by people. In addition ...

Posted by ddevitt on Mon, 23 Dec 2019 09:31:31 -0800

IO stream - BIO, NIO, AIO

IO, often collaborative I/O, is the abbreviation of Input/Output, that is, Input/Output. At present, there are three types of IO coexisting. They are BIO, NIO and AIO. Before we get to know IO, let's look at the concepts. Related concepts Flow oriented and buffer oriented The first big difference between Java IO and NIO is that IO is strea ...

Posted by derwert on Mon, 23 Dec 2019 05:05:12 -0800

Facade design pattern in Java and how to realize it with code

Facade design mode is also called appearance design mode. Its core idea is just like its literal meaning. It provides users with a portal. Users only need to access the portal to get the data they want, without managing the internal structure of the portal, and without knowing the running process. For developers, using facade mode, we can only ...

Posted by jrose83 on Mon, 23 Dec 2019 01:47:58 -0800