WEB Page Jump and Value Passing between Pages in JAVASCRIPT Implementation

Method other than form submission 1. Jump to a new page and open it in a new window: function gogogo() { //do someghing here... window.open("target.html"); } Windows is a javascript object and can be used with its open method. It should be noted that if the page is not a relative path, then add http://, for example: function gogogo ...

Posted by shai1 on Fri, 12 Apr 2019 00:03:31 -0700

Hexo's personalized settings for building blogs (including more than Next topics)

Also published in Levi.Blog and OSChina   Middle text (when writing a blog) _In your blog article, you need to add the following code in the middle, and change the middle text into the text you need. <blockquote class="blockquote-center">Excellent people are not out of group, but people who are in group do not have you &l ...

Posted by newjsguy on Thu, 11 Apr 2019 15:06:31 -0700

Automatic Matching of Birthday Constellations

2017/3/4, Saturday Recently, the project to do personal information settings module, encountered a birthday constellation automatic matching problem, so Baidu, Google doubled, most of the online answers are like this:   //Constellation Segmentation Time int[] date = {20, 19, 21, 20, 21, 22, 23, 23, 23, 24, 23, 22}; String[][] conste ...

Posted by ashwood on Wed, 10 Apr 2019 21:30:31 -0700

On MVP and MVVM of Android Architecture

Reprinted from: http://www.cnblogs.com/BoBoMEe/p/5573447.html Summary MVP(Model-View-Presenter) is a variant and evolutionary model of traditional MVC(Model-View-Controller) in Android development. Mainly used to isolate UI, UI logic and business logic, data, create loosely coupled and reusable objects. We know that View layer is changeabl ...

Posted by noon on Wed, 10 Apr 2019 12:51:31 -0700

Redis Note 7: Sorted set of data types

Command Description Example ZADD adds sort member ZADD key score member [score] [member] ZCARD gets the number of members ZCARD key How many ZCOUNT key min max members are there between min and Max for the score obtained by ZCOUNT ZINCRBY Increases the score of the specified member ZINCRBY key increment member ZRANGE traversal members and ...

Posted by ajcrm125 on Wed, 10 Apr 2019 04:36:31 -0700

Google ZXing Series Explanations (5) - ZXing Imitating Wechat Scanning UI

Preface This article continues with the previous one. Google ZXing Series Explanations (4) - ZXing Solves the Problem of Vertical Screen Scanning . In the previous article, through issue reply in the official github of zxing, the problem that both horizontal and vertical screens of zxing can scan barcode and two-dimensional code is solved. ...

Posted by jeremy0 on Tue, 09 Apr 2019 16:15:32 -0700

Asymmetric Encryption of Encryption Algorithms

The previous article introduced the principle of symmetric encryption, but its biggest problem is that the encryption and decryption keys are the same, and can not guarantee that the key can be safely delivered to both sides, even if it is safely delivered to both sides, there will inevitably be "undercover" inside. Asymmetric encrypt ...

Posted by Desdinova on Sun, 07 Apr 2019 20:03:31 -0700

Example analysis of js simple module loader

Front-end modularization Families concerned about the development of front-end technology are certainly familiar with the term modular development. With more and more complex front-end projects and more code, modularization has become an inevitable trend. Various standards Because javascript itself does not set standards (of course, es6 already ...

Posted by eazyGen on Sat, 06 Apr 2019 13:09:29 -0700

find command in detail

Today, let's share how the find command is used. Find: Compared with other search commands, such as locate, find is real-time and accurate, but its disadvantage is that the search speed is slow. find usage can be summarized as follows: find Find find Path Finding Standard Processing Action Find Path: The file path you want to find defau ...

Posted by Davy on Fri, 05 Apr 2019 23:03:31 -0700

Gradle multi-channel packaging (dynamically setting App name, applying icons, replacing constants, changing package name, changing channels)

from: http://www.jianshu.com/p/533240d222d3 Recently, there is a requirement to package nine types of App s at a time, and both constants and String.xml have variables. Although variables have always existed before, they are only packaged one at a time. This allowed me to pack nine at a time. If I pack it nine times in the future, I'll be ...

Posted by jrbilodeau on Wed, 03 Apr 2019 13:09:31 -0700