Tag:Blog group

  • Cloud development of wechat applet development


    Create a cloud development applet project Open Cloud Development Interface after opening Select development environment Enable NPM module Install Wx server SDK npm install –save [email protected] Create cloud function //Cloud function entry function exports.main = async (event, context) => { console.log(event) console.log(context) return { sum: event.a + event.b } } Local debugging cloud function Contact […]

  • Nodejs uses the serialize framework to manipulate the database


    sequelize.define This method can be defined using the following example: const Sequelize = require(‘sequelize’); var sequelize = new Sequelize(config.database, config.username, config.password, { host: config.host, dialect: ‘mysql’, pool: { max: 5, min: 0, idle: 30000 } }); var Website = sequelize.define(‘website’, { id: { type: Sequelize.BIGINT, primaryKey: true, autoIncrement: true }, url: Sequelize.STRING(255), title: Sequelize.STRING(255), status: […]

  • Nodejs reads the file and writes the demo of the file by line


    As a back-end language, it is essential to interact with the file system. Although nodejs is a derivative of JS, it is essential and needs to interact with the file system. Nodejs write file const fs = require(‘fs’); ( ()=>{ for (let i = 0;i<100;i++){ fs.writeFile(“D:\\workspace\\node\\check\\bbs\\controllers\\1.txt”,”123″,{ flag:’a’ },function (err) { if (err !== null) { […]

  • Tips for “toppips” postman – you know, it’s very simple, but you don’t click in, you’ll never know


    One click Import request Import the asynchronous request of any web page into postman, open a web page, enter the network, and click XHR Right click to request copy – > copy as curl Enter postman, click Import and select rawtext Click continue Such a request is as like as two peas. The result is […]

  • [mlflow series prequel] construction and use of Minio


    Construction and use of Minio What is it? MinIOIt is a high-performance object storage based on Apache license v2.0 open source protocol. It is compatible with Amazon S3 cloud storage service interfaceIt is suitable for large-capacity file storage, such as pictures, videos and other files. It is usually used as a high-performance infrastructure for machine […]

  • jenkins trigger by time


    For APIs that need to trigger Jenkins pipline regularly, thisprojectIt can be used as a reference This paper is based on the operation tool platform of blog group sending one article and multiple sendingOpenWriterelease

  • Polynomial time complexity and comparison of different time complexity


    Polynomial time complexityIt refers to the polynomial relationship between the time needed to solve the problem and the scale of the problem. For example, K is a constant and N is the input scale of the problem (for example, n unknowns). For example, the time complexity of $o (NLog (n)), O (n ^ 3) $arePolynomial […]

  • This is a release test


    This is a release test In this paper, the blog group issued a multi article and other operational tools platformOpenWriterelease

  • Helm installation documentation


    Helm installation documentation 1. Download and install the helm installation package sudo -i wget https://storage.googleapis.com/kubernetes-helm/helm-v2.8.2-linux-amd64.tar.gz tar -zxvf helm-v2.8.2-linux-amd64.tar.gz cd linux-amd64/ cp helm /usr/bin 2. Download the helm tiller image Download Image docker pull registry.cn-hangzhou.aliyuncs.com/google_containers/tiller:v2.8.2 docker tag registry.cn-hangzhou.aliyuncs.com/google_containers/tiller:v2.8.2 k8s.gcr.io/kubernetes-helm/tiller:v2.8.2 deploy kubectl create serviceaccount –namespace kube-system tiller kubectl create clusterrolebinding tiller-cluster-rule –clusterrole=cluster-admin –serviceaccount=kube-system:tiller helm init -i k8s.gcr.io/kubernetes-helm/tiller:v2.8.2 […]

  • ASP.NET Mvc5 realizes mango distribution background management system (I): system structure design, integration of automapper, log4net


    After thinking about the brain map of the system, Xiaomo came home and began to develop. In order to complete the system development quickly, the preliminary system design and preparation are particularly important, because Xiaomo has done too many business systems, large and small, and the preparation work is also very smooth. System structure The […]

  • What are the disadvantages of openwrite?


    What are the disadvantages of openwrite? This article uses openwrite to test the effectIf you have the habit of blogging on multiple platforms, one or two platforms are OK. Once you get more, it will be very troublesome. Today, we recommend an openwrite platform for you; Which platforms are supported by openwrite; SegmentFault CSDN 3. […]