html self study note 5 - List

In this section, the contents of learning list are divided into disordered list and ordered list 1, What is a list Unordered list: Ordered list: 2, Basic format of unordered list <ul type="disc"> <li>List item 1</li> <li>List item 1</li> <li>L ...

Posted by jtravis on Sun, 03 May 2020 21:03:25 -0700

Creation mode -- singleton mode

1. Lazy mode 1. Build a single instance object ps: to test whether the Singleton object created again is the same object, add the attribute name public class Singleton { //Add attribute name private String name; private static Singleton instance; //Private constructor,Make it impossible to pass new Get the object private S ...

Posted by furtivefelon on Sun, 03 May 2020 17:36:39 -0700

The operation problem of certbot applying for SSL certificate under centos7

About three months ago, we applied for SSL certificate through let s encrypt. Now it's almost the same time. When we boarded the server, we were going to run the certificate update program, but there was a problem when we executed it: The version of pyOpenSSl is too low. According to some practices on the Internet, we ...

Posted by tomas.srna on Sun, 03 May 2020 15:32:32 -0700

Linux file management cp

Copy copy a file or directory Original meaning of order copy Command format cp [options] [original file or directory] [destination directory] Common parameters -r copy directory -p copy with file attributes -d if the original file is a linked file, copy the link properties -a is equivalent to - pdr select ...

Posted by tecmeister on Sun, 03 May 2020 15:16:35 -0700

24 days of egg learning notes: mongoose default parameters, modular

1. mongoose default parameter: when adding data, if no data is passed in, the data configured by default will be used. Connect to the database, a warning is reported below, useNewUrlParser:true This attribute will identify the db needed to verify the user in the url. You do not need to specify it before upgrading. You must specify it before u ...

Posted by grungefreak on Sun, 03 May 2020 08:26:24 -0700

Python write RF test - selenium library keyword encapsulation

A few days later, RF grafting to the original automated testing framework has been basically completed. Today, I will take some time to share the use of selenium library keyword It is hoped that the second encapsulation and customized keywords will be helpful for you to do automatic test Come on, talk too much, code: # Get element information ...

Posted by grimmier on Sun, 03 May 2020 06:08:55 -0700

53 Three.js using the.pointcloud to bulk manage particles

brief introduction When we use a large number of particles, we will soon encounter performance problems, because each particle added is a model, because each particle object is managed by three.js, so three.js provides another way to deal with a large number of particles, that is to use the THREE.PointCloud. Through theree.pointcloud, three.j ...

Posted by JeditL on Sun, 03 May 2020 02:44:19 -0700

CSS positioning knowledge arrangement

Write By Monkeyfly The following content is original. If you need to reprint, please indicate the source. CSS positioning knowledge map Note: The picture is too long to view at its original scale. (can be saved to local view) It is recommended to right-click the mouse and select "open in new tab", then press ctrl + (plus key) ...

Posted by Nick~C on Sat, 02 May 2020 23:39:28 -0700

Custom control -- composite control

First look at the renderings The practicability of this control is not considered here, mainly to learn the method of composition control. 1. The first thing to do is to create a layout file testtest.xml <?xml version="1.0" encoding="utf-8"?> <LinearLayout xmlns:android="http://schemas.android.com/apk/res/an ...

Posted by somo on Sat, 02 May 2020 22:21:12 -0700

Three.JS promotion learning 1: create a scene and render 3D objects

This series of learning content comes from Three.js Development Guide: JavaScript 3D Library of WebGL Create a scene and render 3D objects Code example: <!DOCTYPE html> <html> <head> <title></title> <script src="../libs/three.js"></script> <style> body{marg ...

Posted by anthill on Sat, 02 May 2020 04:30:07 -0700