Bootstrap (3) pull down menu and pager

drop-down menu A switchable, contextual menu for displaying connection fission Meaning of custom attribute in drop-down menu Data - * trigger, interactive aria - * and role classes provide services for inconvenient people, such as screen readers aria - * generally indicates the behavior, and the current status of role (sep ...

Posted by bigtimslim on Sat, 08 Feb 2020 09:50:59 -0800

The third day of learning Vue.js -- dynamic binding style and calculation properties

The third day of learning Vue.js -- dynamic binding style and calculation properties Today is the Lantern Festival. First of all, I wish everyone a happy Lantern Festival. I also wish the medical staff on the front line a happy festival. I hope the epidemic will pass soon. Come on Following the dynami ...

Posted by eelmitchell on Sat, 08 Feb 2020 03:54:08 -0800

Iterator Mode and Java Iterator Source

Iterator mode Iterator mode is a design mode that separates the addition and deletion of a set from the sequential traversal of the set.Collections are responsible for additions, deletions, and iterators are responsible for sequential traversal of the collection's internal classes.Java's Iterator is a ...

Posted by gsv2com on Fri, 07 Feb 2020 20:47:32 -0800

System Verilog builds APB ﹣ I2C IP hierarchical verification platform

I. Preface Recently, the epidemic is serious. As a social animal, I can only continue to study technology at home. I wrote a blog about building a FIFO verification platform before, using the OOP feature of SV to preliminarily verify FIFO, but there are many shortcomings, such as the structure is not standardized, the verification component cla ...

Posted by PupChow on Fri, 07 Feb 2020 09:10:51 -0800

python machine learning practice -- decision tree algorithm in algorithm chapter (learning process and learning route are suitable for beginners)

Traditional machine learning has a lot of algorithms. The KNN that I sorted out in my last article is a kind of algorithm. The decision tree that I will talk about in this article is also a very important algorithm. Of course, it should be explained in advance that these algorithms also have a lot of sm ...

Posted by iantresman on Fri, 07 Feb 2020 06:46:08 -0800

Thread safety issues

In the previous section, we mainly talked about the JVM memory model and the visibility of thread safety. This section focuses on the atomic operation of thread safety; Competitive condition and critical region Code example public class IncrDemo { public int i = 0; public void incr() { ...

Posted by kingconnections on Fri, 07 Feb 2020 06:15:14 -0800

Exercises on the inheritance of the three characteristics of Java

[exercises] 1. Inheritance: Define a base class (parent class) named Vehicles, which should contain the member properties brand and color of String type, the member methods run (driving, display "I have started" in the console) and showInfo (display information, display trademark and color in ...

Posted by en on Fri, 07 Feb 2020 04:39:29 -0800

Use of one dimensional array

Use of one dimensional array ① Declaration and use of one dimensional array How to declare a one-dimensional array: typevar [] or type [] var; For example: inta[]; int[]a1; doubleb[]; String[]c;//Reference type variable array When declaring an array in Java language, you cannot specify its length ( ...

Posted by DigitalDesign on Fri, 07 Feb 2020 04:14:30 -0800

In Django forms, how do I set a field to read-only (or disabled) so that it cannot be edited?

In Django forms, how do I make fields read-only (or disabled)? When creating a new entry using a form, all fields should be enabled - however, some fields must be read-only when the record is in update mode. For example, when creating a new Item model, all fields must be editable, but when updating records, is there a way to disable the ...

Posted by Tonka1979 on Fri, 07 Feb 2020 00:42:47 -0800

DDD congestion model code example

Anemia model We generally use three-tier architecture for business development: Repository + Entity Service + BO(Business Object) Controller + VO(View Object) In the three-tier architecture business development, we often use the development mode based on the anemia model. Anemia model refers to th ...

Posted by Xproterg^vi on Thu, 06 Feb 2020 21:40:17 -0800