Jade - HTML Template Engine from Node.js
Original Link: http://www.cnblogs.com/smallstupidwife/p/4823511.html
Jade is a high-performance template engine that is well received Haml Influences, which are implemented in JavaScript and are available for Node Use.
demo
You can ...
Posted by fael097 on Sun, 11 Aug 2019 20:30:25 +0200
Spring Boot's core 27 annotations, how much do you know?
Guide reading
Spring Boot project development has gradually become the mainstream framework in the field of Java application development. It can not only create production-level Spring applications easily, but also easily integrate with the hot micro-service framework Spring Cloud through some annotation configurations.
The ...
Posted by antileon on Sun, 11 Aug 2019 12:12:47 +0200
Python Private Attributes, Private Methods
Python Private Attributes, Private Methods
Private attributes, methods - Python does not really support privatization, but can be underlined to get pseudo-privatization
In practical development, some attributes or methods of a class may only be used internally, rather than accessed externally.
Private ...
Posted by cHinshaw on Sat, 10 Aug 2019 14:56:01 +0200
[Learning Notes - Java Collection - 3] CopyOnWriteArrayList Source Code Analysis
brief introduction
CopyOnWriteArrayList is a thread-safe version of ArrayList. It is also implemented internally through arrays. Every modification to the arrays completely copies a new array to modify, and then replaces the old arrays. This ensures that only blocking write operations, not blocking read operations, and achieves read-write separ ...
Posted by shahryar on Sat, 10 Aug 2019 13:21:53 +0200
Python Learning Notes
Python Learning Notes (6)
Object-Oriented Programming (oop)
II. Basic Use
3. Member modifiers
Fourth, three characteristics of object-oriented
1. Packaging
2. Inheritance
3. Polymorphism
V. Various methods
1. Static method
2. Class Method
3. Attribute Method
4. Magic Method
Object-Oriented P ...
Posted by Grofit on Sat, 10 Aug 2019 13:09:09 +0200
Parse Property Resolution of Compile-Source Edition
It's not easy to write articles. Give a compliment to your brother. Focus on Vue source code sharing, the article is divided into vernacular version and source version, vernacular version helps to understand the working principle, source version helps to understand the internal details, let's learn together.Research based on Vue version [2.5.1 ...
Posted by Cynix on Fri, 09 Aug 2019 08:02:31 +0200
Day11: Spring Integrates Redis Sentinel and Redis Cluster
Part I Spring Integration Redis
I. Preparations
Introduction Case 1
Master Name host name: mymaster
Sentinel: ip: port number
import redis.clients.jedis.JedisSentinelPool;
public class TestSentinel {
@Test
public void testSentinel1() {
String masterName = "mymaster";//host name
Set<St ...
Posted by justsomeone on Thu, 08 Aug 2019 11:41:49 +0200
Data Structures: Using Object-Oriented Analog Arrays
Array is a commonly used data structure. Array has immutability. The length of the created array is fixed. It accesses elements in the array by index. It has fast access speed and low efficiency of deletion and addition.
Through object-oriented simulation of arrays, the simulated arrays have the following functions:
Add new elements
Exhibition ...
Posted by hykc on Wed, 07 Aug 2019 15:34:07 +0200
django logon authentication for 8 users from scratch to be tested
Look at the document djang with a user login verification method, but some look at the foolish, go to the Internet to find a circle, found that many are copying the document description, hardly say what the principle is.
In particular,
from django.contrib.auth import authenticate
It's said that this is the way, but it seems that the d ...
Posted by vwinstead on Wed, 07 Aug 2019 11:06:26 +0200
Red Treasure Book Notes
1. Use JavaScript in HTML
async: Load external script file, inform browser to download immediately and execute asynchronously
defer: scripts can be delayed until the document is fully parsed and displayed
noscript: The browser does not support scripts.Browsers support scripts, but scripts are disabled
2. Variables, scopes and memory problems
Du ...
Posted by LoneTraveler on Wed, 07 Aug 2019 09:17:39 +0200