java generate QR code scan web page automatic login function

Looking for a lot of information, seven, eight, eight have tried again, and finally wrote out this function. A rookie. This article is only for notes. A simple generation of QR code, through the web page to confirm the login, to achieve the QR code page to jump to the main page. There are three servlet s: CodeServlet.java does two things A: gen ...

Posted on Sun, 29 Mar 2020 12:37:16 -0400 by welshmike

Custom implementation PyQt5 drop-down check box ComboCheckBox

I. Preface Because recent projects need to have check function, but too many check boxes will affect the layout and beauty of the interface, so we want to combine the drop-down list and check box of PyQt5, but there is no such component for us to use in PyQt5, so we want to implement a drop-down check box ourselves, mainly inheriting the QCombo ...

Posted on Sat, 28 Mar 2020 13:14:19 -0400 by MrCreeky

HTML game case development

1, Encircle the nervous cat 2, Look at you   Development tool: VScode 1, Encircle the nervous cat Game introduction: surround the cat in the picture and don't let it run away from it. The ultimate goal is to make it have no way New JS: app.js, write main JS code (1) Create canvas and set initial parameters var stage = new createjs.St ...

Posted on Fri, 27 Mar 2020 11:38:53 -0400 by wisedj

Introduce Baidu map into Vue project

http://lbsyun.baidu.com/ This is the website that applies to visit app (ak), which is the open platform of Baidu map. You need to register to join Baidu developer first. Enter JavaScript API Click the account number and get the key. There are detailed steps later. Everyone should have a baidu account number, and then apply to become a Bai ...

Posted on Fri, 27 Mar 2020 11:21:15 -0400 by silentweed

Using JavaScript to realize simple web clock

Use JavaScript to realize the clock of web page, the effect is as follows: First, load the resources of the dial and pointer in the body: <div><img src="../../image/clockface.jpg" alt=""></div> <hr id="hour" > <hr id="min"> <hr id="second"> Set CSS Style: <style> body{ ...

Posted on Fri, 27 Mar 2020 10:40:49 -0400 by davidjam

ES6 Promise -- Callback versus Promise, trust issues, error handling, Promise status, and common methods for Promise objects

How to use callbacks to solve asynchronous problems before: function f(callback){ setTimeout(function(){ callback && callback(); }); } f(function(){ console.log(1); f(function(){ console.log(2); f(function(){ console.log(3); f(function(){ conso ...

Posted on Fri, 27 Mar 2020 02:42:58 -0400 by wildncrazyath3rt

Summary of experience in developing H5 page control based on Jquery WeUI

When WeChat develops H5 pages, it often develops the interface effect based on WeUI or Jquery WeUI. Because I like to use JQuery on Asp.net's Web interface, I prefer to use jQuery.WeUI, this article combines official cases with the actual development experience of their own projects to analyze and summarize the interface controls designed in th ...

Posted on Wed, 25 Mar 2020 02:08:30 -0400 by phpprogrammer

Spring boot development series - experience in developing WebSocket

1, foreword In some project scenarios, WebSocket is a powerful tool, but after all, there are few general application scenarios. While still remembering, write down some experiences in the development process, so as not to forget when it is needed again in a year and a half. I have written a "WebSocket, no polling" before, and talked ...

Posted on Tue, 24 Mar 2020 06:40:05 -0400 by PurpleMonkey

Wechat applet news website details page

Ingenious application of extension operator For this template template, the bound data is prefixed with item   When using a template, you must also ensure that it is an item Data helps bind data to enclose item s with double curly braces Wx: for item is also an item by default, so it can be omitted     With item s like this is not conducive t ...

Posted on Tue, 24 Mar 2020 03:52:48 -0400 by krox

WeChat Applet News Site List Page

Header navigation colors for all files can be set in app.json (is a child property of the window property)         You can set the navigation color of a specific page individually (Write the property directly, not the window property)         Looking at the official documents, you can see many global properties       Page configurations cove ...

Posted on Mon, 23 Mar 2020 14:34:45 -0400 by toshesh