VS Code writes C program. Configure vscode

1. Environmental preparation Download compiler: x86-8.1.0-release-posix-seh-rt_v6-rev0.7z Links: Portal Extraction code: e99j 2. Install compiler: the next step is a 7z compression package. If you don't decompress, you can baidu "how to decompress the compressed package". After decompres ...

Posted by kovudalion on Mon, 02 Mar 2020 07:41:02 +0100

Thousands of duplicate submissions in an instant, and I'm holding them with SpringBoot+Redis

In actual development projects, an exposed interface often faces a large number of requests submitted in an instant. If you want to filter out duplicate requests and cause harm to your business, you need to achieve power! Let's explain the concept of idempotency: Any multiple executions will have the same impact as a single execution.In ...

Posted by Sheen on Sat, 29 Feb 2020 05:01:13 +0100

From media platform data statistical analysis crawler [interesting headlines] simulation landing analysis details and data statistical interface details

Declaration: This article is only used for learning research, to realize data statistics and analysis of your account Catalog 1. Login process 1.1 DES encryption algorithm of login field 1.2 simulate login and obtain token 2. Video content data 2.1 all 2.2 to be reviewed 2.3 released 2.4 audit fail ...

Posted by Cerberus_26 on Thu, 27 Feb 2020 08:34:13 +0100

Insights into applets

Insights into applets Counter war What is applet Small program is an application that can be used without downloading and installation. It realizes the dream of "within reach" of the application. Users can scan or search the application to open it. It also embodies the concept of "go ...

Posted by mwd2005 on Sun, 23 Feb 2020 10:29:42 +0100

ZABBIX docking flybook realizes alarm notification with pictures

Flybook provides rich api to realize message notification, including text message, picture message and rich text message. This paper introduces the use of flybook api to send rich text message. The following is the implementation ideaAPI address: https://open.feishu.cn/document/ukTMukTMukTM/uITNz4iM1MjLyUzM Implementation ideas 1. Get the mon ...

Posted by Flames on Fri, 21 Feb 2020 15:33:55 +0100

Android Development - send data between activities

Preface In the process of Activity interaction, data must be transferred between two activities. You can start a new Activity by using the startActivity() or startActivityForResult() method, depending on whether your Activity wants to get the return result from the new Activity that is about to start. ...

Posted by stunna671 on Wed, 19 Feb 2020 05:17:20 +0100

Spring Boot returns XML

In general, RESTful is to return json. Sometimes it may be necessary to return xml. What should we do? Jackson Maven adds jar file import <dependency> <groupId>com.fasterxml.jackson.dataformat</groupId> <artifactId>jackson-dataformat-xml</artifactId> </dependency& ...

Posted by POGRAN on Tue, 18 Feb 2020 04:40:45 +0100

Using fluent as the docker log driver to collect logs

Preface The default log driver for docker is json-file Every container will generate a / var/lib/docker/containers/containerID/containerID-json.log locally. The log driver supports extension. This chapter focuses on the fluent driver collecting docker logs Fluentd is an open source data collector for unified logging layer. It is the sixth CNCF ...

Posted by Mortier on Sun, 16 Feb 2020 03:50:45 +0100

SpringBoot default JSON resolution scheme

1. What is JSON JSON (JavaScript Object Notation) is an open standard data exchange format based on a subset of JavaScript syntax.JSON is text-based, lightweight, and is generally considered easy to read/write. Okay, let's not talk a lot. Here's how to use JSON in SpringBoot. 2. How to use JSON in S ...

Posted by spicey on Sat, 15 Feb 2020 07:16:23 +0100

nodejs crawler -- grabs all articles of a user in CSDN

Recently, I'm learning node.js. It's like playing with something, so this simple reptile is born. Preparation node.js crawler must be installed first node.js Environmental Science Create a folder Open the command line in the folder and execute the npm init initialization project Begin formally Installation dependency express is used to buil ...

Posted by may on Tue, 11 Feb 2020 10:23:02 +0100