ogre Learning Notes - Day 4

ogre Learning Notes - Day 4 It took two days to buy a new hard drive and reinstall the system because the computer's C drive was damaged. Look back at SampleBrowser's previous studies and recall. SamplerBrowser loads some Sample resources, generates a UI, and clicks to select Sample. There are three points here How to load resourcesHow ...

Posted by XeRoZeN on Thu, 02 Dec 2021 09:12:27 -0800

wsjls-zw:16, object-oriented and prototype and prototype chains

Object-oriented What is object-oriented programming? Object-oriented is a programming idea that is often compared with process-oriented. The process-oriented focus is on verbs, which analyze the steps needed to solve a problem, write functions to implement each step, and call functions in turn. Object-oriented focuses on the subject and pre ...

Posted by blueman378 on Thu, 02 Dec 2021 09:03:54 -0800

Chapter 3 stack and queue

Chapter 3 stack and queue Stacks and queues are linear tables that restrict inserts and deletions to the "end" (end) of the table That is, stacks and queues are subsets of linear tables (linear tables with restricted insertion and deletion positions) Stack features: first in, last out Queue characteristics: first in first out 3.1 ...

Posted by lrdaramis on Thu, 02 Dec 2021 07:59:54 -0800

Summary of how SpringBoot registers components with containers

Catalogue of Series Articles Spring Boot is a completely new open source framework based on Spring. It has all the best features of Spring, and is simpler to use, more versatile, and more stable and robust in performance. Spring Boot provides a number of out-of-the-box dependent modules, such as spring-boot-starter-redis, spring-boot-starter-d ...

Posted by The Midnighter on Wed, 01 Dec 2021 20:37:33 -0800

3 use string

catalogue 3.4 string method But the string is not dead 3.4.1 find method 3.4.2 join 3.4.3 lower Title Conversion Next section: replace, split, strip, translate, etc 3.4 string method String "inherits" many methods from the string module. In early python versions, these methods appeared as functions. But the string is ...

Posted by vigour on Wed, 01 Dec 2021 20:35:20 -0800

Use it out of the box and look at other people's microservice permission solution. It's called an elegant solution

Pre knowledge We will use Nacos as the registration center, Gateway as the Gateway, and the micro service permission solution provided by SA token. This solution is based on the previous solution Application Architecture The idea is similar to the previous scheme. The authentication service is responsible for login processing, the ga ...

Posted by treppers on Wed, 01 Dec 2021 20:22:18 -0800

Pointer and array 1

Let's take a look at such an example. There is an operation of pointer to refer to array //Enter ten numbers and output from large to small #include<stdio.h> void sort(int x[],int n); int main(void){ int i,*p,a[10]; p=a; //Get address for(i=0;i<10;i++) scanf("%d",p++);//Continuous input p=a; //Fetch ad ...

Posted by smilesmita on Wed, 01 Dec 2021 20:20:15 -0800

How to control the priority of Web resource loading?

Hello, I'm Conard Li. Today, let's take a look at the priority of Web resource loading.The browser resolves the priority of the resourceWhen the browser starts parsing web pages and downloading resources such as pictures, scripts and CSS, the browser will assign a fetch priority flag representing the download priority of resources to each resou ...

Posted by Hard Styler on Wed, 01 Dec 2021 20:15:42 -0800

Dockerfile writing, deployment and optimization

catalogue introduction 1, Dockerfile layering principle 1. Preliminary understanding of mirroring 2. Docker image segmentation (based on AUFS) 3. Technology involved 4. AUFS and overlay / overlay 2 (docker later) 2, Written by Dockerfile 1. dockerfile operation instruction 2. Write dockerfile file to deploy nginx 3, Optimize DOCKERFIL ...

Posted by jdimino on Wed, 01 Dec 2021 20:10:18 -0800

python and fractal 0011 - [tutorial] polygon with spokes

In the last tutorial, we talked about how to draw a rotating colored straight line, in which we have talked about all the elements required for drawing with turtle in detail, that is, configuration, basic graphics, color and animationIn today's article, let's extend the straight line and give a tutorial on how to draw a polygon with spokes with ...

Posted by littleelmo on Wed, 01 Dec 2021 20:03:41 -0800