Flutter develops the Dio interceptor to realize the function of token verification expiration
Preface:
Before, I shared the solution of using Retrofit to refresh token invalidation in Android. Now the Flutter project also has the requirement of "token verification is overdue". So I will briefly summarize how to implement the interceptor function of automatically refreshing token and resending request in the Flutter project, h ...
Posted by implications on Mon, 25 Nov 2019 09:23:33 -0800
EFK tutorial - ElasticSearch multi instance deployment
Based on ElasticSearch multi instance architecture, realize reasonable resource allocation and separation of hot and cold data
Author: "the wolf of hair", welcome to reprint and contribute
Catalog
Application
Framework
▪ 192.168.1.51 elastic search data deployment dual instance
▪ 192.168.1.52 elastic search data deployment dual inst ...
Posted by pennythetuff on Mon, 25 Nov 2019 05:51:54 -0800
Understand how to use JWT and you will be able to implement it with PHP
To implement JWT certification with php, let's first understand what JWT is.What is JWTJWT(json web token) is an open JSON-based standard implemented to pass declarations between network applications.JWT's declarations are typically used to transfer authenticated user identity information between identity providers and service providers in orde ...
Posted by _rhod on Fri, 22 Nov 2019 21:45:57 -0800
bitcoin full node deployment
Server configuration:
Operating system: ubuntu 16.04
CPU: 4U
Memory: 16G ා generally speaking, 4G is enough, but if you want to check the history, you need to load the complete transaction index table tindex, which results in 8G + memory
Hard disk: 500G bitcoin has been running since 2008, with a large amount of data accumulated, and ...
Posted by Rianna on Fri, 22 Nov 2019 11:35:07 -0800
Script automation shut Down the Down host in Zabbix
Next, I use Python to shut Down the Down hosts in Zabbix through py Zabbix API. The basic idea is
1. Obtain the IP of the previous group
2. Verify whether the host is Down through telnet
3. Shut down the host
Warning: the python script relies heavily on telnet connectivity results. If the network is unstable, the results will be directly affe ...
Posted by Ozzapoo on Fri, 22 Nov 2019 06:07:57 -0800
How to deploy the front-end dist directory?
The front-end deployment is actually a part of front-end engineering. This blog is my attempt to summarize the front-end deployment based on my practical work experience and amateur exploration. On the one hand, I have some records, on the other hand, I can give you some inspiration.
Deploy to qiniu cloud
Deploy to Alibaba cloud OSS and Tence ...
Posted by CBR on Fri, 22 Nov 2019 02:13:52 -0800
The Path of Dependent Management in go mod
Writing a k8s operator defaultvm in kubebuilder mainly strings up the creation of ovn network and virtual machine to provide default available virtual machine for users.
Kubebuilder is a framework for building the Kubernetes API based on CRD, which can be used to build APIs, Controller s, and Admission Webhook s.
The code calls virtualmachine d ...
Posted by kelvin on Thu, 21 Nov 2019 01:08:02 -0800
os of common Python modules
os.getcwd()
Return the absolute path to the current working directory
Python 3.7.0 (v3.7.0:1bf9cc5093, Jun 27 2018, 04:59:51) [MSC v.1914 64 bit (AMD64)] on win32
Type "copyright", "credits" or "license()" for more information.
>>> import os
>>> print(os.getcwd())
C:\Users\28914\AppData\Local\Programs\Python\Python37
os.chdir( ...
Posted by tony_l on Wed, 20 Nov 2019 21:12:02 -0800
Get the real ip address of the client in the background
In JSP, the method to get the IP address of the client is: request.getRemoteAddr(), which is effective in most cases. However, after passing Apache, Squid, nginx and other reverse proxy software, the real IP address of the client cannot be obtained. After the proxy, because the middle layer is added between the client and the s ...
Posted by azylka on Wed, 20 Nov 2019 10:24:20 -0800
ElasticStack series, Chapter 1
I. Introduction to Elastic Stack
ElasticStack currently consists of four parts:
Elastic search: core storage and retrieval engine
Kibana: Data Visualization
Logstash: high throughput data processing engine
Beats: collect data
ElasticSearch: Based on Java, it is an open-source distributed search engine, featuring: distributed, zero ...
Posted by Vibralux on Wed, 20 Nov 2019 00:52:21 -0800