ZABBIX docking flight book for alarm notification

Flybook provides a rich api for message notification, including text messages, picture messages, rich text messages. This introduction uses Flybook api to send text messages, the following is the implementation ideasFlying Book API address: https://open.feishu.cn/document/ukTMukTMukTM/uITNz4iM1MjLyUzM Ideas for implementation 1. Three authoriz ...

Posted on Wed, 19 Feb 2020 12:25:15 -0500 by moe

Spring MVC records operation log to database

Database fields TABLE statement CREATE TABLE log_table (Log [id int (11) not null auto [incremental comment 'primary key',Log [IPAddress varchar (64) default null comment 'requested IP address',Log [createtime varchar (64) default null comment 'time',Log [modulename varchar (128) default null comme ...

Posted on Wed, 19 Feb 2020 10:20:46 -0500 by nemethpeter

Python version simple grid strategy

There are not many Python strategies in the strategy square. A python version of grid strategy is written here. The principle of strategy is very simple. A series of grid nodes are generated in a fixed price distance within a price range. When the market changes, the price reaches a grid node price position, and a purchase order is placed. When ...

Posted on Wed, 19 Feb 2020 05:30:40 -0500 by ulrikqk

Basic Learning Notes for ASP.NET Core MVC

Recently, due to the epidemic of "Wuhan pneumonia" at home, I have not been idle either. Recently, I have learned the basic knowledge of some web page development of asp.net core mvc, and I will go to the tutorial without saying more!   1. New Project   1) Create a new project - > Find " ASP.NET Core Web Application-type items ...

Posted on Tue, 18 Feb 2020 11:34:06 -0500 by jhuaraya

Asynchronous processing using the new ES6 feature async await

We often encounter such business needs in our projects as making an ajax request first and then making the next one. The next one needs to use the data from the previous one. There are fewer requests. If there are more, nesting one layer at a time is like writing a callback. That's pretty disgusting. Let's start withHere's how ...

Posted on Tue, 18 Feb 2020 11:17:09 -0500 by acabrera

The tag syntax of Golang

[TOC] The tag syntax of Golang Thank you for the excellent lecturer "cap1537" We can enhance the definition of structure through Tag, which will bring some meta information. In this article, we will learn more about the usage of Tag through several examples. structure Struct consists of a set of fields, each of which includes a name ...

Posted on Tue, 18 Feb 2020 00:06:03 -0500 by visualed

js-3 prototype chain attribute detection, several methods of object, deep copy of object, modification of object attribute characteristics, accessor

1 parent class of prototype chain property detection object Set b as the prototype of a a can use b's properties Object.setPrototypeOf(obj, prototype) parameter obj The object whose prototype you want to prototype. . prototype The new prototype of the object (an object or null) let a = { ...

Posted on Mon, 17 Feb 2020 05:18:02 -0500 by josephferris

Spring boot integrates WEB Development -- custom error page

Purpose and principle: When handling exceptions, if we want to return different pages according to the actual situation, @ ControllerAdvice and @ ExceptionHandler are generally used to handle application level exceptions, and some container level errors cannot be handled, such as throwing exceptions in Filter. SpringBoot will have a default pag ...

Posted on Mon, 17 Feb 2020 03:51:47 -0500 by wisedj

docker runs elastic search + kibana + head cluster

Summary Installation environment and version Elasticsearch:6.6.0 kibana:6.5.3 logstash:6.2.4 elasticsearch-head:5 Giant pit reminder: the versions of ES and kibana should be consistent as much as possible. Otherwise, a lot of configuration information needs to be modified, and the installation may n ...

Posted on Mon, 17 Feb 2020 00:48:29 -0500 by jokerofsouls

Gray box clearance WebGoat 8

SQL Injection (intro) 0x02 select department from employees where first_name='Bob'; 0x03 update employees set department='Sales' where first_name='Tobi'; 0x04 alter table employees add column phone varchar(20); 0x05 grant alter table to UnauthorizedUser 0x09 SELECT * FROM user_data WHERE first_nam ...

Posted on Sun, 16 Feb 2020 22:12:24 -0500 by paulareno