Xiao Meng 5w received a small blind box program, which was developed in three weeks!

Today's young people can really play, more and more new things come out, and more and more fun things are popular. It's like the blind box of the recent fire stall. Seriously, I didn't know what a blind box was before. In front of me, a fan asked me to develop a small blind box program. Therefore, I went to the stall and bought some bl ...

Posted by moose4204l on Wed, 13 Oct 2021 13:49:23 -0700

Introduction to applet (Vue like rendering and database)

Vue like rendering and database of wechat applet Front row idea: the content of this article includes: Class Vue rendering → wxss.js.wxml → cloud development → cloud development usage (storage and database) → database initialization → insert → json file import → query → life cycle Front row tips: Th ...

Posted by prasadharischandra on Wed, 13 Oct 2021 09:36:09 -0700

[quick document] so much information about the user's mobile phone can be directly found in the original applet. Others already know what the price of my mobile phone is

Query user system information wx.getSystemInfo() Obtain user system information (traditional, synchronous, available Promise style) wx.getSystemInfoSync() Obtain user system information (synchronous, Promise style available) wx.getSystemInfoAsync() Get user system information (asynchronous) usage method Pass in an object in th ...

Posted by Alpha_One on Mon, 11 Oct 2021 10:53:22 -0700

gcc generates static library. a and dynamic library. so Xiao Chen can't sleep

One. Generate static library and dynamic library with Gcc. 3. Static library When the program is compiled, it will be connected to the object code. The existence of static library is not required for program operation. 3. Dynamic library It is not connected to the object code when the program is compiled, but loaded when the program is runn ...

Posted by jinky32 on Fri, 08 Oct 2021 11:59:03 -0700

Based on the multithreading implementation of Linux C language, find the number of prime numbers from 30000000 to 30001000 (four threads as an example)

1, Procedural thought         Threads are characterized by independence, concurrency, and threads share memory. Think of the main function as a main thread. The work of the main thread is to allocate the number from 30000000, and the four sub threads grab the number from the main thread. This requires an intermediate varia ...

Posted by d22552000 on Thu, 07 Oct 2021 12:01:37 -0700

Touch your hand to teach you Taro+dva+Hooks to quickly develop small programs

Recently, in the research of small programs, we used Jingdong React based small program development framework Taro. Compared with mpvue and uni app, Taro is more elegant and stable. Big factories are iterating, but it is different. In a word, there are fewer pits ~ Pre knowledge Before reading this tutorial, you need to master the developme ...

Posted by jesse_james on Wed, 29 Sep 2021 19:59:16 -0700

Wechat applet login authorization development

I. understanding development tools Development interface description 1. wxml is mainly used to layout components (equivalent to building structure) For example, how many floors are there in the building, how many rooms are there on each floor, and what equipment are there 2. wxss mainly determines the display style (determines the style o ...

Posted by barkster on Thu, 23 Sep 2021 05:16:24 -0700

Wechat applet template syntax

Template syntax WXML is a set of tag language for framework design. Combined with basic components and event system, it can build the structure of the page Differences between WXML and HTML: text in WXML is equivalent to span in HTMLview in WXML is equivalent to div in HTMLCheckboxes in WXML are equivalent to checkbox es in HTML Data bindin ...

Posted by dhrosti on Wed, 22 Sep 2021 11:21:30 -0700

The road to suffering -- learning Python from 0 (11) -- exception handling

When an exception is triggered, the program will not run again Functions of exception handling: Try to keep the program running normally Find and solve problems as soon as possible Exception type -IndexError # 1.IndexError mlist = [5,6,7] print(mlist[100]) When an exception is triggered, the following code will not run again - Na ...

Posted by hookit on Sat, 18 Sep 2021 04:07:48 -0700

Wechat applet loads third-party fonts

1. Load local fonts When doing applet projects, sometimes in order to improve the page display effect, some third-party fonts will be introduced in the following code snippets /*Public css per page */ @font-face { font-family: "alifont"; // It's your name src: url('/static/css/subset-AlibabaPuHuiTiR.ttf') format('truetype'); // The lo ...

Posted by renny on Fri, 17 Sep 2021 23:04:48 -0700