[30 swift projects in 30 days] swift 5 learning 01.CustomFont
In the 01.CustomFont project, the main learning is the installation and use of SnapKit, the automatic layout library.
1.SnapKit installation
The content of Podfile is as follows:
source 'https://github.com/CocoaPods/Specs.git'
platform :ios, '10.0'
use_frameworks!
target 'CustomFont' do
pod 'SnapKit'
end
Locate the directory of Pod ...
Added by sanlove on Tue, 12 Nov 2019 18:39:40 +0200
Prometheus installation and configuration
I. Prometheus installation and configuration
1. Download and unzip the installation package
cd /usr/local/src/
export VER="2.13.1"
wget https://github.com/prometheus/prometheus/releases/download/v${VER}/prometheus-${VER}.linux-amd64.tar.gz
mkdir -p /data0/prometheus
groupadd prometheus
useradd -g prometheus prometheus -d /data0/prometheus
...
Added by corcode on Tue, 12 Nov 2019 13:48:18 +0200
Arduino NRF24L01 application instance (32Bytes)
Application example of Arduino(NANO) NRF24L01
Software preparation:microBox Library( https://github.com/wastel7/microBox ): build a mini command line systemMirf Library ( https://github.com/E-elektronic/Mirf ): provide RF related core functionsPlease download the above library by yourself
Hardware preparation:Arduino NANO plate x 2; NRF24L01 x ...
Added by mwl707 on Sun, 10 Nov 2019 22:38:02 +0200
PHP Laravel queue tips: Fail, Retry or Delay
When you create a queue job, listener, or subscriber to push to the queue, you may begin to think that once dispatched, it's up to you, the queue worker, to decide what to do with your logic.
Um... It's not that you can't interact with queue workers from within a job, but usually, even if you do, it's unnecessary.
This magical operation is due ...
Added by winstond on Sun, 10 Nov 2019 15:49:58 +0200
Add Documents Using Go
brief introduction
swagger start
Write documentation
Function
summary
Code for current section
brief introduction
Documentation is essential for API services.
Documents, however, are annoying, especially synchronous updates. If you choose handwritten documents, you often forget to update them.Or in the early stages of high-speed development, ...
Added by ztkirby on Sun, 10 Nov 2019 03:16:06 +0200
Go gin API routing Middleware - catch exceptions
SummaryFirst, synchronize the following project overview:Last article shared, routing Middleware - logging, this article we share: routing Middleware - catch exceptions.When there is an exception in the system, it will prompt "system exception, please contact the administrator!" And send the panic alarm email.What is anomaly?The excep ...
Added by djg_uk on Sat, 09 Nov 2019 16:43:57 +0200
The second level child node content of the root node of the C ා - XML base XElement Elements
.NET Framework : 4.7.2
IDE : Visual Studio Community 2019
OS : Windows 10 x64
typesetting : Markdown
blog : blog.csdn.net/yushaopu
github : github.com/GratefulHeartCoder
xml file
<?xml version="1.0" encoding="utf-8"?>
<cultures>
<taoists count="100" comme ...
Added by sorenchr on Fri, 08 Nov 2019 21:21:48 +0200
Building a continuous deployment on containers and best practices
To understand continuous integration and deployment, you need to understand its components and the relationships between them.The diagram below is the most concise and clear diagram of continuous deployment and integration I've ever seen.
picture source
Continuous deployment:
As shown in the diagram, the development process is as follows:Progr ...
Added by floR on Fri, 08 Nov 2019 05:03:41 +0200
Spring Boot Admin: microservice application monitoring
Spring boot actual e-commerce project mall (20k+star) address: https://github.com/macrozheng/mall
abstract
Spring Boot Admin can monitor various indicators of spring boot application and can be used as the monitoring center in the microservice architecture. This article will introduce its usage in detail.
Introduction to Spring Boot Admin
Spri ...
Added by natronp on Thu, 07 Nov 2019 04:17:43 +0200
Spring Boot 2.X: integrated Swagger2 development API documentation (Online + offline)
Preface
I believe that many back-end development projects will encounter the need to write api documents, whether it is to provide better docking for the front-end, mobile end, etc., or in the future for the convenience of handover, it will be required to write api documents.
There are many pain points in handwritten api documents:
When the do ...
Added by hmvrulz on Wed, 06 Nov 2019 04:54:00 +0200