vue property binding and interaction

vue directive binding properties vue binds attributes by directive v-bind, src/width/height/title, such as v-bind:src='''can be abbreviated as: src=''', the same v-Bind:widthWait a moment, abbreviated as width,:height <script src="https://unpkg.com/vue/dist/vue.js"></script> <body> <div id="box"> <img v-bind:sr ...

Posted by ariliquin on Mon, 20 Jul 2020 18:09:56 +0200

Picture deletion for laravel-admin

There is a deep doubt about laravel-admin's picture upload mechanism. Deleting avatar pictures on the user information page will cause an error. It was 1.4 at that time, and later updated 1.5 found that the delete button disappeared directly. If you use image normally in the form during the process of use, the slight ...

Posted by Lustre on Sat, 18 Jul 2020 16:38:30 +0200

phpmyadmin connects databases on multiple servers at the same time

1. Scenarios for use In general, there are test environments and formal environments for our development.Of course, databases are also separate.If you could use phpmyadmin to directly access mysql on both servers.This is the need. 2. Solutions 1. Find under the phpmyadmin folderConfig.sample.inc.php, renamedConfig.inc.php. 2. OpenConfig. ...

Posted by DanArosa on Wed, 15 Jul 2020 17:45:45 +0200

The first development of WeChat Public Number, beginners climb pits

Recently, I came into contact with the development of WeChat Public Number. First of all, I climbed this pit about custom menu and saw the document for a while plus Baidu's summary of the implementation methods The code above shows that I used my own access token directly, which I implemented according to my own token.The acquisition of appi ...

Posted by Kevin3374 on Mon, 06 Jul 2020 16:36:44 +0200

Aliyun CentOS7.3 Build LNMP Manually

** 1. Turn off firewalls and selinux --------------- ** Close Firewall [root@localhost ~]# systemctl stop firewalld.service selinux [root@localhost ~]# vim /etc/sysconfig/selinux Find SELINUX=enforcing and change enforcing to disabled [root@localhost ~]# setenforce 0 ** 2. Install nginx --------- ** wget download install ngi ...

Posted by antwown on Sat, 04 Jul 2020 17:42:46 +0200

Sharing meta model of PHP design pattern

The word "Xiang Yuan" has no special meaning in Chinese, so we should divide it into two parts. "Sharing" means sharing, and "Yuan" is elements. In this way, it seems easy to understand that sharing certain elements. Gof class diagram and its explanation GoF definition: u ...

Posted by ludachris on Tue, 30 Jun 2020 04:12:16 +0200

The responsibility chain pattern of PHP design pattern

The model of responsibility chain belongs to the design model of object behavior. Gof class diagram and explanation GoF definition: allows multiple objects to process requests, thus avoiding the coupling between the sender and receiver of the request. Link these objects into a chain and pass the reque ...

Posted by asa_carter on Sun, 28 Jun 2020 03:57:15 +0200

June 26, 2020 - wechat applet development

title: wechat applet development date: 2020-06-26 07:45:20 tags: wechat applet categories: wechat applet development file Document address Applets provide a simple and efficient application development framework and rich components and API s to help developers develop services with native APP ex ...

Posted by ravensshade on Sat, 27 Jun 2020 04:54:14 +0200

k8s uses Nodeport to expose services

k8s uses Nodeport to expose services There are many ways to expose K8s services. Here we mainly study how to expose services through Nodeport First of all, we must understand several concepts before exposing ports: *< 1 >. Server: it is a cluster instance entry composed of accessing backend pod replicas. It consists of: ` [cluster_ip] ` ...

Posted by mrpickleman on Wed, 24 Jun 2020 04:03:57 +0200

Crawler cracking 12306 verification code to realize login operation

Crawler cracking 12306 verification code to realize login operation 1, Preparation 2, Full code 3, Code analysis 1, Preparation Before crawling, let's see what the 12306 verification code looks like See this verification code, have wood very flustered, this tm can also crack??? Answer: of course ...

Posted by mr_tron on Tue, 23 Jun 2020 04:18:34 +0200