HTML+CSS basic learning notes

Content overview CSS learning notes 1, CSS selector 2, CSS weight 3, Common CSS Styles 4, Classification of elements 5, Development experience 6, CSS box model 7, position 8, Demo (realization: Olympic five rings) CSS learning notes CSS: Cascading Style Sheets css document with suffix:. cs ...

Posted on Thu, 25 Jun 2020 07:29:14 -0400 by Eddyon

Parameters, local variables, global variables and anonymous functions of function application

Functions are organized, reusable code snippets that implement a single, or associated function. Function can improve the modularity of application and the reuse rate of code. 1. Parameters Formal and actual parameters: When defining a function, the variable name in parentheses is called a formal para ...

Posted on Sat, 20 Jun 2020 03:40:34 -0400 by tzikis

[experience sharing] the asterisk (*) that Python beginners must know is not understood by 90%

Compared with other programming languages, Python has more diversified operation types. In particular, the asterisk (*), which is a widely used operator in Python, is not only used in the multiplication of two numbers. In this article, we will discuss the various uses of asterisks. The application scenarios of four kinds of asterisks are summar ...

Posted on Mon, 11 May 2020 04:12:39 -0400 by William

bootstrap page left navigation bar right page

When we browse the web page, the left navigation bar and the right page are very common. Have you ever wondered how those cool and beautiful pages are made? Let's see how this kind of page is made. First, introduce the framework: Asp.net mvc+EF+BootStrap Step 1 Set up the framework of asp.net mvc, the specific steps are just intr ...

Posted on Sun, 10 May 2020 11:18:39 -0400 by Dia:NL

Front desk one key backup database + PHP implementation

1, Realization ideas 1. Click the Backup button to transfer the parameters to the background. ajax implements: function backupDatabase(){ var back = 'backupDatabase'; $.ajax({ url:'system_backup.php?do=backupDatabase', type:'POST', data:back, dataType:'json', beforeSend:function(){ inte ...

Posted on Tue, 05 May 2020 16:40:58 -0400 by Festy

10.Regular Expression Matching

Implement regular expression matching with support for '.' and '*'. '.' Matches any single character. '*' Matches zero or more of the preceding element. The matching should cover the entire input string (not partial). The function prototype should be: bool isMatch(const char *s, const char *p) Some examples: isMatch("aa","a") → false isMatch ...

Posted on Sun, 03 May 2020 15:33:05 -0400 by help_lucky

Using Python to Access Web Data Week2 Regular Expressions class notes

Coursera course Using Python to Access Web Data University of Michigan Charles Severance **Week2 Regular Expressions ** 11.1 Regular Expressions 11.1.1 Python Regular Expression Quick Guide ^ Match the beginning of a line $ Match the end of a line . Match any character \s Match white space characters ...

Posted on Fri, 24 Apr 2020 08:00:48 -0400 by fowlerlfc

How to improve the performance of Asterisk script execution

When we do Asterisk function development, in addition to writing modules directly in C, the more commonly used method is to develop our own business logic in a familiar language. At this time, we need to use AGI functions. Generally, there are many choices: PHP, Perl and JAVA. JAVA is a FASTAGI way, so the effect is better than PHP and Per ...

Posted on Sat, 04 Apr 2020 11:07:24 -0400 by asfaw

Python notes: Chapter 1 of Python 3-cookbook (data structure and algorithm)

Each section of Python 3-cookbook discusses the optimal solution of Python 3 in a certain kind of problem by three parts: problem, solution and discussion, or how to better use the data structure, function, class and other features of Python 3 in a certain kind of problem. This book is of great help for deepening the use of Python 3 and improvi ...

Posted on Wed, 19 Feb 2020 08:48:31 -0500 by idevlin

JavaScript asynchronous processing (ES6)

1, What is Promise? Isn't it async/await? Why is Promise mentioned? In fact, async/await is an extension of Promise, so to understand async/await better, we need to understand Promise first. Let's see what Promise is first. First, use console.dir(Promise) in the browser to print out all the properties ...

Posted on Sat, 15 Feb 2020 21:39:07 -0500 by echox