Because I started to learn to build a front-end project of a back-end management system using vue recently, I encountered some problems when generating menu tree on the left. Record it here
Analysis: because the menu I set can make multi-level structure, it is not very convenient to directly use v-for traversal of vue. In this case, recursion i ...
Posted on Mon, 04 May 2020 06:00:08 -0700 by sergio-pro
Python MQTT client implementation
If you need to reprint, please indicate the source: http://blog.csdn.net/itas109
QQ technology exchange group: 12951803
1. Install PAHO mqtt
Using Python Package Index (PyPi)
pip install paho-mqtt
pip install paho-mqtt
Or comp ...
Posted on Mon, 04 May 2020 04:51:36 -0700 by jeffshead
1> The data formats returned by the Api of the Gin framework are JSON, XML and yaml. Yaml is a special data format. (I haven't implemented the operation of getting nodes for the time being.)
2> In the apis folder, create a new data.go file as the business logic code to obtain api data. The specific code is as follows:
Posted on Mon, 04 May 2020 04:14:13 -0700 by Levan
Code source: https://github.com/reactjs/redux/tree/master/examples/todos
source folder structure (excluding tests, i.e. spec.js end file):
- VisibleTo ...
Posted on Mon, 04 May 2020 00:11:01 -0700 by kumar_ldh
SlidingUpPanelLayout simple to use
SlidingUpPanelLayout is an open source library on github https://github.com/umano/AndroidSlidingUpPanel , the main effect is to slide up or click to expand the panel with animation:
First, add dependency package
Step 2: add page layout
Posted on Sat, 02 May 2020 23:50:02 -0700 by cgraz
I heard about the invoice assistant before we had a meal. It can generate a two-dimensional code of the invoice header, and scan the code to make an invoice.
Official also has a small program of [tax invoice assistant], wechat search this name is OK.
I'm going to try it in my own small program. I thought it would be better if I spliced it to ge ...
Posted on Sat, 02 May 2020 23:11:22 -0700 by pliant
Android NDK development tour directory
Compression form of command line transcoding under Windows
ffmpeg -i input.mov -b:v 640k output.mp4
Android also uses the form of FFmpeg command line (mixed encoding) for video transcoding compression.
1. Introduce FFmpeg transcoding Library
2.Android core code
2.1.jni Java declaration
Posted on Fri, 01 May 2020 14:05:44 -0700 by ReignFire
Two days ago, I made a plug-in of tap.js to simulate the click event of the touch event on the mobile terminal to solve the problem of click delay. However, in Vue, v-tap can not be used to call, so I made vue-tap.js today. Other plug-ins have been used to implement v-tap before, but the way is still cumbersome, so it is implemented in a more c ...
Posted on Fri, 01 May 2020 13:28:22 -0700 by pleisar
With canvas stylized particles, we first need to paint a canvas texture. For example:
This is a little monster in bean eater drawn by canvas in the tutorial, and what we want to achieve today is to use it to stylize particles.
Through the code in the previous section, we need to extend it again. First, we need t ...
Posted on Fri, 01 May 2020 13:24:21 -0700 by mdaoust
Previous articles:Review webback: skeleton building
What problems do dev server need to solve?
Development environment hot module replacement
debug traces to the original file. Source map interpretation
To start dev server, we need to distinguish the production environment from the development environment. Pre ...
Posted on Fri, 01 May 2020 00:47:40 -0700 by seany123