Angular JS file upload tool

Detailed introduction of angular file upload Angular file upload is a lightweight AngularJS file upload tool. It is designed for the file API Polyfill which does not support browser, and uses HTML5 to upload files directly. Online demo Characteristic Support upload progress, cancel or abort when uploading, support file drag ( ...

Posted by aeafisme23 on Thu, 13 Feb 2020 11:50:17 -0800

Elegant design pattern - object oriented basis

How to understand object-oriented Abstract is the prerequisite of encapsulation, inheritance and polymorphism. Reasonable abstraction comes from reasonable analysis and understanding of business topics. Reasonable abstraction should be self consistent and easy to understand about the relationship betwee ...

Posted by realmxofxnoise on Wed, 12 Feb 2020 21:23:25 -0800

CI framework extended system class library

Ci framework does not support creating CommonController directly under controllers and inheriting the parent class like yii2 framework. When we want to do login control or permission control, it is unreasonable to operate directly on the parent class controller. At this time, the more convenient method is to extend the CI controller of the pare ...

Posted by ultraviolet_998 on Mon, 10 Feb 2020 07:33:56 -0800

zabbix 4.0 theory + operation - 02 (zabbix deployment + email alarm)

zabbix theory + operation-02 (zabbix deployment + email alarm) Experimental environment Monitoring end: 192.168.136.168Monitored end: 192.168.136.185 Install LAMP yum install -y \ httpd \ mariadb-server mariadb \ php \ php-mysql \ php-gd \ libjpeg* \ php-ldap \ php-odbc \ php-pear \ php-xml \ php-xmlrpc \ php-mhash vim /etc/httpd/conf/httpd. ...

Posted by DeathfireD on Mon, 10 Feb 2020 03:12:52 -0800

Back end interaction

First step (1) Form login settings and form validation   1> Set click event - > get the password value of the account entered in the form - > use regular expression to verify the form - > send ajax request - > enter the background - > Import configuration file - > receive the data sent by ajax - &gt ...

Posted by debigmac on Sun, 09 Feb 2020 12:00:16 -0800

Python 3 regular expression and JSON

1, On regular expression 1. Definition: it is a special character sequence, which can help to detect whether a string matches the character sequence we set. 2. Function: it can quickly retrieve text and replace text. 3. scenario: 1. Check whether a string of numbers is a telephone number 2. Check whether a string conforms to e-mail format 3. Re ...

Posted by GarroteYou on Sun, 09 Feb 2020 06:16:50 -0800

Create a date using the set time zone instead of using a string representation

I have a web page with three drop-down menus, day, month and year. If I use the JavaScript Date constructor with numbers, I get the Date object for the current time zone: new Date(xiYear, xiMonth, xiDate) Enter the correct date, but because of daylight saving time, it thinks it's GMT + 01:00. The problem here is that I then passed the ...

Posted by Caesar on Sun, 09 Feb 2020 05:36:25 -0800

Attack and defense world - WEB advanced level chapter

Sketch This is my second blog. After learning the novice part of WEB last time, it's my turn to learn the advanced part of WEB. The purpose of writing down this blog is also to urge myself to do these questions again, because I referred to many writeup s when I did it for the first time, so I also wa ...

Posted by cavemaneca on Sun, 09 Feb 2020 01:22:24 -0800

Three ways to install PHP7.4 in Centos8 (Liunx) and three ways to remove it

  Compile Installation Differences and future choices between PHP source compilation and installation via yum under Centos8 Actually, each of these two methods has its own advantages: yum installation: From the perspective of Yum installation, Yum is equivalent to automatic help you install, regardless of the software dependencies, the yum ins ...

Posted by Sorthy359 on Sat, 08 Feb 2020 09:50:49 -0800

Example of PHP+Mysql to realize the function of website top and step voting

PHP+Mysql implements the example of website top and step voting function. By recording the user's IP address, it can judge whether the user's voting behavior is effective. The example can also be extended to the voting system. First of all, we put the "top" and "step" buttons on the page, that is, "dig up" and &qu ...

Posted by zang8027 on Sat, 08 Feb 2020 07:25:05 -0800