Insert picture description here

Learn 20 page design methods in one minute, wallet, add friends to follow

This article is reprinted from the ink knife public account , has been allowed to reprint. Have you seen the results of the Ink Knife Product Material Design Contest ? Congratulations to the award-winning knife friends, Your works will be put on the shelves in the future Material Square is known by more people. Don’t be discouraged if you don’t have any award-winning knife friends,come again next time~ The knife lovers who follow the column seriously , should have found it, We have updated the “APP common function module page” for three consecutive issues , Today is the last issue of this series. Another preview , The small program component library that knife friends have been asking for for a long time, has been arranged. Not much to say,Let’s take a look at this useful page. 1. Wallet page With the development of technology and the popularization of mobile devices, it can be said that the “cashless society” is getting closer and closer. We can use mobile phones to pay & # xff0c; we can also use mobile phones to conduct financial management. So ,in many product prototypes,product managers have to prototype wallet pages. Below we have sorted out the…

2021 latest C++ tutorial updated (worthy of collection)

The latest C++ tutorial in 2021 has been updated (worthy of collection)

1. Introduction to C++ Tutorial This C++ tutorial is an excellent tutorial. Its content covered the basic grammar of C++ language, object-oriented concept and programming method, data structure foundation, template and brief introduction of generic programming. From scratch, from shallow to deep, progressive, detailed and detailed explanation of C++, a large programming language. This set of C++ tutorials can help you get started very well, let you master the basics of C++ and open the door to senior C++ engineers. The biggest feature of this set of tutorials is that it is easy to understand and easy to understand, allowing you to learn C++ easily. There are more detailed advanced C++ tutorials waiting for you! Two, C++ tutorial directory 1. C++ basic syntax, data types and variable related tutorials 2.C++ operators,grammatical structure and array related tutorials 3. Tutorials on functions, strings, pointers and references 4. C++ TutorialCustom Data Type 5. C++ TutorialObject Oriented 6. C++ TutorialInheritance and Derivation 7.C++ TutorialPolymorphism and virtual functions 8.Operator Overloading of C++ Tutorial 9.C++ TutorialIO Stream 10.C++ TutorialFile Operation 11.Generic types and templates, Namespaces and exception handling, STL 3. More advanced detailed video tutorials for C/C++ You can follow the WeChat public account: C and…

vuewatch monitor

Learning vue.js recently, the project needs to use watch to listen to some objects and trigger certain events! 1. The simplest input box monitoring Input’s watch monitoring is like this That’s it, just add the parameter deep to in-depth monitoring, write like this For some other writing methods and parameters, you can refer to the vue official website for in-depth understanding 2. Array watch monitoring This is the result! 3. Watch monitoring of the object When deep is false, click the button to change After the event is triggered, it cannot be monitored, and deep monitoring must be added to monitor the change of obj value. As long as the properties in obj change (can be monitored), it will be executed handler function; 4.The watch of the specific attribute of the object

springBoot stepping on the pit record – continuous update ing

The following are the default configurations of springboot. If you modify the configuration file of springboot, it may not work. The role of the directory under the resources of springboot resources/templates Put the html file (it can only be accessed through the @RequestMapping jump of the control class) resources/static Put static resources such as css, js, img Pithole 1: After springboot starts, the @RequestMapping() annotation of the control class under the controller package cannot jump to the specified html page Reason one: The springboot startup class should be placed at the outermost of all packages Reason two: Springboot adheres to the principle that the agreement is greater than the configuration. After the project is started, the html page that jumps needs to be placed under the resources/templates directory to successfully jump. The files in this directory are protected and cannot be directly accessed through the web address. . Reason three: The @ResponseBody annotation is used on the jump method. After using this annotation, the returned information will be written as a string into the html body area, so the page to be redirected will be written into the body as a string. Pithole 2: static resources such as css, js,…

AndroidWarning: Notannotatedparameteroverrides@NonNullparameter

Warning: Not annotated parameter overrides @NonNull parameter Address of this article: http://blog.csdn.net/caroline_wendy Warning: The @NonNull annotation can be used to indicate that a given parameter can not be null.“ The meaning of @NonNull” is that the comment is not empty. If the above warning appears, it indicates that the parameter should have a non-null label; If you add: public void onReceive(@NonNull Context context, @NonNull Intent intent); Specific: It’s an annotation, but the correct name is NonNull:protected void onSaveInstanceState(@NonNull Bundle outState)(And also)import android.support.annotation.NoNNull;The purpose is to allow the compiler to warn when certain assumptions are being violated (such as a parameter of a method that should always have a value, as in this particular case, although there are others). From the Support Annotations documentation:The @NonNull annotation can be used to indicate that a given parameter can not be null.If a local variable is known to be null (for example because some earlier code checked whether it was null), and you pass that as a parameter to a method where that parameter is marked as @NonNull, the IDE will warn you that you have a potential crash.They are tools for static analysis. Runtime behavior is not altered at all.Reference: http://stackoverflow.com/questions/24728627/meaning-of-android-studio-error-not-annotated-parameter-overrides-notnull-para Android –…

php – How to get YouTube video thumbnail from YouTubeAPI?

