Record. net using ueditor rich text editor
What is UEditor
Recently, I used Baidu's rich text editor in the project. There are detailed operation process documents on the official website. Here I just record some events that are often used in projects. In order to facilitate future queries.
UEditor is an open source project of Baidu's javascript editor. It supports Php, Asp, Asp.Net a ...
Posted by vcodeinfotec on Thu, 02 Jan 2020 20:27:52 -0800
Kotlin - Fundamentals of programming
2.1 programming style
1. Hump nomenclature, without underscores.
For example, public class DataBaseUser
2. The first letter of the class should be capitalized
class People
3. Method and property names should be lowercase
fun hello(){
}
2.2 Kotlin constants and variables
Constant: val
Variables: var
2.2.1 constant
...
Posted by kushaljutta on Thu, 02 Jan 2020 06:15:01 -0800
[PHP] data structure - reverse linked list PHP implementation
1. Common methods are divided into iteration and recursion. Iteration is from the beginning to the end, and recursion is from the end to the end2. Set two pointers, old and new. Each item is added after new, and the new chain header pointer points to the new chain header3. Old - > next cannot point directly to new, but a temporary pointer tm ...
Posted by jkohns on Wed, 01 Jan 2020 18:40:10 -0800
day43: Apache domain name jump, user authentication and access format
1. apapche user authentication: you need to enter a user name and password when you visit the website, and you can access it only after the authentication is passed, which increases the security: for example, manage the access to the background:
1. First, make authentication for the root directory: that is to say, when you visit the website, y ...
Posted by Plex on Wed, 01 Jan 2020 17:33:41 -0800
Installation and deployment of enterprise level automatic operation and maintenance tool saltstack httpd php service##
1. Installation services:
[server1]
[root@server1 yum.repos.d]# yum install salt-master-*
[root@server1 salt]# ls
cloud cloud.maps.d master minion.d proxy.d
cloud.conf.d cloud.profiles.d master.d pki roster
cloud.deploy.d cloud.providers.d minion proxy
[root@server1 salt]# /etc/init.d/salt ...
Posted by Mark.P.W on Wed, 01 Jan 2020 17:04:35 -0800
Laravel task scheduling
Here is an example of Laravel task scheduling. For related methods, please refer to: http://laravelacademy.org/post/8484.html
1. make:command generate task
php artisan make:command MigrateData
After executing the above command, a new Commands directory will be created in the Console directory, which contains a MigrateData. ...
Posted by alan007 on Wed, 01 Jan 2020 12:44:13 -0800
BZOJ4753 [Jsoi2016] best group [tree backpack] [dichotomy]
Title Link: https://www.lydsy.com/JudgeOnline/problem.php?id=4753
Explanation:
For the final answer, the floating-point dichotomy is performed, and for each midmid ID, dpdp is performed.
Let dp[i][j]dp[i][j] indicate that the maximum weight of jj nodes (∑ ni=1(p[i] − cur * s[i]) ∑ i=1n(p[i] − cur * s[i])) ...
Posted by zypher11 on Wed, 01 Jan 2020 04:52:11 -0800
saltstack deployment and cases
Case 1: rpm deployment and installation of httpd
(1) Modify the configuration file and create the base directory
[root@server4 salt]# vim /etc/salt/master
[root@server4 salt]# cd
[root@server4 ~]# ls
anaconda-ks.cfg install.log install.log.syslog
[root@server4 ~]# mkdir /srv/salt
[root@server4 ~]# /etc/init.d/salt-master ...
Posted by eosinophil on Wed, 01 Jan 2020 00:36:10 -0800
js uses setInterval timer method to develop native carousel chart
In the past, when I went for an interview, the interviewer asked me to write a rotation chart directly. It was just coming out, so js is not powerful, so I can't write directly. If I want to get a high salary js, I still need to be able to learn. Now I use setInterval timer to develop a native rotation chart;
The code is as fo ...
Posted by scottrad on Wed, 01 Jan 2020 00:27:20 -0800
Integrating hbase Library in yii2 framework of php
Hbase provides multilingual calls through thrift, a cross language RPC framework. Hbase has two sets of thrift interfaces (thrift1 and thrift2), but they are not compatible. According to the official documents, thrift1 is likely to be abandoned. This article takes thrift2 integration as an example. 1. Visit http://thrift.apache.org/download to ...
Posted by depojones on Tue, 31 Dec 2019 22:15:31 -0800