Custom view, 24 hours percent

Don't talk much, just go to the renderings It mainly uses drawing tools to draw rectangles of different colors according to different time periods. Divided by 24 hours according to time periods, 6-24 points are in the project, that is, divided by 18, and then the percentage is calculated. After conversion with the screen of the ...

Posted by rallan on Tue, 31 Mar 2020 11:17:53 -0700

HPU timetable software of Henan University of Technology

HpuTimetableAPI Background open interface of [HPU timetable] software It includes the whole course library of the second semester 2017-2018 of Henan University of technology 23 colleges, 901 classes, 5647 courses, 20241 course records Rubbing class function Sharing courses Scan code import course management Course library ma ...

Posted by solus on Tue, 31 Mar 2020 08:20:54 -0700

[ASP.NET Core 3.1] Browser sniffing solves missing cookies in some browsers

[ASP.NET Core 3.1] Browser sniffing solves missing cookies in some browsersStudents who have read the previous article should know that browsers such as Sogou and 360 redirect repeatedly in single sign-on, and eventually fail and make mistakes. The reason is that non-Chrome80+ browsers do not recognize the SameSite=none attribute value on the C ...

Posted by jallard on Mon, 30 Mar 2020 19:53:37 -0700

Android development runtime permission dynamically applied tool class (extension supported)

Flow chart of dynamic application authority: Tool class of dynamic permission Core code used by tool class: Android 6.0 or above (API > = 23), or build.version.sdk ﹐ int > = build.version ﹐ codes. M, sensitive permissions like camera, location, mobile phone address book, phone call and other permissions need ...

Posted by landysaccount on Mon, 30 Mar 2020 09:44:14 -0700

Detailed explanation of design mode bridge mode

Basic introduction Bridge mode is a structural design mode. Put the implementation and abstraction in two different class levels, so that the two levels can be changed independently. Based on the minimum design principle of class, different classes are given different responsibilities through encapsulation, aggregation, inheritance and other b ...

Posted by drdapoo on Mon, 30 Mar 2020 04:00:30 -0700

Create JS: you have many colors

Game introduction: see you have polychrome "is a small game based on Html5 technology, which challenges the human eye's ability to distinguish colors and is fun and easy to use. According to Kaiser, the developer, the inspiration of the game is from the familiar game of finding fault, which is simplified according to the user's behavior ha ...

Posted by poison on Sat, 28 Mar 2020 08:31:44 -0700

Design pattern - adapter pattern

Adapter mode In life, there are two, three and round charging plugs. If you want to make these plugs work, you need a multi-functional adapter Basic introduction Adapter Pattern is a kind of structural pattern. It can transform the interface of a class into another interface representation expected by the client. Its main purpose is compatib ...

Posted by drranch on Fri, 27 Mar 2020 11:04:06 -0700

Java integrated Alibaba big fish platform SMS service sending verification code -- supplement registration part

It's still the previous chart 1, back end Server verification needs to be performed again before registration Is the user name registered Is the mobile number registered Whether the verification code is wrong Whether the verification code is implemented Password is encrypted with BCrypt Controller layer The method of user name verificatio ...

Posted by nexgen_x on Fri, 27 Mar 2020 08:14:08 -0700

Hive is finally waiting, Flink

When did Apache Spark start to support the integrated Hive feature? I believe that as long as readers have used Spark, they will say that this is a long time ago. When does Apache Flink support integration with Hive? Readers may be confused. Haven't they supported it yet, haven't they used it? Or the latest version only supports it, but the fu ...

Posted by elfeste on Fri, 27 Mar 2020 03:09:45 -0700

90% of the front end will step on the pit, did you get it

This article refers to the original- http://bjbsair.com/2020-03-22/tech-info/2149/ Written in front In the era of mobile development, the front-end students just bid farewell to the bald Internet Explorer, but found that the mobile Internet era that they had been looking forward to for a long time was not as beautiful as they imagined. It's h ...

Posted by always_confused on Mon, 23 Mar 2020 21:17:45 -0700