If I have a YouTube video URL, is there a way to get the associated thumbnail from the YouTube API using PHP and cURL? Solution: Each YouTube video has four generated images. They have the following format: https://img.youtube.com/vi//0.jpghttps://img.youtube.com/vi//1.jpghttps://img.youtube.com/vi//2.jpghttps://img.youtube.com /vi//3.jpg The first in the list is the full size image, the others are thumbnail images. Default The thumbnail image (i.e. one of 1.jpg, 2.jpg, 3.jpg) is: https://img.youtube.com/vi/ /default.jpg For a high-quality version of the thumbnail, use a URL similar to this: https://img.youtube.com/vi//hqdefault.jpg There is also a medium quality version of the thumbnail, using a URL similar to HQ: https://img.youtube.com/vi//mqdefault.jpg For the standard definition version of the thumbnail, use a URL similar to this: https://img.youtube.com/vi//sddefault.jpg For the maximum resolution version of the thumbnail, use a URL similar to this: https://img.youtube.com/vi//maxresdefault.jpg All the above URLs are also available via HTTP. Also, the slightly shorter hostname i3.ytimg.com replaces the above img.youtube.com. Alternatively, you can use the YouTube Data API (v3) to get the thumbnail image.

68e7260d1654c4a0357347d3352afb71.png

Python memory structure_Chen Tianqi: The Python API of memory tensor structure DLPack is coming

Chen Tianqi:Python API of memory tensor structure DLPack is here Xinzhiyuan 2021-02-28 14:25:22 [New Zhiyuan Guide] DLPack is an open memory tensor structure , used to share tensors between frameworks , Recently, developer Chen Tianqi updated social media to introduce in detail the addition of Contents of the Python API, semantics, and implementation details. Do you know DLPack : Deep learning practitioners will more or less understand ,Deep learning frameworks such as Tensorflow and PyTorch, Provides a powerful toolbox for rapid prototyping and model deployment for deep learning. But ,unfortunately,their ease of use often comes at the cost of fragmentation: they are limited to Use each framework individually ,if the frameworks are vertically integrated,then the development flow can work for common use cases,but in reality,breaking the box can be very tricky. One workaround is to , directly pass tensors from one frame to another in memory, without any data duplication or copying. And DLPack,is an intermediate memory representation standard for tensor data structures,It is an open memory tensor structure,for sharing between frameworks tensor. It provides a simple, portable memory data structure : DLPack enables : in deep learning framework Operators can be shared more easily between operators. Easier to wrap…

What is the process from high-level language to machine-executable machine code?

For example, what process does js java go through before it becomes machine code. I can’t figure out why there are so many languages, what causes different languages ​​to do different things

High-concurrency processing skills that every programmer should know, how startups solve high-concurrency problems, ideas for solving high-concurrency problems on the Internet, summary and sharing of years of experience of caoz masters (transfer)

High-concurrency processing skills that every programmer should know, how startups solve high-concurrency problems, ideas for solving high-concurrency problems on the Internet, summary and sharing of years of experience of caoz masters (transfer)

Source: http://www.cnblogs.com/uttu/p/6513918.html This article comes from the high-concurrency album of the Caoz Mengbai public account. In a graphical and loosely coupled way, it makes a detailed interpretation and analysis of the high-concurrency problems of the Internet. “Technology is overestimated in the short term and underestimated in the long term.” However, due to different scenarios and personnel costs, the solutions of giants may not be suitable for start-up companies, so how to ensure that high concurrency issues do not become obstacles on the road to entrepreneurship is a must for every full-stack engineer, senior system engineer, and ideal programmer. I hope this article will help you find your own “road to gold” and shine brightly. the Table of contents: Interpretation of scenarios and solutions Know the load data tracking Brain map, caoz God’s public number sharing References the Adhering to the idea of ​​​​knowing what it is and why it is so, and using the thinking of pulling cicadas to draw silk, interpret the usage scenarios of each technique one by one: a. Network channel + foreground control Reason: Under the premise of the current impetuous society, if the user clicks a button and there is no response within 3 seconds,…

Technology Sharing

Processing keywords (weaving dream keyword extraction function)

I’m sorry Extracted the dream weaving keyword loading function Attachment download: http://files.cnblogs.com/subtract/keyword extraction.zip Steps to use: 1. Load the splitword.class.php file and extract 1 require_once ‘./../splitword.class.php’; //Load extracted keywords file 2 $sp = new SplitWord(‘utf-8′,’utf-8’); // Initialization gives two default character sets (this set of extraction keywords are UTF-8) 3 $sp->SetSource($_POST[‘title’],’utf-8′,’utf-8′);//Parameters (words to be extracted, character set) 4 $sp->StartAnalysis(); //Start analysis 5 $titleindexs = preg_replace(“/#p#|#e#/”,”,$sp ->GetFinallyIndex()); //Extract keywords 2. Set splitword.class.php to join the dictionary ①: Required files: base_dic_full.dic base_dic_full.zip words_addons.dic zip.class.php Modify $_SERVER[‘DOCUMENT_ROOT’] to specify the path Process keywords (dream weaving keyword extraction function)

Contact Us

Contact us

181-3619-1160

Online consultation: QQ交谈

E-mail: [email protected]

Working hours: Monday to Friday, 9:00-17:30, holidays off

Follow wechat
Scan wechat and follow us

Scan wechat and follow us

Follow Weibo
Back to top
首页
微信
电话
搜索