What's the difference between deep clone and shallow clone? What are the ways to realize it?

Cloning can be used to quickly build a copy of an existing object, which is part of the Java foundation and one of the frequently asked knowledge points in an interview. What are shallow cloning and deep cloning? How to achieve cloning? Typical answer Shadow Clone is to copy all the attributes in the ...

Posted by northk on Fri, 19 Jun 2020 22:05:06 -0700

[Golang] how to use the GRPC interface test tool? Swagger

This article does not involve principle, pure operation Operating system: Ubuntu 18.04 + AMD64. I packed the executable program of my own platform. For other platforms, please use the source code compilation tools. Before you start, install the protoc related tools and environment, specifically Bai ...

Posted by mustng66 on Fri, 19 Jun 2020 20:29:29 -0700

. NET Core play Ocelot API gateway

These years have been really tough at home. Www.68mn. Many choose to change careers. But after. net Core is open-source across platforms. Community ecology is slowly building up. Go for the good. It's good news for developers who stick to the. NET front.   In particular, Microsoft acquired $7.5 billion of GitHub. . net ecological communit ...

Posted by chokies12 on Fri, 19 Jun 2020 05:42:44 -0700

How to use JQ to call ajax (with free and permanent background URL)

On the Ajax operation of jQ the front About AJAX (Baidu Encyclopedia) JQ calls AJAX instance 1. load() method of jquery 2. getJSON method of jquery 3.jquery's $. get() method 4.jquery's post() method 5. jquery's $. ajax() method Free interface the front Although JQ is not used in our work now, ...

Posted by kelharis on Fri, 19 Jun 2020 03:45:20 -0700

Docker (warehouse) - Docker Hub public warehouse + enterprise level private warehouse building process

catalog1, What is a warehouse2, Install and configure Docker Hub3, Configure image accelerator4, How Registry works5, CONTENTS6, Build private warehouse 1, What is a warehouse What is a warehouse? The docker warehouse is used to contain images. Docker provides a registration server (Register) to save mu ...

Posted by Canman2005 on Fri, 19 Jun 2020 01:26:50 -0700

Solve octavia failed to run

octavia failed to run preface If not specifically noted, all command lines are executed using the admin account. Problem description Create a loadbalance by calling octavia's api as follows @token = gAAAAABe6y8up_ZdUS43Lfe8AFERncGtZFK6IHrnd-MSgbE5U-xKg-6N04eUV3tNwlKEAiZVNIl6I0NVvjMT97CygiJL-7XFciQH ...

Posted by byronwells on Fri, 19 Jun 2020 00:58:04 -0700

Spring boot + Vue + Shiro realize front and back end separation and permission control

Yunqi information:[ Click to see more industry information]Here you can find the first-hand cloud information of different industries. What are you waiting for? Come on! This paper summarizes the reconstruction of the project from the practice. The original project uses the Springboot+freemarker template. During the development process, t ...

Posted by poirot on Thu, 18 Jun 2020 00:04:07 -0700

Asp.netCore Summary of restful webapi

Last article recorded The concept of WebApi and simple cognitive WebApi , let's explore its applicable scenarios and how to use it today. Let's briefly talk about the characteristics of WebApi, WCF and WebService, which are widely used: I. WebService is a lightweight and independent communication technology that can receive requests from other ...

Posted by plex303 on Wed, 17 Jun 2020 18:57:02 -0700

First Identity Vue_Server-side rendering of SSR base

Resources https://ssr.vuejs.org Current Development Version "vue": "^2.6.11", "vue-router": "^3.3.4", "vue-server-renderer": "^2.6.11", "vuex": "^3.4.0" concept Server-side rendering: Render the vue instance as an HTML string directly back, activate as an interactive program on the front, old-fashioned; SSH can only return HTML ...

Posted by LikPan on Tue, 16 Jun 2020 09:21:51 -0700

RxJava can also request networks as gracefully as a co program

RxJava can also request networks as gracefully as a co program Retrofit & coroutines and retrofit & rxjava I believe that everyone here can say a lot about the network request framework, but I'm not going to talk about the network request framework today. Let's talk about the difference bet ...

Posted by prawn_86 on Tue, 16 Jun 2020 01:36:20 -0700