1.client端EurekaClient提供三个功能:EurekaClientAPIcontractsare:providetheabilitytogetInstanceInfo(s)(invariousdifferentways)providetheabilitytogetdataaboutthelocalClient(knownregions,ownAZetc)providetheabili
                            
                            
                                分类:
编程语言   时间:
2020-12-04 11:12:00   
                                阅读次数:
5
                             
                    
                        
                            
                            
                                huacnlee/gobackup 是一个很不错的多数据库的备份工具,但是对于minio支持不太好(path 路径格式),同时也 不支持定时任务备份,所以基于cron 包支持定时任务处理 修改的代码 main.go 添加cron支持 { Name: "start", Flags: []cli.Fla ...
                            
                            
                                分类:
其他好文   时间:
2020-12-02 12:31:30   
                                阅读次数:
4
                             
                    
                        
                            
                            
                                
                    const { resolve } = require('path'); const HtmlWebpackPlugin = require('html-webpack-plugin'); module.exports = { entry: './src/js/index.js', output:  ...
                            
                            
                                分类:
Web程序   时间:
2020-12-02 12:28:54   
                                阅读次数:
11
                             
                    
                        
                            
                            
                                
                    let express=require('express') let app=express() let indexRouter=require('./routes/index') let usersRouter=require('./routes/user') app.use('/index',i ...
                            
                            
                                分类:
其他好文   时间:
2020-12-02 12:09:22   
                                阅读次数:
4
                             
                    
                        
                            
                            
                                
                    using NLog; using System; using System.IO.Ports; using System.Text; using System.Threading; namespace TestCom485 { class Program { static void Main(st ...
                            
                            
                                分类:
其他好文   时间:
2020-11-24 12:42:10   
                                阅读次数:
9
                             
                    
                        
                            
                            
                                
                    sudo gedit /etc/apt/sources.list 粘贴以下内容 deb https://repo.huaweicloud.com/ubuntu-ports/ bionic main restricted universe multiverse deb-src https://repo ...
                            
                            
                                分类:
其他好文   时间:
2020-11-23 12:08:23   
                                阅读次数:
5
                             
                    
                        
                            
                            
                                
                    ##题面 You are given a sequence of n integers a1 , a2 , ... , an in non-decreasing order. In addition to that, you are given several queries consisting  ...
                            
                            
                                分类:
其他好文   时间:
2020-11-21 12:28:36   
                                阅读次数:
7
                             
                    
                        
                            
                            
                                
                    目录 一、缓存代理概述 二、squid主要组成部分 三、Squid各种代理的定义 3.1、传统代理 3.2、透明代理 四、ACL控制 4.1、修改配置文件 4.2、测试 五、Squid日志分析 5.1、安装依赖环境 5.2、编译安装日志分析软件 5.3、修改配置文件 5.4、添加不计入站点文件,添加 ...
                            
                            
                                分类:
其他好文   时间:
2020-11-21 11:52:41   
                                阅读次数:
2
                             
                    
                        
                            
                            
                                vue-cli 初始化项目 npm install -g cnpm --registry=https://registry.npm.taobao.org cnpm install -g vue-cli vue init webpack demo cd demo cnpm i npm run dev  ...
                            
                            
                                分类:
其他好文   时间:
2020-11-20 12:21:03   
                                阅读次数:
25
                             
                    
                        
                            
                            
                                
                    为什么需要代码分离? 为了将代码分成多个bundle,并灵活定制加载策略(按需加载,并行加载),从而大大提升应用的加载速度 如何代码分离? 1、入口起点:使用entry配置手动的分离代码 2、放置重复:使用SplitChunkPlugin去重和分离chunk 3、动态导入:通过在代码中使用动态加载模 ...
                            
                            
                                分类:
Web程序   时间:
2020-11-20 11:42:55   
                                阅读次数:
13