mongodb database and data paging
When working on a small project of your own, you learned about mongodb non-relational databases and used mongoose encapsulated query methods, including the limit and skip methods used for database paging, which are recorded here.
1. mongodb database connection
Referring to the official website documents, the corresponding parameters are as foll ...
Posted by Torleif on Sun, 19 May 2019 05:58:20 +0200
9. ABPZero series of tutorials on multi-vendor tool assembly reminder class library encapsulation
This article began to formally do the function, before I developed the reminder of puzzle puzzle, the function of reminding sellers that puzzle puzzle is too many and the number of puzzle puzzle is not enough.
This idea comes mainly from the complaints of friends. I think it should be the voice of most sellers.
After analysis, I got several a ...
Posted by Mobile on Sat, 18 May 2019 21:10:05 +0200
Android mimics QQ login interface to solve soft keyboard occlusion problem
Original address: https://www.jianshu.com/p/9eb57a8ff5e5
The Android software disk pop-up may obscure some controls on the interface.EditText is generally not blocked when windowSoftInputMode is adjustPan, but if there is a login button below EditText, it may be blocked, but sometimes we want users to click the login button directly after th ...
Posted by migmedia on Sat, 18 May 2019 17:50:10 +0200
Set the font/icon color of Notification on Android notification bar to change with background color
Set the font/button color in the notification bar to change with the background color of the system drop-down menu
This article is about how the Android-side APP can keep the font colors and icons in the Notification in high contrast in the lower menu of different colors, while setting the Notification background to be transparent when it iss ...
Posted by philspliff on Sat, 18 May 2019 09:31:51 +0200
Summary of adb utility commands
For Android programmers, adb is frequently used in their daily work. Now, we summarize the commonly used adb commands in their work, which is convenient for inquiry and also for your reference. Viewing application memory usage, power consumption, startup time, wakelock, running monkey commands played a small role in previous application per ...
Posted by plasmahba on Sat, 18 May 2019 05:02:03 +0200
Qt Writes Custom Control 14-Ring Progress Bar
Preface
Ring progress bar, used to show the current progress, in order to meet the needs of large screen UI customization, there used to be a ring progress bar, which can not meet the needs of the project, can only be re-customized, the previous progress interval can not be self-adaptive resolution, and the current progress corresponding to the ...
Posted by maliary on Sat, 18 May 2019 03:59:45 +0200
PyQt5 Learning Notes (05)--Event and signals
The code in this article comes from zetcode.com
Events
GUI applications are event-driven, and events are generated mainly by users.
But events can also be generated through, for example, Internet links, window managers, or timers.
When we enter the main loop of the program through the exec_() method, the main loop gets the ...
Posted by mark_h_uk on Fri, 17 May 2019 16:24:53 +0200
What is the difference between startActivity&startActivities?
problem
Usually you are used to startActivities. When someone asks you what startActivities mean, you might ask them to start multiple activities at the same time. It's just a question. After verification, you find it's not as simple as you think.
Prepare three ActivityA,ActivityB,ActivityC:
Prepare code:
fun multiIntent(v ...
Posted by LostKID on Thu, 16 May 2019 13:50:47 +0200
Android Reverse - Android Basic Reverse 7 (Buy-in Dry Collection)
0x00 Preface
Preposition
Thank you for the total cultivation of eggs. This article was first published in spring and autumn. I do not agree to prohibit reprinting.
Explain
First of all, I would like to write NDK, but let's go through this process first. This process is essential.
Secondly, RMB is really a good th ...
Posted by willl on Thu, 16 May 2019 13:50:59 +0200
Use vue to complete the WeChat Public Number Web page short note
Preface:
The company recently has a H5 page function, a simpler questionnaire function, nested in our WeChat public number.The chosen technology stack is Vue.WeChat's login and share interface is also used.ps: I'm Xiao Bai. If you have any questions, I want you to point out that writing articles is not only for recording, but also for discover ...
Posted by [e]r!k on Thu, 16 May 2019 11:11:37 +0200