Functional computing automation operation and maintenance practice 2 -- event triggered eip automatic transfer

Function calculation Ali cloud Function calculation Is an event driven fully hosted computing service. Through function calculation, you don't need to manage infrastructure such as servers, just write code and upload it. Function calculation will prepare computing resources for you, run your code in a flexible and reliable way, and provide log ...

Posted on Mon, 02 Dec 2019 22:18:19 -0500 by cab

Optimization of construction speed of vue-cli2

For the front-end projects created by using Vue cli scaffolding, compiling and publishing are almost necessary operations, some of which only need seconds, as fast as lightning, some of which need several minutes, as slow as a snail. If it's online hot fix, it's even more time-consuming. The response speed of the web page directly affects the u ...

Posted on Mon, 02 Dec 2019 21:05:20 -0500 by hezll

Handwritten code of front-end written test

1. Flat nested array / flat implementation Description: expand and tile a nested array into an array with only one layer. let array = [1, [1, 2, 3], [1, [2, {}]] ] handle(array) // [1, 1, 2, 3, 1, 2, {}] Method 1: const handle = array => JSON.parse(`[${JSON.stringify(arr).replace(/\[|]/g,'')}]`) handle(array) // [ 1, 1, 2, 3, 1, 2, {} ] Kn ...

Posted on Mon, 02 Dec 2019 20:08:41 -0500 by GreenCore

WeexBox 1.2.0 added Lottie animation. Mom doesn't have to worry about me working overtime anymore!

background weex officially provides animation The module can be used to perform animation on components, but its limited function is also easy to cause stuck. So wexbox has supported it from the beginning BindingX , rich API and smooth performance can support complex animation. But is that enough?WeexBox, dedicated to liberation and developmen ...

Posted on Mon, 02 Dec 2019 20:00:33 -0500 by walshd

django development - building distributed (multi node) task queue with cellery

Today, I'll show you how to use cellery to build a task queue with two nodes in django project (one master node and one child node; the master node publishes the task, and the child node receives the task and executes it. It's similar to setting up three or more nodes), using cellery, rabbitmq. The knowledge in cellery and rabbitmq will not be ...

Posted on Mon, 02 Dec 2019 19:43:06 -0500 by !jazz

Use form create to dynamically generate vue components, supporting json format

[github] | [description document] Example let rule = [ { type:'row', children:[ { type:'i-col', props:{ span:12 }, children:[ formCreate.maker.input('Trade name','goods_name','iphone'), formCreate.maker.number('Commodity plus','goods_price',8688) ] }, ...

Posted on Mon, 02 Dec 2019 19:06:32 -0500 by WinterDragon

Implementation of paging query in weUI

This paper introduces the implementation of h5 paging query in mobile terminal 1. front end html Front end implementation based on weui style library reference http://jqweui.com/ 1 <div class="weui-search-bar" id="searchBar"> 2 <form class="weui-search-bar__form"> 3 <div class="weui-search- ...

Posted on Mon, 02 Dec 2019 16:12:24 -0500 by astropirate

Small php framework

Project source address Link address( https://github.com/cxp1539/mi... Framework Simple php framework Framework features Single entry index.php Based on the MVC design idea and object-oriented idea, we use the pattern of observer, register, factory, agent, trait and so on. Use the namespace namespace. autoLoader automatically loads classes. deb ...

Posted on Mon, 02 Dec 2019 14:46:09 -0500 by madrazel

ajax requests to download Execl table

Execl table is often used to store two bit data. Java can also directly operate Execl table. jxl and poi are often used. In this project, the poi I used writes data to Execl. At the beginning of the design, the front end sends an ajax request, and the back end responds and then the browser downloads the Execl table. function exportGjOil(){ ...

Posted on Mon, 02 Dec 2019 14:30:58 -0500 by markhard

Getting started with Python crawler 17-100 blog crawling data

Written in front I've been blogging for a while, but I suddenly forget that the blog of blog channel can also be grabbed, so I did In fact, it's very simple. Open the CSDN blog homepage. Isn't it the latest article? It's all the latest articles. Open F12 to grab the data API, and it's easy to get his interface Extract links to look like t ...

Posted on Mon, 02 Dec 2019 13:39:58 -0500 by datona