Python string_Detailed 3-end built-in function
The following method runs on python2 and uses python2 for encoding.
After comparing python3, we find that it is basically the same, that is, after print, add (), which can be run under python3 by using functions.
The method that works for unicode has been removed because it is temporarily unavailable and will be learned separately if needed in ...
Added by RockinPurdy on Mon, 29 Jun 2020 20:00:56 +0300
Version of Django REST framework
Article catalog
1. GET parameter get version
2. URL path to get version
3. Built in version source code process
4. Built in version class
1. GET parameter to get version
The RESTful specification specifies that the version can be placed on the URL, such as http://127.0.0.1:8000/api/users/?vers ...
Added by Castle on Mon, 29 Jun 2020 09:02:55 +0300
04GORM source code interpretation
brief introduction
query
Query process
Build query SQL statement
Conditional statement
Summary
search structure
Definition of search
search method
Summary
summary
brief introduction
GORM source code interpretation, based on v1.9.11 edition.
query
In the previous section, we explored how models are defined and how data tables are creat ...
Added by champoi on Sun, 21 Jun 2020 12:01:47 +0300
Spring initializes Ioc I
Spring IOC source code parsing based on annotations, version 5.1.x
Initializing bean s through the Spring context
Annotation class, annotationconfigpplicationcontext can be used to load Spring context based on java configuration class (various annotations), which is better than using application.xm ...
Added by nosmasu on Wed, 17 Jun 2020 07:06:03 +0300
STM32 drive OV7670 details - IO resource allocation and SCCB
The following content is based on stm32f103c8t6 blue hill board + OV7670 camera (with AL422B FIFO module).
At present, I use STM32 IO port resources as follows:
PA9, PA10 for USART1;
PB10, PB11 for SCCB (I2C)
PA0~PA7 are used for D0-D7 data transmission;
PB0 is used for PWDN pin configuration (set Norma ...
Added by stry_cat on Sun, 14 Jun 2020 11:34:46 +0300
Basic 6.2: array expansion (2D array + multidimensional array)
Article catalog
1 \. Initialization
1.1 overall initialization
1.2 partial initialization
1.3 size
1.4 assignment
2 \. Arrays and pointers
3 \. Functions and arrays
3.1 passing arrays to functions
3.2 return array from function
4 \. Multidimensional array
4.1 statement
4.2 initialize 2D array
4. ...
Added by Ben Phelps on Sat, 13 Jun 2020 05:38:09 +0300
Summary of JS important knowledge points (unfinished)
Summary of JS important knowledge points
1. Four ways to query data types
Implementation method
typeof
instanceof
constructor
Object.prototype.toString.call()
advantage
Easy to use
Can detect reference data types
Basic ability to detect all types (except null and undefined)
All types detected
...
Added by jcanker on Thu, 11 Jun 2020 08:26:56 +0300
CSS_ Necessary knowledge of back-end Engineer - from entry to detailed explanation of dissuasion - painstaking writing (funny)
Article catalog
1, CSS introduction
2, Grammatical format
3, How to use CSS
1. Embedded
2. Outer chain
3. Line style
4. Three style priorities and application scenarios
4, Selector
1. Basic selector
1. All tuple selection
2. Label selector
3. id selector
4. Class selector
5. Overall operation cod ...
Added by rsnell on Tue, 09 Jun 2020 05:00:57 +0300
The parsing process of spring xml file's default label
It all starts with kneeling, silver goalkeeper
Now all the articles about spring will be reorganized later. Here is just a record. Until I'm familiar with ioc, I'll string up the previous articles.
Parsing xml tags starts with the parseDefaultElement(Element ele, BeanDefinitionParserDelegate delegate) ...
Added by tridean34 on Sat, 06 Jun 2020 10:33:01 +0300
Chapter four (index calculation) of hundreds of billions of warehouses_ Order index analysis based on date)
Data warehouse project order analysis time dimension analysis business developmentSummary requirement 1: ads data are from DW, DW data are from ods. Ads one table stores all data of four requirements
Prepare date data
drop table if exists `itcast_dw`.`dim_date`;
CREATE TABLE `itcast_dw`.`dim_date`(
...
Added by westmich on Fri, 05 Jun 2020 07:39:16 +0300