Basic usage of casbin access control framework in GO
My understanding of casbin
This paper takes the iris framework as an example, and the native or other framework is basically the same.
according to Official Documents First of all, introduce several important parts.(Installation method skip)
There are two places to configure using casbin, one is the model and the other is the policy
RBAC (Role- ...
Posted by Pigmaster on Sat, 27 Jul 2019 05:11:25 +0200
(16) Our form solution el-form-renderer
Preface
This article will introduce our form solution. @femessage/el-form-renderer Show us how we deal with the following issues under the Vue technology stack:
Dynamic display or hiding of form items
Form Data Linkage
Format Input/Output Data Formatting
Processing of Unconventional Form Items
Complex form validation
programme
Dynamic Display ...
Posted by paul088 on Fri, 26 Jul 2019 10:57:02 +0200
Simple Packaging Tool Implemented by Simulating Web Pack
Webpack is a front-end project building tool. With the development of front-end ecology, webpack has become one of the necessary skills for front-end developers. When many developers start using react and vue, they will use the default single page should create instructions to create an engineering project. In fact, these engineers The projects ...
Posted by gabeg on Tue, 23 Jul 2019 11:02:17 +0200
IOS UI Image and Drawing
Articles Catalogue
Drawing pictures
UIImage class
Drawing method
Use
Watermarking
Use
Classification.h
Classification.m
Use classification
Code 1:
Cut out circular pictures
Clipping by drawing
Other methods
Screen capture
Use
Crash problem of error-reporting permission to save pictures:
Code ...
Posted by faraway on Tue, 23 Jul 2019 10:23:27 +0200
What did 36 of us learn from July 15 - July 21, 2019?
Author: Chen Dayutou
github: KRISACHAN
If you don't want your career to end prematurely, continuous learning is essential for developers.
Recently, the author of "The Way to Front-end Interview" has set up a learning warehouse to allow some people to record what they have learned in this area.
The warehouse address is as follows:
...
Posted by Cut on Tue, 23 Jul 2019 08:07:10 +0200
Coding and Decoding of Netty Source Code Analysis
Coding class MessageToByteEncoder
This time, we use ObjectEncoder as an example. When we need to write messages to the network channel, we need to encode the messages to determine whether the message type meets the requirements. Generally, we use type matching to configure the message in the gene ...
Posted by coowboy on Tue, 23 Jul 2019 04:15:33 +0200
Traffic Gray Level and Version Management of Knative Service
This paper mainly introduces the traffic gray level of Knative Serving, and demonstrates how to create different Revisions and how to scale the traffic gray level among different Revisions through a rest-api example.
Deploy rest-api v1
Code Before testing, we need to write a rest-api code and be able to distinguish between different version ...
Posted by benphelps on Mon, 22 Jul 2019 05:59:29 +0200
Document manipulation in the base section of node
Write in front
File operations in node are quite frequent, and there are many APIs that provide various operations on files and folders. The following is a case study of common APIs to understand their specific usage.
A read file fs.readFile(), fs.readFileSync()
fs file operation basically includes two ways of synchronization and asynchrony, wh ...
Posted by mlummus on Sun, 21 Jul 2019 07:06:16 +0200
Spring Boot configures multi-source RabbitMQ
brief introduction
MQ is a common middleware in development. This article describes how to configure multi-source RabbitMQ in a Spring Book project. There are not many knowledge points about RabbitMQ here. If you also have a need to send messages to multiple RabbitMQ, I hope this article can help you.
Environmental Science
rabbitmq 3.7.12
spri ...
Posted by menriquez on Fri, 19 Jul 2019 09:01:44 +0200
Establishment of parity node in ETF alliance chain
https://www.cnblogs.com/sumingk/articles/9097996.html
The last article introduced the construction of get node of private chain in Yitaifang. This article introduced the construction of enterprise application alliance chain, using parity wallet as service node to realize multi-node construction of alliance chain.
I. parity consensus POA
St ...
Posted by zoffi on Fri, 19 Jul 2019 07:50:13 +0200