Use snap to build Microk8s on ubuntu, use kubectl to deploy applications
This article started on my personal blog:Using snap to build Microk8s on ubuntu, using kubectl to deploy the personal blog of zhang0peter
Recently, I am learning k8s, that is, the use of Kubernetes.
When logging in the terminal of ubuntu, the advertisement of Microk8s appears:
* Overheard at KubeCon: ...
Added by HEAD on Mon, 27 Jan 2020 10:53:19 +0200
gtest testing framework foundation of c++ unit testing
unit testing
Module level test, different from system test and integration test, is a fine-grained test for the subdivided unit of software module, which should be carried out in the development process.
Unit Test (module test) is a small piece of code written by developers, which is used to check w ...
Added by smarthouseguy on Mon, 20 Jan 2020 13:47:16 +0200
Use OCSP protocol to send request to verify certificate status, OCSP verifies Apple P12 certificate status (valid | revoked)
In view of the company's need for Java server to verify the certificate, however, there are too few cases in Java implementation, searching hard for 2 days, Baidu, Google, OCSP protocol documents, finally achieved, can use this Demo to verify any OCSP protocol certificate!!!
Find a lot, and finally ...
Added by pietbez on Sat, 18 Jan 2020 20:22:56 +0200
Attention to developing a map class system (openlayers.js) using vue.
Use vue to develop the attention of the map class system.
1. Objects that should be created with maps use less vue data and computed attributes to store data or vuex.
Why should we pay attention to this problem?
Answer: This is to understand the implementation principle of vue. Principle reference;
When you pass a normal JavaScript object int ...
Added by rockofaith on Fri, 17 Jan 2020 18:43:16 +0200
kubeflow series: model as a service, about the use of tensorflow serving
In kubeflow, TensorFlow Serving is used as the official tensorflow model interface. TensorFlow Serving is an open-source service system of GOOGLE, which is suitable for deploying machine learning model. It is flexible, high-performance and can be used in production environment. TensorFlow Serving can easily deploy new algorithms and experiments ...
Added by jehardesty on Tue, 14 Jan 2020 12:22:22 +0200
JQuery file upload use, jQuery file upload plug-in
================================
Copyright 2020-01-10
https://www.cnblogs.com/fanshuyao/
1, Official website address:
https://github.com/blueimp/jQuery-File-Upload
2, Use document (parameter description)
https://github.com/blueimp/jQuery-File-Upload/wiki/Options
3, Browser support (official website description)
Google Chrome
...
Added by eatadi on Fri, 10 Jan 2020 16:40:20 +0200
QR code generation and scanning
We've seen QR code before. There's no nonsense here. We'll go to dry goods directly.
step
Import dependency
compile 'com.google.zxing:core:3.2.1' //zxing core dependency
compile 'com.journeyapps:zxing-android-embedded:3.3.0' //Generate QR code dependency
1
2
Generate QR code
Here, a ZxingUtils is encapsu ...
Added by mpunn on Sun, 05 Jan 2020 23:42:42 +0200
Compiling google libyuv so Library
libyuv is Google's Open-Source Library for conversion, rotation and scaling between YUV and RGB. It supports compiling and execution on Windows, Linux, Mac, and other platforms, x86, x64, arm architectures, and SIMD instruction acceleration such as SSE, AVX, NEON.
download
Download address: https://code.google.com/p/libyuv/ ...
Added by DimeDropper on Sun, 05 Jan 2020 14:22:57 +0200
Android Advanced (IV) Custom Organization Chart-LazyOrgView
LazyOrgView
Simply implement the organization chart by customizing View.A search on the web did not find a similar View, and because of the needs of the project, quickly implemented one to meet the needs of the project.Another way to do this: Google OrgChart or other OrgChart.js.
Source Address
LazyOrgView
Add Dependenc ...
Added by ManOnScooter on Sat, 04 Jan 2020 12:56:51 +0200
Functions provided by logging.h
In this blog, we will analyze the functions provided by logging.h. by referencing this file, you can include < Android base / logging.h >, which is implemented in logging.cpp.
First of all, let's take a look at its comments: it provides an interface of c++ stream, and PLOG will print out specific errors, and it also supp ...
Added by Bobby_Jo on Sat, 04 Jan 2020 03:25:16 +0200