json's past life and present life

JSON, full name: JavaScript Object Notation, as a common lightweight data exchange format, should be frequently touched in a programmer's development career. The simple and clear hierarchy makes JSON an ideal data exchange language. It is easy for people to read and write, but also easy for machines to parse and generate, and effectively impro ...

Posted on Wed, 25 Mar 2020 22:27:29 -0400 by lonerunner

Summary of experience in developing H5 page control based on Jquery WeUI

When WeChat develops H5 pages, it often develops the interface effect based on WeUI or Jquery WeUI. Because I like to use JQuery on Asp.net's Web interface, I prefer to use jQuery.WeUI, this article combines official cases with the actual development experience of their own projects to analyze and summarize the interface controls designed in th ...

Posted on Wed, 25 Mar 2020 02:08:30 -0400 by phpprogrammer

njmon: the next generation tool of nmon

This article refers to the original- http://bjbsair.com/2020-03-22/tech-info/2813/ njmon njmon = nmon + JSON format + real-time push to a stats database + instant graphing of "all the stats you can eat" (AIX and Linux) This njmon is a major overhaul of nmon for the next 10 years: Load more stats JSON format is self documenting, flexible a ...

Posted on Tue, 24 Mar 2020 11:59:30 -0400 by Alex007152

node.js 17 file operation

This article refers to the original- http://bjbsair.com/2020-03-22/tech-info/2819/ After talking about the module concept, let's take a look at the file operations in node.js in this article. The API of file operation is in fs module, fs is called "File System". Most programming languages provide file manipulation, and node.js is no ...

Posted on Tue, 24 Mar 2020 11:54:46 -0400 by BLottman

An error report of etcd viewing data

After using kubeadm to install k8s cluster, you want to view the information about k8s cluster in etcd, but use kubectl exec XXX -- etcdctl -- Ca file XXX -- cert file XXXX -- key file XXX endpoints HTTPS: 127.0.0.1:2379 member list to prompt error: unknown flag: - Ca file, as shown below [root@k8s-3 manifests]# kubectl exec -it  -n kube-syste ...

Posted on Tue, 24 Mar 2020 10:16:32 -0400 by AlexRodr

Spring boot development series - experience in developing WebSocket

1, foreword In some project scenarios, WebSocket is a powerful tool, but after all, there are few general application scenarios. While still remembering, write down some experiences in the development process, so as not to forget when it is needed again in a year and a half. I have written a "WebSocket, no polling" before, and talked ...

Posted on Tue, 24 Mar 2020 06:40:05 -0400 by PurpleMonkey

Wechat applet news website details page

Ingenious application of extension operator For this template template, the bound data is prefixed with item   When using a template, you must also ensure that it is an item Data helps bind data to enclose item s with double curly braces Wx: for item is also an item by default, so it can be omitted     With item s like this is not conducive t ...

Posted on Tue, 24 Mar 2020 03:52:48 -0400 by krox

RestFul API unified format return + global exception handling

Background Today, with the prevalence of distributed and microservices, most of the projects adopt the microservice framework, with the front and back end separated. The front-end interacts with the back-end. The front-end requests the URL path according to the agreement, and passes in the relevant parameters. The back-end server receives the r ...

Posted on Mon, 23 Mar 2020 23:48:31 -0400 by AliasZero

WeChat Applet News Site List Page

Header navigation colors for all files can be set in app.json (is a child property of the window property)         You can set the navigation color of a specific page individually (Write the property directly, not the window property)         Looking at the official documents, you can see many global properties       Page configurations cove ...

Posted on Mon, 23 Mar 2020 14:34:45 -0400 by toshesh

Office365 Graph API grabs OneDrive/Sharepoint file information

1. Use the global administrator to log in to Office365 Azure AD to register the Graph API Application. For details, please refer to the official website link https://docs.microsoft.com/zh-cn/graph/auth-register-app-v22. Add the delegated application in the API permission - the following permissions are actually useless. You need to add the acc ...

Posted on Mon, 23 Mar 2020 10:14:07 -0400 by BANDYCANDY